Quick facts
Spain population overview
The live population of Spain on this page is the sum of our live estimates for its cities and for the rest of the country.
- More people die in Spain than are born; immigration slows the decline but does not stop it.
- Fertility rate: 1.1 births per woman — the median of Europe is 1.4 births per woman, the world median 1.9 births per woman.
- Life expectancy: 84 years — the median of Europe is 82 years, the world median 75 years.
- Access to electricity: the highest value of the 214 countries in the world ranking.
Spain population statistics (2026)
Size and density
- Capital
- Madrid
Change over one year
| Births per year | +327,559 |
|---|---|
| Deaths per year | -460,698 |
| Net migration per year #17 of 238 → | +85,361 |
| Population change per year | -47,778 |
Age and sex
- Womenlive
- 24,354,279
- Menlive
- 23,477,525
- Age structure
- Children (0–14) 12%Working age (15–64) 66%65 and over 22%
- UN WPP · 2026
Health
Cities and digital
- Mobile subscriptionslive
- #30 of 218 →
- 63,859,910
- 134 per 100 peopleCounts SIM cards in use, not people. Many people have more than one — a second phone, a separate card for data or for work, cards bought by visitors and cross-border workers — so the figure can be well above 100 per 100 people.
- 2025 · World median: 115 per 100 people
Economy and energy
- Income group
- High income
- World Bank
World rankings: Spain
- Immigrant population#6 of 214 →8,870,527 people · 2024
- Solar power#7 of 182 →63,032,000,000 kWh per year · 2025
- Wind power#7 of 111 →58,779,000,000 kWh per year · 2025
- Nuclear power#9 of 32 →54,113,000,000 kWh per year · 2025
- Literacy rate#10 of 125 →99.7% of people aged 15 and over · 2021
- GDP (PPP)#15 of 201 →$2,954,778,621,730 · 2025
- Exports#17 of 188 →$698,476,476,631 · 2025
- Imports#17 of 188 →$625,571,094,599 · 2025
40 rankings
- Immigrant population#6 of 214 →8,870,527 people · 2024
- Rural population#60 of 216 →9,320,074 people · 2025
- Old-age dependency ratio#28 of 216 →33 people aged 65+ per 100 people aged 15–64 · 2025
- Suicide rate#67 of 185 →8.7 per 100,000 people per year · 2021
- Alcohol consumption#39 of 187 →9.2 litres of pure alcohol per person aged 15+ per year · 2020
- Road traffic deaths#172 of 190 →3.9 per 100,000 people per year · 2019
- Health spending per person#30 of 193 →$3,107 · 2023
- Under-five mortality#176 of 196 →3.2 deaths per 1,000 live births · 2024
- Maternal mortality#182 of 194 →3 deaths per 100,000 live births · 2023
- Teenage birth rate#186 of 216 →4.8 births per 1,000 women aged 15–19 per year · 2024
- Physicians#24 of 193 →4.3 per 1,000 people · 2022
- Hospital beds#64 of 168 →2.9 per 1,000 people · 2023
- Tobacco use#39 of 166 →28% of adults · 2024
- Diabetes prevalence#91 of 209 →9.7% of people aged 20–79 · 2024
- Undernourishment#105 of 168 →2.5% of population · 2024
- GDP (PPP)#15 of 201 →$2,954,778,621,730 · 2025
- GDP per capita (PPP)#38 of 201 →$59,868 · 2025
- GDP growth#118 of 200 →+2.8% per year · 2025
- GNI per capita#37 of 204 →$37,120 · 2025
- Exports#17 of 188 →$698,476,476,631 · 2025
- Imports#17 of 188 →$625,571,094,599 · 2025
- Foreign exchange reserves#24 of 177 →$128,593,472,896 · 2025
- Tax revenue#91 of 151 →15% of GDP · 2024
- Remittances received#31 of 187 →$7,296,983,565 · 2025
- Income inequality#98 of 158 →33 out of 100 · 2023
- Extreme poverty#101 of 158 →0.8% of population · 2023
- Youth unemployment#31 of 186 →25% of labor force aged 15–24 · 2025
- Women in the labour force#97 of 186 →53% of women aged 15 and over · 2025
- Human Development Index#28 of 193 →0.918 out of 1 · 2023
- Literacy rate#10 of 125 →99.7% of people aged 15 and over · 2021
- Homicide rate#159 of 182 →0.69 per 100,000 people per year · 2023
- Military personnel#32 of 170 →199,000 personnel · 2020
- Women in parliament#18 of 193 →44% of seats · 2025
- Solar power#7 of 182 →63,032,000,000 kWh per year · 2025
- Wind power#7 of 111 →58,779,000,000 kWh per year · 2025
- Nuclear power#9 of 32 →54,113,000,000 kWh per year · 2025
- Natural gas production#86 of 97 →29,452,126 m³ per year · 2024
- Access to electricity#1 of 214 →100% of population · 2024
- Air pollution#155 of 200 →10 micrograms of PM2.5 per m³ · 2023
- Arable land#26 of 206 →113,842 km² · 2024
Spain population milestones
- The population peaked in 2023 at 47,911,580.
- Deaths have outnumbered births every year since 2015.
- World rank by population: #16 in 1950, #34 today and #62 in 2100 according to the UN projection.
- People aged 65 and over have outnumbered children under 15 since 1997.
- The median age passed 40 in 2012.
- Today's population is 1.7 times that of 1950 (28,077,049).
Spain population by year
| Year | Population | Yearly change | Median age | Fertility rate | Life expectancy | People per km² | World share | World rank |
|---|---|---|---|---|---|---|---|---|
| 1950 | 28,077,049 | – | 26 | 2.5 | 62 | 55 | 1.1% | 16 |
| 1955 | 29,089,776 | +0.71%+202,545 | 28 | 2.5 | 67 | 57 | 1.1% | 17 |
| 1960 | 30,404,939 | +0.89%+263,033 | 28 | 2.8 | 69 | 60 | 1% | 18 |
| 1965 | 32,110,668 | +1.1%+341,146 | 29 | 2.9 | 71 | 63 | 0.96% | 20 |
| 1970 | 33,812,723 | +1%+340,411 | 29 | 2.9 | 72 | 67 | 0.92% | 22 |
| 1975 | 35,795,769 | +1.1%+396,609 | 29 | 2.8 | 73 | 71 | 0.88% | 23 |
| 1980 | 37,537,564 | +0.95%+348,359 | 30 | 2.2 | 76 | 74 | 0.84% | 24 |
| 1985 | 38,601,321 | +0.56%+212,751 | 31 | 1.6 | 76 | 76 | 0.79% | 25 |
| 1990 | 39,084,979 | +0.25%+96,732 | 33 | 1.4 | 77 | 77 | 0.73% | 27 |
| 1995 | 40,052,738 | +0.49%+193,552 | 34 | 1.2 | 78 | 79 | 0.7% | 28 |
| 2000 | 41,019,774 | +0.48%+193,407 | 36 | 1.2 | 79 | 81 | 0.66% | 28 |
| 2005 | 43,958,885 | +1.4%+587,822 | 38 | 1.3 | 80 | 87 | 0.67% | 28 |
| 2010 | 46,840,472 | +1.3%+576,317 | 39 | 1.4 | 82 | 93 | 0.67% | 27 |
| 2015 | 46,683,686 | -0.067%-31,357 | 42 | 1.3 | 83 | 92 | 0.62% | 30 |
| 2020 | 47,679,489 | +0.42%+199,161 | 43 | 1.2 | 82 | 94 | 0.6% | 30 |
| 2021 | 47,735,664 | +0.12%+56,175 | 44 | 1.2 | 83 | 94 | 0.6% | 31 |
| 2022 | 47,828,382 | +0.19%+92,718 | 44 | 1.2 | 82 | 95 | 0.6% | 31 |
| 2023 | 47,911,580 | +0.17%+83,198 | 45 | 1.2 | 84 | 95 | 0.59% | 32 |
| 2024* | 47,910,526 | -0.002%-1,054 | 45 | 1.2 | 84 | 95 | 0.59% | 32 |
| 2025* | 47,889,958 | -0.043%-20,568 | 46 | 1.2 | 84 | 95 | 0.58% | 32 |
| 2026* | 47,850,793 | -0.082%-39,165 | 46 | 1.2 | 84 | 95 | 0.58% | 34 |
| Now (live) | 47,831,804 | – | – | – | – | 95 | 0.57% | 34 |
| UN projection, medium variant | ||||||||
| 2030 | 47,610,520 | -0.13%-60,068 | 48 | 1.3 | 85 | 94 | 0.56% | 36 |
| 2035 | 47,154,196 | -0.19%-91,265 | 50 | 1.3 | 85 | 93 | 0.53% | 38 |
| 2040 | 46,591,674 | -0.24%-112,504 | 51 | 1.3 | 86 | 92 | 0.51% | 39 |
| 2045 | 45,879,964 | -0.31%-142,342 | 52 | 1.3 | 87 | 91 | 0.49% | 45 |
| 2050 | 44,928,558 | -0.42%-190,281 | 52 | 1.4 | 87 | 89 | 0.46% | 48 |
| 2060 | 42,210,838 | -0.62%-271,772 | 52 | 1.4 | 88 | 83 | 0.42% | 53 |
| 2070 | 39,035,769 | -0.78%-317,507 | 53 | 1.4 | 90 | 77 | 0.38% | 56 |
| 2080 | 36,524,535 | -0.66%-251,123 | 52 | 1.5 | 91 | 72 | 0.36% | 58 |
| 2090 | 34,774,237 | -0.49%-175,030 | 51 | 1.5 | 92 | 69 | 0.34% | 61 |
| 2100 | 33,127,478 | -0.48%-164,676 | 52 | 1.5 | 93 | 65 | 0.33% | 62 |
Population on 1 July of each year: UN estimates up to 2023, the UN medium-variant projection after that (* = projection for a year that has already begun or passed). Yearly change: against the previous row; where rows are five or ten years apart, the average per year. People per km²: population ÷ surface area (World Bank). World share: of the UN world total. World rank: among the 238 countries and territories on Glostats in that year. The live row is our live estimate, built on the same UN series. ⬇ CSV, every year 1950–2100
Spain population pyramid
| Age | Men | Women |
|---|---|---|
| 100+ | 3,542 | 14,117 |
| 95–99 | 37,860 | 108,552 |
| 90–94 | 171,118 | 363,202 |
| 85–89 | 351,132 | 584,325 |
| 80–84 | 645,757 | 897,550 |
| 75–79 | 907,906 | 1,134,122 |
| 70–74 | 1,114,025 | 1,283,294 |
| 65–69 | 1,421,812 | 1,566,666 |
| 60–64 | 1,703,947 | 1,784,266 |
| 55–59 | 1,853,287 | 1,869,671 |
| 50–54 | 2,001,831 | 1,955,260 |
| 45–49 | 1,962,223 | 1,919,103 |
| 40–44 | 1,612,036 | 1,600,370 |
| 35–39 | 1,424,157 | 1,410,658 |
| 30–34 | 1,309,771 | 1,277,243 |
| 25–29 | 1,266,806 | 1,208,430 |
| 20–24 | 1,336,680 | 1,271,941 |
| 15–19 | 1,326,375 | 1,252,407 |
| 10–14 | 1,174,705 | 1,108,687 |
| 5–9 | 984,128 | 933,969 |
| 0–4 | 873,233 | 824,640 |
| Total | 23,482,331 | 24,368,473 |
Shares of the population on 1 July 2026. Dependency ratio: children (0–14) and people aged 65 and over for every 100 people aged 15–64. Play runs the UN figures from 1950 to the 2100 projection; the bars move smoothly between the five-year steps, and the figures are shown for the UN years.
Largest cities in Spain
| # | City | Population | Share |
|---|---|---|---|
| 1 | Madrid Capital | 3,501,354 | 7.3% |
| 2 | Barcelona | 1,728,994 | 3.6% |
| 3 | Valencia | 839,504 | 1.8% |
| 4 | Zaragoza | 692,029 | 1.4% |
| 5 | Sevilla | 688,365 | 1.4% |
| 6 | Málaga | 598,145 | 1.3% |
| 7 | Murcia | 478,670 | 1% |
| 8 | Palma | 434,120 | 0.91% |
| Other cities in the list | 11,029,345 | 23% | |
| Rest of the country smaller towns and rural areas | 27,841,278 | 58% | |
| Total | 47,831,804 | 100% |
Madrid is the largest city with 3,501,354 people and is also the capital. Figures are live estimates: each city starts from its latest official figure and grows with the country, and the cities and the rest of the country add up to the live population of Spain. Full list of Spain cities →
🎂 How many people in Spain are younger than you?
Enter your date of birth and see, live, how many people are older and younger than you, here and in the whole world. Nothing you enter leaves your browser.
Spain: debt and inflation
💸 Spain debt clock🧮 Inflation calculator for SpainAbout Spain
Population over time
- From 28,077,049 in 1950 to 47,831,804 today — up 70%.
- Population peaked at 47,911,580 in 2023 and is down 0.17% since.
- Average change over the last 10 years of data: +0.24% per year.
- World rank: Population #34 of 238 · Population growth rate #182 of 238.
Life expectancy & fertility
- Life expectancy at birth: 84 years (2024), up 15 years since 1960.
- Fertility: 1.1 births per woman (2024) — below the 2.1 replacement level.
- World rank: Life expectancy #13 of 216 · Fertility rate #207 of 216.
Birth & death rates
- In 2026: 6.8 births vs 9.6 deaths per 1,000 people (UN World Population Prospects 2024 projection, the rates the live counters use).
- Deaths outnumber births — natural decrease of 2.8 per 1,000 a year.
- World rank: Birth rate #224 of 238 · Death rate #60 of 238.
Age structure
- 13% of the population is under 15 and 22% is 65 or older (2025).
- The 65+ share has grown from 8.2% in 1960 — the population is aging.
- World rank: Population under 15 #225 of 236 · Population aged 65+ #27 of 236 · Median age #14 of 238.
CO₂ emissions
CO₂ (carbon dioxide) is the gas released when coal, oil and gas are burned and cement is made — the main cause of global warming.
- So far in 2026: 198,035,574 tonnes of CO₂, counted live; 220,655,257 tonnes projected for the whole year from the trend.EDGAR reports Spain and Andorra together, so this figure includes Andorra; the per-person figure divides it by the population of both.
- Latest measured year: 224,587,102 tonnes (2025, EDGAR) — down 40% from the peak of 371,503,168 tonnes in 2007.
- Per person: 4,605 kg over the year, of which 4,133 kg so far (live population).EDGAR reports Spain and Andorra together, so this figure includes Andorra; the per-person figure divides it by the population of both.
- World rank: CO₂ emissions #29 of 204 · CO₂ emissions per capita #60 of 204.
Energy use & renewable electricity
- Total energy use, all fuels: 27,125 kWh per person (2025, estimate), up 0.62% since 1990.
- Renewables generated 56% of the electricity in 2025 (+39 points since 1990).
- World rank: Energy use per capita #50 of 151 · Renewable electricity share #64 of 209.
Electricity production & consumption
A kilowatt-hour (kWh) is the unit on an electricity bill: 1 kWh keeps a 100-watt bulb lit for 10 hours.
- Electricity produced so far in 2026: 267,605,044,055 kWh, counted live; 297,370,021,266 kWh projected for the whole year.
- Electricity used so far in 2026: 253,263,772,027 kWh — 5,902 kWh per person over the year.
- In 2025 it was a net exporter of electricity: 12,790,000,000 kWh (4.6% of its consumption).
- World rank: Electricity production #18 of 209 · Electricity consumption #21 of 209.
Oil production
Crude oil is the oil pumped out of the ground, before it is refined into petrol, diesel and other fuels. A barrel is 159 litres.
- Oil pumped so far in 2026: 6,502 barrels, counted live; 20 barrels a day projected for the whole year.
- Latest full year: 27 barrels a day (2025, EIA) — down 99.9% from the peak of 47,000 barrels a day in 1984.
- World rank: Oil production #98 of 99.
Forest area
- Forest covers 191,328 km² — 38% of the land area (2025).
- Since 1990: 52,281 km² of forest gained (+38%).
- World rank: Forest area #34 of 224.
Agricultural land
Agricultural land is cropland plus the meadows and pastures used for grazing animals.
- Agricultural land covers 246,335 km² — 49% of the land area (2024).
- Since 1961, agricultural land has contracted by 85,965 km² (-26%).
- World rank: Agricultural land #45 of 224.
Urban population
- 38,511,741 people live in urban areas — 81% of the population (2025), vs 56% in 1960 (+24 points).
- Majority-urban for the whole period covered.
- World rank: Urban population #27 of 216.
Water resources & stress
Water stress is the share of a country's available fresh water that it takes each year for farms, industry and homes; above 100% it uses more than nature renews.
- Renewable internal freshwater: 111,200,000,000 m³ a year on long-term average — 2,325 m³ per person today, falling as the population grows.
- Water stress: low — 43% of the available freshwater is withdrawn each year (2023, UN SDG 6.4.2).
- World rank: Renewable freshwater #53 of 183 · Water stress #41 of 182.
Economy
GDP (gross domestic product) is the value of all the goods and services a country produces. The live figure is the output of the last 12 months.
- GDP over the last 12 months: $2,067,164,898,174, counted live.
- IMF figures: $1,908,602,000,000 in 2025, $2,085,276,000,000 projected for 2026.
- Per person: $43,217 — the live GDP divided by the live population.
- World rank: GDP #15 of 214 · GDP per capita #43 of 214.
Unemployment & inflation
- Unemployment: 9.8% of the labour force in 2026 (ILO projection), 10% in 2025.
- Consumer-price inflation: 3.7% in 2026 (IMF projection), 2.7% in 2025.
- World rank: Unemployment rate #38 of 188 · Inflation rate #102 of 196.
Internet & mobile
- 46,064,992 people used the internet in 2025 — 96% of the population.
- Mobile subscriptions: 63,859,910 (2025), or 134 per 100 people — more subscriptions than people.Counts SIM cards in use, not people. Many people have more than one — a second phone, a separate card for data or for work, cards bought by visitors and cross-border workers — so the figure can be well above 100 per 100 people.
- World rank: Internet users #24 of 211 · Mobile subscriptions #30 of 218.
Spain in the news
Frequently asked questions
What is the population of Spain in 2026?
As of November 2026, Spain has an estimated population of 47,831,804. The live figure is the sum of our estimates for its cities and the rest of the country, fitted to the UN World Population Prospects 2024 (medium variant).
Is the population of Spain growing or shrinking?
It is shrinking at 0.1% per year. At the UN rates that means 327,559 births and 460,698 deaths a year, and net migration of +85,361.
How has the population of Spain changed over time?
In 1950 the population was 28,077,049; by 2026 it had grown to 47,850,793 (+70%). The table above shows the UN World Population Prospects 2024 figures from 1950 to today and the UN projection to 2100.
What will the population of Spain be in 2050 and 2100?
According to the UN World Population Prospects 2024 (medium variant), the population will be 44,928,558 in 2050 and 33,127,478 in 2100.
Explore more
Spain vs India · China · United States · Indonesia · Pakistan · Nigeria · Brazil · Bangladesh · Russia · Ethiopia · Mexico · Japan · Egypt · Philippines · DR Congo · Vietnam · Iran · Türkiye · Germany · Thailand · Tanzania · United Kingdom · France · South Africa · Italy · Kenya · Myanmar · Colombia · Sudan · Uganda · South Korea · Algeria · Iraq · Argentina · Afghanistan · Yemen · Canada · Ukraine · Angola
Cite, download or embed
Glostats. (2026). Spain Population 2026 — Live Counter. Retrieved November 24, 2026, from https://glostats.com/country/spain/https://glostats.com/country/spain/<a href="https://glostats.com/country/spain/">Spain Population 2026 — Live Counter</a> — Glostats<iframe src="https://glostats.com/widget/counter.html?t=pop&c=ESP&theme=dark" height="178" style="border:0;width:100%;max-width:420px;border-radius:12px;overflow:hidden" title="Spain Population 2026 — Live Counter" loading="lazy"></iframe>
<p style="font:12px/1.4 system-ui,sans-serif;margin:4px 0 0"><a href="https://glostats.com/country/spain/">Spain Population 2026 — Live Counter</a> live by <a href="https://glostats.com/">Glostats</a></p>Figures on this page may be quoted, charted or republished as long as the page is credited with a link. Terms · Data API · More embed options
Sources & method: the live population is the sum of our estimates for the country's cities and the rest of the country, fitted to the UN World Population Prospects 2024 (medium variant) and carried forward second by second; the births, deaths and migration counters use the UN rates for 2026. The population history, the 1950–2100 table and the pyramid are from the UN World Population Prospects 2024; other indicators are from World Bank Open Data, ITU, IMF, ILO, EDGAR, Ember, EIA, FAO; the encyclopedic summary is from Wikipedia. Figures are statistical estimates, not census counts. Page generated 2026-11-24. More about our data.