Macroscope
All countries

Morocco

Africa

All indicators of the Macroscope base for Morocco, with sources. Below: what past UN and IMF releases projected and what actually happened.

Population
37.7M
persons, 1 July, 2023
Births
630k
births per year, 2023
Total fertility rate
1.97
children per woman, 2024
Internet users
91.2
% of population, 2024
Mobile cellular subscriptions
153.1
per 100 people, 2024
GDP per capita, PPP
9,495
constant 2021 international $, 2025
Urban population
63.1
% of population, 2025

What the data shows

Computed with the same code as the observations under the main chart and in the API (get_insights). Moving together in time does not prove a cause.

How the indicators changed

  • Fertility (TFR): 6.14 in 1950 → 1.97 in 2024 (−68%). Peak: 7.05 in 1962; the latest value is 72% lower. Threshold: below 2.1 since 2024. The trend broke around 1969 and 2000: +0.04 → −0.14 → −0.02 a year.
  • Births: 436k in 1950 → 630k in 2023 (+45%). Peak: 788k in 1982; the latest value is 20% lower. The trend broke around 1982 and 1997: +10.1k → −8.43k → −0.1k a year.
  • Population: 8.94M in 1950 → 37.7M in 2023 (×4.2).
  • Internet: 0% in 1990 → 91.2% in 2024 (+91 pp). Thresholds: above 10% since 2004, above 50% since 2012, above 90% since 2023. Fastest growth in 2005–2010: 15.1% → 52%.
  • Urban share: 29.4% in 1960 → 63.1% in 2025 (+34 pp). Threshold: above 50% since 1993. The trend broke around 1994: change slowed down (+0.72 → +0.41 a year).
  • GDP per person (PPP): 4,419 PPP dollars in 1990 → 9,495 PPP dollars in 2025 (+115%). The trend broke around 1999 and 2013: +63 → +207 → +111 a year.
  • GDP growth: on average 3.9% in the 1980s, 3.3% in the 1990s, 4.7% in the 2000s, 3.5% in the 2010s, 2.0% in the 2020s. Lowest: −7.2% in 2020; highest: 13.5% in 1996.
  • Inflation: on average 7.6% in the 1980s, 4.4% in the 1990s, 1.8% in the 2000s, 1.1% in the 2010s, 3.2% in the 2020s. Lowest: −0.2% in 2009; highest: 12.5% in 1981.

What changed at the same time

  • The fastest decline of "Fertility (TFR)" was in 1983–1993: 5.41 → 3.55. Over the same years: births 785k → 693k; population 21.1M → 25.6M; urban share 43.3% → 50.4%; GDP per person (PPP) 4,380 PPP dollars (1993); GDP growth −0.6% → −1%; inflation 6.2% → 5.3%; no data for the others in those years.
  • Over the last 10 years (2014–2024): fertility (TFR) 2.43 → 1.97; births 677k → 630k; population 34.2M → 37.7M; internet 56.8% → 91.2%; urban share 60.3% → 62.8%; GDP per person (PPP) 7,952 PPP dollars → 9,163 PPP dollars; GDP growth 2.7% → 3.8%; inflation 0.5% → 0.9%.

How the indicators relate

  • Fertility (TFR) and internet (1990–2024, 31 years): levels are strongly related, in opposite directions (r = −0.76); year-to-year changes show no reliable link (r = 0.36). This looks like a shared trend: both change over time, but not in step from year to year.
  • Fertility (TFR) and urban share (1960–2024, 65 years): levels are strongly related, in opposite directions (r = −0.99); year-to-year changes show no reliable link (r = −0.43). This looks like a shared trend: both change over time, but not in step from year to year.
  • Fertility (TFR) and GDP per person (PPP) (1990–2024, 35 years): levels are strongly related, in opposite directions (r = −0.86); year-to-year changes show no reliable link (r = 0.14). This looks like a shared trend: both change over time, but not in step from year to year. Changes line up best with a 4 years shift: "GDP per person (PPP)" moves first, then "Fertility (TFR)" (r = 0.60).

