Which countries border Spain?

Spain shares a land border with four countries: Andorra, France, Morocco and Portugal. That is more than 72 of the 157 countries that have a land border.

Spain and its neighbours on a map

Spain is shown in green and its four neighbours in blue. Click a neighbour to see the countries that border it.

  • Spain
  • Land neighbours

Every neighbour of Spain

CountryIts own land neighbours
Andorra2
France8
Morocco3
Portugal1

Two borders away

These eight countries border a neighbour of Spain but not Spain 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 Spain?

On a phone this uses GPS. The calculator opens with Spain already selected and measures the straight-line distance to its nearest border.

Questions

Which countries border Spain?

Spain shares a land border with four countries: Andorra, France, Morocco and Portugal.

How many countries border Spain?

Four. That is more than 72 of the 157 countries that have a land border.

Which countries are two borders away from Spain?

Algeria, Belgium, Germany, Italy, Luxembourg, Mauritania, Monaco and Switzerland. Each one borders a neighbour of Spain without touching Spain itself.

Are borders across the sea counted?

No. Only land borders count. Countries that face Spain across water are not listed here, and neither are borders of overseas territories far from the mainland. This is the same list the Border Chain game plays with.

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 from Natural Earth.