Morocco Population Pyramid (2026)

Morocco has a population of 38,762,441 in 2026, according to the UN World Population Prospects 2024 (projection for 1 July). That is the 41st-largest population in the world and 0.47% of the global total of 8.30 billion. Children under 15 make up 24.8% of the population and people aged 65 and over 8.8%, with 101.6 males for every 100 females.

Total Population
38,762,441
Median Age
30.1 years
Pyramid Type
stationary
DTM Stage
Stage 3
Male: 19,533,113
Female: 19,229,328
Total: 38,762,441
Male surplus: 303,785 (0.8%) • Dark blue shows male-dominant age groups

Morocco Demographics

Morocco has 38.8 million people in 2026, up 156.2% from 15.1 million in 1970.

Births outnumber deaths by 384,816 (UN projection for 2026).

65+ share 8.8% — the 91st-highest of 194 countries.

Under-15 share 24.8% — the 92nd-highest of 194 countries.

Largest generation: Gen Z — 25.5% (9,869,660)

All generations in Morocco →

Population pyramid, 1950 to 2026

Watch how Morocco's population structure evolved from 1950 to 2026

1950
Population: 8,935,450
Median Age: 18.3 years
195019502026
Animation speed: 0.5 seconds per year • Drag slider or click years to explore manually
Page Navigation(Quick jump to sections)

Sex Ratio & Gender Distribution

Morocco has 101.6 males per 100 females (sex ratio)

Men outnumber women by 303,785 (0.8% of the population).

Male Statistics

  • Population:19,533,113
  • Percentage:50.4%

Female Statistics

  • Population:19,229,328
  • Percentage:49.6%
  • Ratio Format:1:0.984

Sex Ratio Analysis

Male to Female Ratio
1.016:1
Gender Balance
Men +303,785 (0.8%)

The sex ratio of Morocco indicates more males than females.

Birth Statistics & Natality Data

Estimated births today

---
Estimated births so far today (since midnight) — not a live count
Next birth:--
Frequency:every 51s
Daily average (2026):1,682

Simulated from the UN WPP 2024 projection of 613,838 births in 2026.

Current Birth Metrics (2026)

15.8
per 1,000 population
2.16
children per woman
Annual births:613,838
Monthly average:51,153
Weekly average:11,774

Temporal Distribution

Averages from the UN annual births, 2026 projection

Per Minute:1.2
Per Hour:70
Per Day:1,682
Per Year:613,838

Historical Birth Rate Trends, 1950 to 2026

Crude Birth Rate (Blue Line)
Live births per 1,000 people per year. Measures actual birth frequency in the population.
Total Fertility Rate (Red Line)
Average number of children a woman would have in her lifetime (2.1 = replacement level).

Birth Statistics, 2021 to 2026

YearBirthsBirth Rate
(per 1,000)
TFR
(children/woman)
Type
2021645,13417.52.29estimate
2022635,90617.02.26estimate
2023629,83216.72.23estimate
2024624,62016.42.21projection
2025619,05716.12.18projection
2026613,83815.82.16projection

Historical Analysis

Highest birth rate since 1950:51.1 per 1,000 (1956)
Decline from peak rate:−69.1%
Most births since 1950:788,048 (1982)
Births in 2026:613,838

Global Context (2026)

World daily births:363,023
Morocco daily births:1,682
Share of global births:0.5%
World avg birth rate:16.0 per 1,000
Morocco birth rate:15.8 per 1,000
Relative to world avg:1.0×

Source: UN WPP 2024: births, birth rate and fertility for 2024 and later are medium-variant projections; 1950–2023 are estimates. The live counter is a uniform simulation of the 2026 projection (613,838 births), not a real-time feed.

Median Age Analysis

Morocco's median age is 30.1 years

Half the population is younger than 30.1 years, half is older — indicating a young society

Current Median Age
30.1
years (2026)
World Average
31.1
1.0 years younger
Generation at the median age
Millennials

Complete Age Distribution & Youth Demographics

