Spain Population Pyramid (2026)
By Marko Visic · Updated
Spain has a population of 47,850,792 in 2026, according to the UN World Population Prospects 2024 (projection for 1 July). That is the 34th-largest population in the world and 0.58% of the global total of 8.30 billion. Children under 15 make up 12.3% of the population and people aged 65 and over 22.2%, with 96.4 males for every 100 females.
Show the numbers
| Age group | Male | Female | Total | Share |
|---|---|---|---|---|
| 100+ | 3,542 | 14,117 | 17,659 | 0.04% |
| 95-99 | 37,860 | 108,551 | 146,411 | 0.31% |
| 90-94 | 171,118 | 363,201 | 534,319 | 1.12% |
| 85-89 | 351,132 | 584,325 | 935,457 | 1.95% |
| 80-84 | 645,757 | 897,550 | 1,543,307 | 3.23% |
| 75-79 | 907,906 | 1,134,122 | 2,042,028 | 4.27% |
| 70-74 | 1,114,025 | 1,283,294 | 2,397,319 | 5.01% |
| 65-69 | 1,421,812 | 1,566,666 | 2,988,478 | 6.25% |
| 60-64 | 1,703,947 | 1,784,266 | 3,488,213 | 7.29% |
| 55-59 | 1,853,286 | 1,869,671 | 3,722,957 | 7.78% |
| 50-54 | 2,001,830 | 1,955,260 | 3,957,090 | 8.27% |
| 45-49 | 1,962,223 | 1,919,102 | 3,881,325 | 8.11% |
| 40-44 | 1,612,036 | 1,600,370 | 3,212,406 | 6.71% |
| 35-39 | 1,424,157 | 1,410,658 | 2,834,815 | 5.92% |
| 30-34 | 1,309,770 | 1,277,243 | 2,587,013 | 5.41% |
| 25-29 | 1,266,806 | 1,208,430 | 2,475,236 | 5.17% |
| 20-24 | 1,336,680 | 1,271,940 | 2,608,620 | 5.45% |
| 15-19 | 1,326,375 | 1,252,407 | 2,578,782 | 5.39% |
| 10-14 | 1,174,704 | 1,108,686 | 2,283,390 | 4.77% |
| 5-9 | 984,127 | 933,968 | 1,918,095 | 4.01% |
| 0-4 | 873,232 | 824,640 | 1,697,872 | 3.55% |
| Total | 23,482,325 | 24,368,467 | 47,850,792 | 100.00% |
| Female surplus 886,142 (1.9% of the population). | ||||
Spain Demographics
Spain has 47.9 million people in 2026, up 41.5% from 33.8 million in 1970.
Deaths outnumber births by 133,070 (UN projection for 2026).
Median age 46.3 — the 7th-highest of 194 countries.
Under-15 share 12.3% — the 7th-lowest of 194 countries.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Largest generation: Gen X, 25.7% (12,298,071)
All generations in SpainCompare Spain Demographics
Population pyramid, 1950 to 2026
Watch how Spain's population structure evolved from 1950 to 2026
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Page Navigation(Quick jump to sections)
Sex Ratio & Gender Distribution
Spain has 96.4 males per 100 females (sex ratio)
Women outnumber men by 886,142 (1.9% of the population).
Male Statistics
- Population:23,482,325
- Percentage:49.1%
Female Statistics
- Population:24,368,467
- Percentage:50.9%
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Birth Statistics & Natality Data
UN World Population Prospects 2024, 2026 (medium-variant projection).
How many births, and how often (2026)
In Spain there is about one birth every 1.6 minutes.
Birth-rate and fertility trend, 1950 to 2026
Crude birth rate · total fertility rate (dashed)Birth statistics, 2021 to 2026
| Year | Births | Birth rate (per 1,000) | TFR (children/woman) | Type |
|---|---|---|---|---|
| 2021 | 340,310 | 7.1 | 1.19 | estimate |
| 2022 | 339,675 | 7.1 | 1.21 | estimate |
| 2023 | 336,821 | 7.0 | 1.21 | estimate |
| 2024 | 333,155 | 7.0 | 1.22 | projection |
| 2025 | 330,044 | 6.9 | 1.23 | projection |
| 2026 | 327,412 | 6.8 | 1.24 | projection |
Since 1950
Global context (2026)
Source: UN World Population Prospects 2024. Births, birth rate and fertility for 2024 and later are medium-variant projections; 1950–2023 are estimates.
Median Age Analysis
Spain's median age is 46.3 years
Half the population is younger than 46.3 years and half is older, which makes Spain an aging society.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Complete Age Distribution & Youth Demographics
| Age Group | Population | % | Category |
|---|---|---|---|
| 0-4 | 1,697,872 | 3.5% | Youth |
| 5-9 | 1,918,095 | 4.0% | Youth |
| 10-14 | 2,283,390 | 4.8% | Youth |
| 15-19 | 2,578,782 | 5.4% | Young Adult |
| 20-24 | 2,608,620 | 5.5% | Young Adult |
| 25-29 | 2,475,236 | 5.2% | Working Age |
| 30-34 | 2,587,013 | 5.4% | Working Age |
| 35-39 | 2,834,815 | 5.9% | Working Age |
| 40-44 | 3,212,406 | 6.7% | Working Age |
| 45-49 | 3,881,325 | 8.1% | Working Age |
| 50-54 | 3,957,090 | 8.3% | Working Age |
| 55-59 | 3,722,957 | 7.8% | Working Age |
| 60-64 | 3,488,213 | 7.3% | Working Age |
| 65-69 | 2,988,478 | 6.2% | Senior |
| 70-74 | 2,397,319 | 5.0% | Senior |
| 75-79 | 2,042,028 | 4.3% | Senior |
| 80-84 | 1,543,307 | 3.2% | Senior |
| 85-89 | 935,457 | 2.0% | Senior |
| 90-94 | 534,319 | 1.1% | Senior |
| 95-99 | 146,411 | 0.3% | Senior |
| 100+ | 17,659 | 0.0% | Senior |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Demographic Transition Model (DTM) Stage
Stage 5 (natural decrease): deaths outnumber births — 6.8 births and 9.6 deaths per 1,000 people in 2026. Read more about Stage 5 of the Demographic Transition Model.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Fertility Rate & Birth Statistics
Spain Total Fertility Rate: 1.24 children per woman
Below the replacement level of 2.1
Fertility Rate Trends
Historical data (solid line) and future projections (dashed line)
Historical Fertility Trends
| Year | Total Fertility Rate | Birth Rate | Change |
|---|---|---|---|
| 2021 | 1.19 | 7.1 | |
| 2022 | 1.21 | 7.1 | ↑0.02 |
| 2023 | 1.21 | 7.0 | 0.00 |
| 2024 | 1.22 | 7.0 | ↑0.01 |
| 2025 | 1.23 | 6.9 | ↑0.01 |
| 2026 | 1.24 | 6.8 | ↑0.01 |
Global Context
- World Average: 2.23 children per woman
- Comparison: Below global average
- UN projection for 2030: 1.26
Spain's total fertility rate is 1.24 children per woman in 2026, below the replacement level of 2.1. Spain ranks 179 of 194 for fertility rate (1 = highest), in the lowest third of countries. Since 1950 the fertility rate has changed by −49.8%.
Historical Demographic Changes
Between 1950 and 2026, Spain's population grew by 70.4%.
The median age rose from 26.5 in 1950 to 46.3 in 2026.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Understanding Spain's Demographics
Spain has a constrictive population pyramid: a base narrower than the middle, so younger cohorts are smaller than the ones above them.
Children under 15 make up 12.3% of the population and people aged 65 and over 22.2%.
The largest five-year age band is 50–54, at 8.3% of the population, compared with 3.5% in the 0–4 band.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Demographic Analysis: Spain's Population Structure
Demographic Dividend Window
Spain's working-age share peaked in 2007 at 69.0% and is 65.5% in 2026.
Fertility Transition Stage
Spain's total fertility rate is 1.24 children per woman (2026, UN WPP 2024), which is very low (lowest-low) fertility.
Population Aging Speed
Spain's median age changed by +4.3 years from 2016 to 2026, faster than the world average (+2.6 years).
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Key Demographics
| Total Population | 47,850,792 |
| Male Population | 23,482,325(49.1%) |
| Female Population | 24,368,467(50.9%) |
| Median Age | 46.3 years |
| Sex Ratio | 96.4 males per 100 females |
| Youth (0-14) | 5,899,357(12.3%) |
| Working Age (15-64) | 31,346,457(65.5%) |
| Elderly (65+) | 10,604,978(22.2%) |
| Total Dependency Ratio | 52.7 |
| Youth Dependency Ratio | 18.8 |
| Old Age Dependency Ratio | 33.8 |
| Pyramid Type | Constrictive |
Dependency Ratios: Number of dependents per 100 working-age individuals.
Demographic Data Visualizations
Total population, 1950–2026 (UN WPP 2024; 2024 onward are projections).
Median age, 1950–2026 (UN WPP 2024; 2024 onward are projections).
Youth, working-age and elderly shares, 1950 vs 2026 (UN WPP 2024).
Age distribution in 2026: youth, working-age and elderly shares (UN WPP 2024; projection).
Life Expectancy in Spain
How long the average person in Spain is expected to live · sourced from UN WPP 2024
Life expectancy, 1950 to 2100: UN estimates to 2023, projection from 2024
Solid: actual · Dashed: medium-variant projectionFuture Demographic Trends
Spain is projected to shrink to 44.9 million people by 2050 (−6.1% from 2026).
The median age rises from 46.3 in 2026 to 51.8 by 2050.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Spain's Demographic Evolution by Decade
In the 2020s, 2024 to 2026 are UN projections.
The population grew 11.0%, from 33.8 million in 1970 to 37.5 million by 1980
Median age increased by 0.7 years
The youth population share contracted by 1.9 percentage points
Meanwhile, the elderly population proportion grew by 1.5 percentage points.
Key Demographic Highlights
- Population changed from 33.8M to 37.5M
- Growth rate of 11% over the decade
- Median age shifted from 29.1 to 29.8 years (+0.7y)
- 65+ share changed by +1.5 points; under-15 share by −1.9 points
How Does Spain Compare to Its Neighbors?
Spain has a younger population than Portugal and Italy. Spain has an older population than France and Morocco.
Spain
France
Portugal
Italy
Morocco
| Country | Population | Median Age | Youth % | Elderly % | Pyramid Type |
|---|---|---|---|---|---|
| Spain (Current) | 47,850,792 | 46.3 | 12.3% | 22.2% | constrictive |
| France | 66,746,401 | 42.5 | 16.0% | 22.9% | constrictive |
| Portugal | 10,395,363 | 47.2 | 12.6% | 25.4% | constrictive |
| Italy | 58,926,167 | 48.6 | 11.4% | 25.6% | constrictive |
| Morocco | 38,762,441 | 30.1 | 24.8% | 8.8% | stationary |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Frequently Asked Questions About Spain
How does Spain rank globally by population?
Spain ranks 34th in the world by population with 47.9 million people as of 2026, representing 0.58% of the global total of 8.30 billion.
What does Spain's age structure reveal about its development?
With 12.3% under 15, 65.5% working-age (15–64) and 22.2% aged 65+, Spain's age structure is that of a country in Stage 5 of the demographic transition, with a constrictive population pyramid. The median age is 46.3 years.
What is the dependency ratio in Spain?
Spain has 52.7 people under 15 or aged 65+ per 100 people aged 15–64 in 2026.
Is Spain experiencing a demographic dividend?
Spain has moved past its demographic-dividend window. Spain's working-age share peaked in 2007 at 69.0% and is 65.5% in 2026. A demographic dividend occurs when falling fertility creates a bulge in the working-age population while dependency ratios stay manageable.
What are the gender dynamics in Spain's population?
Spain has more females than males, with 96.4 males per 100 females.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Compare with Other Countries
About this data: UN World Population Prospects 2024, released 11 July 2024. Figures for 2024 and later are medium-variant projections for 1 July. The UN has postponed its next revision from 2026 to 2027 (UN document E/CN.9/2026/CRP.1); these pages will be updated when it is published.
Data Sources & Methodology
All population data is sourced from the United Nations Department of Economic and Social Affairs, Population Division. Figures up to 2023 are UN estimates; 2024 and later are medium-variant projections.
Cite this page: Population Pyramids. (2026). Spain Population Pyramid and Demographic Analysis. Retrieved from https://www.populationpyramids.org/spain
View UN World Population Prospects data