HistoryData

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
0–45–910–1415–1920–2425–2930–3435–3940–4445–4950–5455–5960–6465–6970–7475–7980–8485–8990–9495–99100+MaleFemale1950
1980 · 37.5M · median age 30.7
0–45–910–1415–1920–2425–2930–3435–3940–4445–4950–5455–5960–6465–6970–7475–7980–8485–8990–9495–99100+MaleFemale1980
2000 · 41.0M · median age 37.4
0–45–910–1415–1920–2425–2930–3435–3940–4445–4950–5455–5960–6465–6970–7475–7980–8485–8990–9495–99100+MaleFemale2000
2024 · 47.9M · median age 46.4
0–45–910–1415–1920–2425–2930–3435–3940–4445–4950–5455–5960–6465–6970–7475–7980–8485–8990–9495–99100+MaleFemale2024
2050 · 44.9M · median age 52.8
0–45–910–1415–1920–2425–2930–3435–3940–4445–4950–5455–5960–6465–6970–7475–7980–8485–8990–9495–99100+MaleFemale2050
2100 · 33.1M · median age 53.2
0–45–910–1415–1920–2425–2930–3435–3940–4445–4950–5455–5960–6465–6970–7475–7980–8485–8990–9495–99100+MaleFemale2100

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.