Panama City to Alajuela, Costa Rica Road Trip: Route & Border

By admin, 13 October, 2026

Panama City to Alajuela, Costa Rica is about 522 road miles (840 km): roughly 13 h 25 min at the wheel if you don't stop. You cross from Panama into Costa Rica at about mile 306.

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

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: “The highway is not well lit at night in some areas.”
  • Costa Rica: “Roads can have unclear lane markings, narrow shoulders, and large potholes.”
Camino de Cruces National ParkSt. John Baptist Cathedral, PenonoméEl Caño Archaeological ParkSt. James the Apostle Cathedral, Santiago de VeraguasPiedras Blancas National ParkBallena Marine National ParkManuel Antonio National ParkCarara National ParkPanama–Costa Rica borderPanama CityAlajuela
Route from Panama City to Alajuela with the 8 stops listed below (blue dots) and the approximate Panama–Costa Rica border crossing (red square).
Total distance522 mi (840 km)
Drive time without stops13 h 25 min
Border crossingabout mile 306, Panama → Costa Rica
Provinces on the routePanama, Coclé, Herrera, Veraguas, Chiriquí, Puntarenas, Alajuela
Fuel estimate (car at 25 mpg)about 20.9 gal; actual use varies by vehicle and traffic
Stops listed below8

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 RicaDrive 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 PanamaA valid U.S. license works for up to 90 days.
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, 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 Panama City to Alajuela: the shape of the trip

The first 306 miles are in Panama; the last 216 are in Costa Rica. It runs through 7 provinces: Panama, Coclé, Herrera, Veraguas, Chiriquí, Puntarenas, Alajuela. Of the 8 stops listed below, 2 are within a mile of the road.

Panama City to Alajuela: the road sequence

RoadRoute miles (from–to)Length, miProvince
local roads0–513513Panama, Coclé, Herrera, Veraguas, Chiriquí, Puntarenas, Alajuela
connecting roads513–5163Alajuela
local roads516–5226Alajuela
  • 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 487 of this route: Puntarenas → Alajuela (province line)

Places worth a stop between Panama City and Alajuela

  • Right off the route (under 1 mile): St. John Baptist Cathedral, Penonomé (mile 94), Carara National Park (mile 478)
  • Nature and outdoors: Camino de Cruces National Park (mile 9), El Caño Archaeological Park (mile 108), Piedras Blancas National Park (mile 340), Ballena Marine National Park (mile 386), Manuel Antonio National Park (mile 423), Carara National Park (mile 478)
  • Museums and history: St. John Baptist Cathedral, Penonomé (mile 94), El Caño Archaeological Park (mile 108), St. James the Apostle Cathedral, Santiago de Veraguas (mile 156)

Camino de Cruces National Park

Mile 9 · National park · 5 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.

St. John Baptist Cathedral, Penonomé

Mile 94 · Cathedral · 0.6 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.

El Caño Archaeological Park

Mile 108 · 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. James the Apostle Cathedral, Santiago de Veraguas

Mile 156 · Cathedral · 1 mi from the route

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

Mile 340 · 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.

Ballena Marine National Park

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

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

Mile 423 · 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.

Carara National Park

Mile 478 · National park · 0.2 mi from the route

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.

When you get to Alajuela

Alajuela Cathedral

Cathedral · in Alajuela

Dedicated to Our Lady of the Pillar, Alajuela Cathedral is the mother church of the Diocese of Alajuela, created in 1921. The building traces its origins to a small chapel built nearby in 1782.

Juan Santamaría Museum

Museum · in Alajuela

Created in 1974 in Alajuela, the Juan Santamaría Museum (Museo Histórico Cultural Juan Santamaría) commemorates the National Campaign of 1856–1857, a key chapter in Costa Rican history.

More drives to Alajuela

More drives from Panama City

Frequently asked questions

How long is the drive from Panama City to Alajuela, Costa Rica?

About 13 h 25 min of driving without stops, over 522 miles.

How far is Alajuela, Costa Rica from Panama City by car?

About 522 miles (840 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 Alajuela 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 Alajuela 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 Panama City and Alajuela?

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); Carara National Park (national park, mile 478, 0.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.