Median age, July 1 estimate in Morocco

Median age, July 1 estimate in Morocco was 29.19 years in 2023, according to the United Nations, Department of Economic and Social Affairs, Population Division. That is up 0.32 from 2022. That is the 136th highest of 236 countries in 2023.

2023, years29.19 Estimated
Change on 2022+0.32
Rank136th of 236Countries ranked
Series high29.192023
Series low15.471969
Get an email when a new figure is out or this one is revised.
Keep it in a collection in your library.

Median age, July 1 estimate in Morocco, 1950 to 2023

1520253019501961197219831994200520231950: 18.28 years1951: 18.31 years1952: 18.3 years1953: 18.24 years1954: 18.15 years1955: 18.03 years1956: 17.89 years1957: 17.71 years1958: 17.47 years1959: 17.17 years1960: 16.85 years1961: 16.55 years1962: 16.28 years1963: 16.04 years1964: 15.82 years1965: 15.64 years1966: 15.56 years1967: 15.51 years1968: 15.47 years1969: 15.47 years1970: 15.49 years1971: 15.53 years1972: 15.59 years1973: 15.65 years1974: 15.72 years1975: 15.81 years1976: 15.91 years1977: 16.03 years1978: 16.16 years1979: 16.3 years1980: 16.44 years1981: 16.58 years1982: 16.72 years1983: 16.87 years1984: 17.03 years1985: 17.22 years1986: 17.42 years1987: 17.64 years1988: 17.87 years1989: 18.12 years1990: 18.38 years1991: 18.66 years1992: 18.95 years1993: 19.26 years1994: 19.59 years1995: 19.91 years1996: 20.21 years1997: 20.52 years1998: 20.81 years1999: 21.11 years2000: 21.41 years2001: 21.7 years2002: 22 years2003: 22.3 years2004: 22.62 years2005: 22.96 years2006: 23.31 years2007: 23.66 years2008: 24.01 years2009: 24.35 years2010: 24.69 years2011: 25.02 years2012: 25.36 years2013: 25.71 years2014: 26.07 years2015: 26.43 years2016: 26.78 years2017: 27.13 years2018: 27.49 years2019: 27.87 years2020: 28.23 years2021: 28.55 years2022: 28.87 years2023: 29.19 years1520253019501975200020231950: 18.28 years1951: 18.31 years1952: 18.3 years1953: 18.24 years1954: 18.15 years1955: 18.03 years1956: 17.89 years1957: 17.71 years1958: 17.47 years1959: 17.17 years1960: 16.85 years1961: 16.55 years1962: 16.28 years1963: 16.04 years1964: 15.82 years1965: 15.64 years1966: 15.56 years1967: 15.51 years1968: 15.47 years1969: 15.47 years1970: 15.49 years1971: 15.53 years1972: 15.59 years1973: 15.65 years1974: 15.72 years1975: 15.81 years1976: 15.91 years1977: 16.03 years1978: 16.16 years1979: 16.3 years1980: 16.44 years1981: 16.58 years1982: 16.72 years1983: 16.87 years1984: 17.03 years1985: 17.22 years1986: 17.42 years1987: 17.64 years1988: 17.87 years1989: 18.12 years1990: 18.38 years1991: 18.66 years1992: 18.95 years1993: 19.26 years1994: 19.59 years1995: 19.91 years1996: 20.21 years1997: 20.52 years1998: 20.81 years1999: 21.11 years2000: 21.41 years2001: 21.7 years2002: 22 years2003: 22.3 years2004: 22.62 years2005: 22.96 years2006: 23.31 years2007: 23.66 years2008: 24.01 years2009: 24.35 years2010: 24.69 years2011: 25.02 years2012: 25.36 years2013: 25.71 years2014: 26.07 years2015: 26.43 years2016: 26.78 years2017: 27.13 years2018: 27.49 years2019: 27.87 years2020: 28.23 years2021: 28.55 years2022: 28.87 years2023: 29.19 years
years. Source: UN WPP, World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved 2026-10-10, published 2024-12-13.
All 74 values
Periodyears
202329.19 Estimated
202228.87 Estimated
202128.55 Estimated
202028.23 Estimated
201927.87 Estimated
201827.49 Estimated
201727.13 Estimated
201626.78 Estimated
201526.43 Estimated
201426.07 Estimated
201325.71 Estimated
201225.36 Estimated
201125.02 Estimated
201024.69 Estimated
200924.35 Estimated
200824.01 Estimated
200723.66 Estimated
200623.31 Estimated
200522.96 Estimated
200422.62 Estimated
200322.3 Estimated
200222 Estimated
200121.7 Estimated
200021.41 Estimated
199921.11 Estimated
199820.81 Estimated
199720.52 Estimated
199620.21 Estimated
199519.91 Estimated
199419.59 Estimated
199319.26 Estimated
199218.95 Estimated
199118.66 Estimated
199018.38 Estimated
198918.12 Estimated
198817.87 Estimated
198717.64 Estimated
198617.42 Estimated
198517.22 Estimated
198417.03 Estimated
198316.87 Estimated
198216.72 Estimated
198116.58 Estimated
198016.44 Estimated
197916.3 Estimated
197816.16 Estimated
197716.03 Estimated
197615.91 Estimated
197515.81 Estimated
197415.72 Estimated
197315.65 Estimated
197215.59 Estimated
197115.53 Estimated
197015.49 Estimated
196915.47 Estimated
196815.47 Estimated
196715.51 Estimated
196615.56 Estimated
196515.64 Estimated
196415.82 Estimated
196316.04 Estimated
196216.28 Estimated
196116.55 Estimated
196016.85 Estimated
195917.17 Estimated
195817.47 Estimated
195717.71 Estimated
195617.89 Estimated
195518.03 Estimated
195418.15 Estimated
195318.24 Estimated
195218.3 Estimated
195118.31 Estimated
195018.28 Estimated

