Demographics of Spain

Demographics of Spain
Population pyramid of Spain in 2021
Population 49,153,849 (2025 est.)
Density97/km2 (251.2/sq mi)
Growth rate 1.2% (2023)
Birth rate 6.61 births/1,000 people (2023)
Death rate 8.96 deaths/1,000 people (2023)
Life expectancy 83.96 (2025)
  male81.27
  female86.59
Fertility rate 1.12 children per woman (2023)
Infant mortality rate 1.89 deaths/1,000 live births (2024)
Net migration rate4.35 migrant(s)/1,000 population
Age structure
0–14 years13.26%
15–64 years66.09%
65 and over20.65%
Sex ratio
Total0.95 male(s)/female (2024)
At birth1.05 male(s)/female
Under 151.04 male(s)/female
15–64 years1 male(s)/female
65 and over0.76 male(s)/female
Nationality
NationalitySpanish citizen
Major ethnicWhite 81.3%
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%
202549,153,849+0.91%
Source: INE and Our World in Data

As of 1 April 2025, Spain had a total population of 49,153,849. The modern Kingdom of Spain arose from the accretion of several independent Iberian realms, including the Kingdoms of León, Castile, Navarre, the Crown of Aragon and Granada, all of which, together with the modern state of Portugal, were successor states to the late antique Christian Visigothic Kingdom after the Reconquista.

Spain's population surpassed 49 million inhabitants for the first time in history in 2025, with a total population of 49,153,849 people living in Spain. 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.

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 2023, the average total fertility rate (TFR) across Spain was 1.12 children born per woman.

Spain accepted 478,990 new immigrant residents in the first six months of 2022 alone. During these first six months, 220,443 people also emigrated from Spain, leaving a record-breaking net migration figure of 258,547. The data shows that more women than men chose to move to Spain during 2022, this is due to higher rates of emigration from Latin America.