Skip to content
PopulationCount
FranceMoroccoPortugalItalyTunisiaMadridSpain
EuropeSouthern Europe#34 in the world

Population of Spain (2026)

Summary

Spain's population is 47.9 million in 2026, according to UN World Population Prospects 2024. It has been declining since 2023 and is projected to reach 44.9 million by 2050.

Updated:

Cite this pageEmbedDownload CSV

Capital
Madrid
Area
504,782 km²
Share of world
0.58%
Population 2026
47.9 million
47,850,793
World rank
34th
0.58% of world
Annual change
-0.10%
Density
95/km²
Median age
46.3 yrs
Fertility rate
1.24
births per woman
Life expectancy
84.1 yrs
Urban population
80.5%
Live estimate

Estimated population of Spain right now

47,850,793

Births today
–
Deaths today
–
Growth today
–

Estimate from UN WPP 2024 projections (1 July 2026: 47,850,793). Not a real-time count.

Births, deaths and migration (2026)

Per yearPer dayPer hourPer minute
Births327,412897370.6
Deaths460,4821,262530.9
Natural change−133,070−365−15−0.3
Net migration+85,305+234+9.7+0.2

UN WPP 2024 estimates for 2026, spread evenly over the year.

Population of Spain, 1950–2100

  • UN medium scenario
  • Range: UN low to high scenario
Population of Spain, 1950–2100010M20M30M40M50M1950197520002025205020752100High scenarioLow scenarioPopulation of Spain, 1950–2100010M20M30M40M50M1950200020502100High scenarioLow scenario
Embed
Show data table
YearPopulation
195028,077,049
196030,404,939
197033,812,723
198037,537,564
199039,084,979
200041,019,774
201046,840,472
202047,679,489
202647,850,793
203047,610,520
204046,591,674
205044,928,558
206042,210,838
207039,035,769
208036,524,535
209034,774,237
210033,127,478
Hover or tap the chart for exact values. The UN publishes three projections: the medium one is the central estimate; the high and low ones assume about half a child more or fewer per woman. The further ahead, the wider the range. Dashed line: current year.

Population by decade

  • Estimate
  • UN medium projection
Population of Spain by decade, 1950–21001950: 28M28M19501960: 30M1970: 34M34M19701980: 38M1990: 39M39M19902000: 41M2010: 47M47M20102020: 48M2030: 48M (projection)48M20302040: 47M (projection)2050: 45M (projection)45M20502060: 42M (projection)2070: 39M (projection)39M20702080: 37M (projection)2090: 35M (projection)35M20902100: 33M (projection)33M2100Population of Spain by decade, 1950–21001950: 28M19501960: 30M1970: 34M1980: 38M19801990: 39M2000: 41M2010: 47M20102020: 48M2030: 48M (projection)2040: 47M (projection)20402050: 45M (projection)2060: 42M (projection)2070: 39M (projection)20702080: 37M (projection)2090: 35M (projection)2100: 33M (projection)2100
Population on 1 July of each decade year. Hover a bar for the exact value.

Age structure

  • Male
  • Female
Population pyramid of Spain, 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemalePopulation pyramid of Spain, 20260-45-910-1415-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990-9495-99100+MaleFemale
Population by 5-year age group and sex, thousands. Median age in 2026: 46.3 years. All years use the same scale. * UN medium projection.

Key changes

  • The population has grown 1.7× since 1950 (from 28.1 million).
  • By 2050 it is projected to change by -6.1%, and by -30.8% by 2100.
  • The population peaked in 2023 at 47.9 million.
  • The fertility rate (1.24 births per woman) is below the replacement level of about 2.1.

Fertility rate

  • Spain
  • World
Fertility rate: Spain vs world, 1950–21001234561950197520002025205020752100Fertility rate: Spain vs world, 1950–21001234561950200020502100
Fertility rate, births per woman. Spain 2026: 1.24; world: 2.23. 2.1 is roughly the level that keeps a population stable without migration.

Median age

  • Spain
  • World
Median age: Spain vs world, 1950–210020304050601950197520002025205020752100Median age: Spain vs world, 1950–210020304050601950200020502100
Median age, years. Spain 2026: 46.3; world: 31.1. Half of the population is older, half younger.

Life expectancy at birth

  • Spain
  • World
Life expectancy at birth: Spain vs world, 1950–21004050607080901001950197520002025205020752100Life expectancy at birth: Spain vs world, 1950–21004050607080901001950200020502100
Life expectancy at birth, years. Spain 2026: 84.1; world: 73.8. Average years a newborn would live at current death rates.

Infant mortality

  • Spain
  • World
Infant mortality: Spain vs world, 1950–21000501001501950197520002025205020752100Infant mortality: Spain vs world, 1950–21000501001501950200020502100
Infant mortality, deaths before age 1 per 1,000 live births. Spain 2026: 2.1; world: 25.9. One of the clearest measures of health care and living conditions.

Births and deaths

  • Births
  • Deaths
Births and deaths in Spain, 1950–21000200K400K600K800K1950197520002025205020752100Births and deaths in Spain, 1950–21000200K400K600K800K1950200020502100
In 2026, deaths outnumber births by 133,070. People per year; after 2026: UN medium projection.

