Morocco Population Pyramid (2026)

By Marko Visic · Updated

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
Morocco population pyramid, a UN projection for 1 July 2026: 38,762,441 people, median age 30.1, 24.8% under 15 and 8.8% aged 65 or older.
A UN projection for 1 July 2026 from World Population Prospects 2024; UN estimates end in 2023. Download SVG. Free to reuse with credit to populationpyramids.org.
Show the numbers
Age groupMaleFemale
100+53216
95-991,1853,417
90-949,98521,370
85-8943,15876,762
80-84119,424179,491
75-79263,522313,939
70-74483,730506,362
65-69677,236699,501
60-64803,574852,368
55-59924,972945,175
50-541,076,3761,087,234
45-491,227,0871,227,502
40-441,374,3751,361,066
35-391,464,7681,411,858
30-341,465,0501,405,212
25-291,470,2241,394,923
20-241,521,8241,453,418
15-191,692,1241,607,228
10-141,697,6511,606,426
5-91,644,6841,570,703
0-41,572,1141,505,160
Total19,533,11319,229,328
Male surplus 303,785 (0.8% of the population).

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

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Page Navigation

Morocco sex ratio

Morocco has 101.6 males per 100 females.

That is 303,785 more men than women (0.8% of the population). Men outnumber women up to 40–44; from 45–49 on, women outnumber men, and at 85 and over there are 1.9 women for every man.

Male population19,533,113
Female population19,229,328

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Morocco age structure

Youth (0–14)
24.8%
9,596,738
Under 25
40.9%
15,871,332
Working age (15–64)
66.5%
25,766,352
Elderly (65+)
8.8%
3,399,351

Morocco has a stationary population pyramid. Its largest five-year band is 10–14, at 8.5% of the population.

Morocco's 65+ share is the 91st-highest of 194 countries; Its under-15 share is the 92nd-highest of 194 countries.

The largest generation is Gen Z, at 25.5% (9,869,660). All generations in Morocco

How the age structure shifted, 1950 to 2026

40250–14576615–643965+19502026

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

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.

Births and fertility rate

UN World Population Prospects 2024, 2026 (medium-variant projection).

15.8
births per 1,000 people
2.16
children per woman (TFR)
613,838
births in 2026

How many births, and how often (2026)

In Morocco there is about one birth every 51 seconds.

Monthly51,153
Weekly11,772
Per day1,682
Per hour70
Per minute1.2

Birth-rate and fertility trend, 1950 to 2026

Crude birth rate · total fertility rate (dashed)
19501970199020102026CBR /1,000TFR

Birth statistics, 2021 to 2026

YearBirthsTFR
(children/woman)
2021645,1342.29
2022635,9062.26
2023629,8322.23
2024624,6202.21
2025619,0572.18
2026613,8382.16

Since 1950

Highest birth rate51.1 per 1,000 (1956)
Decline from peak rate−69.1%
Most births788,048 (1982)

Global context (2026)

World daily births363,023
Share of global births0.5%
World average birth rate16.0 per 1,000
Relative to world average1.0×

Source: UN World Population Prospects 2024. Births, birth rate and fertility for 2024 and later are medium-variant projections; 1950–2023 are estimates.

Fertility in context (2026)

That is above the replacement level of 2.1 children per woman, and ranks Morocco 89 of 194 for fertility (1 = highest). The world average is 2.23, and the UN projects Morocco's rate at 1.87 by 2050. Since 1950 the rate is down 64.8%, from 6.14 children per woman.

Morocco median age

Morocco's median age is 30.1 years

Half the population is younger than this and half is older, which makes Morocco a young society.

World average median age
31.1
1.0 years younger than the world
Generation at the median age
Millennials

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

It has risen from 18.3 years in 1950, and the UN projects 37.4 by 2050.

18.330.119501970199020102026

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

Life expectancy, 1950 to 2100: UN estimates to 2023, projection from 2024

Solid: actual · Dashed: medium-variant projection
405060708090195020002050210038.8 (1950)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
The UN's medium-variant projection reaches 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 the full world ranking

Morocco population change, 1950 to 2050

Since 1950, Morocco's population has grown by 333.8%.

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

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

8.9M40.0M19501970199020102030

Morocco's Demographic Evolution by Decade

In the 2020s, 2024 to 2026 are UN projections.

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

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

Median age increased by 0.9 years

The youth population share contracted by 2.4 percentage points.

Morocco's demographic transition 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.

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

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Compare Morocco with other countries

How Does Morocco Compare to Its Neighbors?

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

CountryPopulationMedian Age
Morocco (Current)38,762,44130.1
Algeria48,028,33328.8
Tunisia12,415,13833.4
Spain47,850,79246.3
Egypt120,101,17624.7

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

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.

Cite this page: Population Pyramids. (2026). Morocco Population Pyramid and Demographic Analysis. Retrieved from https://www.populationpyramids.org/morocco. View the UN World Population Prospects data