Morocco population pyramid 2026
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
Hover over or tap a bar to see exact values.
Download this population pyramid
Use the publication-ready SVG, create a high-resolution PNG, or download the complete age-by-sex dataset.
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
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.
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.
| Indicator | 2026 value | Global rank | Ranking direction |
|---|---|---|---|
| Population | 38,762,441 | #41 | Largest first |
| Median age | 30.1 years | #134 | Oldest first |
| Fertility rate | 2.16 | #98 | Highest first |
| Annual growth | +0.8% | #107 | Fastest first |
| Life expectancy | 75.9 years | #119 | Highest first |
| Population aged 65+ | 8.8% | #129 | Highest 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.
| Rank | Age group | Population | Share of total | Male / female |
|---|---|---|---|---|
| 1 | 10–14 | 3,304,077 | 8.5% | 1.7M / 1.6M |
| 2 | 15–19 | 3,299,350 | 8.5% | 1.7M / 1.6M |
| 3 | 5–9 | 3,215,387 | 8.3% | 1.6M / 1.6M |
| 4 | 0–4 | 3,077,272 | 7.9% | 1.6M / 1.5M |
| 5 | 20–24 | 2,975,242 | 7.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
Mid-year population for every year. Estimates through 2023; dashed line shows the UN medium projection.
| Year | Population | Median age | Fertility | Life exp. | Births | Deaths | Net migration | Growth |
|---|---|---|---|---|---|---|---|---|
| 1950 | 8,935,450 | 18.3 | 6.14 | 38.8 | 435,623 | 223,407 | +5,407 | +2.4% |
| 1960 | 11,624,933 | 16.8 | 6.89 | 41.7 | 590,641 | 267,142 | −19,434 | +2.6% |
| 1970 | 15,129,448 | 15.5 | 6.68 | 48.7 | 676,670 | 250,656 | −26,168 | +2.6% |
| 1980 | 19,459,943 | 16.4 | 5.78 | 55.2 | 764,790 | 230,346 | −13,899 | +2.7% |
| 1990 | 24,375,551 | 18.4 | 4.06 | 62.4 | 725,559 | 190,063 | −97,711 | +1.8% |
| 2000 | 28,423,435 | 21.4 | 2.77 | 66.8 | 644,893 | 183,546 | −67,569 | +1.4% |
| 2010 | 32,467,016 | 24.7 | 2.63 | 70.8 | 710,089 | 194,277 | −70,510 | +1.4% |
| 2020 | 36,584,208 | 28.2 | 2.32 | 73.1 | 653,031 | 237,013 | −35,474 | +1.0% |
| 2023 | 37,712,505 | 29.2 | 2.23 | 75.3 | 629,832 | 212,624 | −39,650 | +1.0% |
| 2024* | 38,081,173 | 29.5 | 2.21 | 75.5 | 624,620 | 218,049 | −46,802 | +0.9% |
| 2026* | 38,762,441 | 30.1 | 2.16 | 75.9 | 613,838 | 229,022 | −60,886 | +0.8% |
| 2030* | 39,953,460 | 31.4 | 2.08 | 76.5 | 598,285 | 253,135 | −71,552 | +0.7% |
| 2040* | 42,168,205 | 34.2 | 1.94 | 78.2 | 572,779 | 317,099 | −80,988 | +0.4% |
| 2050* | 43,440,431 | 37.4 | 1.86 | 79.8 | 530,486 | 372,891 | −74,927 | +0.2% |
| 2060* | 43,707,410 | 40.5 | 1.82 | 81.3 | 479,062 | 423,519 | −79,710 | -0.1% |
| 2070* | 43,078,138 | 42.9 | 1.79 | 82.6 | 443,901 | 468,465 | −75,145 | -0.2% |
| 2080* | 41,806,425 | 44.7 | 1.77 | 83.9 | 406,491 | 490,219 | −70,021 | -0.4% |
| 2090* | 40,048,050 | 46.5 | 1.74 | 85.1 | 364,849 | 496,752 | −66,285 | -0.5% |
| 2100* | 37,884,370 | 48.1 | 1.74 | 86.2 | 333,713 | 505,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.
| Age group | Male | Female | Total | Share |
|---|---|---|---|---|
| 0–4 | 1,572,113 | 1,505,159 | 3,077,272 | 7.9% |
| 5–9 | 1,644,684 | 1,570,703 | 3,215,387 | 8.3% |
| 10–14 | 1,697,651 | 1,606,426 | 3,304,077 | 8.5% |
| 15–19 | 1,692,123 | 1,607,227 | 3,299,350 | 8.5% |
| 20–24 | 1,521,824 | 1,453,418 | 2,975,242 | 7.7% |
| 25–29 | 1,470,224 | 1,394,923 | 2,865,147 | 7.4% |
| 30–34 | 1,465,050 | 1,405,212 | 2,870,262 | 7.4% |
| 35–39 | 1,464,768 | 1,411,858 | 2,876,626 | 7.4% |
| 40–44 | 1,374,375 | 1,361,065 | 2,735,440 | 7.1% |
| 45–49 | 1,227,087 | 1,227,502 | 2,454,589 | 6.3% |
| 50–54 | 1,076,376 | 1,087,234 | 2,163,610 | 5.6% |
| 55–59 | 924,971 | 945,174 | 1,870,145 | 4.8% |
| 60–64 | 803,574 | 852,369 | 1,655,943 | 4.3% |
| 65–69 | 677,236 | 699,501 | 1,376,737 | 3.6% |
| 70–74 | 483,731 | 506,363 | 990,094 | 2.6% |
| 75–79 | 263,522 | 313,939 | 577,461 | 1.5% |
| 80–84 | 119,424 | 179,491 | 298,915 | 0.8% |
| 85–89 | 43,158 | 76,762 | 119,920 | 0.3% |
| 90–94 | 9,985 | 21,369 | 31,354 | 0.1% |
| 95–99 | 1,185 | 3,418 | 4,603 | 0.0% |
| 100+ | 53 | 216 | 269 | 0.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.
- Panama98% overlap · median age 30.6
- Indonesia98% overlap · median age 30.7
- Mexico97% overlap · median age 30.0
- Myanmar97% overlap · median age 30.4
- Dominican Republic97% overlap · median age 28.7
- Suriname97% overlap · median age 28.9
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
- United Nations, DESA, Population Division: World Population Prospects 2024, medium scenario.
- Population values are mid-year figures. Source values published in thousands are converted to people; displayed figures may imply more precision than is appropriate for planning.
- Historical values through 2023 are estimates. Values from 2024 onward are projections.
- Calculations follow the site methodology.