Skip to content
PopulationCount
AlgeriaWestern SaharaSpainMaliNigerMauritaniaRabatMorocco
AfricaNorthern Africa#41 in the world

Population of Morocco (2026)

Summary

Morocco's population is 38.8 million in 2026, according to UN World Population Prospects 2024. It is projected to peak in 2058 at 43.7 million.

Updated:

Cite this pageEmbedDownload CSV

Capital
Rabat
Area
446,550 km²
Share of world
0.47%
Population 2026
38.8 million
38,762,441
World rank
41st
0.47% of world
Annual change
0.84%
Density
87/km²
Median age
30.1 yrs
Fertility rate
2.16
births per woman
Life expectancy
75.9 yrs
Urban population
63.1%
Live estimate

Estimated population of Morocco right now

38,762,441

Births today
–
Deaths today
–
Growth today
–

Estimate from UN WPP 2024 projections (1 July 2026: 38,762,441). Not a real-time count.

Births, deaths and migration (2026)

Per yearPer dayPer hourPer minute
Births613,8381,682701.2
Deaths229,022627260.4
Natural change+384,816+1,054+44+0.7
Net migration−60,886−167−7.0−0.1

UN WPP 2024 estimates for 2026, spread evenly over the year.

Population of Morocco, 1950–2100

  • UN medium scenario
  • Range: UN low to high scenario
Population of Morocco, 1950–2100020M40M60M1950197520002025205020752100High scenarioLow scenarioPopulation of Morocco, 1950–2100020M40M60M1950200020502100High scenarioLow scenario
Embed
Show data table
YearPopulation
19508,935,450
196011,624,933
197015,129,448
198019,459,943
199024,375,551
200028,423,435
201032,467,016
202036,584,208
202638,762,441
203039,953,460
204042,168,205
205043,440,431
206043,707,410
207043,078,138
208041,806,425
209040,048,050
210037,884,370
Hover or tap the chart for exact values. The UN publishes three projections: the medium one is the central estimate; the high and low ones assume about half a child more or fewer per woman. The further ahead, the wider the range. Dashed line: current year.

Population by decade

  • Estimate
  • UN medium projection
Population of Morocco by decade, 1950–21001950: 8.9M8.9M19501960: 12M1970: 15M15M19701980: 19M1990: 24M24M19902000: 28M2010: 32M32M20102020: 37M2030: 40M (projection)40M20302040: 42M (projection)2050: 43M (projection)43M20502060: 44M (projection)2070: 43M (projection)43M20702080: 42M (projection)2090: 40M (projection)40M20902100: 38M (projection)38M2100Population of Morocco by decade, 1950–21001950: 8.9M19501960: 12M1970: 15M1980: 19M19801990: 24M2000: 28M2010: 32M20102020: 37M2030: 40M (projection)2040: 42M (projection)20402050: 43M (projection)2060: 44M (projection)2070: 43M (projection)20702080: 42M (projection)2090: 40M (projection)2100: 38M (projection)2100
Population on 1 July of each decade year. Hover a bar for the exact value.

Age structure

  • Male
  • Female
Population pyramid of Morocco, 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemalePopulation pyramid of Morocco, 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemale
Population by 5-year age group and sex, thousands. Median age in 2026: 30.1 years. All years use the same scale. * UN medium projection.

Key changes

  • The population has grown 4.3× since 1950 (from 8.9 million).
  • By 2050 it is projected to change by +12.1%, and by -2.3% by 2100.
  • The population is projected to peak in 2058.
  • The fertility rate (2.16 births per woman) is above the replacement level of about 2.1.

Fertility rate

  • Morocco
  • World
Fertility rate: Morocco vs world, 1950–2100024681950197520002025205020752100Fertility rate: Morocco vs world, 1950–2100024681950200020502100
Fertility rate, births per woman. Morocco 2026: 2.16; world: 2.23. 2.1 is roughly the level that keeps a population stable without migration.

Median age

  • Morocco
  • World
Median age: Morocco vs world, 1950–210010203040501950197520002025205020752100Median age: Morocco vs world, 1950–210010203040501950200020502100
Median age, years. Morocco 2026: 30.1; world: 31.1. Half of the population is older, half younger.

Life expectancy at birth

  • Morocco
  • World
Life expectancy at birth: Morocco vs world, 1950–2100304050607080901950197520002025205020752100Life expectancy at birth: Morocco vs world, 1950–2100304050607080901950200020502100
Life expectancy at birth, years. Morocco 2026: 75.9; world: 73.8. Average years a newborn would live at current death rates.

Infant mortality

  • Morocco
  • World
Infant mortality: Morocco vs world, 1950–21000501001502001950197520002025205020752100Infant mortality: Morocco vs world, 1950–21000501001502001950200020502100
Infant mortality, deaths before age 1 per 1,000 live births. Morocco 2026: 12.8; world: 25.9. One of the clearest measures of health care and living conditions.

Births and deaths

  • Births
  • Deaths
Births and deaths in Morocco, 1950–21000200K400K600K800K1950197520002025205020752100Births and deaths in Morocco, 1950–21000200K400K600K800K1950200020502100
In 2026, births outnumber deaths by 384,816. People per year; after 2026: UN medium projection.

