Plan on about 13 h 58 min of driving for the 524-mile (844 km) trip from Alajuela to Gamboa, Panama, before any stops. You cross from Costa Rica into Panama at about mile 216.
Full advisory: Costa Rica, Panama. Advisory issued: Costa Rica April 02, 2026; Panama August 19, 2026; checked October 10, 2026.
On the roads, the State Department says:
- Costa Rica: “Try not to drive outside of urban areas at night.”
- Panama: “Driving at night can be dangerous, especially on the old Panama City–Colon highway.”
| Distance | 524 mi (844 km) |
|---|---|
| Time at the wheel, no stops | 13 h 58 min |
| Border crossing | about mile 216, Costa Rica → Panama |
| Provinces on the route | Alajuela, Puntarenas, Chiriquí, Veraguas, Herrera, Coclé, Panama, Colón |
| Fuel estimate (car at 25 mpg) | about 21.0 gal; actual use varies by vehicle and traffic |
| Stops listed below | 9 |
Crossing from Costa Rica into Panama
The route crosses at about mile 216, from Puntarenas into Chiriquí. Plan on two checks on each side: immigration for your passport and customs for the car.
| Entering Panama (U.S. citizens) | No visa needed for stays under 180 days; a return or onward ticket is required and strictly enforced, plus at least USD 500 or proof of equivalent funds. Passport: must be valid for 3 months beyond your arrival date; make sure you get an entry stamp. |
|---|---|
| Driving in Panama | A valid U.S. license works for up to 90 days. |
| Entering Costa Rica (U.S. citizens) | No visa needed for stays under 180 days, but you need a return or onward ticket. Passport: must be valid for the whole stay. |
| Driving in Costa Rica | Drive with your passport and a U.S. license or an International Driving Permit. |
| The car, entering Panama | Third-party liability insurance is mandatory in Panama. |
| Rental car | Cross only if the rental company authorizes it in writing and gives you the papers for the border; ask before you book. |
Sources: U.S. State Department, Panama (updated August 13, 2026); U.S. State Department, Costa Rica (updated August 11, 2025). Checked October 10, 2026; rules change, so confirm before you go.
The Alajuela–Gamboa drive in a few lines
The first 216 miles are in Costa Rica; the last 308 are in Panama. It runs through 8 provinces: Alajuela, Puntarenas, Chiriquí, Veraguas, Herrera, Coclé, Panama, Colón. Of the 9 stops listed below, 2 are within a mile of the road.
The route from Alajuela to Gamboa, road by road
| Road | Route miles (from–to) | Length, mi | Province |
|---|---|---|---|
| local roads | 0–6 | 6 | Alajuela |
| connecting roads | 6–9 | 3 | Alajuela |
| local roads | 9–524 | 515 | Alajuela, Puntarenas, Chiriquí, Veraguas, Herrera, Coclé, Panama |
- Mile 35 of this route: Alajuela → Puntarenas (province line)
- Mile 216 of this route: Puntarenas → Chiriquí (international border)
- Mile 321 of this route: Chiriquí → Veraguas (province line)
- Mile 383 of this route: Veraguas → Herrera (province line)
- Mile 388 of this route: Herrera → Coclé (province line)
- Mile 455 of this route: Coclé → Panama (province line)
- Mile 524 of this route: Panama → Colón (province line)
Places worth a stop between Alajuela and Gamboa
- Right off the route (under 1 mile): Carara National Park (mile 43), St. John Baptist Cathedral, Penonomé (mile 428)
- Nature and outdoors: Carara National Park (mile 43), Manuel Antonio National Park (mile 99), Ballena Marine National Park (mile 135), Piedras Blancas National Park (mile 182), Camino de Cruces National Park (mile 516)
- Museums and history: St. James the Apostle Cathedral, Santiago de Veraguas (mile 366), St. John Baptist Cathedral, Penonomé (mile 428), Panamá Viejo (mile 516)
Carara National Park
Near Costa Rica's Pacific coast, Carara National Park belongs to the Central Pacific Conservation Area; it began as a biological reserve in 1978 and became a national park in 1998.
Manuel Antonio National Park
Just south of Quepos on Costa Rica's Pacific coast, Manuel Antonio National Park was established in 1972 after the local community pushed to protect the area from development.
Ballena Marine National Park
Ballena Marine National Park protects a safe area for migrating humpback whales in Costa Rica's Osa Conservation Area, covering 5,160 hectares of sea and 171 of land.
Piedras Blancas National Park
Part of the Osa Conservation Area, Piedras Blancas National Park lies in Puntarenas Province in southern Costa Rica, near the town of La Gamba.
St. James the Apostle Cathedral, Santiago de Veraguas
Santiago de Veraguas Cathedral, dedicated to St. James the Apostle, is the Catholic cathedral of Santiago, a city in Panama's Veraguas province.
St. John Baptist Cathedral, Penonomé
Also called Penonomé Cathedral, St. John Baptist Cathedral is a Catholic church in the city of Penonomé, in Panama's Coclé Province.
Casco Viejo
Casco Viejo (Casco Antiguo or San Felipe) is Panama City's historic district, settled in 1673 after pirates nearly destroyed the original city, Panamá Viejo, in 1671.
Panamá Viejo
Panamá Viejo is what remains of the original Panama City, the former capital destroyed in 1671 by privateer Henry Morgan, now within the suburbs of the current capital.
Camino de Cruces National Park
Camino de Cruces National Park (Parque nacional Camino de Cruces) is a national park about 15 km north of Panama City, in Panama Province.
In Gamboa itself
Gatun Lake
South of Colón, Gatun Lake is a mostly freshwater reservoir about 26 m above sea level that forms a major part of the Panama Canal, carrying ships 33 km of their transit.
Soberanía National Park
Soberanía National Park lies along the Panama Canal in Panamá and Colón provinces, roughly 25 km from Panama City, with the Chagres River flowing through it.
More drives to Gamboa
- Coronado to Gamboa
- Santiago de Veraguas to Gamboa
- San Isidro to Gamboa, Panama
- Cartago, Costa Rica to Gamboa, Panama
- Heredia to Gamboa, Panama
- Tortuguero to Gamboa, Panama
More drives from Alajuela
- Alajuela to Finca Sonador
- Alajuela to Tortuguero
- Alajuela to Parismina
- Alajuela to Puerto Viejo de Talamanca
- Alajuela to Bribri
- Alajuela to Sixaola
Frequently asked questions
How long is the drive from Alajuela to Gamboa, Panama?
About 13 h 58 min of driving without stops, over 524 miles.
How far is Gamboa, Panama from Alajuela by car?
About 524 miles (844 km) on the Wayro route. Other map services may show a few miles more or less, depending on where they start and end in each city.
Where does the Alajuela to Gamboa drive cross the border?
At about mile 216, from Costa Rica into Panama.
What do U.S. citizens need to drive from Alajuela into Panama?
No visa needed for stays under 180 days; a return or onward ticket is required and strictly enforced, plus at least USD 500 or proof of equivalent funds. Passport: must be valid for 3 months beyond your arrival date; make sure you get an entry stamp. A valid U.S. license works for up to 90 days. (U.S. State Department, updated August 13, 2026.)
Is it safe to drive from Alajuela to Gamboa, Panama?
The U.S. State Department rates Costa Rica Level 2: Exercise Increased Caution; Panama Level 2: Exercise Increased Caution. Read the full advisory before you go.
What are good stops between Alajuela and Gamboa?
Closest to the road: Carara National Park (national park, mile 43, 0.2 mi from the route); St. James the Apostle Cathedral, Santiago de Veraguas (cathedral, mile 366, 1 mi from the route); St. John Baptist Cathedral, Penonomé (cathedral, mile 428, 0.6 mi from the route). All stops are described above.
How we put this guide together
Wayro calculates the route from OpenStreetMap road data; mile numbers are positions along this route, not highway markers, and "from the route" distances are straight-line, so the real detour depends on access roads. Stops are chosen from parks, natural sites, museums, historic sites and attractions close to the route: at least one strong stop for each stretch of the drive, then the best-known places nearest the road, up to nine in all. Places that are closed, private or not open to visitors are removed. Place descriptions are written by the Wayro team from official park, museum, tourism and government websites and other published sources. Safety levels and entry rules were checked against the U.S. Department of State on October 10, 2026. Conditions change, so check the linked sources before you travel.
Route data © OpenStreetMap contributors.