Forecasts vs actual

  • Fertility (TFR): past UN projections. The outcome was below the projection in 4 of 11 revisions (1998–2022) and above in 7; median gap +4.2%.
  • The UN 2002 projection expected today's level (1.97, 2024) only around 2035: reality is 11 years ahead of it.
  • The UN 2022 projection expected today's level (1.97, 2024) only around 2043: reality is 19 years ahead of it.
  • Fertility (TFR): UN 2024 projection (medium): 2050 — 1.87 (−5% vs 2024), 2100 — 1.74 (−12% vs 2024); low variant for 2100: 1.24.
  • Births: past UN projections. The outcome was below the projection in 7 of 11 revisions (1998–2022) and above in 4; median gap −1.2%.
  • The UN 2006 projection expected this level (630k) already around 2019: reality is 4 years behind it.
  • The UN 2022 projection expected today's level (630k, 2023) only around 2025: reality is 2 years ahead of it.
  • Births: UN 2024 projection (medium): 2050 — 531k (−16% vs 2023), 2100 — 334k (−47% vs 2023); low variant for 2100: 113k.
  • Population: past UN projections. The outcome was below the projection in 7 of 12 revisions (1998–2022) and above in 5; median gap −0.4%.
  • The UN 1998 projection expected this level (37.7M) already around 2022: reality is 1 year behind it.
  • The UN 2022 projection expected this level (37.7M) already around 2022: reality is 1 year behind it.
  • Population: UN 2024 projection (medium): 2050 — 43.4M (+15% vs 2023), 2100 — 37.9M (0% vs 2023); low variant for 2100: 24.5M.
  • GDP growth: IMF next-year forecasts (34 editions, 2007–2023). On average the outcome was 1.1 pp below the forecast; below it in 59% of cases; typical error ±1.8 pp. The biggest miss was for 2020: IMF, April 2019 expected 3.8%, the outcome was −7.2%.
  • GDP growth: latest IMF forecast (IMF, April 2026): 2025 — 4.9%, 2027 — 4.5%, 2031 — 4%.
  • Inflation: IMF next-year forecasts (34 editions, 2007–2023). On average the outcome was 0.4 pp below the forecast; below it in 71% of cases; typical error ±1.6 pp. The biggest miss was for 2022: IMF, April 2021 expected 1.2%, the outcome was 6.6%.
  • Inflation: latest IMF forecast (IMF, April 2026): 2025 — 0.8%, 2027 — 1.6%, 2031 — 2%.

UN projections vs actual

Solid line: actual data, UN WPP 2024 estimates to 2023, then national statistics where comparable with the UN. Dashed: medium variants of past UN revisions. The table shows what each revision expected for the latest year (or five-year period) with actual data.

Population

persons, 1 July
Morocco: PopulationActual 2023: 37.7M20M25M30M35M40M45M19902000201020202030
  • Actual
  • UN 1998
  • UN 2000
  • UN 2002
  • UN 2004
  • UN 2006
  • UN 2008
  • UN 2010
  • UN 2012
  • UN 2015
  • UN 2017
  • UN 2019
  • UN 2022
  • UN 2024, medium
ReleaseTarget periodHorizonExpectedActualActual vs expected
UN 1998202325 years37.9M37.7M−0.5%
UN 2000202323 years41.1M37.7M−8.3%
UN 2002202321 years39.9M37.7M−5.6%
UN 2004202319 years39.5M37.7M−4.6%
UN 2006202317 years37.2M37.7M+1.3%
UN 2008202315 years37.2M37.7M+1.3%
UN 2010202313 years35.9M37.7M+5.1%
UN 2012202311 years37M37.7M+1.8%
UN 201520238 years37.6M37.7M+0.4%
UN 201720236 years38.3M37.7M−1.6%
UN 201920234 years38.2M37.7M−1.3%
UN 202220231 year37.8M37.7M−0.3%

Births

births per year
Morocco: BirthsActual 2023: 630k400k500k600k700k800k19902000201020202030
  • Actual
  • UN 1998
  • UN 2000
  • UN 2002
  • UN 2004
  • UN 2006
  • UN 2008
  • UN 2010
  • UN 2012
  • UN 2015
  • UN 2017
  • UN 2019
  • UN 2022
  • UN 2024, medium
ReleaseTarget periodHorizonExpectedActualActual vs expected
UN 19982015–202020 years619k667k+7.7%
UN 20002015–202018 years673k667k−0.9%
UN 20022015–202016 years688k667k−3%
UN 20042015–202014 years697k667k−4.3%
UN 20062015–202012 years645k667k+3.4%
UN 20082015–202010 years645k667k+3.4%
UN 20102015–20208 years591k667k+12.9%
UN 20122015–20206 years706k667k−5.6%
UN 20152015–20202 years677k667k−1.5%
UN 20172015–20200 years689k667k−3.2%
UN 202220231 year637k630k−1.2%