Morocco compared with nearby places

United Arab Emirates: 31.23 yearsAfghanistan: 16.94 yearsAntigua and Barbuda: 35.49 yearsAlbania: 36.28 yearsArmenia: 35.83 yearsAngola: 16.45 yearsArgentina: 32.12 yearsAustria: 43.09 yearsAustralia: 37.75 yearsAzerbaijan: 32.6 yearsBosnia and Herzegovina: 44.92 yearsBangladesh: 25.33 yearsBelgium: 41.44 yearsBurkina Faso: 17.25 yearsBulgaria: 44.31 yearsBurundi: 15.9 yearsBenin: 17.77 yearsBrunei: 31.76 yearsBolivia: 24.66 yearsBrazil: 33.94 yearsBahamas: 34.6 yearsBhutan: 29.39 yearsBotswana: 22.88 yearsBelarus: 40.53 yearsBelize: 25.95 yearsCanada: 40.34 yearsDemocratic Republic of the Congo: 15.77 yearsCentral African Republic: 14.32 yearsRepublic of the Congo: 18.31 yearsSwitzerland: 42.33 yearsCôte d’Ivoire: 18.1 yearsChile: 35.97 yearsCameroon: 17.75 yearsChina: 39.07 yearsColombia: 31.61 yearsCosta Rica: 34.07 yearsCuba: 41.71 yearsCape Verde: 27.87 yearsCyprus: 37.76 yearsCzechia: 42.72 yearsGermany: 45.15 yearsDjibouti: 24.39 yearsDenmark: 41.25 yearsDominican Republic: 27.65 yearsAlgeria: 28.19 yearsEcuador: 28.41 yearsEstonia: 41.89 yearsEgypt: 24.03 yearsWestern Sahara: 32.04 yearsEritrea: 18.65 yearsSpain: 44.9 yearsEthiopia: 18.73 yearsFinland: 42.79 yearsFiji: 27.67 yearsFalkland Islands: 41.53 yearsFaroe Islands: 37.26 yearsFrance: 41.82 yearsGabon: 21.5 yearsUnited Kingdom: 39.78 yearsGeorgia: 36.8 yearsGhana: 20.93 yearsGreenland: 34.23 yearsGambia: 18.17 yearsGuinea: 17.98 yearsEquatorial Guinea: 20.98 yearsGreece: 45.75 yearsGuatemala: 22.63 yearsGuinea-Bissau: 18.94 yearsGuyana: 25.61 yearsHong Kong: 46.15 yearsHonduras: 23.55 yearsCroatia: 44.76 yearsHaiti: 23.51 yearsHungary: 43.32 yearsIndonesia: 29.83 yearsIreland: 38.42 yearsIsrael: 29.15 yearsIsle of Man: 45.68 yearsIndia: 28.06 yearsIraq: 20.35 yearsIran: 32.87 yearsIceland: 35.81 yearsItaly: 47.46 yearsJamaica: 31.67 yearsJordan: 24.28 yearsJapan: 48.96 yearsKenya: 19.53 yearsKyrgyzstan: 25.13 yearsCambodia: 25.84 yearsKiribati: 22.69 yearsNorth Korea: 36.05 yearsSouth Korea: 44.49 yearsKuwait: 34.5 yearsCayman Islands: 37.88 yearsKazakhstan: 29.46 yearsLaos: 24.28 yearsLebanon: 28.32 yearsSri Lanka: 32.81 yearsLiberia: 18.36 yearsLesotho: 21.43 yearsLithuania: 42.12 yearsLuxembourg: 38.89 yearsLatvia: 43.08 yearsLibya: 27.2 yearsMorocco: 29.19 yearsMoldova: 37.75 yearsMontenegro: 39.29 yearsMadagascar: 18.88 yearsNorth Macedonia: 40.26 yearsMali: 15.47 yearsMyanmar: 29.53 yearsMongolia: 26.75 yearsMauritania: 17.12 yearsMauritius: 36.93 yearsMalawi: 17.58 yearsMexico: 28.89 yearsMalaysia: 30.06 yearsMozambique: 16.32 yearsNamibia: 20.96 yearsNew Caledonia: 33.89 yearsNiger: 15.25 yearsNigeria: 17.75 yearsNicaragua: 25.27 yearsNetherlands: 41.4 yearsNorway: 39.54 yearsNepal: 24.68 yearsNew Zealand: 37.28 yearsOman: 29.27 yearsPanama: 29.6 yearsPeru: 29.45 yearsFrench Polynesia: 34.79 yearsPapua New Guinea: 22.34 yearsPhilippines: 25.29 yearsPakistan: 20.29 yearsPoland: 41.31 yearsPuerto Rico: 45.31 yearsPalestine: 19.76 yearsPortugal: 46.2 yearsPalau: 37.84 yearsParaguay: 26.34 yearsQatar: 33.19 yearsRomania: 42.62 yearsSerbia: 43.87 yearsRussia: 39.45 yearsRwanda: 19.44 yearsSaudi Arabia: 29.25 yearsSolomon Islands: 20.25 yearsSudan: 18.28 yearsSweden: 39.91 yearsSingapore: 35.1 yearsSlovenia: 43.89 yearsSlovakia: 41.3 yearsSierra Leone: 19.27 yearsSenegal: 19.13 yearsSomalia: 15.45 yearsSuriname: 28.1 yearsSouth Sudan: 17.97 yearsEl Salvador: 26.96 yearsSyria: 22.25 yearsEswatini: 22 yearsChad: 15.4 yearsTogo: 18.82 yearsThailand: 39.66 yearsTajikistan: 21.93 yearsTimor-Leste: 20.97 yearsTurkmenistan: 26.23 yearsTunisia: 32.13 yearsTürkiye: 32.52 yearsTrinidad and Tobago: 36.72 yearsTaiwan: 43.54 yearsTanzania: 17.24 yearsUkraine: 41.98 yearsUganda: 16.51 yearsUnited States: 38.02 yearsUruguay: 35.78 yearsUzbekistan: 26.91 yearsVenezuela: 29.03 yearsVietnam: 32.43 yearsVanuatu: 20.14 yearsSamoa: 19.9 yearsYemen: 18.18 yearsSouth Africa: 28.21 yearsZambia: 17.49 yearsZimbabwe: 17.81 years
  • Under 19
  • 19 to 24
  • 24 to 29
  • 29 to 36
  • 36 to 41
  • 41 and over
  • No data
