Home › Countries › Spain › Generations

Population by Generation in Spain (2026)

By the AgePyramids research team · Data: UN World Population Prospects 2024

The largest generation in Spain in 2026 is Generation X, with 12,281,202 people — 25.7% of the population. Generations are counted from each person's year of birth (2026 minus their age) using the Pew Research Center bands for the Silent Generation through Generation Z and McCrindle's bands for Generation Alpha and Beta.

Largest generation
Generation X
25.7% of the population
Median age
46.3 years
median generation: Generation X
Total population
47,850,792
1 July 2026

Each coloured segment is one generation's share of Spain's population, youngest at the right in the table below.

GenerationBornPeople in SpainShareWorld share
Greatest Generation1901–192729,5470.1%0.0%
Silent Generation1928–19452,789,8905.8%1.8%
Baby Boomers1946–19649,822,09620.5%11.4%
Generation X1965–198012,281,20225.7%17.4%
Millennials1981–19969,366,06019.6%22.4%
Generation Z1997–20128,142,88817.0%24.6%
Generation Alpha2013–20244,753,3009.9%19.3%
Generation Beta2025–onwards665,8101.4%3.1%

How to read this

A generation's share shows where a country sits in its demographic transition. Young countries have large Generation Alpha and Generation Z shares; ageing countries are dominated by Baby Boomers, Generation X and Millennials. In Spain, people born since 1997 (Generation Z, Alpha and Beta) make up 28.3% of the population, against 47.0% worldwide.

Generation boundaries are conventions, not measurements: Pew Research Center defines Millennials as born 1981–1996 and Generation Z as 1997–2012; McCrindle defines Generation Alpha as 2013–2024 and Generation Beta from 2025. Counts use the UN's single-year age distribution for 1 July 2026.

Spain population pyramid · Spain population projection · All countries

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.