Morocco vs Spain population (2026)
ASpain
47.9 million
#34 in the world · -0.10% a year
Open Spain →
BMorocco
38.8 million
#41 in the world · +0.84% a year
Open Morocco →
Summary
Spain has 47.9 million people in 2026, 9.1 million more than Morocco (38.8 million). Morocco is projected to overtake Spain around 2055.
- Updated:
Side by side
| Indicator | Spain | Morocco |
|---|---|---|
| Population | 47,850,793 | 38,762,441 |
| World rank | 34 | 41 |
| Annual change | -0.10% | 0.84% |
| Density (per km²) | 95 | 87 |
| Median age | 46.3 | 30.1 |
| Fertility rate | 1.24 | 2.16 |
| Life expectancy | 84.1 | 75.9 |
| Urban population | 80.5% | 63.1% |
| Birth rate | 6.8 | 15.8 |
| Death rate | 9.6 | 5.9 |
| Net migration rate | +1.8 | −1.6 |
| Infant mortality | 2.1 | 12.8 |
| Under-5 mortality | 2.7 | 15.2 |
| Life expectancy, women | 86.7 | 78.1 |
| Life expectancy, men | 81.4 | 73.7 |
| Children under 15 | 12.3% | 24.8% |
| Working age, 15–64 | 65.5% | 66.5% |
| People aged 65+ | 22.2% | 8.8% |
| Dependency ratio | 52.7 | 50.4 |
| Sex ratio | 96.4 | 101.6 |
| Population 2050 | 44,928,558 | 43,440,431 |
| Population 2100 | 33,127,478 | 37,884,370 |
Population, 1950–2100
- Spain
- Morocco
Fertility rate
- Spain
- Morocco
Median age
- Spain
- Morocco
Life expectancy
- Spain
- Morocco
Spain age pyramid
- Male
- Female
Morocco age pyramid
- Male
- Female
Frequently asked questions
Which has a larger population, Spain or Morocco?
Spain has 47.9 million people in 2026, 9.1 million more than Morocco (38.8 million). Morocco is projected to overtake Spain around 2055.
Will Morocco overtake Spain?
Under the UN medium scenario, Morocco is projected to overtake Spain around 2055.
Which country is younger, Spain or Morocco?
The median age is 46.3 years in Spain and 30.1 years in Morocco.
More comparisons
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). Morocco vs Spain Population (2026). Retrieved 2026-11-27, from https://populationcount.com/compare/morocco-vs-spain
MLA
"Morocco vs Spain Population (2026)." PopulationCount, 2026, populationcount.com/compare/morocco-vs-spain. Accessed 27 Nov. 2026.
Chicago
PopulationCount. "Morocco vs Spain Population (2026)." 2026. Accessed November 27, 2026. https://populationcount.com/compare/morocco-vs-spain.
Harvard
PopulationCount (2026) Morocco vs Spain Population (2026). Available at: https://populationcount.com/compare/morocco-vs-spain (Accessed: 2026-11-27).
BibTeX
@misc{populationcount2026comparemoroccovsspain,
author = {{PopulationCount}},
title = {Morocco vs Spain Population (2026)},
year = {2026},
url = {https://populationcount.com/compare/morocco-vs-spain},
note = {Data: United Nations, World Population Prospects 2024. Accessed 2026-11-27}
}