Youth (0-14)
24.8%
9,596,738
Under 25
40.9%
15,871,332
Working Age
66.5%
25,766,352
Elderly (65+)
8.8%
3,399,351
Age GroupPopulation%Category
0-43,077,2747.9%Youth
5-93,215,3878.3%Youth
10-143,304,0778.5%Youth
15-193,299,3528.5%Young Adult
20-242,975,2427.7%Young Adult
25-292,865,1477.4%Working Age
30-342,870,2627.4%Working Age
35-392,876,6267.4%Working Age
40-442,735,4417.1%Working Age
45-492,454,5896.3%Working Age
50-542,163,6105.6%Working Age
55-591,870,1474.8%Working Age
60-641,655,9424.3%Working Age
65-691,376,7373.6%Senior
70-74990,0922.6%Senior
75-79577,4611.5%Senior
80-84298,9150.8%Senior
85-89119,9200.3%Senior
90-9431,3550.1%Senior
95-994,6020.0%Senior
100+2690.0%Senior

Demographic Transition Model (DTM) Stage

Stage 3 (falling birth rate): 2.16 children per woman and 15.8 births per 1,000, with a low death rate (5.9). Read more about Stage 3 of the Demographic Transition Model.

Fertility Rate & Birth Statistics

Morocco Total Fertility Rate: 2.16 children per woman

Above the replacement level of 2.1

Total Fertility Rate
2.16
children per woman
Crude Birth Rate
15.8
per 1,000 people
Replacement Level
2.1
children per woman
Global Rank
89
of 194 (1 = highest)

Fertility Rate Trends

Historical data (solid line) and future projections (dashed line)

Highest TFR since 1950
7.05
1962
Current TFR
2.16
2026
Projected 2050
1.87
UN projection

Historical Fertility Trends

YearTotal Fertility RateBirth RateChange
20212.2917.5
20222.2617.0↓0.03
20232.2316.7↓0.03
20242.2116.4↓0.02
20252.1816.1↓0.03
20262.1615.8↓0.02

Global Context

  • • World Average: 2.23 children per woman
  • • Comparison: Below global average
  • • UN projection for 2030: 2.08

Morocco's total fertility rate is 2.16 children per woman in 2026 (above replacement), above the replacement level of 2.1. Morocco ranks 89 of 194 for fertility rate (1 = highest), in the middle third of countries. The fertility rate has changed by −64.8% since 1950.

Historical Demographic Changes

Between 1950 and 2026, Morocco's population has increased by 333.8%.

The median age has increased from 18.3 in 1950 to 30.1 in 2026, indicating population aging.

Understanding Morocco's Demographics

Morocco has a stationary population pyramid — similar-sized bands from the youngest cohorts through the working ages.

Children under 15 make up 24.8% of the population and people aged 65 and over 8.8%.

The largest five-year age band is 10–14, at 8.5% of the population, compared with 7.9% in the 0–4 band.

Demographic Analysis: Morocco's Population Structure

Demographic Dividend Window

The working-age share is still rising, from 66.2% in 2016 to 66.5% in 2026 (dependency ratio 50.4).

Fertility Transition Stage

Morocco is in a period of above replacement, with a total fertility rate of 2.16 children per woman (2026, UN WPP 2024).

Population Aging Speed

Morocco's median age changed by +3.3 years from 2016 to 2026, faster than the world average (+2.6 years).

Key Demographics

Total Population38,762,441
Male Population19,533,113(50.4%)
Female Population19,229,328(49.6%)
Median Age30.1 years
Sex Ratio101.6 males per 100 females
Youth (0-14)9,596,738(24.8%)
Working Age (15-64)25,766,352(66.5%)
Elderly (65+)3,399,351(8.8%)
Total Dependency Ratio50.4
Youth Dependency Ratio37.2
Old Age Dependency Ratio13.2
Pyramid TypeStationary

Dependency Ratios: Number of dependents per 100 working-age individuals.

Demographic Data Visualizations

Total population, 1950–2026 (UN WPP 2024; 2024 onward are projections).

Median age, 1950–2026 (UN WPP 2024; 2024 onward are projections).

Youth, working-age and elderly shares, 1950 vs 2026 (UN WPP 2024).

Age distribution in 2026: youth, working-age and elderly shares (UN WPP 2024; projection).

Life Expectancy in Morocco

How long the average person in Morocco is expected to live · sourced from UN WPP 2024

