Median age in Morocco

Morocco: Median age was 29.19 years in 2023. ▲ Rising

Latest (2023)
29.19 years
Change on year
up 1.1%
World rank
136th
of 236 countries
All-time high
29.19 years
in 2023
All-time low
15.47 years
in 1969
Years of data
74
1950–2023

Median age in Morocco, 1950–2023

0102030195019862023

Source: UN, World Population Prospects (2024) – processed by Our World in Data. Measured in years.

Analysis

The most recent figure for median age in Morocco is 29.19 years, measured in 2023. That is the highest value across all 74 years on record.

That represents a change of up 1.1% on the previous year and up 13.6% over ten years.

Over the whole period, median age in Morocco peaked at 29.19 years in 2023 and was at its lowest, 15.47 years, in 1969.

Morocco ranks 136th of 236 countries on this measure, in the middle of the range.

The long-run direction has been consistently rising across the 74 years of available data.

Averages by decade

DecadeAverage LowestHighest Years
1950s 17.96 years 17.18 years 18.31 years 10
1960s 15.92 years 15.47 years 16.85 years 10
1970s 15.82 years 15.49 years 16.3 years 10
1980s 17.19 years 16.44 years 18.12 years 10
1990s 19.74 years 18.39 years 21.11 years 10
2000s 22.83 years 21.41 years 24.35 years 10
2010s 26.26 years 24.69 years 27.87 years 10
2020s 28.71 years 28.23 years 29.19 years 4

Countries ranked near Morocco

  1. 133 Bhutan 29.39 years compare
  2. 134 Oman 29.27 years compare
  3. 135 Saudi Arabia 29.25 years compare
  4. 137 Israel 29.15 years compare
  5. 138 Venezuela 29.02 years compare
  6. 139 Mexico 28.89 years compare

See the full ranking of 236 places →

More reference data data for Morocco

All data for Morocco →

Frequently asked questions

What is median age in Morocco?
Median age in Morocco was 29.19 years in 2023, according to UN, World Population Prospects (2024) – processed by Our World in Data.
What is the highest median age recorded in Morocco?
The highest recorded value was 29.19 years in 2023.
What is the lowest median age recorded in Morocco?
The lowest recorded value was 15.47 years in 1969.
How does Morocco rank for median age?
Morocco ranks 136th out of 236 countries with data for 2023.
Is median age rising or falling in Morocco?
Over the last ten years it is up 13.6%. The long-run trend across the full record is rising.
Where does this Morocco data come from?
The figures come from UN, World Population Prospects (2024) – processed by Our World in Data, published as part of Median age. Statizoid updates them automatically from the source API.

Download this data

CSV · JSON — 74 observations, free to reuse under CC BY 4.0 (Our World in Data).

About this data

Indicator
Median age
Unit
years
Source
UN, World Population Prospects (2024) – processed by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
236 places, 17,464 data points, 1950–2023
Last refreshed

The age that divides the population into two halves of equal size — half are younger and half are older.