Morocco population pyramid 2026

Africa · Northern Africa

38,762,441 people in 2026 (projected). Morocco’s pyramid has stopped widening at the base: children under 10 are now fewer than teenagers, after fertility fell from nearly seven to about 2.2.

2026 population
38.8Mrank 41 of 237
Median age
30.1 yearsoldest rank 134
Fertility rate
2.16births per woman · above replacement
Structure
Transitional8.8% age 65+

Morocco population pyramid

2026 · Share of total by five-year age group and sex

Medium projection

Hover over or tap a bar to see exact values.

2026

Download this population pyramid

Use the publication-ready SVG, create a high-resolution PNG, or download the complete age-by-sex dataset.

SVG CSV by age CSV by year

Estimate or projection?

The UN series provides historical estimates through 2023. Figures from 2024 onward—including 2026—are medium-scenario projections, not counts or predictions guaranteed to occur.

Morocco age distribution in 2026

Children under 15 account for 24.8% of the population, while 8.8% are aged 65 or older. The remaining 66.5% are in the conventional working-age range of 15–64. On these shares, the site classifies Morocco’s age structure as transitional; the guide to population pyramid types explains what that shape implies.

The total age dependency ratio is 50.4: about 50 people under 15 or 65+ for every 100 people aged 15–64 (37.2 children and 13.2 older people). This is an age-balance indicator, not a literal count of economic dependants per worker.

What shapes Morocco’s population pyramid

From a broad base to a straight-sided middle

The Morocco 1950 pyramid has the classic expansive shape, with an unusually large step between the 0–4 and 5–9 bands. That step partly reflects how many infants then died before reaching school age: infant mortality was about 192 per 1,000 live births. As survival improved while fertility stayed high, peaking near 6.9 children per woman around 1960, the base broadened further, and by 1975 the median age had fallen to 15.8.

Fertility then fell quickly, to about 4.1 by 1990 and 2.8 by 2000, and is now close to 2.2. The 2026 pyramid records that transition. The cohorts born from the late 1980s to the early 2000s, now aged 25–39, are almost identical in size, so this part of the chart has nearly vertical sides rather than a slope. Above 40 the bands narrow steadily, reflecting smaller birth cohorts in the 1960s and 1970s and higher mortality in earlier decades. The widest bands are now ages 10–19, born roughly 2007–2016, and the under-10 bands are smaller, so the pyramid is beginning to pinch in at the bottom. The demographic transition model guide describes this stage.

Emigration without a visible scar

Morocco has long been a country of emigration, with large communities in France, Spain, Belgium, the Netherlands and Italy. The UN estimates net emigration of about 2.4 million in 1950–1999 and a further 1.6 million in 2000–2023, and projects roughly 1.9 million more by 2050. Unlike labour-exporting countries where the departure of young men leaves an obvious gap, Morocco’s outflow is small relative to its large population, and the 2026 pyramid shows no distinct notch. Men still slightly outnumber women up to about age 45, consistent with a sex ratio at birth near 105. Above 75 the balance tips clearly towards women, with about 67 men per 100 women at ages 80–84.

Structurally, Morocco’s 2026 profile is close to that of Panama, Indonesia and Mexico: a population past its youngest phase but still dominated by working-age adults.

The medium-scenario outlook

The UN medium scenario has Morocco’s population peaking at about 43.7 million in 2058, with deaths first exceeding births in 2067. By 2050 the widest band is projected to be 35–39, the cohorts born in the 2010s, and the share aged 65 and over nearly doubles to about 16%.

What to notice across the years

Morocco population pyramid 1950 (historical estimate)
1950. Children aged 0–4 outnumber those aged 5–9 by about a third, a steep base typical of high fertility combined with very high infant mortality.
Morocco population pyramid 1975 (historical estimate)
1975. About 3 million children under 5 in a population of 17 million; the median age is just 15.8, the lowest of any key year.
Morocco population pyramid 2026 (UN medium projection)
2026. The widest bands are 10–19; the 0–4 band is about 7% smaller than 15–19, and the bands from 25 to 39 are almost equal in size.

Distinctive cohorts and turning points

No five-year band under age 80 is more than 10% larger or smaller than both of its neighbours, so Morocco’s 2026 pyramid has a comparatively smooth profile without sharp bulges or notches.

Births outnumber deaths in 2026; the medium scenario projects deaths to exceed births from 2067. People aged 65 and older are projected to outnumber children under 15 by 2055.

Births, deaths, and migration

A pyramid changes in only three ways: births add to the base, deaths remove people at every age, and migration adds or removes people mainly in young adulthood. In 2026, Morocco is projected to record 613,838 births (about one birth every 51 seconds) and 229,022 deaths, a natural increase of 384,816. Net migration adds −60,886 people, ranking #171 in the net migration rate ranking.

Between 2000 and 2023 the UN estimates 16,002,070 births, 4,746,129 deaths, and cumulative net migration of −1,581,196. Over that period the balance of births and deaths moved the total more than migration did. See how migration shapes a pyramid and birth rate versus fertility rate. The medium scenario assumes net migration of −1,912,806 between 2026 and 2050.

