199 countries 39,402 visa rules 72,668 airports 7,028 languages 235 holiday calendars 1,260 news stories Visa data verified 13 Oct 2026
Free Passport Photo Maker
Travel photo of Costa Rica

Americas · neighbouring countries

Flag of Costa RicaNeighboring Countries of Costa Rica

Costa Rica shares land borders with 2 countries: Panama (348 km) and Nicaragua (313 km).

Check another country

2
Neighbouring countries (#115 of 236)
661 km
Total land borders
1,290 km
Coastline
51,100
Area in km²
  • Costa Rica
  • Neighbouring countries
  • Neighbours of neighbours

Countries bordering Costa Rica

NeighbourBorder lengthCapitalVisa for Costa Rica citizens
Flag of PanamaPanama
348 km
Panama City Visa-free · 90 days
Flag of NicaraguaNicaragua
313 km
Managua Visa-free

Panama accounts for 53% of Costa Rica's 661 km of land borders. Lengths: CIA World Factbook (public domain).

Geography of Costa Rica

Location

Central America, bordering both the Caribbean Sea and the North Pacific Ocean, between Nicaragua and Panama

Area

51,100 km² — slightly smaller than West Virginia

Terrain

Coastal plains separated by rugged mountains including over 100 volcanic cones, of which several are major active volcanoes

Climate

Tropical and subtropical; dry season (December to April); rainy season (May to November); cooler in highlands

Highest and lowest points

Highest: Cerro Chirripo 3,819 m. Lowest: Pacific Ocean 0 m. Mean elevation: 746 m.

Natural resources

Hydropower

Natural hazards

Occasional earthquakes, hurricanes along Atlantic coast; frequent flooding of lowlands at onset of rainy season and landslides; active volcanoes volcanism: Arenal (1,670 m) is the most active volcano in Costa Rica; a 1968 eruption destroyed the town of Tabacon; Irazu (3,432 m), situated just east of San Jose, has the potential to spew ash over the capital city, as it did between 1963 and 1965; other historically active volcanoes include Miravalles, Poas, Rincon de la Vieja, and Turrialba

Good to know

Four volcanoes, two of them active, rise near the capital of San Jose in the center of the country; one of the volcanoes, Irazu, erupted destructively in 1963-65

Frequently asked questions about the borders of Costa Rica

How many countries border Costa Rica?

Costa Rica shares land borders with 2 countries: Panama (348 km) and Nicaragua (313 km).

Which is the longest border of Costa Rica?

The longest land border of Costa Rica is with Panama (348 km); the shortest is with Nicaragua (313 km).

Is Costa Rica landlocked?

No. Costa Rica has 1,290 km of coastline.

How long are the land borders of Costa Rica?

The land borders of Costa Rica total 661 km. By number of neighbours Costa Rica ranks #115 among 236 countries and territories.

Do Costa Rica citizens need a visa for neighbouring countries?

Costa Rica citizens can visit 2 of 2 neighbouring countries visa-free: Panama and Nicaragua.

What is the highest point of Costa Rica?

Cerro Chirripo 3,819 m. The lowest point is Pacific Ocean 0 m.

Borders and geography: CIA World Factbook (public domain). Visa rules: TravelRequirements.info — Entry Requirements Dataset, AXG Sp. z o.o. (CC BY 4.0).