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.
Show the numbers
| Age group | Male | Female | Total | Share |
|---|---|---|---|---|
| 100+ | 53 | 216 | 269 | 0.00% |
| 95-99 | 1,185 | 3,417 | 4,602 | 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,175 | 1,870,147 | 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,113 | 19,229,328 | 38,762,441 | 100.00% |
| 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
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.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Morocco age structure
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
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Key Demographics
| Total Population | 38,762,441 |
| Male Population | 19,533,113(50.4%) |
| Female Population | 19,229,328(49.6%) |
| Median Age | 30.1 years |
| Sex Ratio | 101.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 Ratio | 50.4 |
| Youth Dependency Ratio | 37.2 |
| Old Age Dependency Ratio | 13.2 |
| Pyramid Type | Stationary |
Dependency Ratios: Number of dependents per 100 working-age individuals.
Births and fertility rate
UN World Population Prospects 2024, 2026 (medium-variant projection).
How many births, and how often (2026)
In Morocco there is about one birth every 51 seconds.
Birth-rate and fertility trend, 1950 to 2026
Crude birth rate · total fertility rate (dashed)Birth statistics, 2021 to 2026
| Year | Births | Birth rate (per 1,000) | TFR (children/woman) | 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 |
Since 1950
Global context (2026)
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.
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.
Life Expectancy in Morocco
How long the average person in Morocco is expected to live · sourced from UN WPP 2024
Life expectancy, 1950 to 2100: UN estimates to 2023, projection from 2024
Solid: actual · Dashed: medium-variant projectionMorocco 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).
Morocco's Demographic Evolution by Decade
In the 2020s, 2024 to 2026 are UN projections.
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.
Morocco
Algeria
Tunisia
Spain
Egypt
| Country | Population | Median Age | Youth % | Elderly % | Pyramid Type |
|---|---|---|---|---|---|
| Morocco (Current) | 38,762,441 | 30.1 | 24.8% | 8.8% | stationary |
| Algeria | 48,028,333 | 28.8 | 29.4% | 7.0% | stationary |
| Tunisia | 12,415,138 | 33.4 | 23.0% | 10.3% | stationary |
| Spain | 47,850,792 | 46.3 | 12.3% | 22.2% | constrictive |
| Egypt | 120,101,176 | 24.7 | 31.1% | 5.4% | expansive |
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