Which countries border Costa Rica?

Costa Rica shares a land border with two countries: Nicaragua and Panama. That is more than 17 of the 157 countries that have a land border.

Can you get from Costa Rica to Suriname by land, one border at a time? Play today's Border Chain.

Costa Rica and its neighbours on a map

Costa Rica is shown in green and its two neighbours in blue. Click a neighbour to see the countries that border it.

  • Costa Rica
  • Land neighbours

Every neighbour of Costa Rica

CountryIts own land neighbours
Nicaragua2
Panama2

Countries near Costa Rica

Beyond its two land neighbours, these are the countries closest to Costa Rica: across the sea, and two borders away by land.

Nearby across the sea

This country shares no land border with Costa Rica, but its nearest shore is within 400 km of it across the water.

Straight-line distance between the nearest shores across the water, from simplified country outlines, so it is rounded.

Two borders away

These two countries border a neighbour of Costa Rica but not Costa Rica itself, so you cross exactly two borders to reach them by land.

Think you know your neighbours?

Border Chain gives you two countries and you connect them by naming neighbours, one border at a time. A new puzzle every day.

How far are you from Costa Rica?

On a phone this uses GPS. The calculator shows the straight-line distance to the nearest country border from where you are.

Tools for Costa Rica

Regions and districts in Costa Rica

Country, region and district for any point.

Open in workspace
How far is a place in Costa Rica from the sea?

Straight-line distance to the nearest coast.

Open in workspace
Sketch and annotate a map of Costa Rica

Markers, lines, shapes and labels. Free, no sign-up.

Open in workspace
Measure land area in Costa Rica

Trace a field or plot and read its area in acres or hectares.

Open in workspace

Explore Costa Rica

Questions

Which countries border Costa Rica?

Costa Rica shares a land border with two countries: Nicaragua and Panama.

How many countries border Costa Rica?

Two. That is more than 17 of the 157 countries that have a land border.

Which countries are two borders away from Costa Rica?

Colombia and Honduras. Each one borders a neighbour of Costa Rica without touching Costa Rica itself.

Which countries are near Costa Rica across the sea?

El Salvador (about 350 km (220 mi)). None of them shares a land border with Costa Rica; each figure is the straight line between the nearest shores.

Are borders across the sea counted?

No. Only land borders count as borders, and borders of overseas territories far from the mainland do not count either. This is the same list the Border Chain game plays with. Countries that face Costa Rica across the water are listed apart, under "Nearby across the sea".

Countries with the most neighbours

See every country and its neighbours

Land borders as used by the Border Chain game, checked October 8, 2026. Country outlines and the distances across the sea from Natural Earth.