Geographic History

Flag of MoroccoCoastline 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

Morocco in context
CountryValueYearRankRelation
Spain4,964 km202526 of 150land neighbour
Colombia3,208 km202536 of 150similar size
Somalia3,025 km202537 of 150similar size
Morocco2,945 km202538 of 150this country
Venezuela2,800 km202539 of 150similar size
South Africa2,798 km202540 of 150similar size
Ukraine2,782 km202541 of 150similar size
Western Sahara1,110 km2025not rankedland neighbour
Algeria998 km202575 of 150land 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

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

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.