Source: UN WPP 2024 medium-variant projection (2026)
Life expectancy 2026 (UN projection)
75.9
years · world rank #81 of 194
vs world avg
+2.1
world: 73.8 yrs
Men
73.7
world avg: 71.2 yrs
Women
78.1
world avg: 76.4 yrs
Gender gap: +4.4 years
Women live 4.4 yrs longer than men
Men 73.7 yrs · Women 78.1 yrs
Since 1950: +37.1 years
From 38.8 yrs (1950) → 75.9 yrs (2026)

Historical Trend, 1950 → 2026 (plus UN projection to 2100)

Solid: actual · Dashed: medium-variant projection
354045505560657075808590195019701990201020242050210038.8 (1950)75.3 (2023)86.2 (2100, proj.)
1950 baseline
38.8 yrs
2026 today
75.9 yrs
+ gained 1950–2026
+37.1 yrs
2050 (UN proj.)
79.8 yrs
Looking ahead
UN's central scenario projects 79.8 years by 2050 (+3.9 yrs), and 86.2 by 2100.
Source: UN World Population Prospects 2024. Life expectancy at birth, mid-year estimates. Medium-variant projections to 2100.
See full world ranking →

Future Demographic Trends

Morocco is projected to grow to 43.4 million people by 2050 (+12.1% from 2026).

The median age rises from 30.1 in 2026 to 37.4 by 2050.

Morocco's Demographic Evolution by Decade

15.1M
Start Population
19.5M
End Population
15.5
Start Median Age
16.4
End Median Age

The population increased by 28.6%, growing from 15.1 million in 1970 to 19.5 million by 1980

The median age increased by 0.9 years, indicating population aging during this period

The youth population share contracted by 2.4 percentage points.

Key Demographic Highlights

  • • Population changed from 15.1M to 19.5M
  • • Growth rate of 28.6% over the decade
  • • Median age shifted from 15.5 to 16.4 years (+0.9y)
  • • 65+ share changed by −0.4 points; under-15 share by −2.4 points

How Does Morocco Compare to Its Neighbors?

Morocco has a younger population than Tunisia, Spain. Morocco has an older population than Algeria, Egypt.

CountryPopulationMedian AgeYouth %Elderly %Pyramid Type
Morocco (Current)38,762,44130.124.8%8.8%stationary
Algeria48,028,33328.829.4%7.0%stationary
Tunisia12,415,13833.423.0%10.3%stationary
Spain47,850,79246.312.3%22.2%constrictive
Egypt120,101,17624.731.1%5.4%expansive

Frequently Asked Questions About Morocco

How does Morocco rank globally by population?

Morocco ranks 41st in the world by population with 38.8 million people as of 2026, representing 0.47% of the global total of 8.30 billion.

comparison

What does Morocco's age structure reveal about its development?

Morocco's age structure — 24.8% under 15, 66.5% working-age (15–64) and 8.8% aged 65+ — is that of a country in Stage 3 of the demographic transition, with a stationary population pyramid. The median age is 30.1 years.

age

What is the dependency ratio in Morocco?

Morocco has 50.4 people under 15 or aged 65+ per 100 people aged 15–64 in 2026.

economic

Is Morocco experiencing a demographic dividend?

Morocco is in its demographic-dividend window. The working-age share is still rising, from 66.2% in 2016 to 66.5% in 2026 (dependency ratio 50.4). The demographic dividend occurs when falling fertility creates a bulge in the working-age population while dependency ratios stay manageable.

economic

What are the gender dynamics in Morocco's population?

Morocco has more males than females, with 101.6 males per 100 females.

social

Compare with Other Countries

About this data: UN World Population Prospects 2024, released 11 July 2024. Figures for 2024 and later are medium-variant projections for 1 July. The UN has postponed its next revision from 2026 to 2027 (UN document E/CN.9/2026/CRP.1); these pages will be updated when it is published.

Data Sources & Methodology

All population data is sourced from the United Nations Department of Economic and Social Affairs, Population Division. The data represents UN medium-variant projections.

Cite this page: Population Pyramids. (2026). Morocco Population Pyramid and Demographic Analysis. Retrieved from https://www.populationpyramids.org/morocco

View UN World Population Prospects Data →