Population of Spain (2026)
The population of Spain is 47,850,793 in 2026 (UN mid-year projection).
Sources differ: the World Bank reports 49,355,143 for 2025, 3% above the UN projection for the same year (47,889,958).
Spain has the 34th largest population of 195 ranked countries (2026, UN).
Between 2025 and 2026, the population of Spain fell by 39,165 people, or 0.08% (UN).
Spain holds 0.58% of the world population in 2026; the world total is 8,300,678,396 (UN).
Population density in Spain is 97.8 people per km² (2024, World Bank).
80.5% of the population of Spain lives in urban areas (2025, World Bank).
The median age in Spain is 44.9 years (2023, UN).
Live estimate: a straight-line interpolation between the UN mid-year figures for 2026 and 2027. It is not a count.
Key figures
- Population, UN mid-year projection
- 47,850,793 people2026, UN
- Population, World Bank
- 49,355,143 people2025, World Bank, 32 of 194
- Change 2025-2026
- -39,165 people-0.08%, UN
- World rank
- 34 of 1952026, UN
- Share of world population
- 0.58%2026, UN
- Population density
- 97.8 people per km²2024, World Bank
- Urban population share
- 80.5%2025, World Bank
- Median age
- 44.9 years2023, UN
Population, 1950-2100
Solid line: UN values to 2023. Dashed line: projection to 2100 (Medium variant).
Population by year
| Year | Value (people) | Change | Change, % | Basis |
|---|---|---|---|---|
| 2026 | 47,850,793 | -39,165 | -0.08% | projection |
| 2025 | 47,889,958 | -20,568 | -0.04% | projection |
| 2024 | 47,910,526 | -1,054 | 0.00% | projection |
| 2023 | 47,911,580 | +83,198 | +0.17% | estimate |
| 2022 | 47,828,382 | +92,718 | +0.19% | estimate |
| 2021 | 47,735,664 | +56,175 | +0.12% | estimate |
| 2020 | 47,679,489 | +244,370 | +0.52% | estimate |
| 2019 | 47,435,119 | +342,298 | +0.73% | estimate |
| 2018 | 47,092,821 | +224,225 | +0.48% | estimate |
| 2017 | 46,868,596 | +135,825 | +0.29% | estimate |
| 2016 | 46,732,771 | +49,085 | +0.11% | estimate |
| 2015 | 46,683,686 | -36,502 | -0.08% | estimate |
| 2014 | 46,720,188 | -140,201 | -0.30% | estimate |
| 2013 | 46,860,389 | -157,934 | -0.34% | estimate |
| 2012 | 47,018,323 | +20,280 | +0.04% | estimate |
| 2011 | 46,998,043 | +157,571 | +0.34% | estimate |
| 2010 | 46,840,472 | +205,292 | +0.44% | estimate |
| 2009 | 46,635,180 | +400,126 | +0.87% | estimate |
| 2008 | 46,235,054 | +718,547 | +1.58% | estimate |
| 2007 | 45,516,507 | +821,059 | +1.84% | estimate |
| 2006 | 44,695,448 | +736,563 | +1.68% | estimate |
| 2005 | 43,958,885 | +724,319 | +1.68% | estimate |
| 2004 | 43,234,566 | +728,023 | +1.71% | estimate |
| 2003 | 42,506,543 | +750,839 | +1.80% | estimate |
| 2002 | 41,755,704 | +510,105 | +1.24% | estimate |
| 2001 | 41,245,599 | +225,825 | +0.55% | estimate |
| 2000 | 41,019,774 | +206,918 | +0.51% | estimate |
| 1999 | 40,812,856 | +195,416 | +0.48% | estimate |
| 1998 | 40,617,440 | +193,614 | +0.48% | estimate |
| 1997 | 40,423,826 | +186,454 | +0.46% | estimate |
| 1996 | 40,237,372 | +184,634 | +0.46% | estimate |
| 1995 | 40,052,738 | +194,017 | +0.49% | estimate |
| 1994 | 39,858,721 | +207,100 | +0.52% | estimate |
| 1993 | 39,651,621 | +231,275 | +0.59% | estimate |
| 1992 | 39,420,346 | +218,587 | +0.56% | estimate |
| 1991 | 39,201,759 | +116,780 | +0.30% | estimate |
| 1990 | 39,084,979 | +55,421 | +0.14% | estimate |
| 1989 | 39,029,558 | +77,294 | +0.20% | estimate |
| 1988 | 38,952,264 | +100,254 | +0.26% | estimate |
| 1987 | 38,852,010 | +116,305 | +0.30% | estimate |
| 1986 | 38,735,705 | +134,384 | +0.35% | estimate |
| 1985 | 38,601,321 | +163,839 | +0.43% | estimate |
| 1984 | 38,437,482 | +184,238 | +0.48% | estimate |
| 1983 | 38,253,244 | +206,143 | +0.54% | estimate |
| 1982 | 38,047,101 | +234,389 | +0.62% | estimate |
| 1981 | 37,812,712 | +275,148 | +0.73% | estimate |
| 1980 | 37,537,564 | +307,192 | +0.83% | estimate |
| 1979 | 37,230,372 | +325,404 | +0.88% | estimate |
| 1978 | 36,904,968 | +353,698 | +0.97% | estimate |
| 1977 | 36,551,270 | +374,990 | +1.04% | estimate |
| 1976 | 36,176,280 | +380,511 | +1.06% | estimate |
| 1975 | 35,795,769 | +434,007 | +1.23% | estimate |
| 1974 | 35,361,762 | +435,238 | +1.25% | estimate |
| 1973 | 34,926,524 | +386,657 | +1.12% | estimate |
| 1972 | 34,539,867 | +382,416 | +1.12% | estimate |
| 1971 | 34,157,451 | +344,728 | +1.02% | estimate |
| 1970 | 33,812,723 | +315,787 | +0.94% | estimate |
| 1969 | 33,496,936 | +326,816 | +0.99% | estimate |
| 1968 | 33,170,120 | +349,369 | +1.06% | estimate |
| 1967 | 32,820,751 | +354,867 | +1.09% | estimate |
| 1966 | 32,465,884 | +355,216 | +1.11% | estimate |
| 1965 | 32,110,668 | +369,082 | +1.16% | estimate |
| 1964 | 31,741,586 | +361,759 | +1.15% | estimate |
| 1963 | 31,379,827 | +339,721 | +1.09% | estimate |
| 1962 | 31,040,106 | +340,539 | +1.11% | estimate |
| 1961 | 30,699,567 | +294,628 | +0.97% | estimate |
| 1960 | 30,404,939 | +264,232 | +0.88% | estimate |
| 1959 | 30,140,707 | +291,048 | +0.98% | estimate |
| 1958 | 29,849,659 | +279,695 | +0.95% | estimate |
| 1957 | 29,569,964 | +246,294 | +0.84% | estimate |
| 1956 | 29,323,670 | +233,894 | +0.80% | estimate |
| 1955 | 29,089,776 | +231,948 | +0.80% | estimate |
| 1954 | 28,857,828 | +225,131 | +0.79% | estimate |
| 1953 | 28,632,697 | +226,656 | +0.80% | estimate |
| 1952 | 28,406,041 | +191,181 | +0.68% | estimate |
| 1951 | 28,214,860 | +137,811 | +0.49% | estimate |
| 1950 | 28,077,049 | - | - | estimate |
Spain through history
Spain became independent in 1492.
Map quizzes that include Spain
- Spain: Autonomous Communities
- Spain: Community Flags
- European Union Members
- European Union: Flags
- Europe: Countries
Population projection to 2100
| Year | Population | Change from 2026 |
|---|---|---|
| 2030 | 47,610,520 | -0.5% |
| 2040 | 46,591,674 | -2.6% |
| 2050 | 44,928,558 | -6.1% |
| 2060 | 42,210,838 | -11.8% |
| 2070 | 39,035,769 | -18.4% |
| 2080 | 36,524,535 | -23.7% |
| 2090 | 34,774,237 | -27.3% |
| 2100 | 33,127,478 | -30.8% |
Spain in context
| Country | Population | Year | Density | Rank | Relation |
|---|---|---|---|---|---|
| France | 66,746,401 | 2026 | 127 people per km² (2024) | 23 of 195 | land neighbour |
| Algeria | 48,028,334 | 2026 | 19.7 people per km² (2024) | 32 of 195 | similar size |
| Iraq | 48,007,437 | 2026 | 106 people per km² (2024) | 33 of 195 | similar size |
| Spain | 47,850,793 | 2026 | 97.8 people per km² (2024) | 34 of 195 | this country |
| Argentina | 46,003,734 | 2026 | 16.7 people per km² (2024) | 35 of 195 | similar size |
| Afghanistan | 45,047,068 | 2026 | 65.4 people per km² (2024) | 36 of 195 | similar size |
| Yemen | 42,961,653 | 2026 | 76.9 people per km² (2024) | 37 of 195 | similar size |
| Morocco | 38,762,441 | 2026 | 85.3 people per km² (2024) | 41 of 195 | land neighbour |
| Portugal | 10,395,362 | 2026 | 117 people per km² (2024) | 93 of 195 | land neighbour |
| Andorra | 83,753 | 2026 | 175 people per km² (2024) | 185 of 195 | land neighbour |
| Gibraltar | 40,867 | 2026 | 3,933 people per km² (2024) | not ranked | land neighbour |
Frequently asked questions
How many people live in Spain?
The population of Spain is 47,850,793 in 2026 (UN mid-year projection).
How does Spain rank in the world by population?
Spain has the 34th largest population of 195 ranked countries (2026, UN).
Is the population of Spain growing?
Yes. The UN data show a rise from 28,077,049 in 1950 to 47,850,793 in 2026, a change of +70.4%.
What is the population density of Spain?
Population density in Spain is 97.8 people per km² (2024, World Bank).
What will the population of Spain be in 2050?
The UN medium-variant projection for Spain is 44,928,558 in 2050. A projection is not a forecast of certainty: it depends on assumptions about births, deaths and migration.
Why do the UN and the World Bank give different populations for Spain?
The two sources give figures for different years and compile them in different ways. The UN figure is for 1 July of 2026; the World Bank figure is for 2025, the latest year in its data.
What it measures
Total population counts all residents of a country regardless of legal status or citizenship. The UN figure is for 1 July of the year; the World Bank figure is its latest annual value.
Sources and method
- UN - World Population Prospects 2024, Licence: CC BY 3.0 IGO
- World Bank - World Development Indicators, Licence: CC BY 4.0
UN figures are from UN - World Population Prospects 2024, Medium variant, World Population Prospects 2024 (revision 1): Interim update, released 19 January 2026 (Togo replaced; all other locations as released 11 July 2024); downloaded 2026-11-24. They count people on 1 July of each year. Values up to 2023 are estimates; later values are projections.
World Bank figures are the latest annual value in the data (World Development Indicators). Where the two sources give a population for the same year and differ by more than 2%, the page says so.
The population rank is computed from the UN values for 2026 among the 195 independent states that have a value; territories and dependencies are not ranked.
The yearly table lists the UN values for each year where the source has one; years without a value are left out.
Last updated:
More about Spain
More statistics for Spain
- Population density
- Population growth
- Urban population
- Life expectancy
- Fertility rate
- Median age
- Adult literacy
- Internet users
- GDP
- GDP per capita
- GDP per capita, PPP
- GDP growth
- Inflation
- Unemployment
- Human Development Index
- Income inequality (Gini)
- Area
- Forest area
- Arable land
- Coastline
- CO2 emissions per person
Every year has a map
Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.