Net migration

  • Arrivals minus departures
Net migration, Spain, 1950–2100-500K-250K0250K500K750K1M1950197520002025205020752100Net migration, Spain, 1950–2100-500K-250K0250K500K750K1M1950200020502100
People per year. Above zero: more people arrive than leave. 2026: +85,305.

Children and older people

  • Under 15
  • 65 and over
Age groups in Spain, 1950–2100 (% of population)0102030401950197520002025205020752100Age groups in Spain, 1950–2100 (% of population)0102030401950200020502100
Share of the population, %. 2026: 12.3% under 15, 22.2% aged 65+. People aged 65+ have outnumbered children since 1998.

Spain and neighbouring countries

Population 2026

  1. France67M
  2. Spain48M
  3. Morocco39M
  4. Portugal10M
  5. Andorra84K
  6. Gibraltar41K

More indicators

UN World Population Prospects 2024, estimates for 2026.

IndicatorSpainWorld
Births, deaths and migration
Birth rateper 1,000 people6.816.0
Death rateper 1,000 people9.67.7
Net migration rateper 1,000 people+1.80.0
Health
Infant mortalityper 1,000 live births2.125.9
Under-5 mortalityper 1,000 live births2.734.9
Life expectancy, womenyears86.776.4
Life expectancy, menyears81.471.2
Age and sex
Children under 15% of population12.3%24.1%
Working age, 15–64% of population65.5%65.3%
People aged 65+% of population22.2%10.6%
Dependency ratiodependants per 100 aged 15–6452.753.1
Sex ratiomen per 100 women96.4101.0

Largest cities in Spain

Compare Spain with other countries

All comparisons with Spain (26)
Compare Spain with any country

Population history and projections

Download CSVJSON

YearPopulationMedian ageFertility rateLife expectancy
195028,077,04926.52.4761.8
196030,404,93928.42.8169.2
197033,812,72329.12.8872.1
198037,537,56429.82.2175.5
199039,084,97932.51.3677.0
200041,019,77436.31.2179.4
201046,840,47239.21.3782.0
202047,679,48943.51.1982.2
202647,850,79346.31.2484.1
2030projectionproj.47,610,52048.01.2684.6
2040projectionproj.46,591,67451.01.3285.9
2050projectionproj.44,928,55851.81.3687.1
2060projectionproj.42,210,83852.01.3988.4
2070projectionproj.39,035,76952.71.4389.5
2080projectionproj.36,524,53551.61.4690.7
2090projectionproj.34,774,23751.41.4791.8
2100projectionproj.33,127,47852.21.4892.9

Embed on your site

Free to use with the link back included. Data: UN World Population Prospects 2024 (CC BY 3.0 IGO).

Population chart 1950–2100

Preview
<iframe src="https://populationcount.com/embed/country/spain/trend" title="Population chart 1950–2100: Spain" width="100%" height="460" style="border:1px solid #dfe6e2;border-radius:4px" loading="lazy"></iframe>

Live population estimate

Preview
<iframe src="https://populationcount.com/embed/country/spain/counter" title="Live population estimate: Spain" width="100%" height="280" style="border:1px solid #dfe6e2;border-radius:4px" loading="lazy"></iframe>

Frequently asked questions

What is the population of Spain in 2026?

Spain's population is 47.9 million in 2026, according to UN World Population Prospects 2024. It has been declining since 2023 and is projected to reach 44.9 million by 2050.

Is the population of Spain growing or shrinking?

Spain's population is shrinking, with an annual change of -0.10% in 2026.

What will the population of Spain be in 2050?

Under the UN medium scenario, Spain is projected to have 44.9 million people in 2050 and 33.1 million in 2100.

What share of the world population lives in Spain?

Spain accounts for 0.58% of the world population of 8.30 billion, ranking 34 of 237 countries and territories.

What is the median age in Spain?

The median age in Spain is 46.3 years, and life expectancy at birth is 84.1 years.

What is the capital of Spain?

The capital of Spain is Madrid.

Sources and how to cite

Data: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024. Medium scenario, mid-year (1 July) estimates and projections. Licence CC BY 3.0 IGO. See the methodology and editorial policy.

Spotted an error? Report it.

APA

PopulationCount. (2026). Population of Spain (2026). Retrieved 2026-11-27, from https://populationcount.com/country/spain

MLA

"Population of Spain (2026)." PopulationCount, 2026, populationcount.com/country/spain. Accessed 27 Nov. 2026.

Chicago

PopulationCount. "Population of Spain (2026)." 2026. Accessed November 27, 2026. https://populationcount.com/country/spain.

Harvard

PopulationCount (2026) Population of Spain (2026). Available at: https://populationcount.com/country/spain (Accessed: 2026-11-27).

BibTeX

@misc{populationcount2026countryspain,
  author = {{PopulationCount}},
  title = {Population of Spain (2026)},
  year = {2026},
  url = {https://populationcount.com/country/spain},
  note = {Data: United Nations, World Population Prospects 2024. Accessed 2026-11-27}
}