Spain population pyramid 2050

44,928,558 people in 2050 (UN medium projection). This page shows Spain’s age and sex structure in 2050 and how it differs from 2026.

2050 population
44.9MUN medium projection
Median age
51.8 years2026: 46.3
Under age 15
11.5%2026: 12.3%
Age 65+
36.1%2026: 22.2%

Spain population pyramid

2050 · Share of total by five-year age group and sex

Medium projection

Download this population pyramid

Use the publication-ready SVG, create a high-resolution PNG, or download the complete age-by-sex dataset.

SVG CSV by age CSV by year

Projection

Values for 2050 come from the UN World Population Prospects 2024 medium scenario. They depend on assumptions about fertility, mortality, and migration and are not forecasts guaranteed to occur.

How Spain’s population changes by 2050

Immigration slows a decline it cannot stop

Under the UN medium scenario Spain’s population falls from about 47.9 million in 2026 to about 44.9 million in 2050, a drop of 2.9 million, or 6%. The median age rises from 46.3 to 51.8 years. The population already peaked at about 47.9 million in 2023. Like all figures here, these are projections that depend on assumptions, not forecasts, and for Spain the migration assumption matters more than any other.

Deaths already exceed births, and the gap widens. In 2026 there are about 460,000 deaths and 327,000 births; by 2050 deaths reach about 598,000 while births stay near 318,000. Over 2026–2050 deaths outnumber births by about 4.7 million. Fertility is assumed to edge up only from 1.24 to 1.36 children per woman, far below the replacement level of 2.1. The UN assumes net immigration of about 56,000–85,000 people a year, about 1.6 million over the period, which offsets roughly a third of the natural decrease. A higher or lower migration path would change the 2050 total and the shape of the working-age bands considerably; the guide to how migration shapes population pyramids explains why.

Widest in the seventies, narrowest at birth

In 2050 the largest band is ages 70–74, about 3.6 million people born 1976–1980, followed by 75–79 and 65–69. The smallest is 0–4, about 1.7 million children born 2046–2050, less than half the size of the 70–74 band. In between there is a secondary bulge at 40–44, people born 2006–2010, when Spain had more births than in the decade that followed, and later enlarged by immigration. Above 80 the female side is much longer: at 85–89 there are about 68 men for every 100 women.

The share aged 65 and over rises from 22.2% to 36.1%, and those aged 80 and over from 6.6% to 13.9%. The working-age group of 15–64 shrinks from 65.5% to 52.4% of the population, from about 31.3 million to 23.5 million people, a sharp rise in the age dependency ratio.

Ageing levels off after 2050

Spain keeps shrinking after mid-century, to about 33.1 million in 2100. The age structure, however, barely changes after 2050: the 65+ share is 35.6% in 2075 and 36.3% in 2100, and the median age is 52.2. Once the 1970s cohorts have died, the pyramid settles into a narrow, top-heavy column. The Spain profile covers the history behind today’s shape.

What to notice in 2050

Top-heavy: the 1970s boom cohorts, now in their seventies, form the widest bands, with a median age near 52. Read the full analysis of Spain’s pyramid.

Spain age structure in 2050

In 2050, children under 15 are projected to make up 11.5% of the population, people aged 15–64 52.4%, and people aged 65 or older 36.1%. On these shares the structure is classed as older; see the guide to constrictive population pyramids.

The total age dependency ratio is projected to be 90.7 (21.9 children and 68.8 people aged 65+ per 100 aged 15–64). The largest five-year groups are 70–74, 75–79, 65–69, which together account for 22.2% of the population.

Fertility is projected to be 1.36 births per woman and life expectancy at birth 87.1 years. The population is projected to change by −0.47% during the year.

Spain in 2050 compared with 2026

Between 2026 and 2050, the medium scenario has Spain’s population falling by 6% and the median age rising by 5.5 years. The table sets the two years side by side; percentage-point differences compare shares, not counts.

Indicator20262050Change
Population47,850,79344,928,558−6.1%
Median age (years)46.351.8+5.5
Under 1512.3%11.5%−0.8 pts
Aged 15–6465.5%52.4%−13.1 pts
Aged 65+22.2%36.1%+13.9 pts
Fertility rate1.241.36+0.12
Life expectancy (years)84.187.1+3.0
Males per 100 females96.494.4−2.0

Spain population by age and sex in 2050

Counts by five-year age group, with everyone aged 100 or older combined. Download the CSV for every chart year.

Spain population by age and sex in 2050
Age groupMaleFemaleTotalShare
0–4859,787809,1071,668,8943.7%
5–9903,797856,1501,759,9473.9%
10–14889,370846,7791,736,1493.9%
15–19879,415843,5901,723,0053.8%
20–24989,644965,9171,955,5614.4%
25–291,061,3381,048,9262,110,2644.7%
30–341,173,0571,158,8912,331,9485.2%
35–391,313,9081,288,8232,602,7315.8%
40–441,405,2361,377,7972,783,0336.2%
45–491,265,4371,234,7202,500,1575.6%
50–541,167,9351,148,9932,316,9285.2%
55–591,249,1261,256,4102,505,5365.6%
60–641,342,1971,391,1072,733,3046.1%
65–691,510,4091,591,3243,101,7336.9%
70–741,714,4091,841,4433,555,8527.9%
75–791,556,2801,760,1693,316,4497.4%
80–841,242,8451,567,6352,810,4806.3%
85–89826,3001,215,4642,041,7644.5%
90–94365,743665,6631,031,4062.3%
95–9988,913209,206298,1190.7%
100+11,09234,20445,2960.1%

Use this chart in your work

Charts and tables may be reused with attribution. Please link to this page and credit the United Nations as the data source.

Embed the population pyramid

Cite this page

APA

World Population Pyramid. (2026, October 19). Spain Population Pyramid 2050. https://worldpopulationpyramid.com/countries/spain/2050/

MLA

“Spain Population Pyramid 2050.” World Population Pyramid, 19 Oct. 2026, worldpopulationpyramid.com/countries/spain/2050/.

Chicago

World Population Pyramid. “Spain Population Pyramid 2050.” Last modified October 19, 2026. https://worldpopulationpyramid.com/countries/spain/2050/.

Underlying data: United Nations, Department of Economic and Social Affairs, Population Division (2024). World Population Prospects 2024.

Frequently asked questions

What is the projected population of Spain in 2050?

UN World Population Prospects 2024 projects Spain's population in 2050 at 44,928,558 under the medium scenario.

What will be the median age in Spain in 2050?

The median age is projected to be 51.8 years, compared with 46.3 years in 2026.

What share of Spain is projected to be under 15 or 65+ in 2050?

11.5% are projected to be under 15 and 36.1% aged 65 or older, giving a total age dependency ratio of 90.7.

Sources and notes