Total fertility rate

children per woman
Morocco: Total fertility rateActual 2024: 1.971.52.53.54.55.519902000201020202030
  • Actual
  • UN 1998
  • UN 2000
  • UN 2002
  • UN 2004
  • UN 2006
  • UN 2008
  • UN 2010
  • UN 2012
  • UN 2015
  • UN 2017
  • UN 2019
  • UN 2022
  • UN 2024, medium
ReleaseTarget periodHorizonExpectedActualActual vs expected
UN 19982015–202020 years2.102.37+12.7%
UN 20002015–202018 years2.102.37+12.7%
UN 20022015–202016 years2.272.37+4.2%
UN 20042015–202014 years2.302.37+2.8%
UN 20062015–202012 years2.162.37+9.7%
UN 20082015–202010 years2.162.37+9.7%
UN 20102015–20208 years2.032.37+16.6%
UN 20122015–20206 years2.562.37−7.7%
UN 20152015–20202 years2.382.37−0.6%
UN 20172015–20200 years2.432.37−2.4%
UN 202220242 years2.241.97−12.2%

IMF forecasts vs actual

Solid line: actual values from the latest IMF edition (data get revised, so we use the newest). Dashed: April editions, current year and five years ahead. The table covers next-year forecasts from all editions: mean error shows bias, mean absolute error shows accuracy.

Real GDP growth

% per year
Morocco: Real GDP growthActual 2024: 3.8−10−505102000200520102015202020252030
  • Actual (IMF)
  • WEO, April editions
IndicatorForecastsMean errorMean absolute errorActual below forecast
Real GDP growth34−1.1 pp1.8 pp59%
Inflation34−0.4 pp1.6 pp71%
Unemployment rate27+1 pp1 pp15%
Government gross debt26−2.7 pp3.9 pp92%

All indicators

Demography

Population

37.7M persons, 1 July latest value, 2023

Morocco: Population1950: 8.94M; 2023: 37.7M010M20M30M40M50M19501975200020252050

Population on 1 July. UN estimate to 2023, medium variant from 2024; past UN revisions for forecast checks.

Source: UN DESA, World Population Prospects 2024

Births

630k births per year latest value, 2023

Morocco: Births1950: 436k; 2023: 630k0200k400k600k800k19501975200020252050

Live births per calendar year. UN WPP 2024 and national statistics (64 countries, 2015-2025).

Source: UN DESA, World Population Prospects 2024

Total fertility rate

1.97 children per woman latest value, 2024

Morocco: Total fertility rate1950: 6.14; 2024: 1.970.002.004.006.008.0019501975200020252050

Average number of children a woman would have at the age-specific fertility rates of the year.

Source: HCP, Les indicateurs sociaux du Maroc, edition 2026

Life expectancy at birth, women

77.6 years latest value, 2023

Morocco: Life expectancy at birth, women1950: 39.8; 2023: 77.602040608010019501975200020252050

Years a newborn girl would live at the mortality rates of the year (UN).

Source: UN DESA, World Population Prospects 2024

Life expectancy at birth, men

73.2 years latest value, 2023

Morocco: Life expectancy at birth, men1950: 37.8; 2023: 73.202040608019501975200020252050

Years a newborn boy would live at the mortality rates of the year (UN).

Source: UN DESA, World Population Prospects 2024

Median age

29.2 years latest value, 2023

Morocco: Median age1950: 18.3; 2023: 29.201020304019501975200020252050

Age that divides the population in two halves (UN).

Source: UN DESA, World Population Prospects 2024

Mean age of mothers at childbirth

29.9 years latest value, 2023

Morocco: Mean age of mothers at childbirth1950: 28.5; 2023: 29.901020304019501975200020252050

Mean age of mothers at the birth of their children of any order (UN).

Source: UN DESA, World Population Prospects 2024

Sex ratio at birth

104.7 boys per 100 girls latest value, 2023

Morocco: Sex ratio at birth1950: 104.6; 2023: 104.705010015019501975200020252050

Boys born per 100 girls born (UN).

Source: UN DESA, World Population Prospects 2024

Net migration

−39.6k persons per year latest value, 2023

Morocco: Net migration1950: 5.41k; 2023: −39.6k−150k−100k−50k050k19501975200020252050

