Spain population pyramid 2026

Europe · Southern Europe

47,850,793 people in 2026 (projected). Spain’s pyramid is widest at ages 45–54, the late baby boom of the 1970s, and narrows sharply below 45 after one of Europe’s steepest fertility falls.

2026 population
47.9Mrank 34 of 237
Median age
46.3 yearsoldest rank 14
Fertility rate
1.24births per woman · below replacement
Structure
Older22.2% age 65+

Spain population pyramid

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

Medium projection

Hover over or tap a bar to see exact values.

2026

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

Estimate or projection?

The UN series provides historical estimates through 2023. Figures from 2024 onward—including 2026—are medium-scenario projections, not counts or predictions guaranteed to occur.

Spain age distribution in 2026

Children under 15 account for 12.3% of the population, while 22.2% are aged 65 or older. The remaining 65.5% are in the conventional working-age range of 15–64. On these shares, the site classifies Spain’s age structure as older; the guide to constrictive population pyramids explains what that shape implies.

The total age dependency ratio is 52.7: about 53 people under 15 or 65+ for every 100 people aged 15–64 (18.8 children and 33.8 older people). This is an age-balance indicator, not a literal count of economic dependants per worker.

What shapes Spain’s population pyramid

A baby boom that came late

Spain’s postwar baby boom arrived later than in most of western Europe and peaked in the mid-1970s, when fertility was still close to 2.8 children per woman and annual births reached their historical high. The people born in 1972–81 are aged 45–54 in 2026, and they form the two widest bands of the pyramid. Above them the bands narrow steadily toward the smaller cohorts born in the 1940s and 1950s, now aged 65–84, with women increasingly outnumbering men at the top.

An older scar is visible in earlier charts. In 1975 the 35–39 band, born in 1936–40, is narrower than both of its neighbors because births fell during the Civil War; in the Spain 2000 pyramid the same hollow cohort sits at ages 60–64. By 2026 these cohorts are in their late eighties, where mortality has largely erased the notch.

From boom to very low fertility in two decades

From the late 1970s fertility fell abruptly, to about 1.2 children per woman by the late 1990s, one of the lowest levels recorded anywhere at the time. The result is the sharp undercut below age 45: the 25–29 and 30–34 bands, born in 1992–2001, are less than two-thirds as wide as the 50–54 band.

The 15–24 bands are slightly wider than those immediately above them. People born in 2002–11 benefited from a modest rise in births during the 2000s, a period when large-scale immigration lifted Spain’s population from about 41 million in 2000 to nearly 47 million in 2010 and added young families. Births fell again after the 2008 financial crisis, and the 0–4 band is now narrower than every band up to age 79. The Italy vs Spain comparison shows how closely the two countries’ trajectories run, and the general shape is described in constrictive population pyramids. Spain also appears near the top of the lowest fertility rates ranking.

Under the UN medium scenario Spain’s population falls to about 44.9 million by 2050, when the 1970s boom cohorts will be in their seventies and the median age will be close to 52.

What to notice across the years

Spain population pyramid 1975 (historical estimate)
1975. Still broad at the base; the narrower 35–39 band holds people born during the Civil War of 1936–39.
Spain population pyramid 2026 (UN medium projection)
2026. The widest bands are 45–54, born 1972–81; below them the pyramid tapers sharply to a small base.
Spain population pyramid 2050 (UN medium projection)
2050. Top-heavy: the 1970s boom cohorts, now in their seventies, form the widest bands, with a median age near 52.

Distinctive cohorts and turning points

No five-year band under age 80 is more than 10% larger or smaller than both of its neighbours, so Spain’s 2026 pyramid has a comparatively smooth profile without sharp bulges or notches.

Deaths have exceeded births every year since 2015. People aged 65 and older came to outnumber children under 15 between 1995 and 2000.

Births, deaths, and migration

A pyramid changes in only three ways: births add to the base, deaths remove people at every age, and migration adds or removes people mainly in young adulthood. In 2026, Spain is projected to record 327,412 births (about 896 births a day) and 460,482 deaths, a natural decrease of 133,070. Net migration adds +85,305 people, ranking #56 in the net migration rate ranking.

Between 2000 and 2023 the UN estimates 10,069,282 births, 9,640,327 deaths, and cumulative net migration of +6,576,641. Over that period migration moved the total more than the balance of births and deaths did. See how migration shapes a pyramid and birth rate versus fertility rate. The medium scenario assumes net migration of +1,613,782 between 2026 and 2050.

Spain: births, deaths, and net migration per year
Projection → -500K-250K0250K500K750K1M 1950197520002025205020752100 DeathsBirthsNet migration

