Globe Game

Globe Game › Guides › Countries that border › Spain

Which countries border Spain?

Play Globe Game free →

Spain shares a land border with 4 countries: Andorra, France, Morocco and Portugal. That ranks Spain number 60 in the world for the most neighbors (tied).

Spain's neighbors

FlagCountryCapitalDistance from Madrid
Flag of AndorraAndorraAndorra la Vella500 km
Flag of FranceFranceParis1,050 km
Flag of MoroccoMoroccoRabat750 km
Flag of PortugalPortugalLisbon500 km

Distance is a straight line between the two capitals, rounded to 50 km. Neighbors are places whose land borders touch Spain; sea borders are not included.

Quick facts

How Spain's neighbors connect

Of Spain's 4 neighbors, 1 pair also borders each other: Andorra–France. Morocco and Portugal touch no other neighbor of Spain.

Two borders away (8): Algeria, Belgium, Germany, Italy, Luxembourg, Monaco, Switzerland and Western Sahara. These countries are not neighbors of Spain, but each borders at least one of them.

Spain in Globe Game

In Globe Game, every neighbor of the mystery country shows 0 km (how distance works). If you guess Spain and it shows 0 km without being the answer, the answer is one of the 4 countries above. More on borders: countries with the most neighbors.

Computed from Globe Game's own country data (Natural Earth borders, Wikidata and GeoNames facts), the same data the game uses, so these numbers match what you see on the globe.

FAQ

How many countries border Spain?

4: Andorra, France, Morocco and Portugal.

What is the capital of Spain?

Madrid.

What is the biggest country that borders Spain?

France, by land area.

Play Globe Game free →

Updated 2026-12-05.