Morocco vs Algeria land borders

Updated on by statistics.wiki

Morocco vs Algeria: land borders and neighboring countries

Border between the two countries: 1,206 mi
Morocco Algeria
Total length 2,189 mi 4,184 mi
Neighboring countries 3 6
World rank by total length 58/157 18/157
Rank in Africa 24/48 4/48
Rank in income group 20/42 (lower-middle) 7/41 (upper-middle)
Neighbors Algeria Mauritania Spain Morocco Mali Tunisia Libya Niger Mauritania

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

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

Algeria's land borders, 4,184 mi (6,734 km) in total, are 1.9 times as long as Morocco's, 2,189 mi (3,524 km).

Map of Morocco, Algeria and their neighboring countries

  • Morocco
  • Neighbors of Morocco
  • Algeria
  • Neighbors of Algeria
  • Neighbors of both

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

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

Morocco has three neighboring countries and Algeria six; one country borders both. Morocco and Algeria share a border of 1,206 mi (1,941 km).

Morocco border lengths by neighboring country

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

Algeria border lengths by neighboring country

  1. Morocco 1,206 mi
  2. Mali 844 mi
  3. Tunisia 642 mi
  4. Libya 615 mi
  5. Niger 591 mi
  6. Mauritania 285.8 mi

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

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

After the border they share, Morocco's longest border is the one with Mauritania, 972 mi (1,564 km), and Algeria's the one with Mali, 844 mi (1,359 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