Median age, July 1 estimate, 2023, years. Morocco is outlined. Same source and period for every area shown. Source: United Nations, Department of Economic and Social Affairs, Population Division. Boundaries: Natural Earth (public domain).

Rankings

Definition

Age that divides the estimated population on July 1 into two groups of equal size.

Modelled estimates by country and for the World. The reference date and method differ from median_age, which uses January 1 statistics and multi-year survey estimates.

Report a problem with this figure

How to cite

United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

United Nations, Department of Economic and Social Affairs, Population Division. (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded (Median age, July 1 estimate, Morocco, 1950 to 2023) [Data set]. Retrieved October 10, 2026, from https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz

MLA 9

World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded, Median age, July 1 estimate, Morocco, 1950 to 2023. United Nations, Department of Economic and Social Affairs, Population Division, 13 Dec. 2024, https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Invokely, https://invokely.ai/en/median-age-midyear/morocco. Accessed 10 Oct. 2026.

Chicago (author-date)

United Nations, Department of Economic and Social Affairs, Population Division. 2024. World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Median age, July 1 estimate, Morocco, 1950 to 2023. Dataset. Accessed October 10, 2026. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Also distributed by Invokely, https://invokely.ai/en/median-age-midyear/morocco.

Harvard

United Nations, Department of Economic and Social Affairs, Population Division (2024) World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded, Median age, July 1 estimate, Morocco, 1950 to 2023 [Dataset]. Available at: https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz, via Invokely: https://invokely.ai/en/median-age-midyear/morocco (Accessed: 10 October 2026).

BibTeX
@misc{united_median_age_july_1_2023,
  author = {{United Nations, Department of Economic and Social Affairs, Population Division}},
  title = {{World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded: Median age, July 1 estimate, Morocco, 1950 to 2023}},
  year = {2024},
  howpublished = {Data set},
  url = {https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz},
  urldate = {2026-10-10},
  note = {Accessed via Invokely, https://invokely.ai/en/median-age-midyear/morocco. Publisher attribution: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel\%20Files/1\_Indicator\%20(Standard)/CSV\_FILES/WPP2024\_Demographic\_Indicators\_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.},
}
RIS
TY  - DATA
AU  - United Nations, Department of Economic and Social Affairs, Population Division
TI  - World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded: Median age, July 1 estimate, Morocco, 1950 to 2023
PY  - 2024
DA  - 2024/12/13
PB  - United Nations, Department of Economic and Social Affairs, Population Division
DB  - Invokely
UR  - https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz
L2  - https://invokely.ai/en/median-age-midyear/morocco
Y2  - 2026/10/10
N1  - Accessed via Invokely, https://invokely.ai/en/median-age-midyear/morocco.
N1  - Publisher attribution: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Modelled estimate. https://population.un.org/wpp/assets/Excel%20Files/1_Indicator%20(Standard)/CSV_FILES/WPP2024_Demographic_Indicators_Medium.csv.gz. Retrieved 2026-10-10. CC BY 3.0 IGO.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

What is the latest median age, July 1 estimate in Morocco? Cite the source.
get_value {"indicator":"median_age_midyear","place":"ma"}
GET https://invokely.ai/api/v1/value?indicator=median_age_midyear&place=ma

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

What is the median age, July 1 estimate in Morocco?

Median age, July 1 estimate in Morocco was 29.19 years in 2023, according to the United Nations, Department of Economic and Social Affairs, Population Division. That is up 0.32 from 2022. That is the 136th highest of 236 countries in 2023.

Where does this figure come from?

United Nations, Department of Economic and Social Affairs, Population Division. World Population Prospects 2024, Online Edition. Median age on 1 July, modelled estimates 1950 to 2023; projections excluded. Retrieved by Invokely on 2026-10-10.

What was the highest median age, July 1 estimate in Morocco?

29.19 years in 2023, the highest value since 1950 in this series.

Median age, July 1 estimate in other countries

Related statistics for Morocco

All statistics for Morocco | Morocco in figures