Advertisement

MAR · MA · United Nations WPP 2024 · 2026

Morocco

Morocco had a population of 38,762,441 people in 2026, ranking 41 of 237 countries and areas. Explore its age pyramid, trends and demographic indicators.

Source: United Nations World Population Prospects 2024, medium variant.

Total population
38,762,441 people
2026 · Projection
Rank
#41/ 237
Africa #12 / 58
Share of world population
0.47%
2026
Density
86.9 people/km²
2026
Median age
30.1
years
Life expectancy
75.86
years
2026

Country or area overview

Morocco is in Africa. In 2026, its population was 38,762,441 people, about 0.47% of the world total. It ranks #41 of 237 countries and areas worldwide. The population was 8,935,450 people in 1950 and is projected to reach 37,884,370 people in 2100. The annual population growth rate in 2026 is 0.84%. The median age is 30.1. 24.8% of the population is under 15 and 8.8% is 65 or older. Life expectancy is 75.86 and the total fertility rate is 2.16. Within Africa, it ranks #12 of 58 by population and #24 of 58 by population density. Data note This page uses the UN World Population Prospects 2024 medium variant. Data for 1950–2023 are estimates; 2024 onward, including 2026, are projections. Values for 2100 are long-range projections.

Morocco map

Country outline and its location in the world.

Map of Morocco
World location

Boundaries: Natural Earth 1:50m.

Population history and projection

Population from 1950 to 2100. The dashed section shows the UN medium-variant projection from 2024 onward.

United Nations WPP 2024
47.91M37.12M26.34M15.55M4.76M1950197620022028205420802100
EstimatesProjections

Age group · 2026

Population age pyramid

Male and female population by five-year age group. Move the year slider to compare 1950, today and the 2100 projection.

2026Projection
MaleFemaleAge group100+ · Male: 53 (0.00%) · Female: 216 (0.00%)100+ · Male: 53 (0.00%) · Female: 216 (0.00%)100+95–99 · Male: 1,185 (0.00%) · Female: 3,418 (0.01%)95–99 · Male: 1,185 (0.00%) · Female: 3,418 (0.01%)95–9990–94 · Male: 9,985 (0.03%) · Female: 21,369 (0.06%)90–94 · Male: 9,985 (0.03%) · Female: 21,369 (0.06%)90–9485–89 · Male: 43,158 (0.11%) · Female: 76,762 (0.20%)85–89 · Male: 43,158 (0.11%) · Female: 76,762 (0.20%)85–8980–84 · Male: 119,424 (0.31%) · Female: 179,491 (0.46%)80–84 · Male: 119,424 (0.31%) · Female: 179,491 (0.46%)80–8475–79 · Male: 263,522 (0.68%) · Female: 313,939 (0.81%)75–79 · Male: 263,522 (0.68%) · Female: 313,939 (0.81%)75–7970–74 · Male: 483,731 (1.25%) · Female: 506,363 (1.31%)70–74 · Male: 483,731 (1.25%) · Female: 506,363 (1.31%)70–7465–69 · Male: 677,236 (1.75%) · Female: 699,501 (1.80%)65–69 · Male: 677,236 (1.75%) · Female: 699,501 (1.80%)65–6960–64 · Male: 803,574 (2.07%) · Female: 852,369 (2.20%)60–64 · Male: 803,574 (2.07%) · Female: 852,369 (2.20%)60–6455–59 · Male: 924,971 (2.39%) · Female: 945,174 (2.44%)55–59 · Male: 924,971 (2.39%) · Female: 945,174 (2.44%)55–5950–54 · Male: 1,076,376 (2.78%) · Female: 1,087,234 (2.80%)50–54 · Male: 1,076,376 (2.78%) · Female: 1,087,234 (2.80%)50–5445–49 · Male: 1,227,087 (3.17%) · Female: 1,227,502 (3.17%)45–49 · Male: 1,227,087 (3.17%) · Female: 1,227,502 (3.17%)45–4940–44 · Male: 1,374,375 (3.55%) · Female: 1,361,065 (3.51%)40–44 · Male: 1,374,375 (3.55%) · Female: 1,361,065 (3.51%)40–4435–39 · Male: 1,464,768 (3.78%) · Female: 1,411,858 (3.64%)35–39 · Male: 1,464,768 (3.78%) · Female: 1,411,858 (3.64%)35–3930–34 · Male: 1,465,050 (3.78%) · Female: 1,405,212 (3.63%)30–34 · Male: 1,465,050 (3.78%) · Female: 1,405,212 (3.63%)30–3425–29 · Male: 1,470,224 (3.79%) · Female: 1,394,923 (3.60%)25–29 · Male: 1,470,224 (3.79%) · Female: 1,394,923 (3.60%)25–2920–24 · Male: 1,521,824 (3.93%) · Female: 1,453,418 (3.75%)20–24 · Male: 1,521,824 (3.93%) · Female: 1,453,418 (3.75%)20–2415–19 · Male: 1,692,123 (4.37%) · Female: 1,607,227 (4.15%)15–19 · Male: 1,692,123 (4.37%) · Female: 1,607,227 (4.15%)15–1910–14 · Male: 1,697,651 (4.38%) · Female: 1,606,426 (4.14%)10–14 · Male: 1,697,651 (4.38%) · Female: 1,606,426 (4.14%)10–145–9 · Male: 1,644,684 (4.24%) · Female: 1,570,703 (4.05%)5–9 · Male: 1,644,684 (4.24%) · Female: 1,570,703 (4.05%)5–90–4 · Male: 1,572,113 (4.06%) · Female: 1,505,159 (3.88%)0–4 · Male: 1,572,113 (4.06%) · Female: 1,505,159 (3.88%)0–4
Age-group data
Age group Male Female Total Share
0–4 1,572,113 1,505,159 3,077,272 7.94%
5–9 1,644,684 1,570,703 3,215,387 8.30%
10–14 1,697,651 1,606,426 3,304,077 8.52%
15–19 1,692,123 1,607,227 3,299,350 8.51%
20–24 1,521,824 1,453,418 2,975,242 7.68%
25–29 1,470,224 1,394,923 2,865,147 7.39%
30–34 1,465,050 1,405,212 2,870,262 7.40%
35–39 1,464,768 1,411,858 2,876,626 7.42%
40–44 1,374,375 1,361,065 2,735,440 7.06%
45–49 1,227,087 1,227,502 2,454,589 6.33%
50–54 1,076,376 1,087,234 2,163,610 5.58%
55–59 924,971 945,174 1,870,145 4.82%
60–64 803,574 852,369 1,655,943 4.27%
65–69 677,236 699,501 1,376,737 3.55%
70–74 483,731 506,363 990,094 2.55%
75–79 263,522 313,939 577,461 1.49%
80–84 119,424 179,491 298,915 0.77%
85–89 43,158 76,762 119,920 0.31%
90–94 9,985 21,369 31,354 0.08%
95–99 1,185 3,418 4,603 0.01%
100+ 53 216 269 0.00%
Advertisement

