Spain Population Pyramid (2026)

By Marko Visic · Updated

Spain has a population of 47,850,792 in 2026, according to the UN World Population Prospects 2024 (projection for 1 July). That is the 34th-largest population in the world and 0.58% of the global total of 8.30 billion. Children under 15 make up 12.3% of the population and people aged 65 and over 22.2%, with 96.4 males for every 100 females.

Total Population
47,850,792
Median Age
46.3 years
Pyramid Type
constrictive
DTM Stage
Stage 5
Spain population pyramid, a UN projection for 1 July 2026: 47,850,792 people, median age 46.3, 12.3% under 15 and 22.2% aged 65 or older.
A UN projection for 1 July 2026 from World Population Prospects 2024; UN estimates end in 2023. Download SVG. Free to reuse with credit to populationpyramids.org.
Show the numbers
Age groupMaleFemale
100+3,54214,117
95-9937,860108,551
90-94171,118363,201
85-89351,132584,325
80-84645,757897,550
75-79907,9061,134,122
70-741,114,0251,283,294
65-691,421,8121,566,666
60-641,703,9471,784,266
55-591,853,2861,869,671
50-542,001,8301,955,260
45-491,962,2231,919,102
40-441,612,0361,600,370
35-391,424,1571,410,658
30-341,309,7701,277,243
25-291,266,8061,208,430
20-241,336,6801,271,940
15-191,326,3751,252,407
10-141,174,7041,108,686
5-9984,127933,968
0-4873,232824,640
Total23,482,32524,368,467
Female surplus 886,142 (1.9% of the population).

Spain Demographics

Spain has 47.9 million people in 2026, up 41.5% from 33.8 million in 1970.

Deaths outnumber births by 133,070 (UN projection for 2026).

Median age 46.3 — the 7th-highest of 194 countries.

Under-15 share 12.3% — the 7th-lowest of 194 countries.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Largest generation: Gen X, 25.7% (12,298,071)

All generations in Spain

Population pyramid, 1950 to 2026

Watch how Spain's population structure evolved from 1950 to 2026

1950
Population: 28,077,049
Median Age: 26.5 years
195019502026
Animation speed: 0.5 seconds per year • Drag slider or click years to explore manually

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Page Navigation(Quick jump to sections)

Sex Ratio & Gender Distribution

Spain has 96.4 males per 100 females (sex ratio)

Women outnumber men by 886,142 (1.9% of the population).

Male Statistics

  • Population:23,482,325
  • Percentage:49.1%

Female Statistics

  • Population:24,368,467
  • Percentage:50.9%

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Birth Statistics & Natality Data

UN World Population Prospects 2024, 2026 (medium-variant projection).

6.8
births per 1,000 people
1.24
children per woman (TFR)
327,412
births in 2026

How many births, and how often (2026)

In Spain there is about one birth every 1.6 minutes.

Monthly27,284
Weekly6,279
Per day897
Per hour37
Per minute0.6

Birth-rate and fertility trend, 1950 to 2026

Crude birth rate · total fertility rate (dashed)
19501970199020102026CBR /1,000TFR

Birth statistics, 2021 to 2026

YearBirthsTFR
(children/woman)
2021340,3101.19
2022339,6751.21
2023336,8211.21
2024333,1551.22
2025330,0441.23
2026327,4121.24

Since 1950

Highest birth rate22.0 per 1,000 (1958)
Decline from peak rate−69.1%
Most births691,964 (1964)

Global context (2026)

World daily births363,023
Share of global births0.2%
World average birth rate16.0 per 1,000
Relative to world average0.4×

Source: UN World Population Prospects 2024. Births, birth rate and fertility for 2024 and later are medium-variant projections; 1950–2023 are estimates.

Median Age Analysis

Spain's median age is 46.3 years

Half the population is younger than 46.3 years and half is older, which makes Spain an aging society.

Current Median Age
46.3
years (2026)
World Average
31.1
15.2 years older
Generation at the median age
Gen X

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Complete Age Distribution & Youth Demographics