Net migration

  • Arrivals minus departures
Net migration, Morocco, 1950–2100-150K-100K-50K050K1950197520002025205020752100Net migration, Morocco, 1950–2100-150K-100K-50K050K1950200020502100
People per year. Above zero: more people arrive than leave. 2026: −60,886.

Children and older people

  • Under 15
  • 65 and over
Age groups in Morocco, 1950–2100 (% of population)010203040501950197520002025205020752100Age groups in Morocco, 1950–2100 (% of population)010203040501950200020502100
Share of the population, %. 2026: 24.8% under 15, 8.8% aged 65+. People aged 65+ are projected to outnumber children from 2055.

Morocco and neighbouring countries

Population 2026

  1. Algeria48M
  2. Spain48M
  3. Morocco39M
  4. Western Sahara611K

More indicators

UN World Population Prospects 2024, estimates for 2026.

IndicatorMoroccoWorld
Births, deaths and migration
Birth rateper 1,000 people15.816.0
Death rateper 1,000 people5.97.7
Net migration rateper 1,000 people−1.60.0
Health
Infant mortalityper 1,000 live births12.825.9
Under-5 mortalityper 1,000 live births15.234.9
Life expectancy, womenyears78.176.4
Life expectancy, menyears73.771.2
Age and sex
Children under 15% of population24.8%24.1%
Working age, 15–64% of population66.5%65.3%
People aged 65+% of population8.8%10.6%
Dependency ratiodependants per 100 aged 15–6450.453.1
Sex ratiomen per 100 women101.6101.0

Largest cities in Morocco

Compare Morocco with other countries

All comparisons with Morocco (19)
Compare Morocco with any country

Population history and projections

Download CSVJSON

YearPopulationMedian ageFertility rateLife expectancy
19508,935,45018.36.1438.8
196011,624,93316.86.8941.7
197015,129,44815.56.6848.7
198019,459,94316.45.7855.2
199024,375,55118.44.0662.4
200028,423,43521.42.7766.8
201032,467,01624.72.6370.8
202036,584,20828.22.3273.1
202638,762,44130.12.1675.9
2030projectionproj.39,953,46031.42.0876.5
2040projectionproj.42,168,20534.21.9478.2
2050projectionproj.43,440,43137.41.8679.8
2060projectionproj.43,707,41040.51.8281.3
2070projectionproj.43,078,13842.91.7982.6
2080projectionproj.41,806,42544.71.7783.9
2090projectionproj.40,048,05046.51.7485.1
2100projectionproj.37,884,37048.11.7486.2

Embed on your site

Free to use with the link back included. Data: UN World Population Prospects 2024 (CC BY 3.0 IGO).

Population chart 1950–2100

Preview
<iframe src="https://populationcount.com/embed/country/morocco/trend" title="Population chart 1950–2100: Morocco" width="100%" height="460" style="border:1px solid #dfe6e2;border-radius:4px" loading="lazy"></iframe>

Live population estimate

Preview
<iframe src="https://populationcount.com/embed/country/morocco/counter" title="Live population estimate: Morocco" width="100%" height="280" style="border:1px solid #dfe6e2;border-radius:4px" loading="lazy"></iframe>

Frequently asked questions

What is the population of Morocco in 2026?

Morocco's population is 38.8 million in 2026, according to UN World Population Prospects 2024. It is projected to peak in 2058 at 43.7 million.

Is the population of Morocco growing or shrinking?

Morocco's population is growing, with an annual change of 0.84% in 2026.

What will the population of Morocco be in 2050?

Under the UN medium scenario, Morocco is projected to have 43.4 million people in 2050 and 37.9 million in 2100.

What share of the world population lives in Morocco?

Morocco accounts for 0.47% of the world population of 8.30 billion, ranking 41 of 237 countries and territories.

What is the median age in Morocco?

The median age in Morocco is 30.1 years, and life expectancy at birth is 75.9 years.

What is the capital of Morocco?

The capital of Morocco is Rabat.

Sources and how to cite

Data: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024. Medium scenario, mid-year (1 July) estimates and projections. Licence CC BY 3.0 IGO. See the methodology and editorial policy.

Spotted an error? Report it.

APA

PopulationCount. (2026). Population of Morocco (2026). Retrieved 2026-11-27, from https://populationcount.com/country/morocco

MLA

"Population of Morocco (2026)." PopulationCount, 2026, populationcount.com/country/morocco. Accessed 27 Nov. 2026.

Chicago

PopulationCount. "Population of Morocco (2026)." 2026. Accessed November 27, 2026. https://populationcount.com/country/morocco.

Harvard

PopulationCount (2026) Population of Morocco (2026). Available at: https://populationcount.com/country/morocco (Accessed: 2026-11-27).

BibTeX

@misc{populationcount2026countrymorocco,
  author = {{PopulationCount}},
  title = {Population of Morocco (2026)},
  year = {2026},
  url = {https://populationcount.com/country/morocco},
  note = {Data: United Nations, World Population Prospects 2024. Accessed 2026-11-27}
}