Spain vs Morocco land borders

Updated on by statistics.wiki

Spain vs Morocco: land borders and neighboring countries

Border between the two countries: 11.5 mi
Spain Morocco
Total length 1,213 mi 2,189 mi
Neighboring countries 4 3
World rank by total length 89/157 58/157
Rank in region 16/43 (Europe) 24/48 (Africa)
Rank in income group 18/50 (high) 20/42 (lower-middle)
Neighbors Portugal France Andorra Morocco Algeria Mauritania Spain

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

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

Morocco's land borders, 2,189 mi (3,524 km) in total, are 1.8 times as long as Spain's, 1,213 mi (1,953 km).

Map of Spain, Morocco and their neighboring countries

  • Spain
  • Neighbors of Spain
  • Morocco
  • Neighbors of Morocco

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

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

Spain has four neighboring countries and Morocco three. Spain and Morocco share a border of 11.5 mi (18.5 km).

Spain border lengths by neighboring country

  1. Portugal 761 mi
  2. France 401 mi
  3. Andorra 39.1 mi
  4. Morocco 11.5 mi

Morocco border lengths by neighboring country

  1. Algeria 1,206 mi
  2. Mauritania 972 mi
  3. Spain 11.5 mi

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

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

Spain's longest border is the one with Portugal, 761 mi (1,224 km), and Morocco's longest the one with Algeria, 1,206 mi (1,941 km).

Compare the land borders of any 2 countries

Sources:

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

Share the link

Send feedback or report error