Morocco vs Libya land borders

Updated on by statistics.wiki

Morocco vs Libya: land borders and neighboring countries

Border between the two countries: none, they aren't neighbors
Morocco Libya
Total length 2,189 mi 2,696 mi
Neighboring countries 3 6
World rank by total length 58/157 46/157
Rank in Africa 24/48 19/48
Rank in income group 20/42 (lower-middle) 17/41 (upper-middle)
Neighbors Algeria Mauritania Spain Egypt Chad Algeria Tunisia Sudan Niger

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

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

Libya's land borders, 2,696 mi (4,339 km) in total, are 23% longer than Morocco's, 2,189 mi (3,524 km).

Map of Morocco, Libya and their neighboring countries

  • Morocco
  • Neighbors of Morocco
  • Libya
  • Neighbors of Libya
  • Neighbors of both

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

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

Morocco has three neighboring countries and Libya six; one country borders both. Morocco and Libya do not border each other.

Morocco border lengths by neighboring country

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

Libya border lengths by neighboring country

  1. Egypt 693 mi
  2. Chad 652 mi
  3. Algeria 615 mi
  4. Tunisia 286.5 mi
  5. Sudan 237.4 mi
  6. Niger 212.5 mi

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

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

Morocco's longest border is the one with Algeria, 1,206 mi (1,941 km), and Libya's longest the one with Egypt, 693 mi (1,115 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