Skip to content
Glostats
Rankings
All rankings →
Continents
Data
Home Countries Europe Spain
Flag of Spain

Spain Population

LivePopulation right now
47,831,804
Births this year 293,848 Deaths this year 413,286 Net migration this year +76,576 Since you opened: +0 people

Spain has a population of 47,831,804 people as of November 2026, ranking #34 among 238 countries and territories and holding 0.57% of the world's population.

Sources: UN World Population Prospects 2024 (live populations, births and deaths, growth, median age); national statistics offices and GeoNames (cities); World Bank, IMF and others (rankings)Updated November 2026

Quick facts

Latest available figures · UN WPP & World Bank
Surface area
505,981 km²
World Bank · 2024
Density
95 /km²
live population ÷ area
Median age
46 years
UN WPP
Life expectancy
84 years
World Bank · 2024
Urban population
38,511,741
81% · World Bank · 2025
GDP
$2,067,164,898,174
live · last 12 months
GDP per capita
$43,217
live
Growth rate
-0.1% / yr
UN WPP

Spain population overview

Updated November 2026

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)

UN World Population Prospects · World Bank

Size and density

Populationlive
47,831,804
World rank#34 of 238 →
Rank in Europe#6 of 50
Share of world population0.57%
Surface area
#52 of 216 →
505,981 km²
2024
Population densitylive
#112 of 216 →
95 per km²
Capital
Madrid

Change over one year

Estimate for one year at this year's rates
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
Annual growth rate
#182 of 238 →
-0.1%
World median: +0.73%
Birth rate
#224 of 238 →
6.8 per 1,000
World median: 13 per 1,000
Death rate
#60 of 238 →
9.6 per 1,000
World median: 7.5 per 1,000

Age and sex

Womenlive
24,354,279
Menlive
23,477,525
Sex ratio
#165 of 238 →
96 males per 100 females
Median age
#14 of 238 →
46 years
World median: 33 years
Age structure
Children (0–14) 12%Working age (15–64) 66%65 and over 22%
UN WPP · 2026

Health

Life expectancy
#13 of 216 →
84 years
2024 · World median: 75 years
Fertility rate
#207 of 216 →
1.1 births per woman
2024 · World median: 1.9 births per woman
Infant mortality
#221 of 238 →
2.1 per 1,000 births
World median: 9.5 per 1,000 births

Cities and digital

Urban populationlive
#27 of 216 →
38,511,741
2025 · World median: 64%
Internet userslive
#24 of 211 →
46,064,992
2025 · World median: 82%
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

GDP, last 12 monthslive
#15 of 214 →
$2,067,164,898,174
GDP per capitalive
#43 of 214 →
$43,217
CO₂ emissions so far this yearlive
#29 of 204 →
198,035,574 tonnes
Electricity used so far this yearlive
#21 of 209 →
253,263,772,027 kWh
Income group
High income
World Bank

World rankings: Spain

Rank among the countries with data
40 rankings
👥 Population
❤️ Demographics & Health
💰 Economy
🏛️ Society
🌱 Environment & Energy

Spain population milestones

UN World Population Prospects 2024 · 1950–2100

Spain population by year

