Morocco vs Spain
Morocco vs Spain: Learning-adjusted schooling
Learning-adjusted schooling in 2020: 6.3 years in Morocco and 10.5 years in Spain, by World Bank estimates. In 2020 the value was higher in Spain, by 4.2 years, or 1.66 times that in Morocco.
years · World Bank
What the numbers say
- Spain has been higher in every year both have figures for since 2010.
- In 2020, Morocco ranked 121 and Spain ranked 35 of 174 countries, counting from the highest.
Every year
years · World Bank
| Year | Morocco | Spain |
|---|---|---|
| 2020 | 6.3 | 10.5 |
| 2018 | 6.1 | 10.7 |
| 2017 | 6.2 | 10.8 |
| 2010 | 5.8 | 10.3 |
Each country on its own
Good to know
- The years of school a child can expect by 18, cut to what students actually learn: the World Bank’s learning-adjusted years of school.
- Source: World Bank Human Capital Index, via Our World in Data.
- Ranks count the 174 countries with a value in 2020, highest first.
How the layers work, where their data comes from and what they can’t tell you: Countries through time
Morocco vs Spain
Health
- Life expectancyMorocco: 75.3 years in 2023Spain: 83.7 years in 2023
- Child mortalityMorocco: 1.6 per 100 live births in 2024Spain: 0.3 per 100 live births in 2024
- Infant mortalityMorocco: 14.3 per 1,000 live births in 2023Spain: 2.4 per 1,000 live births in 2023
- Safe drinking waterMorocco: 74.8% in 2022Spain: 99.6% in 2022
- DepressionMorocco: 5.41% in 2017Spain: 3.54% in 2017
- Suicide rateMorocco: 7.1 per 100,000 people in 2017Spain: 5.5 per 100,000 people in 2017
People
- PopulationMorocco: 37.7 million people in 2023Spain: 47.9 million people in 2023
- Population growthMorocco: 1% a year in 2023Spain: 0.02% a year in 2023
- Fertility rateMorocco: 2.23 births per woman in 2023Spain: 1.21 births per woman in 2023
- Urban populationMorocco: 63.1% in 2025Spain: 80.5% in 2025
- Median ageMorocco: 29.2 years in 2023Spain: 44.9 years in 2023
- People aged 65 and overMorocco: 7.8% in 2023Spain: 20.7% in 2023
- Net migration rateMorocco: -1.1 per 1,000 people in 2023Spain: 2.5 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingMorocco: 3.54% of GDP in 2025Spain: 2.13% of GDP in 2025
- Military spending in US dollarsMorocco: $5.88B in 2025Spain: $37.7B in 2025
- Military spending per personMorocco: $166 in 2025Spain: $839 in 2025
- Military share of state spendingMorocco: 10.3% of government spending in 2025Spain: 4.7% of government spending in 2025
- Armed forces personnelMorocco: 246,000 people in 2020Spain: 199,000 people in 2020
- National powerMorocco: 0.4% of world capability in 2022Spain: 0.66% of world capability in 2022
- Armed forces, share of workersMorocco: 2.07% of the labour force in 2020Spain: 0.87% of the labour force in 2020
- Arms importsMorocco: 392 million TIV in 2025Spain: 237 million TIV in 2025
- Arms exportsMorocco: 26 million TIV in 2024Spain: 341 million TIV in 2025