Annual values 1950–2100; dashed lines after 2023 are the UN medium projection. The trend table below lists the values by decade.

Life expectancy and mortality

Life expectancy, women
86.7 years64.1 in 1950
Life expectancy, men
81.4 years59.3 in 1950
Further years at 65
21.9 yearsboth sexes
Infant mortality
2.1per 1,000 births · 75 in 1950
Under-five mortality
2.7per 1,000 births
Mother’s mean age at birth
32.5 yearssex ratio at birth 106.6

Women in Spain are projected to live 5.3 years longer than men, which is why the female side of the pyramid widens relative to the other at older ages (see the life expectancy gap ranking). Infant mortality has fallen from 75 to 2.1 deaths per 1,000 live births since 1950, ranking #220 of 237 in the infant mortality ranking (highest first). A mean age at childbearing of 32.5 years sets the spacing between generations, and so how far apart echo cohorts sit in the pyramid.

Median age, fertility rate, and global ranks for Spain

The median age of 46.3 years splits the population into two equal halves. A total fertility rate of 1.24 births per woman is below the replacement level of roughly 2.1, and life expectancy at birth is 84.1 years.

These ranks compare all 237 countries and areas in this dataset using the same 2026 UN medium projection. Ranks use the stored source precision, so displayed rounding can make adjacent values look identical; small differences should not be overinterpreted.

Indicator2026 valueGlobal rankRanking direction
Population47,850,793#34Largest first
Median age46.3 years#14Oldest first
Fertility rate1.24#214Highest first
Annual growth-0.1%#181Fastest first
Life expectancy84.1 years#12Highest first
Population aged 65+22.2%#27Highest share first

Largest age groups in Spain

The five largest cohorts identify where the 2026 population is concentrated. They can reflect past birth patterns, survival, and migration; the chart alone does not establish which cause dominates.

RankAge groupPopulationShare of totalMale / female
150–543,957,0908.3%2M / 2M
245–493,881,3258.1%2M / 1.9M
355–593,722,9577.8%1.9M / 1.9M
460–643,488,2137.3%1.7M / 1.8M
540–443,212,4056.7%1.6M / 1.6M

Sex ratio and the balance by age

In the 2026 projection, Spain has 23,482,325 males and 24,368,467 females. That is 96.4 males per 100 females, ranking #164 when the dataset is ordered from the highest male-to-female ratio to the lowest.

Males account for 49.1% of the population and females for 50.9%. There are 886,142 more females than males overall. Among people aged 65 and older, the ratio is 78.2 males per 100 females.

The overall balance can conceal large differences by age; how sex ratios change with age explains the usual pattern. The ratio reflects the male/female categories in the UN source and is not a measure of gender identity. Compare all profiles in the sex-ratio ranking.

At birth, 106.6 boys are projected to be born for every 100 girls in 2026, close to the biological norm of about 105 (compare the sex ratio at birth ranking). The ratio at birth sets the balance at the base of the pyramid; how it changes with age then depends on survival and migration.

How Spain has changed since 1950

The population has increased from 28,077,049 in 1950 to 47,850,793 in 2026, a change of 70%. Over the same span, median age moved from 26.5 to 46.3 years.

The under-15 share changed from 26.5% to 12.3%, while the share aged 65 and older changed from 7.2% to 22.2%. These shifts show why total population growth and age-structure change need to be read separately. See the Spain population pyramid in 1950 for the full starting shape.

How the population could change by 2050

Under the UN medium scenario, Spain’s population is projected to decline by about 6%, reaching 44,928,558 in 2050. The median age changes from 46.3 to 51.8 years.

The 65+ share is projected to rise by 13.9 percentage points to 36.1%. At the same time, the under-15 share is projected at 11.5%. The Spain population pyramid for 2050 shows the projected shape in detail. How UN projections work explains the assumptions behind these figures.

The annual UN series reaches its highest estimated population of 47,911,580 in 2023. Historical population totals are estimates rather than exact head counts. Compare timing across countries in the population peak ranking.

Population trend: 1950–2100

Spain population, 1950–2100
Projection → 010M20M30M40M50M 1950197520002025205020752100 Peak 2023 33.1M

Mid-year population for every year. Estimates through 2023; dashed line shows the UN medium projection.