Immigrants minus emigrants per year (UN estimate and projection).

Source: UN DESA, World Population Prospects 2024

Old-age dependency

12.1 persons 65+ per 100 aged 20-64 latest value, 2020

Morocco: Old-age dependency1950: 6.3; 2020: 12.1010203019501975200020252050

Persons aged 65+ per 100 aged 20-64, every five years (UN).

Source: UN DESA, World Population Prospects 2024

Digitalisation

Internet users

91.2 % of population latest value, 2024

Morocco: Internet users1990: 0; 2024: 91.20204060801001990199520002005201020152020

Share of individuals who used the Internet in the last three months from any device. ITU data.

Source: World Bank, World Development Indicators

Mobile cellular subscriptions

153.1 per 100 people latest value, 2024

Morocco: Mobile cellular subscriptions1960: 0; 2024: 153.10501001502001960197019801990200020102020

Active mobile cellular subscriptions per 100 people; can exceed 100 when people have several SIM cards. ITU data.

Source: World Bank, World Development Indicators

Fixed broadband subscriptions

7.3 subscriptions per 100 people latest value, 2024

Morocco: Fixed broadband subscriptions2002: 0; 2024: 7.3024682005201020152020

Fixed subscriptions to high-speed Internet (256 kbit/s or more) per 100 people. ITU data.

Source: World Bank, World Development Indicators

Economy

GDP per capita, PPP

9,495 constant 2021 international $ latest value, 2025

Morocco: GDP per capita, PPP1990: 4,419; 2025: 9,49502,0004,0006,0008,00010,00019901995200020052010201520202025

Gross domestic product per person at purchasing power parity, constant 2021 international dollars (World Bank, ICP).

Source: World Bank, World Development Indicators

Real GDP growth

3.8 % per year latest value, 2024

Morocco: Real GDP growth1980: 3.8; 2024: 3.805101519801990200020102020

Annual change of GDP at constant prices. Actual values and forecasts from IMF WEO editions.

Source: IMF World Economic Outlook, April 2026

Inflation

0.9 % per year, average latest value, 2024

Morocco: Inflation1980: 9.4; 2024: 0.905101519801990200020102020

Change of the annual average consumer price index (IMF WEO).

Source: IMF World Economic Outlook, April 2026

Government gross debt

67.7 % of GDP latest value, 2024

Morocco: Government gross debt1990: 70.5; 2024: 67.70204060801990199520002005201020152020

General government gross debt, percent of GDP (IMF WEO).

Source: IMF World Economic Outlook, April 2026

Unemployment rate

13.3 % of labour force latest value, 2024

Morocco: Unemployment rate1995: 16; 2024: 13.305101520199520002005201020152020

Unemployed as a share of the labour force (IMF WEO; national definitions).

Source: IMF World Economic Outlook, April 2026

GDP per capita, US dollars

4,298 current US dollars latest value, 2024

Morocco: GDP per capita, US dollars1980: 1,225; 2024: 4,29801,0002,0003,0004,0005,00019801990200020102020

GDP per person in current US dollars at market exchange rates (IMF WEO).

Source: IMF World Economic Outlook, April 2026

Society

Urban population

63.1 % of population latest value, 2025

Morocco: Urban population1960: 29.4; 2025: 63.10204060801960197019801990200020102020

Share of people living in urban areas as defined by national statistical offices (World Bank, from UN World Urbanization Prospects).

Source: World Bank, World Development Indicators

Tertiary enrolment, women

53.5 % gross latest value, 2024

Morocco: Tertiary enrolment, women1971: 0.4; 2024: 53.5020406019801990200020102020

Women enrolled in tertiary education as a share of women in the five-year age group after secondary school; can exceed 100 (UNESCO).

Source: World Bank, World Development Indicators

Women with upper secondary education

11.5 % of women 25+ latest value, 2017

Morocco: Women with upper secondary education1994: 5.5; 2017: 11.505101519952000200520102015

Share of women aged 25+ who completed at least upper secondary education (UNESCO).

Source: World Bank, World Development Indicators

Life expectancy at birth

75.5 years latest value, 2024

Morocco: Life expectancy at birth1960: 41.7; 2024: 75.50204060801960197019801990200020102020

Life expectancy at birth, both sexes (World Bank, from UN and national statistics).

Source: World Bank, World Development Indicators

Same region: Africa