Demographics of Spain

Demographics of Spain
Population pyramid of Spain in 2021
Population 49,570,725 (2025 est.)
Density98/km2 (253.8/sq mi)
Growth rate 0.12% (2024)
Birth rate 6.5 births/1,000 people (2024)
Death rate 8.9 deaths/1,000 people (2024)
Life expectancy 84 years (2024)
 • male81.4 years
 • female86.5 years
Fertility rate 1.10 children per woman (2024)
Infant mortality rate 2.4 deaths/1,000 live births (2024)
Net migration rate4.1 migrant(s)/1,000 population (2024)
Age structure
0–14 years12.70% (2025)
15–64 years66.39% (2025)
65 and over20.91% (2025)
Sex ratio
Total0.95 male(s)/female (2024)
At birth1.05 male(s)/female
Under 151.06 male(s)/female (2024)
15–64 years1.00 male(s)/female (2024)
65 and over0.77 male(s)/female (2024)
Nationality
NationalitySpanish citizen
Major ethnic
Minor ethnic
Language
OfficialSpanish
Historical population
YearPop.±% p.a.
0 4,600,000—    
500 4,000,000−0.03%
10004,000,000+0.00%
13007,500,000+0.21%
15006,500,000−0.07%
16008,500,000+0.27%
17008,000,000−0.06%
183312,286,941+0.32%
184612,162,872−0.08%
185715,464,340+2.21%
187716,622,175+0.36%
188717,549,608+0.54%
190018,616,630+0.46%
191019,990,669+0.71%
192021,388,551+0.68%
193023,677,095+1.02%
194026,014,278+0.95%
195028,117,873+0.78%
196030,582,936+0.84%
197033,956,047+1.05%
198137,683,363+0.95%
199138,872,268+0.31%
200140,847,371+0.50%
201146,815,916+1.37%
202147,400,798+0.12%
202649,128,297+0.72%
Source: INE and Our World in Data

As of 1 January 2026, Spain had a total population of 49,570,725. Spain's population surpassed 49 million inhabitants for the first time in 2025. Its population density, at 97 inhabitants per square kilometre (250/sq mi), is much lower than other Western European countries, yet, with the exception of microstates, it has the highest real density population in Europe, based on density of inhabited areas. With the notable exception of Madrid, Spain's capital city, the most densely populated areas lie around the coast, though recent immigration has contributed to a modest population growth in the inland.

The population of Spain doubled during the twentieth century, but the pattern of growth was extremely uneven due to large-scale internal migration from the rural interior to the industrial cities. Eleven of Spain's fifty provinces saw an absolute decline in population over the century. In the first 25 years of the 21st century, population of Spain grew from 40 million in 2000 to more than 49 million in 2025 mostly due to immigration.

In 2023, the average total fertility rate (TFR) across Spain was 1.12 children born per woman, one of the lowest in the world.