Selected demographic indicators for Spain, 1950 to 2100
YearPopulationMedian ageFertilityLife exp.BirthsDeathsNet migrationGrowth
195028,077,04926.52.4761.8562,979310,446−129,562+0.4%
196030,404,93928.42.8169.2666,956268,368−154,869+0.8%
197033,812,72329.12.8872.1661,752282,344−60,580+0.9%
198037,537,56429.82.2175.5571,317286,119+20,166+0.8%
199039,084,97932.51.3677.0406,392330,424−30,684+0.1%
200041,019,77436.31.2179.4399,049356,197+176,269+0.5%
201046,840,47239.21.3782.0481,432379,015+69,406+0.4%
202047,679,48943.51.1982.2343,355495,378+236,854+0.2%
202347,911,58044.91.2183.7336,821447,463+119,099+0.0%
2024*47,910,52645.41.2283.8333,155455,404+111,674-0.0%
2026*47,850,79346.31.2484.1327,412460,482+85,305-0.1%
2030*47,610,52048.01.2684.6320,841471,338+67,475-0.2%
2040*46,591,67451.01.3285.9343,441525,644+56,021-0.3%
2050*44,928,55851.81.3687.1317,740598,105+68,276-0.5%
2060*42,210,83852.01.3988.4281,441652,912+60,169-0.7%
2070*39,035,76952.71.4389.5283,806632,250+47,232-0.8%
2080*36,524,53551.61.4690.7280,207523,816+43,951-0.6%
2090*34,774,23751.41.4791.8254,701448,553+28,138-0.5%
2100*33,127,47852.21.4892.9244,706450,706+28,582-0.5%

* 2024 onward is the UN medium projection. Fertility is births per woman; life expectancy is years at birth; births, deaths, and net migration are counts for that calendar year.

Download every year, 1950–2100 (CSV)

2026 population by age and sex

The table provides the counts behind the chart. Age groups are five-year bands, with everyone aged 100 or older combined.

Spain population by age and sex in 2026
Age groupMaleFemaleTotalShare
0–4873,232824,6401,697,8723.5%
5–9984,128933,9681,918,0964.0%
10–141,174,7051,108,6872,283,3924.8%
15–191,326,3751,252,4072,578,7825.4%
20–241,336,6801,271,9402,608,6205.5%
25–291,266,8061,208,4292,475,2355.2%
30–341,309,7711,277,2432,587,0145.4%
35–391,424,1571,410,6582,834,8155.9%
40–441,612,0351,600,3703,212,4056.7%
45–491,962,2231,919,1023,881,3258.1%
50–542,001,8311,955,2593,957,0908.3%
55–591,853,2861,869,6713,722,9577.8%
60–641,703,9471,784,2663,488,2137.3%
65–691,421,8121,566,6662,988,4786.2%
70–741,114,0251,283,2942,397,3195.0%
75–79907,9061,134,1212,042,0274.3%
80–84645,756897,5491,543,3053.2%
85–89351,132584,325935,4572.0%
90–94171,118363,202534,3201.1%
95–9937,859108,552146,4110.3%
100+3,54214,11717,6590.0%

Countries with the most similar age structure

These profiles have the 2026 age distributions closest to Spain’s, measured by the total difference in the share of the population in each five-year band. Similar shapes can arise from very different histories, so the match is a starting point for comparison, not an explanation.

Compare Spain with other countries

Side-by-side pages put two pyramids on the same percentage scale, with a full indicator table and the projected change to 2050.

To calculate school-age, working-age, or older groups with other boundaries, use the age-group calculator for Spain.

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 2026. https://worldpopulationpyramid.com/countries/spain/

MLA

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

Chicago

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

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

Frequently asked questions

What is the population of Spain in 2026?

Under the UN World Population Prospects 2024 medium scenario, Spain's population in 2026 is projected at 47,850,793.

What is the median age in Spain?

The projected median age in Spain in 2026 is 46.3 years: half the population is younger and half is older.

What is the fertility rate in Spain?

The projected total fertility rate in 2026 is 1.24 births per woman, below the replacement level of about 2.1 in low-mortality populations.

Is Spain's population projected to grow?

Between 2026 and 2050, the UN medium scenario indicates the population will decline by about 6%, from 47.9M to 44.9M.

What share of Spain is aged 65 or older?

In 2026, 22.2% of the projected population is aged 65 or older. By 2050, the medium scenario places the share at 36.1%.

How many babies are born in Spain each year?

The UN medium scenario projects 327,412 births and 460,482 deaths in 2026, about 896 births a day. Deaths exceed births by 133,070.

What is life expectancy in Spain for men and women?

Life expectancy at birth in 2026 is projected at 86.7 years for women and 81.4 years for men, a gap of 5.3 years in favour of women.

Does Spain have more immigrants or emigrants?

Spain is projected to gain about 85,305 more people through migration than it loses in 2026. Between 2000 and 2023 the UN estimates cumulative net migration of +6,576,641.

What is the sex ratio in Spain?

The projected 2026 population sex ratio is 96.4 males per 100 females. This all-age ratio is different from the sex ratio at birth and can vary substantially by age.

Sources and notes