Population Pyramid of Spain2024
Total population
47.9M
Median age
46.4
Peak year
2023
Peak population
47.9M
Age & sex distribution over time
1950 · 28.1M · median age 27.5
1980 · 37.5M · median age 30.7
2000 · 41.0M · median age 37.4
2024 · 47.9M · median age 46.4
2050 · 44.9M · median age 52.8
2100 · 33.1M · median age 53.2
Source: UN World Population Prospects 2024 Revision (CC BY 3.0 IGO). Values in thousands. Years after 2024 are medium-variant projections.
Key insights
Demographic profile
Spain presently shows a constrictive pyramid, narrower at the base than in the middle, reflecting sustained sub-replacement fertility and population ageing. The median age in 2024 is 46.4 years.
Age composition
Children under 15 account for 12.9% of the population; people 65 and older account for 21.1%.
Peak population
Spain's population peaked in 2023 and has been declining since.
Long arc
In 1950 the population was 28.1 million with median age 27.5. Projected 2100 values are 33.1 million and median age 53.2.