Spain land borders

Updated on by statistics.wiki

Map of Spain and its neighboring countries

  • Spain
  • Neighboring countries

Sources: Central Intelligence Agency (CIA) (2025, updated October 2026).

statistics.wiki/land-borders/spain | CC BY

Spain borders four countries: Portugal, France, Andorra and Morocco. Spain's land borders total 1,213 mi (1,953 km), the 89th longest of the 157 countries with land borders.

Spain's land borders are the 16th longest of the 43 countries of Europe with land borders.

Spain land borders: total length, rankings and longest border

Total length 1,213 mi (1,953 km)
Neighboring countries 4
World rank by total length 89/157
Rank in Europe 16/43
Rank, high income 18/50
Longest border Portugal 761 mi (1,224 km)

Sources: Central Intelligence Agency (CIA) (2025, updated October 2026).

statistics.wiki/land-borders/spain | CC BY

Spain neighboring countries and border lengths

Neighboring country Border length, mi Share of the total
Portugal 761 62.7% vs Portugal
France 401 33.1% vs France
Andorra 39.1 3.23%
Morocco 11.5 0.95% vs Morocco

Sources: Central Intelligence Agency (CIA) (2025, updated October 2026).

statistics.wiki/land-borders/spain | CC BY

The border with Portugal is the longest, 761 mi (1,224 km), 62.7% of the total; the shortest, with Morocco, is 11.5 mi (18.5 km).

Spain and its neighbors: total length of land borders

  1. France 2,458 mi
  2. Morocco 2,189 mi
  3. Spain 1,213 mi
  4. Portugal 761 mi
  5. Andorra 73.3 mi

Sources: Central Intelligence Agency (CIA) (2025, updated October 2026).

statistics.wiki/land-borders/spain | CC BY

Of Spain and its four neighbors, France has the longest land borders in total, 2,458 mi (3,956 km), and Andorra the shortest, 73.3 mi (118 km). Spain is third of the five, with 1,213 mi (1,953 km).

Compare the land borders of Spain with other countries

Sources:

  1. Central Intelligence Agency (CIA) (2025, updated October 2026)

Share the link

Send feedback or report error