Skip to content
World Measure
The population almanac240 countries · 31,365 cities · UN WPP 2024
City profile · Morocco · Africa

Marrakesh

City population
995,871
#5
in Morocco
#1
in Marrakesh-Safi
#557
worldwide
RabatMarrakesh
31.634, -8.000 · 286 km from Rabat
City population
995,871
Within the city boundary, not a metro area
Rank in Morocco
#5
of 176 cities of 15,000+
World rank
#557
of 31,365 cities listed
Share of Morocco
2.6%
of the national population

About Marrakesh

At 457 m above sea level, Marrakesh is Morocco's fifth-largest city by population, with 995,871 residents. The city accounts for 2.6% of the country's population and ranks first among 18 cities in the Marrakesh-Safi region, sitting 286 km from the capital Rabat. Méchouar-Kasba lies 4 km away with 18,410 residents; Tamansourt (27,383) stands 17 km distant.

This summary is AI-generated from the figures on this page. The figures themselves come from the sources cited beside each value.

Position in Morocco
#5of 176
LargestSmallest
Position in Marrakesh-Safi
#1of 18
LargestSmallest

Key Facts

Country
Rank in region
#1of 18
Distance to capital
to Rabat
Elevation
457 m
Approximate — modelled, not surveyed
Time zone
Africa/Casablanca
Coordinates
31.634, -8.000
Record updated
2026-04-14
Entry edited, not measured

City population, GeoNames. GeoNames publishes no year for its population figures, so “record updated” is when the entry was last edited — not the date the population was measured. Elevation is modelled from a digital elevation model rather than surveyed, so it is approximate.

Nearby Cities

All 176 in Morocco

Closest listed cities by great-circle distance from the city centre.

Compared with the World's Largest Cities

City-proper population against the fifteen largest cities in the dataset.

City-proper figures only. Administrative boundaries differ between countries, so these are not directly comparable to metropolitan-area estimates.
Marrakesh compared with the fifteen largest cities
NameCity population
Shanghai24.9M
Beijing19M
Shenzhen17.5M
Guangzhou16.1M
Kinshasa16M
Istanbul15.7M
Lagos15.4M
Ho Chi Minh City14M
Chengdu13.6M
Lahore13M
Mumbai12.7M
São Paulo12.4M
Mexico City12.3M
Karachi11.6M
Tianjin11.1M
Marrakesh996K

Marrakesh Population FAQ

What is the population of Marrakesh?

Marrakesh has a city population of 995,871. That is the population within the city's own boundary, not its wider metropolitan area. City population, GeoNames.

Where is Marrakesh?

Marrakesh is in Marrakesh-Safi, Morocco, 286 km from the capital, Rabat. Its coordinates are 31.634, -8.000.

How big is Marrakesh compared with other cities in Morocco?

It is the 5th largest of the 176 cities of 15,000 or more listed in Morocco, holding 2.6% of the national population.

Explore