UN World Population Prospects 2024 · 1 July · 1950–2100
YearPopulationYearly changeMedian ageFertility rateLife expectancyPeople per km²World shareWorld rank
195028,077,049–262.562551.1%16
195529,089,776+0.71%+202,545282.567571.1%17
196030,404,939+0.89%+263,033282.869601%18
196532,110,668+1.1%+341,146292.971630.96%20
197033,812,723+1%+340,411292.972670.92%22
197535,795,769+1.1%+396,609292.873710.88%23
198037,537,564+0.95%+348,359302.276740.84%24
198538,601,321+0.56%+212,751311.676760.79%25
199039,084,979+0.25%+96,732331.477770.73%27
199540,052,738+0.49%+193,552341.278790.7%28
200041,019,774+0.48%+193,407361.279810.66%28
200543,958,885+1.4%+587,822381.380870.67%28
201046,840,472+1.3%+576,317391.482930.67%27
201546,683,686-0.067%-31,357421.383920.62%30
202047,679,489+0.42%+199,161431.282940.6%30
202147,735,664+0.12%+56,175441.283940.6%31
202247,828,382+0.19%+92,718441.282950.6%31
202347,911,580+0.17%+83,198451.284950.59%32
2024*47,910,526-0.002%-1,054451.284950.59%32
2025*47,889,958-0.043%-20,568461.284950.58%32
2026*47,850,793-0.082%-39,165461.284950.58%34
Now (live)47,831,804––––950.57%34
UN projection, medium variant
203047,610,520-0.13%-60,068481.385940.56%36
203547,154,196-0.19%-91,265501.385930.53%38
204046,591,674-0.24%-112,504511.386920.51%39
204545,879,964-0.31%-142,342521.387910.49%45
205044,928,558-0.42%-190,281521.487890.46%48
206042,210,838-0.62%-271,772521.488830.42%53
207039,035,769-0.78%-317,507531.490770.38%56
208036,524,535-0.66%-251,123521.591720.36%58
209034,774,237-0.49%-175,030511.592690.34%61
210033,127,478-0.48%-164,676521.593650.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

UN World Population Prospects 2024 · 1 July · 1950–2100
MenWomen
Population by age group and sex, 2026
AgeMenWomen
100+3,54214,117
95–9937,860108,552
90–94171,118363,202
85–89351,132584,325
80–84645,757897,550
75–79907,9061,134,122
70–741,114,0251,283,294
65–691,421,8121,566,666
60–641,703,9471,784,266
55–591,853,2871,869,671
50–542,001,8311,955,260
45–491,962,2231,919,103
40–441,612,0361,600,370
35–391,424,1571,410,658
30–341,309,7711,277,243
25–291,266,8061,208,430
20–241,336,6801,271,941
15–191,326,3751,252,407
10–141,174,7051,108,687
5–9984,128933,969
0–4873,233824,640
Total23,482,33124,368,473
Children (0–14)12%
Working age (15–64)66%
65 and over22%
Dependency ratio53per 100 aged 15–64

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

municipalities · INE 2025 · all 67 →
#CityPopulationShare
1Madrid Capital3,501,3547.3%
2Barcelona1,728,9943.6%
3Valencia839,5041.8%
4Zaragoza692,0291.4%
5Sevilla688,3651.4%
6Málaga598,1451.3%
7Murcia478,6701%
8Palma434,1200.91%
Other cities in the list11,029,34523%
Rest of the country
smaller towns and rural areas
27,841,27858%
Total47,831,804100%

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.

Find out

About Spain

Wikipedia

Population over time

UN World Population Prospects 2024 · 1950–2100 · projection from 2024

Life expectancy & fertility

World Bank · 1960–2024

Birth & death rates

World Bank · 1960–2024
  • 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

World Bank · 1960–2025

CO₂ emissions

European Commission EDGAR · 1970–2025

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

IEA · Energy Institute · Ember · 1990–2025

Electricity production & consumption

Ember · 1990–2025

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

U.S. Energy Information Administration · 1984–2025

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

FAO Global Forest Resources Assessment · 1990–2025
  • 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

FAO FAOSTAT · 1961–2024

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

World Bank · 1960–2025
  • 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

FAO AQUASTAT · UN SDG 6.4.2 · 1961–2022

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

IMF World Economic Outlook · 1980–2025

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

ILO · IMF · 1991–2025

Internet & mobile

World Bank · 1990–2025
  • 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

Latest English-language coverage · Google 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

Every page leads somewhere new
Largest in Europe
Similar population
Compare Spain with
All 39 ready-made comparisons

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

Free to reuse with attribution
APAGlostats. (2026). Spain Population 2026 — Live Counter. Retrieved November 24, 2026, from https://glostats.com/country/spain/
Linkhttps://glostats.com/country/spain/
HTML<a href="https://glostats.com/country/spain/">Spain Population 2026 — Live Counter</a> — Glostats
Embed<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.