Spain Population Pyramid (2026)

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
Male: 23,482,325
Female: 24,368,467
Total: 47,850,792
Female surplus: 886,142 (1.9%) • Dark red shows female-dominant age groups

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.

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
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%
  • Ratio Format:1:1.038

Sex Ratio Analysis

Male to Female Ratio
0.964:1
Gender Balance
Women +886,142 (1.9%)

The sex ratio of Spain indicates more females than males.

Birth Statistics & Natality Data

Estimated births today

---
Estimated births so far today (since midnight) — not a live count
Next birth:--
Frequency:every 96s
Daily average (2026):897

Simulated from the UN WPP 2024 projection of 327,412 births in 2026.

Current Birth Metrics (2026)

6.8
per 1,000 population
1.24
children per woman
Annual births:327,412
Monthly average:27,284
Weekly average:6,279

Temporal Distribution

Averages from the UN annual births, 2026 projection

Per Minute:0.6
Per Hour:37
Per Day:897
Per Year:327,412

Historical Birth Rate Trends, 1950 to 2026

Crude Birth Rate (Blue Line)
Live births per 1,000 people per year. Measures actual birth frequency in the population.
Total Fertility Rate (Red Line)
Average number of children a woman would have in her lifetime (2.1 = replacement level).

Birth Statistics, 2021 to 2026

YearBirthsBirth Rate
(per 1,000)
TFR
(children/woman)
Type
2021340,3107.11.19estimate
2022339,6757.11.21estimate
2023336,8217.01.21estimate
2024333,1557.01.22projection
2025330,0446.91.23projection
2026327,4126.81.24projection

Historical Analysis

Highest birth rate since 1950:22.0 per 1,000 (1958)
Decline from peak rate:−69.1%
Most births since 1950:691,964 (1964)
Births in 2026:327,412

Global Context (2026)

World daily births:363,023
Spain daily births:897
Share of global births:0.2%
World avg birth rate:16.0 per 1,000
Spain birth rate:6.8 per 1,000
Relative to world avg:0.4×

Source: UN WPP 2024: births, birth rate and fertility for 2024 and later are medium-variant projections; 1950–2023 are estimates. The live counter is a uniform simulation of the 2026 projection (327,412 births), not a real-time feed.

Median Age Analysis

Spain's median age is 46.3 years

Half the population is younger than 46.3 years, half is older — indicating 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

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

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.

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 (very low (lowest-low) fertility), below the replacement level of 2.1. Spain ranks 179 of 194 for fertility rate (1 = highest), in the lowest third of countries. The fertility rate has changed by −49.8% since 1950.

Historical Demographic Changes

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

The median age has increased from 26.5 in 1950 to 46.3 in 2026, indicating population aging.

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.

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 is in a period of very low (lowest-low) fertility, with a total fertility rate of 1.24 children per woman (2026, UN WPP 2024).

Population Aging Speed

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

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 yrs (1950) → 84.1 yrs (2026)

Historical Trend, 1950 → 2026 (plus UN projection to 2100)

Solid: actual · Dashed: medium-variant projection
6065707580859095195019701990201020242050210061.8 (1950)83.7 (2023)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
UN's central scenario projects 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 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.

Spain's Demographic Evolution by Decade

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

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

The median age increased by 0.7 years, indicating population aging during this period

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, Italy. Spain has an older population than France, Morocco.

CountryPopulationMedian AgeYouth %Elderly %Pyramid Type
Spain (Current)47,850,79246.312.3%22.2%constrictive
France66,746,40142.516.0%22.9%constrictive
Portugal10,395,36347.212.6%25.4%constrictive
Italy58,926,16748.611.4%25.6%constrictive
Morocco38,762,44130.124.8%8.8%stationary

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?

Spain's age structure — 12.3% under 15, 65.5% working-age (15–64) and 22.2% aged 65+ — 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. The 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

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. The data represents UN 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 →