Morocco Population Pyramid 2026: 38.8M People by Age & Sex
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.3B. 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.
Embed this pyramid: <a href="https://agepyramids.com/morocco"><img src="https://agepyramids.com/images/pyramids/morocco-2026.svg" alt="Morocco population pyramid 2026"></a>
Show the numbers — Morocco population by age group, 2026
| Age group | Male | Female | Total | Share |
|---|---|---|---|---|
| 100+ | 53 | 216 | 269 | 0.00% |
| 95-99 | 1,185 | 3,418 | 4,603 | 0.01% |
| 90-94 | 9,985 | 21,370 | 31,355 | 0.08% |
| 85-89 | 43,158 | 76,762 | 119,920 | 0.31% |
| 80-84 | 119,424 | 179,491 | 298,915 | 0.77% |
| 75-79 | 263,522 | 313,939 | 577,461 | 1.49% |
| 70-74 | 483,730 | 506,362 | 990,092 | 2.55% |
| 65-69 | 677,236 | 699,501 | 1,376,737 | 3.55% |
| 60-64 | 803,574 | 852,368 | 1,655,942 | 4.27% |
| 55-59 | 924,972 | 945,174 | 1,870,146 | 4.82% |
| 50-54 | 1,076,376 | 1,087,234 | 2,163,610 | 5.58% |
| 45-49 | 1,227,087 | 1,227,502 | 2,454,589 | 6.33% |
| 40-44 | 1,374,375 | 1,361,066 | 2,735,441 | 7.06% |
| 35-39 | 1,464,768 | 1,411,858 | 2,876,626 | 7.42% |
| 30-34 | 1,465,050 | 1,405,212 | 2,870,262 | 7.40% |
| 25-29 | 1,470,224 | 1,394,923 | 2,865,147 | 7.39% |
| 20-24 | 1,521,824 | 1,453,418 | 2,975,242 | 7.68% |
| 15-19 | 1,692,124 | 1,607,228 | 3,299,352 | 8.51% |
| 10-14 | 1,697,651 | 1,606,426 | 3,304,077 | 8.52% |
| 5-9 | 1,644,684 | 1,570,703 | 3,215,387 | 8.30% |
| 0-4 | 1,572,114 | 1,505,160 | 3,077,274 | 7.94% |
| Total | 19,533,116 | 19,229,331 | 38,762,447 | 100.00% |
Men outnumber women by 303,785 (0.8% of the population).
Morocco population pyramid, 1950 to 2100
Drag the slider or press play to watch the age structure change. Figures to 2023 are UN estimates; from 2024 they are the UN's medium-variant projection.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Morocco sex ratio and gender balance
Morocco has 101.6 males for every 100 females in 2026. Men outnumber women by 303,785 (0.8% of the population). The male population is 19,533,113 (50.4%) and the female population is 19,229,328 (49.6%). Sex ratios differ by age: boys slightly outnumber girls at birth, while at older ages women usually outnumber men because of longer female life expectancy — in Morocco, life expectancy is 78.1 years for women and 73.7 years for men.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Births and fertility in Morocco
In 2026 there are 613,838 births in Morocco — about 1,681 per day, 70 per hour, or roughly one birth every 51 seconds. The crude birth rate is 15.8 births per 1,000 people and the total fertility rate is 2.16 children per woman, above the replacement level of 2.1. Morocco accounts for 0.5% of all births worldwide. Deaths number 229,022, so births exceed deaths by 384,816.
| Year | Births | Birth rate (per 1,000) | Fertility rate | Type |
|---|---|---|---|---|
| 2021 | 645,134 | 17.5 | 2.29 | estimate |
| 2022 | 635,906 | 17.0 | 2.26 | estimate |
| 2023 | 629,832 | 16.7 | 2.23 | estimate |
| 2024 | 624,620 | 16.4 | 2.21 | projection |
| 2025 | 619,057 | 16.1 | 2.18 | projection |
| 2026 | 613,838 | 15.8 | 2.16 | projection |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Median age in Morocco
The median age in Morocco is 30.1 years in 2026 — the 133rd-highest of 236 countries. Half the population is younger than 30.1 and half is older. The world median age is 31.1, so Morocco is 1.0 years younger than the world average. The generation at the median age is the Millennials generation. In 1950 the median age was 18.3; the UN projects it to reach 37.4 by 2050.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Age distribution in Morocco
Youth (0–14) make up 24.8% of the population (9,596,738 people), the working-age group (15–64) 66.5% (25,766,357), and older people (65+) 8.8% (3,399,352). Morocco has a stationary population pyramid: fairly even bands from childhood through the working ages. Its largest five-year band is 10-14, at 8.5% of the population.
| Age group | Population | Share | Category |
|---|---|---|---|
| 100+ | 269 | 0.0% | Senior |
| 95-99 | 4,603 | 0.0% | Senior |
| 90-94 | 31,355 | 0.1% | Senior |
| 85-89 | 119,920 | 0.3% | Senior |
| 80-84 | 298,915 | 0.8% | Senior |
| 75-79 | 577,461 | 1.5% | Senior |
| 70-74 | 990,092 | 2.6% | Senior |
| 65-69 | 1,376,737 | 3.6% | Senior |
| 60-64 | 1,655,942 | 4.3% | Working age |
| 55-59 | 1,870,146 | 4.8% | Working age |
| 50-54 | 2,163,610 | 5.6% | Working age |
| 45-49 | 2,454,589 | 6.3% | Working age |
| 40-44 | 2,735,441 | 7.1% | Working age |
| 35-39 | 2,876,626 | 7.4% | Working age |
| 30-34 | 2,870,262 | 7.4% | Working age |
| 25-29 | 2,865,147 | 7.4% | Working age |
| 20-24 | 2,975,242 | 7.7% | Young adult |
| 15-19 | 3,299,352 | 8.5% | Young adult |
| 10-14 | 3,304,077 | 8.5% | Youth |
| 5-9 | 3,215,387 | 8.3% | Youth |
| 0-4 | 3,077,274 | 7.9% | Youth |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Life expectancy in Morocco
Life expectancy at birth in Morocco is 75.9 years in 2026 — the 118th-highest of 236 countries: 73.7 years for men and 78.1 years for women, a gap of 4.4 years. The world average is 73.8 years. Life expectancy in Morocco has risen from 38.8 years in 1950, and the UN projects 79.8 years by 2050.
Solid line: UN estimates to 2023. Dashed: medium-variant projection. Source: UN World Population Prospects 2024.
Dependency ratios and the demographic dividend
Morocco's total dependency ratio is 50.4 in 2026 — 37.2 children and 13.2 older people for every 100 working-age people. The working-age share is projected to peak at 67.0% in 2035. A high and rising working-age share is the window demographers call the demographic dividend: fewer dependants per worker can support faster economic growth, if jobs are available.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Future trend: Morocco to 2050 and beyond
The UN projects Morocco's population to reach 43,440,430 by 2050 (+12.1% from 2026) and 37,884,370 by 2100. Its population is projected to peak at 43,736,171 in 2058. The median age rises to 37.4 by 2050. Full year-by-year figures, including the UN’s low and high variants, are on the Morocco population projection page.
Compare: Morocco vs Algeria · Morocco vs Egypt · Morocco vs Sudan
How Morocco compares with its neighbours
| Country | Population | Median age | Under 15 | 65+ | Pyramid type |
|---|---|---|---|---|---|
| Morocco (this page) | 38,762,441 | 30.1 | 24.8% | 8.8% | Stationary |
| Egypt | 120,101,176 | 24.7 | 31.1% | 5.4% | Expansive |
| Sudan | 53,282,718 | 18.8 | 39.8% | 3.5% | Expansive |
| Algeria | 48,028,334 | 28.8 | 29.4% | 7.0% | Stationary |
| Tunisia | 12,415,138 | 33.4 | 23.0% | 10.3% | Stationary |
| Libya | 7,539,852 | 28.0 | 26.2% | 5.4% | Stationary |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Frequently asked questions
What is the population of Morocco in 2026?
Morocco has a population of 38,762,441 on 1 July 2026, according to the UN World Population Prospects 2024 (medium-variant projection). Men make up the majority: there are 19,533,113 men and 19,229,328 women.
What type of population pyramid does Morocco have?
Morocco has a stationary population pyramid in 2026. Children under 15 make up 24.8% of the population and people aged 65 and over make up 8.8%. Its largest five-year age group is 10-14, at 8.5% of the population.
What is the median age in Morocco?
The median age in Morocco is 30.1 years in 2026 — half the population is younger and half is older. The world median age is 31.1 years, so Morocco is 1.0 years younger than the world average.
Is the population of Morocco growing or shrinking?
Morocco's population is projected to peak at 43,736,171 in 2058. In 2050 it is projected at 43,440,430, a change of +12.1% from 2026. In 2026 there are 613,838 births and 229,022 deaths.
What is the dependency ratio in Morocco?
Morocco's total dependency ratio is 50.4 in 2026: for every 100 people of working age (15–64) there are 37.2 children under 15 and 13.2 people aged 65 and over who are supported by them.
How many births are there in Morocco each day?
About 1,681 babies are born in Morocco each day in 2026 (613,838 over the year, or roughly one birth every 51 seconds). The fertility rate is 2.16 children per woman and the crude birth rate is 15.8 births per 1,000 people.
More on Morocco
Population by generation in Morocco · Morocco population projection to 2100 · Africa region page · All countries and areas
About this data: UN World Population Prospects 2024, released 11 July 2024. Figures for 2024 and later are medium-variant projections for 1 July; 1950–2023 are estimates. Cite this page: AgePyramids. (2026). Morocco Population Pyramid and Demographic Analysis. Retrieved from https://agepyramids.com/morocco
Morocco Population Pyramid — Classroom Worksheet
Name: ______________________ Class: ____________ Date: ____________
Use the pyramid and the data tables on this page (1 July 2026, UN World Population Prospects 2024) to answer:
- What is the total population of Morocco in 2026?
- Which five-year age group is the largest, and what share of the population is it?
- What percentage of the population is aged 65 or over?
- In the 80–84 age group, are there more men or more women, and by how many?
- Is Morocco's pyramid expansive, stationary or constrictive? Use the under-15 share (24.8%) and the shape of the base in your answer.
- Write one sentence describing how this population is likely to change over the next 25 years, using evidence from the pyramid. (Discussion question.)
Answer key (teacher)
- 38,762,441
- 10-14 — 8.5%
- 8.8% (3,399,352 people)
- Women — by 60,067
- Stationary
- Open — look for a claim backed by the base width, the 65+ share or the median age.