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.

Median age in Morocco, year by year

Annual values for Median age in Morocco, 1950 to 2023.
Year years Change
1950 18.28 years
1951 18.31 years +0.2%
1952 18.3 years -0.1%
1953 18.24 years -0.3%
1954 18.15 years -0.5%
1955 18.03 years -0.7%
1956 17.89 years -0.8%
1957 17.71 years -1.0%
1958 17.47 years -1.4%
1959 17.18 years -1.7%
1960 16.85 years -1.9%
1961 16.55 years -1.8%
1962 16.29 years -1.6%
1963 16.04 years -1.5%
1964 15.82 years -1.4%
1965 15.64 years -1.1%
1966 15.56 years -0.5%
1967 15.51 years -0.3%
1968 15.47 years -0.2%
1969 15.47 years -0.0%
1970 15.49 years +0.1%
1971 15.53 years +0.3%
1972 15.59 years +0.4%
1973 15.65 years +0.4%
1974 15.72 years +0.5%
1975 15.81 years +0.6%
1976 15.91 years +0.7%
1977 16.03 years +0.7%
1978 16.16 years +0.8%
1979 16.3 years +0.9%
1980 16.44 years +0.9%
1981 16.58 years +0.9%
1982 16.72 years +0.8%
1983 16.87 years +0.9%
1984 17.03 years +1.0%
1985 17.21 years +1.1%
1986 17.42 years +1.2%
1987 17.64 years +1.3%
1988 17.87 years +1.3%
1989 18.12 years +1.4%
1990 18.39 years +1.5%
1991 18.66 years +1.5%
1992 18.95 years +1.6%
1993 19.26 years +1.6%
1994 19.59 years +1.7%
1995 19.91 years +1.6%
1996 20.21 years +1.5%
1997 20.52 years +1.5%
1998 20.81 years +1.5%
1999 21.11 years +1.4%
2000 21.41 years +1.4%
2001 21.7 years +1.4%
2002 22 years +1.4%
2003 22.3 years +1.4%
2004 22.62 years +1.4%
2005 22.96 years +1.5%
2006 23.31 years +1.5%
2007 23.66 years +1.5%
2008 24.01 years +1.5%
2009 24.35 years +1.4%
2010 24.69 years +1.4%
2011 25.02 years +1.3%
2012 25.36 years +1.4%
2013 25.71 years +1.4%
2014 26.07 years +1.4%
2015 26.43 years +1.4%
2016 26.78 years +1.3%
2017 27.13 years +1.3%
2018 27.49 years +1.3%
2019 27.87 years +1.4%
2020 28.23 years +1.3%
2021 28.55 years +1.1%
2022 28.88 years +1.1%
2023 29.19 years +1.1%

Morocco compared with similar countries

  • Morocco's 29.19 years is above the median for lower middle income countries, which is 21.43 years, 1.4× the median. (47 countries reporting)
  • Morocco's 29.19 years is above the median for Middle East, North Africa, Afghanistan & Pakistan, which is 28.32 years, 1.0× the median. (23 countries reporting)

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).

Share, cite or embed this page

Cite this page

Median age in Morocco. Statizoid, drawing on UN, World Population Prospects (2024) – processed by Our World in Data. Retrieved 22 September 2026, from https://reference.statizoid.com/stat/median-age/morocco/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://reference.statizoid.com/stat/median-age/morocco/">Median age in Morocco</a> — Statizoid

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

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