Population Pyramid of Morocco2024
Total population
38.1M
Median age
30.5
Peak year
2058
Peak population
43.7M
Age & sex distribution over time
1950 · 8.9M · median age 19.3
1980 · 19.5M · median age 17.6
2000 · 28.4M · median age 22.5
2024 · 38.1M · median age 30.5
2050 · 43.4M · median age 38.4
2100 · 37.9M · median age 49.1
Source: UN World Population Prospects 2024 Revision (CC BY 3.0 IGO). Values in thousands. Years after 2024 are medium-variant projections.
Key insights
Demographic profile
Morocco presently shows a transitional pyramid, narrowing at the base as fertility declines but still with substantial youth cohorts. The median age in 2024 is 30.5 years.
Age composition
Children under 15 account for 25.6% of the population; people 65 and older account for 8.1%.
Peak population
UN medium-variant projections place Morocco's peak population in 2058.
Long arc
In 1950 the population was 8.9 million with median age 19.3. Projected 2100 values are 37.9 million and median age 49.1.