Morocco coastline rankings and length per land area
| Coastline length | 1,830 mi (2,945 km) |
|---|---|
| World rank | 37/152 |
| Rank in Africa | 3/38 |
| Rank, lower-middle income | 4/35 |
| Coastline per land area | 6.6 km per 1,000 km² (10.6 mi per 1,000 mi²) |
Morocco's coastline is 1,830 mi (2,945 km) long, the 37th longest in the world.
Morocco's coastline is the 3rd longest in Africa, after Madagascar's and Somalia's, and 7.4% of the region's total. Morocco's land borders total 2,189 mi (3,524 km), 1.2 times the length of its coastline.
Morocco in the world ranking by coastline length
| Rank | Country | Coastline length, mi | Per land area, mi per 1,000 mi² | |
|---|---|---|---|---|
| 34 |
|
2,000 | 12.7 | vs Sweden |
| 35 |
|
1,993 | 4.65 | vs Colombia |
| 36 |
|
1,880 | 7.76 | vs Somalia |
| 37 |
|
1,830 | 10.6 | |
| 38 |
|
1,740 | 5.11 | |
| 39 |
|
1,739 | 3.71 | vs RSA |
| 40 |
|
1,729 | 7.73 |
Morocco and its neighbors: coastline length
Morocco and its neighbors: coastline per land area
Of Morocco and its three neighbors with a coastline, Spain has the longest coastline, 3,084 mi (4,964 km), and Mauritania the shortest, 469 mi (754 km). Morocco is second of the four, with 1,830 mi (2,945 km). Relative to land area, Morocco has 10.6 mi per 1,000 mi² (6.6 km per 1,000 km²) of coastline; Spain has the most of them, 16 mi per 1,000 mi² (9.93 km per 1,000 km²), and Algeria the least, 0.67 mi per 1,000 mi² (0.42 km per 1,000 km²).
Compare the coastline of Morocco with other 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.