Youth (0-14)
12.3%
5,899,357
Under 25
23.2%
11,086,759
Working Age
65.5%
31,346,457
Elderly (65+)
22.2%
10,604,978
Age GroupPopulation%Category
0-41,697,8723.5%Youth
5-91,918,0954.0%Youth
10-142,283,3904.8%Youth
15-192,578,7825.4%Young Adult
20-242,608,6205.5%Young Adult
25-292,475,2365.2%Working Age
30-342,587,0135.4%Working Age
35-392,834,8155.9%Working Age
40-443,212,4066.7%Working Age
45-493,881,3258.1%Working Age
50-543,957,0908.3%Working Age
55-593,722,9577.8%Working Age
60-643,488,2137.3%Working Age
65-692,988,4786.2%Senior
70-742,397,3195.0%Senior
75-792,042,0284.3%Senior
80-841,543,3073.2%Senior
85-89935,4572.0%Senior
90-94534,3191.1%Senior
95-99146,4110.3%Senior
100+17,6590.0%Senior

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Demographic Transition Model (DTM) Stage

Stage 5 (natural decrease): deaths outnumber births — 6.8 births and 9.6 deaths per 1,000 people in 2026. Read more about Stage 5 of the Demographic Transition Model.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Fertility Rate & Birth Statistics

Spain Total Fertility Rate: 1.24 children per woman

Below the replacement level of 2.1

Total Fertility Rate
1.24
children per woman
Crude Birth Rate
6.8
per 1,000 people
Replacement Level
2.1
children per woman
Global Rank
179
of 194 (1 = highest)

Fertility Rate Trends

Historical data (solid line) and future projections (dashed line)

Highest TFR since 1950
3.00
1964
Current TFR
1.24
2026
Projected 2050
1.36
UN projection

Historical Fertility Trends

YearTotal Fertility RateBirth RateChange
20211.197.1
20221.217.1↑0.02
20231.217.00.00
20241.227.0↑0.01
20251.236.9↑0.01
20261.246.8↑0.01

Global Context

  • World Average: 2.23 children per woman
  • Comparison: Below global average
  • UN projection for 2030: 1.26

Spain's total fertility rate is 1.24 children per woman in 2026, below the replacement level of 2.1. Spain ranks 179 of 194 for fertility rate (1 = highest), in the lowest third of countries. Since 1950 the fertility rate has changed by −49.8%.

Historical Demographic Changes

Between 1950 and 2026, Spain's population grew by 70.4%.

The median age rose from 26.5 in 1950 to 46.3 in 2026.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Understanding Spain's Demographics

Spain has a constrictive population pyramid: a base narrower than the middle, so younger cohorts are smaller than the ones above them.

Children under 15 make up 12.3% of the population and people aged 65 and over 22.2%.

The largest five-year age band is 50–54, at 8.3% of the population, compared with 3.5% in the 0–4 band.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Demographic Analysis: Spain's Population Structure

Demographic Dividend Window

Spain's working-age share peaked in 2007 at 69.0% and is 65.5% in 2026.

Fertility Transition Stage

Spain's total fertility rate is 1.24 children per woman (2026, UN WPP 2024), which is very low (lowest-low) fertility.

Population Aging Speed

Spain's median age changed by +4.3 years from 2016 to 2026, faster than the world average (+2.6 years).

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Key Demographics

Total Population47,850,792
Male Population23,482,325(49.1%)
Female Population24,368,467(50.9%)
Median Age46.3 years
Sex Ratio96.4 males per 100 females
Youth (0-14)5,899,357(12.3%)
Working Age (15-64)31,346,457(65.5%)
Elderly (65+)10,604,978(22.2%)
Total Dependency Ratio52.7
Youth Dependency Ratio18.8
Old Age Dependency Ratio33.8
Pyramid TypeConstrictive

Dependency Ratios: Number of dependents per 100 working-age individuals.

Demographic Data Visualizations

Total population, 1950–2026 (UN WPP 2024; 2024 onward are projections).

Median age, 1950–2026 (UN WPP 2024; 2024 onward are projections).

Youth, working-age and elderly shares, 1950 vs 2026 (UN WPP 2024).

Age distribution in 2026: youth, working-age and elderly shares (UN WPP 2024; projection).

Life Expectancy in Spain

