Skip to content
Flag of Spain Spain

Spain vs Morocco

Morocco Flag of Morocco

Updated

Overview

Spain has 28% more people than Morocco: 49.36 million against 38.43 million (2025).

Spain's economy is 10 times the size of Morocco's, at $1.91T versus $182.37B.

Per person, Spain is the wealthier of the two: $38,627 against $4,672 in GDP per capita.

Population

Spain 49.36 million
Morocco 38.43 million

GDP (nominal)

Spain $1.91T
Morocco $182.37B

GDP per capita

Spain $38,627
Morocco $4,672

The full table

Indicator-by-indicator comparison of Spain and Morocco
Indicator Spain Morocco Years Factbook, Jan 2026
Economy
GDP (nominal) Higher: $1.91T $182.37B 2025 $1.72T / $154.43B
GDP per capita Higher: $38,627 $4,672 2025 — / —
GDP growth 2.8% Higher: 4.6% 2025 — / —
Inflation 2.7% Lower: 0.7% 2025 2.8% / 1.0%
Unemployment 10.4% Lower: 9.0% 2025 — / —
Price level (US=100) 65 42 2025 — / —
Avg monthly earnings $3,574 2025 — / —
Minimum wage Higher: $1,561 $314 2025 / 2024 — / —
People
Population 49.36 million 38.43 million 2025 47.28 million / 37.39 million
Population growth 1.0% 0.9% 2025 — / —
Median age 45.9 yrs 29.8 yrs 2025 — / —
Fertility rate 1.23 2.18 2025 — / —
Life expectancy Higher: 83.9 yrs 75.5 yrs 2024 — / —
Urban population 81% 63% 2025 — / —
Internet users Higher: 96% 91% 2024 — / —
Geography
Area 505,992 km² 446,550 km² — / —
Population density 97.5/km² 86.1/km² 2025 — / —
Environment
CO2 emissions 220 Mt Lower: 69 Mt 2024 — / —
CO2 per capita 4.6 t Lower: 1.8 t 2024 — / —
Military
Military spending $24.62B $5.52B 2024 — / —
Military spending (% GDP) 1.4% 3.5% 2024 — / —
Armed forces personnel 199,000 246,000 2020 — / —

Sources by row: World Bank WDI, IMF WEO, UN WPP 2024, ILOSTAT, The Economist. Emphasis marks the stronger figure where one direction is meaningfully better.

Reading the numbers

Economy

Morocco is growing faster: 4.6% annual GDP growth versus 2.8%.

Inflation is comparable in both: 2.7% in Spain and 0.7% in Morocco.

Day-to-day prices are noticeably lower in Morocco: a price level of 42 versus 65 on a US=100 scale.

People and society

Morocco is the far younger society: median age 29.8 versus 45.9 years.

Life expectancy is 8.4 years longer in Spain (83.9 vs 75.5).

Spain is considerably more urbanized: 81% of people live in cities, against 63%.

Geography

By land area, Spain is 13% larger than Morocco: 505,992 km² versus 446,550 km².

The two share a land border, which shapes their trade, migration, and security relationship.

Military

Spain spends 4.5 times as much on defence as Morocco: $24.62B versus $5.52B (World Bank/SIPRI data).

Relative to its economy, Morocco carries the heavier military burden: 3.5% of GDP versus 1.4%.

Morocco fields the larger armed forces: 246,000 personnel against 199,000 (note: personnel data lags; observation years shown in the table).

Frequently asked

Is Spain bigger than Morocco?
Spain is larger by land area. Spain covers 505,992 km² while Morocco covers 446,550 km², so Spain is 13% larger than the other.
Which has more people, Spain or Morocco?
Spain has the larger population: 49.36 million versus 38.43 million (World Bank, 2025).
Is Spain richer than Morocco?
Measured by GDP per capita, Spain is richer: $38,627 against $4,672. Total GDP tells the same story: $1.91T for Spain versus $182.37B for Morocco.
Who spends more on their military, Spain or Morocco?
Spain spends more: $24.62B versus $5.52B per year (World Bank, SIPRI-derived data; observation years vary).

Related comparisons

Full profiles

Every comparison for Spain · Morocco