Morocco has a projected population of 38,081,100 in 2024. People aged 65 and over make up 8.1%; the approximate median age is 30.5 years.

In the UN Medium projection for 2050, 16.4% are aged 65 or over and 18.8% are under 15.

Population 1950–2100
Population
19502000202420502100
Age structure 1950–2100
Age structure
19502000202420502100
Aged 0–14Aged 15–64Aged 65+

1950–2023 · Estimates
2024–2100 · Projection

Population and age structure2024–2100 · Projection
YearPopulationAged 0–14Aged 15–64Aged 65+
196011,624,90044.8%52.3%2.8%
202438,081,10025.6%66.2%8.1%
202638,762,80024.8%66.5%8.8%
205043,440,10018.8%64.7%16.4%

The figures come from UN World Population Prospects 2024, combined sexes. Years through 2023 are estimates; 2024 onward uses the Medium projection. Median age is approximated within single-year age bands, and population counts are rounded for the visualization.