Skip to content
WorldPop

Spain

Rank #32 by populationEurope

Officially Kingdom of Spain

Population 2025
49,355,143
0.59% of world population
World Bank, 2025
Annual Growth
+1.03%
+508,852 people a year
World Bank, 2025
Density
97/km²
499,697 km² land area
World Bank, 2023
Median Age
45.9 years
Life expectancy 83.9 years
Our World in Data, 2025

About Spain

Spain, officially the Kingdom of Spain, occupies most of the Iberian Peninsula in southwestern Europe. It is the fourth-largest country in Europe by area and the sixth-most populous in the EU. Spain has the world's 14th-largest economy by nominal GDP. With a rich history spanning Moorish, Habsburg, and modern democratic eras, Spain blends diverse regional cultures—Castilian, Catalan, Basque, Galician—into a vibrant national identity known for art, architecture, cuisine, and passion.

Country Facts

Capital
Madrid
Continent
Europe
ISO codes
ES · ESP
Demonym
Spanish
Currency
Euro (EUR €)
Government
Parliamentary monarchy
State inception
1516
Time zone
UTC±00:00
Driving side
Right
Calling code
+34
Internet TLD
.es
Land neighbours
5

Languages

  • Spanish

Religions

  • Roman Catholic (58%)
  • None (37%)
  • Islam (2%)
  • Other Christian (2%)
  • Other (1%)

Demographics

Urban Population63rd of 240
80.5%
World Bank, 2025
Fertility Rate227th of 240
1.10 births per woman
World Bank, 2024
Birth Rate205th of 213
6.5 per 1,000
World Bank, 2024
Death Rate62nd of 213
8.9 per 1,000
World Bank, 2024

Spain's population is aging with a median age of 44.9 years and one of Europe's lowest fertility rates (1.19 children per woman). Immigration, particularly from Latin America, Morocco, and Romania, has diversified the population. Spain has strong regional identities—Catalonia, Basque Country, Galicia—with distinct languages and cultures. About 81% of the population is urban, concentrated in Madrid, Barcelona, and coastal areas.

Economy

GDP per Capita50th of 240
$38,627
World Bank, 2025
GDP Growth120th of 210
+2.8%
World Bank, 2025
Unemployment Rate37th of 186
10.4%
World Bank, 2025
Inflation Rate101st of 191
2.7%
World Bank, 2025
Poverty Rate90th of 164
20.2%
World Bank, 2022
Gini Index107th of 170
33.4
World Bank, 2023

Spain has a diversified economy led by services, particularly tourism—it ranks 2nd globally in tourist arrivals. Other key sectors include automotive manufacturing, renewable energy, agriculture (olive oil, wine), and construction. Spain leads globally in high-speed rail infrastructure. The 2008 housing crisis caused severe recession, but recovery has been steady. Youth unemployment remains a challenge at around 30%.

Major exports

  • Automobiles
  • Refined petroleum
  • Machinery
  • Pharmaceuticals
  • Fruits and vegetables
  • Olive oil
  • Wine

Major imports

  • Crude petroleum
  • Automobiles
  • Pharmaceuticals
  • Natural gas
  • Electronics
  • Chemicals

Health

Infant Mortality175th of 194
2.6 per 1,000 live births
World Bank, 2024
Health Spending42nd of 192
9.2% of GDP
World Bank, 2023
Physicians24th of 206
4.29 per 1,000
World Bank, 2022
Hospital Beds74th of 199
2.91 per 1,000
World Bank, 2023
Maternal Mortality181st of 193
3 per 100,000 live births
World Bank, 2023
Obesity Rate127th of 198
18.9%
Our World in Data, 2024

Education

Literacy Rate16th of 175
99.7%
World Bank, 2021
Education Spending78th of 202
4.6% of GDP
World Bank, 2022
School Enrollment19th of 207
118.5% gross, secondary
World Bank, 2024
Mean Years of Schooling40th of 148
11.5 years
Our World in Data, 2020

Environment

Renewable Energy110th of 211
19.0% of final consumption
World Bank, 2021
Forest Coverage81st of 211
37.2% of land area
World Bank, 2023
Protected Areas47th of 211
28.1% of land area
World Bank, 2025
CO₂ Emissions75th of 212
4.60 tonnes per capita
Our World in Data, 2024

Infrastructure

Internet Penetration25th of 211
95.8%
World Bank, 2024
Mobile Subscriptions58th of 212
130.3 per 100 people
World Bank, 2024

Quality of Life

Human Development Index28th of 192
0.918
Our World in Data, 2023
Happiness Index41st of 164
6.54/ 10
Our World in Data, 2025

Geography

Land Area51st of 240
499,697 km²
World Bank, 2023

Spain occupies 85% of the Iberian Peninsula, plus the Balearic and Canary Islands, and enclaves in Morocco (Ceuta, Melilla). The Meseta Central plateau dominates the interior, surrounded by mountain ranges (Pyrenees, Sierra Nevada, Cantabrian). Landscapes range from Mediterranean beaches to alpine peaks, semi-arid Almería, and Atlantic-influenced green Spain. Spain has over 8,000 km of coastline.

Natural resources

  • Coal
  • Lignite
  • Iron ore
  • Copper
  • Lead
  • Zinc
  • Uranium
  • Tungsten
  • Mercury
  • Pyrites
  • Magnesite
  • Fluorspar
  • Gypsum
  • Sepiolite
  • Potash

Climate

  • Mediterranean, oceanic in north, semi-arid in southeast

Military

Military Spending95th of 163
1.43% of GDP
World Bank, 2024