Demographic indicators

UN WPP 2024 indicators for 2026.

Projection
Indicator 2026 Projection for 2100 Unit
Total population 38,762,441 people 37,884,370 people people
Male population 19,533,113 people 19,232,908 people people
Female population 19,229,328 people 18,651,463 people people
Population density 86.9 people/km² 84.9 people/km² people/km²
Sex ratio 101.6 103.1 males per 100 females
Median age 30.1 48.1 years
Natural change 384,816 -171,752 people
Natural change rate 9.93 ‰ -4.53 ‰ ‰
Population change 323,926 -232,906 people
Population growth rate 0.84% -0.62% %
Population doubling time 82.9 — years
Births 613,838 people 333,713 people people
Births to women aged 15–19 38,735 8,690 people
Birth rate 15.84 ‰ 8.81 ‰ ‰
Total fertility rate 2.16 1.74 children per woman
Net reproduction rate 1.030 0.842
Mean age at childbearing 29.95 30.75 years
Sex ratio at birth 104.7 104.7 males per 100 females
Deaths 229,022 people 505,465 people people
Male deaths 128,258 257,777 people
Female deaths 100,764 247,689 people
Death rate 5.91 ‰ 13.34 ‰ ‰
Life expectancy at birth 75.86 86.25 years
Male life expectancy at birth 73.71 85.33 years
Female life expectancy at birth 78.13 87.21 years
Life expectancy at age 15 62.22 71.58 years
Life expectancy at age 65 16.24 23.09 years
Life expectancy at age 80 7.02 11.01 years
Infant deaths 7,872 925 people
Infant mortality rate 12.82 ‰ 2.77 ‰ ‰
Survivors to age 1 606,594 332,835 people
Deaths under age 5 9,363 1,098 people
Under-5 mortality rate 15.20 ‰ 3.28 ‰ ‰
Net migration -60,886 -61,150 people
Net migration rate -1.57 ‰ -1.61 ‰ ‰

Frequently asked questions

What is the population of Morocco?
In 2026, Morocco had a population of 38,762,441 people. It ranks #41 of 237 countries and areas worldwide.
How has the population of Morocco changed?
The population was 8,935,450 people in 1950 and is projected to reach 37,884,370 people in 2100.
What is the age structure of Morocco?
The median age is 30.1. 24.8% of the population is under 15 and 8.8% is 65 or older.
How does Morocco compare within Africa?
By total population, Morocco ranks #12 of 58 in Africa and #41 of 237 worldwide.

Estimates cover 1950–2023; 2024 and later are UN medium-variant projections. Rankings use the latest available value for the selected year. The world total is the sum of all countries and areas in the dataset.

Advertisement