Demography · Largest city population
Casablanca, Morocco's largest city, had 4 M persons residents in 2026, ranking 40 out of 197 countries worldwide. This economic and industrial hub on the Atlantic coast attracts migrants from across the kingdom due to its port, financial sector, and manufacturing. The city's rapid growth reflects the urbanization trend shaping modern Morocco.
Data for 2026 · unit: persons
Position
#40 / 197
Morocco world ranking
Country position on the scale from last to first place for this indicator.
MA
#40
#197#1
Trend
Change over time
Change in indicator over the available period.
500 K
1900
700 K
1950
2.5 M
1990
2.9 M
2000
3.3 M
2010
3.7 M
2020
4 M
2026
Values — persons
Comparison
Top countries by Largest city population
Where Morocco stands in the world ranking.
1
CNChina
26 M
2
MXMexico
22 M
2
BDBangladesh
22 M
2
EGEgypt
22 M
5
INIndia
20 M
6
PKPakistan
18 M
7
TRTurkey
16 M
8
NGNigeria
16 M
Full world rankingarrow_forward
People also search for
Other pages of the reference by this indicator.
Frequently asked questions
Largest city population in Morocco — how much?
Based on 2026 data — 4 M persons. This is rank #40 out of 197 countries.
What is Morocco's rank by Largest city population?
Morocco ranks #40 out of 197 countries in the world ranking by «Largest city population».
How has Largest city population changed in Morocco?
Over the available period the indicator changed from 500 K to 4 M persons.