Plan on about 13 h 37 min of driving for the 494-mile (795 km) trip from Panama City to Heredia, Costa Rica, before any stops. You cross from Panama into Costa Rica at about mile 306.
Full advisory: Panama, Costa Rica. Advisory issued: Panama August 19, 2026; Costa Rica April 02, 2026; checked October 10, 2026.
On the roads, the State Department says:
- Panama: “Roadblocks sometimes occur due to demonstrations.”
- Costa Rica: “Try not to drive outside of urban areas at night.”
| Distance by road | 494 mi (795 km) |
|---|---|
| Driving time, no stops | 13 h 37 min |
| Border crossing | about mile 306, Panama → Costa Rica |
| Provinces on the route | Panama, Coclé, Herrera, Veraguas, Chiriquí, Puntarenas, San José, Heredia |
| Fuel estimate (car at 25 mpg) | about 19.8 gal; actual use varies by vehicle and traffic |
| Stops listed below | 9 |
Crossing from Panama into Costa Rica
The route crosses at about mile 306, from Chiriquí into Puntarenas. Plan on two checks on each side: immigration for your passport and customs for the car.
| 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. |
| 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. |
| 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, Costa Rica (updated August 11, 2025); U.S. State Department, Panama (updated August 13, 2026). Checked October 10, 2026; rules change, so confirm before you go.
The Panama City–Heredia drive in a few lines
The first 306 miles are in Panama; the last 188 are in Costa Rica. It runs through 8 provinces: Panama, Coclé, Herrera, Veraguas, Chiriquí, Puntarenas, San José, Heredia. Of the 9 stops listed below, 1 are within a mile of the road.
Road-by-road breakdown: Panama City to Heredia
| Road | Route miles (from–to) | Length, mi | Province |
|---|---|---|---|
| local roads | 0–480 | 480 | Panama, Coclé, Herrera, Veraguas, Chiriquí, Puntarenas, San José |
| connecting roads | 480–487 | 7 | San José |
| local roads | 487–494 | 7 | San José, Heredia |
- Mile 68 of this route: Panama → Coclé (province line)
- Mile 134 of this route: Coclé → Herrera (province line)
- Mile 140 of this route: Herrera → Veraguas (province line)
- Mile 201 of this route: Veraguas → Chiriquí (province line)
- Mile 306 of this route: Chiriquí → Puntarenas (international border)
- Mile 450 of this route: Puntarenas → San José (province line)
- Mile 492 of this route: San José → Heredia (province line)
Stops between Panama City and Heredia
- Right off the route (under 1 mile): St. John Baptist Cathedral, Penonomé (mile 94)
- Nature and outdoors: Camino de Cruces National Park (mile 9), Soberanía National Park (mile 12), Piedras Blancas National Park (mile 340), Manuel Antonio National Park (mile 423), La Cangreja National Park (mile 453)
- Museums and history: St. John Baptist Cathedral, Penonomé (mile 94), St. James the Apostle Cathedral, Santiago de Veraguas (mile 156), National Theatre of Costa Rica (mile 487), Museo de Numismática (mile 487)
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.
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.
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.
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.
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.
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.
La Cangreja National Park
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.
National Theatre of Costa Rica
Costa Rica's national theater sits in the central part of San José. It opened to the public on October 21, 1897, with a performance of Goethe's Faust.
Museo de Numismática
Run by the Banco Central de Costa Rica, the Museo de Numismática Jaime Solera Bennett in San José preserves and displays objects tied to the country's monetary history in an underground building beneath the Plaza de la Cultura.
In Heredia itself
Museo de Cultura Popular
Set in the former home of ex-president Alfredo González Flores, the Museo de Cultura Popular stands in the district of Santa Lucía, just south of Barva.
Costa Rican Museum of Art
The Costa Rican Museum of Art in San José opened in 1978 and holds a collection of more than 6,000 artworks.
Museo La Salle
San José's La Salle natural history museum has three main halls with exhibits on insects, fish, reptiles and amphibians, birds, mammals and anthropology.
More drives to Heredia
- Puntarenas to Heredia
- San Isidro to Heredia
- Santiago de Veraguas to Heredia, Costa Rica
- David to Heredia, Costa Rica
More drives from Panama City
- Panama City to Coronado
- Panama City to Santa Catalina
- Panama City to San José, Costa Rica
- Panama City to Limón, Costa Rica
- Panama City to San Isidro, Costa Rica
- Panama City to Alajuela, Costa Rica
Continue Your Adventure
Frequently asked questions
How long is the drive from Panama City to Heredia, Costa Rica?
About 13 h 37 min of driving without stops, over 494 miles.
What is the driving distance from Panama City to Heredia, Costa Rica?
About 494 miles (795 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 Panama City to Heredia drive cross the border?
At about mile 306, from Panama into Costa Rica.
What do U.S. citizens need to drive from Panama City into Costa Rica?
No visa needed for stays under 180 days, but you need a return or onward ticket. Passport: must be valid for the whole stay. Drive with your passport and a U.S. license or an International Driving Permit. (U.S. State Department, updated August 11, 2025.)
What does the U.S. travel advisory say about the Panama City to Heredia drive?
The U.S. State Department rates Panama Level 2: Exercise Increased Caution; Costa Rica Level 2: Exercise Increased Caution. Read the full advisory before you go.
Where can you stop on the way from Panama City to Heredia?
Closest to the road: St. John Baptist Cathedral, Penonomé (cathedral, mile 94, 0.6 mi from the route); St. James the Apostle Cathedral, Santiago de Veraguas (cathedral, mile 156, 1 mi from the route); National Theatre of Costa Rica (opera house, mile 487, 2 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.