Module 009 · Demographics
37.8 Million People
Morocco's population density in three dimensions. Each bar is a grid cell — the taller the bar, the more people per square kilometre. The Atlantic corridor from Tangier to Agadir holds most of the country. The Sahara holds almost nobody.
37.8M
Population (2024 census)
87
People per km² (avg)
14,000
People per km² (Casablanca peak)
68%
Urban population
Drag to rotate · Height = population density
Density Scale
The Atlantic Corridor
The strip from Tangier to Agadir along the Atlantic coast holds roughly 70% of Morocco's population in less than 15% of its territory. This is where the highways, the TGV, the industry, and the money concentrate. Casablanca alone accounts for nearly 12% of the national population.
The Empty South
South of the Atlas, population density drops to under 5 people per square kilometre. The Draa-Tafilalet region — dates, kasbahs, the road to the Sahara — covers 23% of Morocco's land area but holds less than 4% of its people. Erfoud, the date capital, feels like a different country.
Marrakech vs. Casablanca
Casablanca is the economic capital — 4.1 million people, the port, the stock exchange. But Marrakech at 1.1 million punches far above its weight: 40% of all tourist overnight stays, the highest real estate prices per square metre in the country, and the cultural gravity that draws the world.
Sources
Population data from Haut-Commissariat au Plan (HCP) 2024 General Census of Population and Housing; WorldPop population density estimates (2020, ~1km resolution); city populations from citypopulation.de based on HCP official results. Grid resolution: ~0.25° (~25km at this latitude). Density values interpolated from census commune data and WorldPop raster estimates.
© 2026 Dancing with Lions. This visualization may not be reproduced without written permission and visible attribution.
© Dancing with Lions