Plan on about 6 h 56 min of driving for the 220-mile (354 km) trip from David to Heredia, Costa Rica, before any stops. You cross from Panama into Costa Rica at about mile 32.
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 | 220 mi (354 km) |
|---|---|
| Time at the wheel, no stops | 6 h 56 min |
| Border crossing | about mile 32, Panama → Costa Rica |
| Provinces on the route | Chiriquí, Puntarenas, San José, Heredia |
| Fuel estimate (car at 25 mpg) | about 8.8 gal; actual use varies by vehicle and traffic |
| Stops listed below | 5 |
Crossing from Panama into Costa Rica
The route crosses at about mile 32, 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.
Driving David to Heredia: the shape of the trip
The first 32 miles are in Panama; the last 188 are in Costa Rica. It runs through 4 provinces: Chiriquí, Puntarenas, San José, Heredia. None of the 5 stops below is right on the road, so plan each as a short side trip.
Road-by-road breakdown: David to Heredia
| Road | Route miles (from–to) | Length, mi | Province |
|---|---|---|---|
| local roads | 0–206 | 206 | Chiriquí, Puntarenas, San José |
| connecting roads | 206–213 | 7 | San José |
| local roads | 213–220 | 7 | San José, Heredia |
- Mile 32 of this route: Chiriquí → Puntarenas (international border)
- Mile 177 of this route: Puntarenas → San José (province line)
- Mile 217 of this route: San José → Heredia (province line)
Places worth a stop between David and Heredia
- Nature and outdoors: Piedras Blancas National Park (mile 66), Ballena Marine National Park (mile 113), Manuel Antonio National Park (mile 149), La Cangreja National Park (mile 179)
- Museums and history: Museum of Contemporary Art and Design (mile 213)
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.
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.
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.
Museum of Contemporary Art and Design
Founded in 1994, the Museum of Contemporary Art and Design in Costa Rica focuses on contemporary Central American art and design and also shows international work.
Arriving in Heredia
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
- Panama City to Heredia, Costa Rica
- Santiago de Veraguas to Heredia, Costa Rica
Continue Your Adventure
Frequently asked questions
How long does it take to drive from David to Heredia, Costa Rica?
About 6 h 56 min of driving without stops, over 220 miles.
What is the driving distance from David to Heredia, Costa Rica?
About 220 miles (354 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 David to Heredia drive cross the border?
At about mile 32, from Panama into Costa Rica.
What do U.S. citizens need to drive from David 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 David 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.
What are good stops between David and Heredia?
Closest to the road: Ballena Marine National Park (national park, mile 113, 3 mi from the route); Manuel Antonio National Park (national park, mile 149, 4 mi from the route); Museum of Contemporary Art and Design (art museum, mile 213, 3 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.