Spain vs Morocco: how the neighbours compare
| Indicator | Spain | Morocco | Ranks |
|---|---|---|---|
| Population | |||
| Population | 49.4m2025 | 38.4m2025 | 32 · 41 |
| Area | 505,981 km²2024 | 446,550 km²2024 | 53 · 58 |
| Density | 97.82024 | 85.32024 | 107 · 117 |
| Urban share | 80.5%2025 | 63.1%2025 | 55 · 115 |
| Fertility | 1.102024 | 2.212024 | 207 · 92 |
| Aged 65+ | 21.6%2025 | 8.5%2025 | 22 · 114 |
| Economy | |||
| GDP | $1.9tn2025 | $182bn2025 | 12 · 58 |
| GDP per capita | $38,6272025 | $4,6722025 | 43 · 143 |
| GDP per capita, PPP | $59,8682025 | $11,1122025 | 38 · 137 |
| GDP growth | 2.8%2025 | 4.6%2025 | 122 · 60 |
| Agriculture share | 2.7%2025 | 10.5%2025 | 133 · 67 |
| Industry share | 19.6%2025 | 25.2%2025 | 129 · 82 |
| Services share | 68.4%2025 | 52.3%2025 | 40 · 135 |
| Prices & public finance | |||
| Inflation | 2.7%2025 | 0.7%2025 | 98 · 153 |
| Tax revenue | 14.9%2024 | 22.7%2024 | 86 · 31 |
| Military spending | 2.13%2025 | 3.54%2025 | 55 · 18 |
| Trade & investment | |||
| Exports | 36.6%2025 | 42.0%2025 | 92 · 74 |
| FDI inflows | 1.5%2025 | 1.8%2025 | 121 · 110 |
| Labour | |||
| Unemployment | 10.4%2025 | 9.0%2025 | 37 · 45 |
| Aid, poverty & equality | |||
| Women in parliament | 44.3%2025 | 24.3%2025 | 18 · 103 |
| Education | |||
| Tertiary enrolment | 93.8%2024 | 48.2%2024 | 15 · 86 |
| Education spending | 4.6%2022 | 6.0%2023 | 74 · 27 |
| Health | |||
| Life expectancy | 83.9 yrs2024 | 75.5 yrs2024 | 12 · 103 |
| Infant mortality | 2.62024 | 14.72024 | 177 · 87 |
| Health spending | 9.2%2023 | 6.1%2023 | 42 · 103 |
| Physicians | 4.292022 | 0.742021 | 24 · 118 |
| Digital & energy access | |||
| Internet users | 95.8%2024 | 91.2%2024 | 22 · 50 |
| Fixed broadband | 39.22024 | 7.32024 | 27 · 130 |
| Electricity access | 100.0%2024 | 100.0%2024 | 101 · 71 |
| Environment | |||
| CO₂ per person | 4.51 t2024 | 1.84 t2024 | 60 · 118 |
| Renewable energy | 19.0%2021 | 10.9%2021 | 110 · 142 |
| Forest cover | 38.2%2024 | 12.8%2024 | 86 · 151 |
Higher value in each row is highlighted; it is not always the better one (think inflation or emissions). Ranks are world positions.
GDP per capita
SpainMorocco
Life expectancy
SpainMorocco
Population
SpainMorocco
Internet users
SpainMorocco
Source: World Bank, World Development Indicators (CC BY 4.0)
more head-to-heads