Morocco: births, deaths, and net migration per year
Projection → -200K0200K400K600K800K 1950197520002025205020752100 DeathsBirthsNet migration

Annual values 1950–2100; dashed lines after 2023 are the UN medium projection. The trend table below lists the values by decade.

Life expectancy and mortality

Life expectancy, women
78.1 years39.8 in 1950
Life expectancy, men
73.7 years37.8 in 1950
Further years at 65
16.2 yearsboth sexes
Infant mortality
12.8per 1,000 births · 192 in 1950
Under-five mortality
15.2per 1,000 births
Mother’s mean age at birth
29.9 yearssex ratio at birth 104.7

Women in Morocco are projected to live 4.4 years longer than men, which is why the female side of the pyramid widens relative to the other at older ages (see the life expectancy gap ranking). Infant mortality has fallen from 192 to 12.8 deaths per 1,000 live births since 1950, ranking #90 of 237 in the infant mortality ranking (highest first). A mean age at childbearing of 29.9 years sets the spacing between generations, and so how far apart echo cohorts sit in the pyramid.

Median age, fertility rate, and global ranks for Morocco

The median age of 30.1 years splits the population into two equal halves. A total fertility rate of 2.16 births per woman is above the replacement level of roughly 2.1, and life expectancy at birth is 75.9 years.

These ranks compare all 237 countries and areas in this dataset using the same 2026 UN medium projection. Ranks use the stored source precision, so displayed rounding can make adjacent values look identical; small differences should not be overinterpreted.

Indicator2026 valueGlobal rankRanking direction
Population38,762,441#41Largest first
Median age30.1 years#134Oldest first
Fertility rate2.16#98Highest first
Annual growth+0.8%#107Fastest first
Life expectancy75.9 years#119Highest first
Population aged 65+8.8%#129Highest share first

Largest age groups in Morocco

The five largest cohorts identify where the 2026 population is concentrated. They can reflect past birth patterns, survival, and migration; the chart alone does not establish which cause dominates.

RankAge groupPopulationShare of totalMale / female
110–143,304,0778.5%1.7M / 1.6M
215–193,299,3508.5%1.7M / 1.6M
35–93,215,3878.3%1.6M / 1.6M
40–43,077,2727.9%1.6M / 1.5M
520–242,975,2427.7%1.5M / 1.5M

Sex ratio and the balance by age

In the 2026 projection, Morocco has 19,533,113 males and 19,229,328 females. That is 101.6 males per 100 females, ranking #53 when the dataset is ordered from the highest male-to-female ratio to the lowest.

Males account for 50.4% of the population and females for 49.6%. There are 303,785 more males than females overall. Among people aged 65 and older, the ratio is 88.7 males per 100 females.

The overall balance can conceal large differences by age; how sex ratios change with age explains the usual pattern. The ratio reflects the male/female categories in the UN source and is not a measure of gender identity. Compare all profiles in the sex-ratio ranking.

At birth, 104.7 boys are projected to be born for every 100 girls in 2026, close to the biological norm of about 105 (compare the sex ratio at birth ranking). The ratio at birth sets the balance at the base of the pyramid; how it changes with age then depends on survival and migration.

How Morocco has changed since 1950

The population has increased from 8,935,450 in 1950 to 38,762,441 in 2026, a change of 334%. Over the same span, median age moved from 18.3 to 30.1 years.

The under-15 share changed from 40.2% to 24.8%, while the share aged 65 and older changed from 2.9% to 8.8%. These shifts show why total population growth and age-structure change need to be read separately. See the Morocco population pyramid in 1950 for the full starting shape.

How the population could change by 2050

Under the UN medium scenario, Morocco’s population is projected to grow by about 12%, reaching 43,440,431 in 2050. The median age changes from 30.1 to 37.4 years.

The 65+ share is projected to rise by 7.6 percentage points to 16.4%. At the same time, the under-15 share is projected at 18.8%. The Morocco population pyramid for 2050 shows the projected shape in detail. How UN projections work explains the assumptions behind these figures.

The annual UN series reaches its highest projected population of 43,736,171 in 2058. That turning point depends on the medium scenario and may move in later revisions. Compare timing across countries in the population peak ranking.

Population trend: 1950–2100

Morocco population, 1950–2100
Projection → 010M20M30M40M50M 1950197520002025205020752100 Peak 2058 37.9M

Mid-year population for every year. Estimates through 2023; dashed line shows the UN medium projection.