Age & Gender Distribution

Population by five-year age band, UN World Population Prospects 2024.

Male Female
100+95-9990-9485-8980-8475-7970-7465-6960-6455-5950-5445-4940-4435-3930-3425-2920-2415-1910-145-90-42.04M2.04MAge
Age 0–14
12.9%
Age 15–64
65.9%
Age 65+
21.1%
Source: UN World Population Prospects 2024, medium variant.
Spain population pyramid
Age bandMaleFemale
100+3,00312,447
95-9933,27299,138
90-94163,434352,307
85-89347,346595,230
80-84594,979833,259
75-79890,6571,118,390
70-741,065,9051,228,966
65-691,330,3001,462,264
60-641,619,0631,714,928
55-591,834,1531,865,181
50-541,950,9061,916,580
45-492,037,9951,979,245
40-441,760,1121,733,645
35-391,484,7491,477,466
30-341,369,3731,339,074
25-291,258,8161,210,005
20-241,276,3211,201,588
15-191,316,0661,243,489
10-141,225,0651,153,331
5-91,071,8381,012,481
0-4888,567839,595

Population History & Projection (1950–2100)

Observed population to 2024, then the UN medium-variant projection.

010M20M30M40M50M1950197520002025205020752100projected →
Spain's population was 28.1M in 1950 and is projected at 33.1M by 2100. Peak of 47.9M in 2023. Source: UN World Population Prospects 2024 (estimates to 2024, medium variant thereafter).
Spain population, 1950 to 2100
YearPopulation
195028,077,049
196030,404,939
197033,812,723
198037,537,565
199039,084,979
200041,019,774
201046,840,471
202047,679,489
203047,610,520
204046,591,674
205044,928,558
206042,210,838
207039,035,769
208036,524,535
209034,774,237
210033,127,478

History

Spain's history includes Celtic, Roman, and Visigothic settlement, 800 years of Moorish presence (711-1492), the Reconquista, and the golden age of global exploration and empire. The Spanish Empire was the first global power, spanning the Americas, Philippines, and Europe. Civil War (1936-1939) led to Franco's dictatorship until 1975. The transition to democracy and EU membership (1986) transformed modern Spain.

Culture

Spanish culture has contributed flamenco, bullfighting, tapas, La Tomatina, and Running of the Bulls to the world. Art giants include Velázquez, Goya, Dalí, and Picasso. Architects like Gaudí transformed Barcelona. Spanish cinema, literature (Cervantes), and football (La Liga) have global reach. The Spanish language is spoken by 550+ million people worldwide. Siesta tradition and late dining hours reflect the Mediterranean lifestyle.

Current Challenges

Spain faces challenges from high youth unemployment, regional independence movements (particularly Catalonia), an aging population, housing affordability, water scarcity, and seasonal tourist concentration. Pension sustainability and labor market reform remain ongoing issues. Climate change impacts include increased wildfire risk, drought, and heat waves threatening agriculture and tourism.

Future Outlook

Spain aims to lead in renewable energy, with significant wind and solar capacity. Population may decline to under 40 million by 2100 without increased immigration. Tourism recovery post-pandemic has been strong. Spain seeks to balance regional autonomy with national unity while addressing economic disparities and youth opportunity gaps.

Highlights

What Spain Is Known For

  • 49 UNESCO World Heritage Sites (4th most globally)
  • Second-most visited country in the world
  • Most high-speed rail in Europe
  • World's largest olive oil producer
  • Home to La Sagrada Familia, under construction since 1882

Interesting Facts About Spain

  • Spain has more bars per capita than any other EU country
  • La Tomatina festival uses over 150,000 tomatoes annually
  • Spanish is the world's fourth most spoken language
  • Spain's high-speed rail network is Europe's longest
  • The world's oldest restaurant, Sobrino de Botín (1725), is in Madrid
  • Spain produces 44% of the world's olive oil
  • The Spanish national anthem has no words

How Spain Compares

Population against the ten most populous countries.

  1. India1.46B
  2. China1.41B
  3. United States341.8M
  4. Indonesia285.7M
  5. Pakistan255.2M
  6. Nigeria237.5M
  7. Brazil212.8M
  8. Bangladesh175.7M
  9. Russia143.5M
  10. Ethiopia135.5M
  11. Spain49.4M
Sources as cited on each country page.
Spain compared with the ten largest countries by population
NamePopulation
India1.46B
China1.41B
United States341.8M
Indonesia285.7M
Pakistan255.2M
Nigeria237.5M
Brazil212.8M
Bangladesh175.7M
Russia143.5M
Ethiopia135.5M
Spain49.4M

Major Cities in Spain

2 metropolitan areas in our city dataset.

Countries Bordering Spain

5 land borders.

Spain Population FAQ

What is the population of Spain in 2026?

Spain has a population of 49,355,143 people (2025 estimate), which is 32nd in the world and about 0.59% of the global total.

Is the population of Spain growing or shrinking?

Spain's population is growing at +1.03% per year, a change of roughly 508,852 people annually.

What is the capital of Spain?

The capital of Spain is Madrid.

What is the largest city in Spain?

Madrid is the largest metropolitan area in Spain, with about 6.75M people.

How densely populated is Spain?

Spain has 97/km² across 499,697 km² of land area.

What is life expectancy in Spain?

Life expectancy at birth in Spain is 83.9 years (2024).

What is the median age in Spain?

The median age in Spain is 45.9 years, meaning half the population is younger than that and half older.

Which continent is Spain in?

Spain is in Europe.

Explore More Countries