Demography · Population
Morocco is one of the most populous countries in North Africa, with 38 M people people in 2026. The majority of Moroccans live on the fertile coastal plain between the Atlantic and the Atlas Mountains, as well as in major cities such as Casablanca, Rabat, and Marrakech. High birth rates and a young population place the country at 39th in the world.
Data for 2026 · unit: people
Position
#39 / 197
Morocco world ranking
Country position on the scale from last to first place for this indicator.
MA
#39
#197#1
Converted
85.1 peopleper km²
Trend
Change over time
Change in indicator over the available period.
5 M
1900
8.9 M
1950
25 M
1990
29 M
2000
32 M
2010
37 M
2020
38 M
2026
Values — people
Comparison
Top countries by Population
Where Morocco stands in the world ranking.
1
INIndia
1.4 B
2
CNChina
1.4 B
3
USUSA
341 M
4
IDIndonesia
283 M
5
PKPakistan
245 M
6
NGNigeria
225 M
7
BRBrazil
218 M
8
BDBangladesh
174 M
Full world rankingarrow_forward
People also search for
Other pages of the reference by this indicator.
Frequently asked questions
Population in Morocco — how much?
Based on 2026 data — 38 M people. This is rank #39 out of 197 countries.
What is Morocco's rank by Population?
Morocco ranks #39 out of 197 countries in the world ranking by «Population».
How has Population changed in Morocco?
Over the available period the indicator changed from 5 M to 38 M people.