Spain's population after the migration boom
Spain: running population estimate — about 47,850,793 on 1 July 2026 (UN projection), falling by about 131 a day.
Estimate based on UN projections, not a real-time count. How it works
UN World Population Prospects 2024: mid-2026 value, easing down by about 131 a day
Roughly 47.9 million people make up Spain's population in mid-2026, placing it 34th worldwide. It reached a record in 2023, mostly thanks to immigration, and is now edging down by 0.1% a year.
Spain at a glance
2026How much did immigration grow Spain's population?
Enormously in the 2000s. In 2007, the UN estimates, net arrivals reached 772 thousand and the population rose by 876 thousand, the largest one-year gain in the series. Over the decade from 2000 the total gained 5.8 million. Mid-century Spain was the opposite case: in 1950 about 130 thousand more people left than arrived.
Spain's population, 1950–2100: boom, dip, peak and decline
Mid-year totals. The dashed part is the UN projection, sloping to about 33 million.
- UN estimate
- UN projection
Why did Spain's population fall between 2012 and 2015?
Because migration reversed. In each of those four years more people left Spain than moved there; 2013 saw the biggest net loss, roughly 251 thousand. Growth resumed when arrivals picked up again, and Spain set its record of 47.9 million in 2023. Births have not covered deaths since 2015, and the projected decline begins once arrivals no longer make up that gap.
How low is Spain's birth rate?
Among the lowest in the world: Spanish women average 1.24 children today, after the all-time low of 1.13 reached in 1998. This year's births, near 327 thousand, are fewer than half of the 692 thousand recorded in 1964; deaths run at about 460 thousand.
Fertility in Spain, 1950 to 2050
UN total fertility rate, with the projected years dashed; 2.1 shown for reference.
- UN estimate
- UN projection
How does life expectancy in Spain compare with the rest of Europe?
It stands at 84.1 years, the third-best in Europe once states below 5 million are excluded, after Switzerland and Italy. In 1950 it was 61.8. Longer lives and few births make Spain older: half its residents are past 46.3, with 51.8 projected for 2050.
Where is Spain's population heading by 2100?
Down to around 33.1 million, close to the size Spain had in 1968, according to the medium variant; its world rank would slip from 34th to 62nd. Density is a modest 95 people per km², with 80.7% in urban areas as Spain defines them.
Spanish population by decade, with projections to 2100
Spain at each decade mark and today, with projected years from 2030 shaded.
| Year | Population | People per km² | Births per woman | Median age | Urban | World rank |
|---|---|---|---|---|---|---|
| 1950 | 28,077,049 | 56 | 2.47 | 26.5 | 51.6% | 16 |
| 1960 | 30,404,939 | 61 | 2.81 | 28.4 | 56.5% | 18 |
| 1970 | 33,812,723 | 67 | 2.88 | 29.1 | 66.2% | 22 |
| 1980 | 37,537,564 | 75 | 2.21 | 29.8 | 71.5% | 24 |
| 1990 | 39,084,979 | 78 | 1.36 | 32.5 | 74.8% | 27 |
| 2000 | 41,019,774 | 82 | 1.21 | 36.3 | 76.2% | 28 |
| 2010 | 46,840,472 | 93 | 1.37 | 39.2 | 78.5% | 27 |
| 2020 | 47,679,489 | 95 | 1.19 | 43.5 | 79.7% | 30 |
| UN projections (medium variant) | ||||||
| 2026 | 47,850,793 | 95 | 1.24 | 46.3 | 80.7% | 34 |
| 2030 | 47,610,520 | 95 | 1.26 | 48 | 81.7% | 36 |
| 2040 | 46,591,674 | 93 | 1.32 | 51 | 85% | 39 |
| 2050 | 44,928,558 | 89 | 1.36 | 51.8 | 89.5% | 48 |
| 2075 | 37,644,622 | 75 | 1.44 | 52.2 | – | 58 |
| 2100 | 33,127,478 | 66 | 1.48 | 52.2 | – | 62 |
Spain's population: common questions
What does Spain's population add up to now?
Roughly 47.9 million as of mid-year, so Spain ranks 34th on the planet and second in Southern Europe after Italy.
Is Spain past its population high?
In the UN medium variant, yes: the record was 47.9 million in 2023, and every later year is a little lower; 2026 brings a fall of 0.1%.
How many immigrants came to Spain during the boom?
Net inflows hit 772 thousand in 2007 alone by the UN's count, the highest on record, when the population grew by 876 thousand within twelve months.
Did Spain lose people after the 2008 crisis?
The UN figures show four years of decline, 2012 to 2015, all with more people leaving than arriving; the outflow was largest in 2013 at about 251 thousand.
Are Spaniards among the longest-lived people in Europe?
Yes. A Spanish newborn can expect 84.1 years, a figure topped in Europe only by Switzerland and Italy once small states under 5 million are set aside. The 1950 value was 61.8.
Sources and methodology
- UN DESA Population Division, World Population Prospects 2024 (medium variant, original data files; listed as "Spain"): population, births, deaths, net migration, growth, density, fertility, median age, life expectancy, world rank, regional grouping, comparisons with other countries and projections. Land area is the UN's population divided by its density.
- UN DESA Population Division, World Urbanization Prospects 2025 (percentage urban by national definition): urban share.
The live counter starts from the UN's mid-2026 estimate and applies the UN's projected change for 2026 evenly through the year. It is an estimate, not a real-time count. See our methodology.
Published · Updated · By AtlasFigures Editorial
Spotted an error? Report an error · How we correct errors