Heredia to Gamboa, Panama: Border Crossing, Route & Stops

By admin, 13 October, 2026

The Wayro route from Heredia to Gamboa, Panama is 496 miles (799 km), about 14 h 8 min of driving without stops. You cross from Costa Rica into Panama at about mile 188.

U.S. State Department travel advisory: Costa Rica — Level 2, Exercise Increased Caution; Panama — Level 2, Exercise Increased Caution

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.”
Metropolitan Cathedral of San JoséLa Cangreja National ParkManuel Antonio National ParkPiedras Blancas National ParkEl Caño Archaeological ParkSt. John Baptist Cathedral, PenonoméCasco ViejoPanamá ViejoCamino de Cruces National ParkCosta Rica–Panama borderHerediaGamboa
Route from Heredia to Gamboa with the 9 stops listed below (blue dots) and the approximate Costa Rica–Panama border crossing (red square).
Distance496 mi (799 km)
Time at the wheel, no stops14 h 8 min
Border crossingabout mile 188, Costa Rica → Panama
Provinces on the routeHeredia, San José, Puntarenas, Chiriquí, Veraguas, Herrera, Coclé, Panama, Colón
Fuel estimate (car at 25 mpg)about 19.9 gal; actual use varies by vehicle and traffic
Stops listed below9

The border on the way to Gamboa

The route crosses at about mile 188, 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 PanamaA 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 RicaDrive with your passport and a U.S. license or an International Driving Permit.
The car, entering PanamaThird-party liability insurance is mandatory in Panama.
Rental carCross 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.

What the drive from Heredia to Gamboa is like

The first 188 miles are in Costa Rica; the last 308 are in Panama. It runs through 9 provinces: Heredia, San José, Puntarenas, Chiriquí, Veraguas, Herrera, Coclé, Panama, Colón. Of the 9 stops listed below, 1 are within a mile of the road.

The route from Heredia to Gamboa, road by road

RoadRoute miles (from–to)Length, miProvince
local roads0–88Heredia, San José
connecting roads8–146San José
local roads14–496482San José, Puntarenas, Chiriquí, Veraguas, Herrera, Coclé, Panama
  • Mile 3 of this route: Heredia → San José (province line)
  • Mile 44 of this route: San José → Puntarenas (province line)
  • Mile 188 of this route: Puntarenas → Chiriquí (international border)
  • Mile 293 of this route: Chiriquí → Veraguas (province line)
  • Mile 355 of this route: Veraguas → Herrera (province line)
  • Mile 360 of this route: Herrera → Coclé (province line)
  • Mile 427 of this route: Coclé → Panama (province line)
  • Mile 496 of this route: Panama → Colón (province line)

Where to stop on the way to Gamboa

  • Right off the route (under 1 mile): St. John Baptist Cathedral, Penonomé (mile 400)
  • Nature and outdoors: La Cangreja National Park (mile 41), Manuel Antonio National Park (mile 71), Piedras Blancas National Park (mile 154), El Caño Archaeological Park (mile 386), Camino de Cruces National Park (mile 488)
  • Museums and history: Metropolitan Cathedral of San José (mile 8), El Caño Archaeological Park (mile 386), St. John Baptist Cathedral, Penonomé (mile 400), Panamá Viejo (mile 488)

Metropolitan Cathedral of San José

Mile 8 · Cathedral · 2 mi from the route · side trip; actual detour depends on access roads

Located on Calle Central in San José, the Metropolitan Cathedral replaced an original 1802 cathedral that was destroyed by an earthquake.

La Cangreja National Park

Mile 41 · National park · 7 mi from the route · side trip; actual detour depends on access roads

A protected zone until 2002, La Cangreja National Park lies in Puriscal Canton, San José Province, and belongs to the Central Pacific Conservation Area near Costa Rica's Pacific coast.

Manuel Antonio National Park

Mile 71 · National park · 4 mi from the route · side trip; actual detour depends on access roads

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.

Piedras Blancas National Park

Mile 154 · National park · 5 mi from the route · side trip; actual detour depends on access roads

Part of the Osa Conservation Area, Piedras Blancas National Park lies in Puntarenas Province in southern Costa Rica, near the town of La Gamba.

El Caño Archaeological Park

Mile 386 · Archaeological park · 2 mi from the route

In Panama's Coclé province, El Caño is a pre-Columbian funerary complex with stone monuments and burial mounds, where gold artifacts of the Gran Coclé culture have been found.

St. John Baptist Cathedral, Penonomé

Mile 400 · Cathedral · 0.7 mi from the route

Also called Penonomé Cathedral, St. John Baptist Cathedral is a Catholic church in the city of Penonomé, in Panama's Coclé Province.

Casco Viejo

Mile 483 · Old town · 8 mi from the route · side trip; actual detour depends on access roads

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

Mile 488 · Archaeological site · 10 mi from the route · side trip; actual detour depends on access roads

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

Mile 488 · National park · 3 mi from the route · side trip; actual detour depends on access roads

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

Reservoir · about 15 mi from Gamboa

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

National park · in Gamboa

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

More drives from Heredia

Frequently asked questions

How long does it take to drive from Heredia to Gamboa, Panama?

About 14 h 8 min of driving without stops, over 496 miles.

How far is Gamboa, Panama from Heredia by car?

About 496 miles (799 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 Heredia to Gamboa drive cross the border?

At about mile 188, from Costa Rica into Panama.

What do U.S. citizens need to drive from Heredia 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.)

What does the U.S. travel advisory say about the Heredia to Gamboa drive?

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 Heredia and Gamboa?

Closest to the road: Metropolitan Cathedral of San José (cathedral, mile 8, 2 mi from the route); El Caño Archaeological Park (archaeological park, mile 386, 2 mi from the route); St. John Baptist Cathedral, Penonomé (cathedral, mile 400, 0.7 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.