Coastline of Morocco (2025)
The coastline of Morocco is 2,945 km long (as of 2025, CIA World Factbook).
Morocco has the 38th longest coastline of 150 ranked countries (as of 2025, CIA World Factbook).
Key figures
- Coastline
- 2,945 kmas of 2025, CIA World Factbook
- World rank
- 38 of 150as of 2025, CIA World Factbook
Morocco through history
Morocco became independent on March 2, 1956.
The nearest world map in the atlas to that year is 1960.
Map quizzes that include Morocco
Morocco in context
| Country | Value | Year | Rank | Relation |
|---|---|---|---|---|
| Spain | 4,964 km | 2025 | 26 of 150 | land neighbour |
| Colombia | 3,208 km | 2025 | 36 of 150 | similar size |
| Somalia | 3,025 km | 2025 | 37 of 150 | similar size |
| Morocco | 2,945 km | 2025 | 38 of 150 | this country |
| Venezuela | 2,800 km | 2025 | 39 of 150 | similar size |
| South Africa | 2,798 km | 2025 | 40 of 150 | similar size |
| Ukraine | 2,782 km | 2025 | 41 of 150 | similar size |
| Western Sahara | 1,110 km | 2025 | not ranked | land neighbour |
| Algeria | 998 km | 2025 | 75 of 150 | land neighbour |
Frequently asked questions
How long is the coastline of Morocco?
The coastline of Morocco is 2,945 km long (as of 2025, CIA World Factbook).
How does Morocco rank in the world by coastline?
Morocco has the 38th longest coastline of 150 ranked countries (as of 2025, CIA World Factbook).
What it measures
The coastline is the length of the boundary between land and sea, in kilometres.
Sources and method
- CIA World Factbook (final snapshot), Licence: Public domain
Ranks count the independent states that have a value for the indicator and are listed in the Geographic History country data; territories and dependencies are shown with their data but are not ranked. Rank 1 is the highest value.
A year given as "as of" is when the figure was read from the source, not the year it describes.
Last updated:
More about Morocco
More statistics for Morocco
- Population
- Population density
- Population growth
- Urban population
- Life expectancy
- Fertility rate
- Median age
- Adult literacy
- Internet users
- GDP
- GDP per capita
- GDP per capita, PPP
- GDP growth
- Inflation
- Unemployment
- Human Development Index
- Area
- Forest area
- Arable land
- CO2 emissions per person
Every year has a map
Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.

