Somalia vs Morocco: coastline rankings and length per land area
Somalia's coastline, 1,880 mi (3,025 km), is 2.7% longer than Morocco's, 1,830 mi (2,945 km).
Relative to land area, Morocco has 37% more coastline than Somalia: 10.6 mi per 1,000 mi² (6.6 km per 1,000 km²) against 7.76 mi per 1,000 mi² (4.82 km per 1,000 km²).
Somalia and nearby countries: coastline length
Morocco and its neighbors: coastline length
Of Somalia and the five nearby countries, Somalia has the longest coastline, 1,880 mi (3,025 km), and Djibouti the shortest, 195.1 mi (314 km); of Morocco and its three neighbors with a coastline, Spain has the longest, 3,084 mi (4,964 km), and Mauritania the shortest, 469 mi (754 km).
Compare the coastlines of any 2 countries
Sources:
- Central Intelligence Agency (CIA) (2025, updated October 2026)
Creative Commons Attribution (CC BY): you may copy, share, adapt and reuse this content, also commercially, as long as you credit statistics.wiki and note any changes you made. The sources listed above may have their own license terms.