Spain has a projected population of 47,911,100 in 2024. People aged 65 and over make up 21.1%; the approximate median age is 46.4 years.

In the UN Medium projection for 2050, 36.1% are aged 65 or over and 11.5% are under 15.

Population 1950–2100
Population
19502000202420502100
Age structure 1950–2100
Age structure
19502000202420502100
Aged 0–14Aged 15–64Aged 65+

1950–2023 · Estimates
2024–2100 · Projection

Population and age structure2024–2100 · Projection
YearPopulationAged 0–14Aged 15–64Aged 65+
196030,404,80027.4%64.4%8.2%
202447,911,10012.9%65.9%21.1%
202647,850,70012.3%65.5%22.2%
205044,928,20011.5%52.4%36.1%

The figures come from UN World Population Prospects 2024, combined sexes. Years through 2023 are estimates; 2024 onward uses the Medium projection. Median age is approximated within single-year age bands, and population counts are rounded for the visualization.