Morocco and Spain compared
Neighbours across Africa and Europe: people, land, economy and capitals side by side
The world-countries data lists a land border between Morocco and Spain; the 1:50m outlines drawn on this map do not show one.
Morocco, in Africa, and Spain, in Europe, share a land border; their capitals, Rabat and Madrid, are 762 km apart in a straight line. Spain is the larger of the two on both counts, with 13% more area (505,992 km² against 446,550 km², world-countries) and 28% more people (49.4 million against 38.4 million in 2025, World Bank).
GDP per capita in Spain is 8.3 times that of Morocco: US$38,627 against US$4,672 in 2025 (World Bank, current US$). Life expectancy at birth is 8.4 years longer in Spain: 83.9 years against 75.5 years in 2024 (World Bank). They have no other neighbour in common: Morocco also borders one other country and Spain four.
Side by side larger figure in bold
| Measure | Morocco | Spain | Difference |
|---|---|---|---|
| PopulationWorld Bank | 38,430,770 2025 | 49,355,143 2025 | Spain28% more people |
| Areaworld-countries | 446,550 km² | 505,992 km² | Spain13% larger |
| Population densitypopulation ÷ area | 86.1 per km² 2025 | 97.5 per km² 2025 | Spain13% denser |
| GDPWorld Bank, current US$ | US$182.4 billion 2025 | US$1.91 trillion 2025 | Spain10 times as large |
| GDP per capitaWorld Bank, current US$ | US$4,672 2025 | US$38,627 2025 | Spain8.3 times as high |
| Life expectancyWorld Bank | 75.5 years 2024 | 83.9 years 2024 | Spain8.4 years longer |
| Land neighboursworld-countries | 2 | 5 | Spain3 more |
| Capitalworld-countries | Rabat | Madrid | 762 kmapart, in a straight line |
| Languagesworld-countries | Arabic, Berber | Spanish | none in common |
| Currencyworld-countries | Moroccan dirham (MAD) | Euro (EUR) | none in common |