Demography · Median age
The median age in Morocco in 2026 is 31 years. This indicates the country is at the threshold of a demographic transition: birth rates are gradually declining, but young people still make up a large share of society. This age structure — 103rd in the world — offers both potential for economic growth and challenges in education and employment.
Data for 2026 · unit: years
Position
#103 / 197
Morocco world ranking
Country position on the scale from last to first place for this indicator.
MA
#103
#197#1
Trend
Change over time
Change in indicator over the available period.
19.0
1950
22.0
1990
25.0
2000
28.0
2010
30.0
2020
31.0
2026
Values — years
Comparison
Top countries by Median age
Where Morocco stands in the world ranking.
1
VAVatican City
51.0
2
JPJapan
49.5
3
MCMonaco
49.0
4
DEGermany
47.8
5
ITItaly
47.5
6
SMSan Marino
47.1
7
GRGreece
45.8
7
ESSpain
45.8
Full world rankingarrow_forward
People also search for
Other pages of the reference by this indicator.
Frequently asked questions
Median age in Morocco — how much?
Based on 2026 data — 31 years. This is rank #103 out of 197 countries.
What is Morocco's rank by Median age?
Morocco ranks #103 out of 197 countries in the world ranking by «Median age».
How has Median age changed in Morocco?
Over the available period the indicator changed from 19 to 31 years.