How long the average person in Spain is expected to live · sourced from UN WPP 2024

Source: UN WPP 2024 medium-variant projection (2026)
Life expectancy 2026 (UN projection)
84.1
years · world rank #10 of 194
vs world avg
+10.3
world: 73.8 yrs
Men
81.4
world avg: 71.2 yrs
Women
86.7
world avg: 76.4 yrs
Gender gap: +5.3 years
Women live 5.3 yrs longer than men
Men 81.4 yrs · Women 86.7 yrs
Since 1950: +22.3 years
From 61.8 years (1950) to 84.1 years (2026, UN projection)

Life expectancy, 1950 to 2100: UN estimates to 2023, projection from 2024

Solid: actual · Dashed: medium-variant projection
60708090195020002050210061.8 (1950)92.9 (2100, proj.)
1950 baseline
61.8 yrs
2026 today
84.1 yrs
+ gained 1950–2026
+22.3 yrs
2050 (UN proj.)
87.1 yrs
Looking ahead
The UN's medium-variant projection reaches 87.1 years by 2050 (+3.0 yrs), and 92.9 by 2100.
Source: UN World Population Prospects 2024. Life expectancy at birth, mid-year estimates. Medium-variant projections to 2100.
See the full world ranking

Future Demographic Trends

Spain is projected to shrink to 44.9 million people by 2050 (−6.1% from 2026).

The median age rises from 46.3 in 2026 to 51.8 by 2050.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Spain's Demographic Evolution by Decade

In the 2020s, 2024 to 2026 are UN projections.

33.8M
Start Population
37.5M
End Population
29.1
Start Median Age
29.8
End Median Age

The population grew 11.0%, from 33.8 million in 1970 to 37.5 million by 1980

Median age increased by 0.7 years

The youth population share contracted by 1.9 percentage points

Meanwhile, the elderly population proportion grew by 1.5 percentage points.

Key Demographic Highlights

  • Population changed from 33.8M to 37.5M
  • Growth rate of 11% over the decade
  • Median age shifted from 29.1 to 29.8 years (+0.7y)
  • 65+ share changed by +1.5 points; under-15 share by −1.9 points

How Does Spain Compare to Its Neighbors?

Spain has a younger population than Portugal and Italy. Spain has an older population than France and Morocco.

CountryPopulationMedian Age
Spain (Current)47,850,79246.3
France66,746,40142.5
Portugal10,395,36347.2
Italy58,926,16748.6
Morocco38,762,44130.1

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Frequently Asked Questions About Spain

How does Spain rank globally by population?

Spain ranks 34th in the world by population with 47.9 million people as of 2026, representing 0.58% of the global total of 8.30 billion.

comparison

What does Spain's age structure reveal about its development?

With 12.3% under 15, 65.5% working-age (15–64) and 22.2% aged 65+, Spain's age structure is that of a country in Stage 5 of the demographic transition, with a constrictive population pyramid. The median age is 46.3 years.

age

What is the dependency ratio in Spain?

Spain has 52.7 people under 15 or aged 65+ per 100 people aged 15–64 in 2026.

economic

Is Spain experiencing a demographic dividend?

Spain has moved past its demographic-dividend window. Spain's working-age share peaked in 2007 at 69.0% and is 65.5% in 2026. A demographic dividend occurs when falling fertility creates a bulge in the working-age population while dependency ratios stay manageable.

economic

What are the gender dynamics in Spain's population?

Spain has more females than males, with 96.4 males per 100 females.

social

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Compare with Other Countries

About this data: UN World Population Prospects 2024, released 11 July 2024. Figures for 2024 and later are medium-variant projections for 1 July. The UN has postponed its next revision from 2026 to 2027 (UN document E/CN.9/2026/CRP.1); these pages will be updated when it is published.

Data Sources & Methodology

All population data is sourced from the United Nations Department of Economic and Social Affairs, Population Division. Figures up to 2023 are UN estimates; 2024 and later are medium-variant projections.

Cite this page: Population Pyramids. (2026). Spain Population Pyramid and Demographic Analysis. Retrieved from https://www.populationpyramids.org/spain

View UN World Population Prospects data