Selected demographic indicators for Morocco, 1950 to 2100
YearPopulationMedian ageFertilityLife exp.BirthsDeathsNet migrationGrowth
19508,935,45018.36.1438.8435,623223,407+5,407+2.4%
196011,624,93316.86.8941.7590,641267,142−19,434+2.6%
197015,129,44815.56.6848.7676,670250,656−26,168+2.6%
198019,459,94316.45.7855.2764,790230,346−13,899+2.7%
199024,375,55118.44.0662.4725,559190,063−97,711+1.8%
200028,423,43521.42.7766.8644,893183,546−67,569+1.4%
201032,467,01624.72.6370.8710,089194,277−70,510+1.4%
202036,584,20828.22.3273.1653,031237,013−35,474+1.0%
202337,712,50529.22.2375.3629,832212,624−39,650+1.0%
2024*38,081,17329.52.2175.5624,620218,049−46,802+0.9%
2026*38,762,44130.12.1675.9613,838229,022−60,886+0.8%
2030*39,953,46031.42.0876.5598,285253,135−71,552+0.7%
2040*42,168,20534.21.9478.2572,779317,099−80,988+0.4%
2050*43,440,43137.41.8679.8530,486372,891−74,927+0.2%
2060*43,707,41040.51.8281.3479,062423,519−79,710-0.1%
2070*43,078,13842.91.7982.6443,901468,465−75,145-0.2%
2080*41,806,42544.71.7783.9406,491490,219−70,021-0.4%
2090*40,048,05046.51.7485.1364,849496,752−66,285-0.5%
2100*37,884,37048.11.7486.2333,713505,465−61,150-0.6%

* 2024 onward is the UN medium projection. Fertility is births per woman; life expectancy is years at birth; births, deaths, and net migration are counts for that calendar year.

Download every year, 1950–2100 (CSV)

2026 population by age and sex

The table provides the counts behind the chart. Age groups are five-year bands, with everyone aged 100 or older combined.

Morocco population by age and sex in 2026
Age groupMaleFemaleTotalShare
0–41,572,1131,505,1593,077,2727.9%
5–91,644,6841,570,7033,215,3878.3%
10–141,697,6511,606,4263,304,0778.5%
15–191,692,1231,607,2273,299,3508.5%
20–241,521,8241,453,4182,975,2427.7%
25–291,470,2241,394,9232,865,1477.4%
30–341,465,0501,405,2122,870,2627.4%
35–391,464,7681,411,8582,876,6267.4%
40–441,374,3751,361,0652,735,4407.1%
45–491,227,0871,227,5022,454,5896.3%
50–541,076,3761,087,2342,163,6105.6%
55–59924,971945,1741,870,1454.8%
60–64803,574852,3691,655,9434.3%
65–69677,236699,5011,376,7373.6%
70–74483,731506,363990,0942.6%
75–79263,522313,939577,4611.5%
80–84119,424179,491298,9150.8%
85–8943,15876,762119,9200.3%
90–949,98521,36931,3540.1%
95–991,1853,4184,6030.0%
100+532162690.0%

Countries with the most similar age structure

These profiles have the 2026 age distributions closest to Morocco’s, measured by the total difference in the share of the population in each five-year band. Similar shapes can arise from very different histories, so the match is a starting point for comparison, not an explanation.

To calculate school-age, working-age, or older groups with other boundaries, use the age-group calculator for Morocco.

Use this chart in your work

Charts and tables may be reused with attribution. Please link to this page and credit the United Nations as the data source.

Embed the population pyramid

Cite this page

APA

World Population Pyramid. (2026, October 19). Morocco Population Pyramid 2026. https://worldpopulationpyramid.com/countries/morocco/

MLA

“Morocco Population Pyramid 2026.” World Population Pyramid, 19 Oct. 2026, worldpopulationpyramid.com/countries/morocco/.

Chicago

World Population Pyramid. “Morocco Population Pyramid 2026.” Last modified October 19, 2026. https://worldpopulationpyramid.com/countries/morocco/.

Underlying data: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024.

Frequently asked questions

What is the population of Morocco in 2026?

Under the UN World Population Prospects 2024 medium scenario, Morocco's population in 2026 is projected at 38,762,441.

What is the median age in Morocco?

The projected median age in Morocco in 2026 is 30.1 years: half the population is younger and half is older.

What is the fertility rate in Morocco?

The projected total fertility rate in 2026 is 2.16 births per woman, above the replacement level of about 2.1 in low-mortality populations.

Is Morocco's population projected to grow?

Between 2026 and 2050, the UN medium scenario indicates the population will grow by about 12%, from 38.8M to 43.4M.

What share of Morocco is aged 65 or older?

In 2026, 8.8% of the projected population is aged 65 or older. By 2050, the medium scenario places the share at 16.4%.

How many babies are born in Morocco each year?

The UN medium scenario projects 613,838 births and 229,022 deaths in 2026, about one birth every 51 seconds. Births exceed deaths by 384,816.

What is life expectancy in Morocco for men and women?

Life expectancy at birth in 2026 is projected at 78.1 years for women and 73.7 years for men, a gap of 4.4 years in favour of women.

Does Morocco have more immigrants or emigrants?

Morocco is projected to lose about 60,886 more people through emigration than it gains in 2026. Between 2000 and 2023 the UN estimates cumulative net migration of −1,581,196.

What is the sex ratio in Morocco?

The projected 2026 population sex ratio is 101.6 males per 100 females. This all-age ratio is different from the sex ratio at birth and can vary substantially by age.

Sources and notes