Population of Spain

Population - May 2026 47,370,570 #34 worldwide Bandera of Spain
Annual Growth -61,658 #228 worldwide
Median Age 46.3 years #13 worldwide
Life Expectancy 84.4 years #11 worldwide
Density 94.3 p/km² #126 worldwide

As of May 2026, the population of Spain is 47.4 million. The number of inhabitants has decreased by 62 thousand in the last year, representing a decline of 0.13%. The median age of the population has increased in recent years, rising from 42 years in 2016 to 46.3 years in 2026. Currently, life expectancy at birth is 84.4 years and population density is 94.3 inhabitants per square kilometer.

Population Growth

The population growth rate of Spain peaked in 2007, reaching around 1.95% annually, but has since declined to approximately -0.13% in 2026. The annual increase in the number of people has also decreased from a peak of around 880.16 thousand in 2007 to nearly -61.66 thousand in 2026.

Life Expectancy

In Spain, life expectancy at birth has been increasing, with the indicator rising from 81 years in 2006 to 84.4 years in 2026, representing an increase of more than 3 years over the past 2 decades.

Most populous cities in Spain

Spain has several cities considered medium-sized by their number of inhabitants, but there are also some large ones. The most populous city is Madrid, with approximately 3.3 million inhabitants. It is followed by Barcelona, Catalonia with 1.7 million and Valencia with 824.3 thousand.

These are the 20 most populous cities in Spain:

# City Population
1 Madrid 3,255,944
2 Barcelona, Catalonia 1,686,208
3 Valencia 824,340
4 Zaragoza, Aragon 686,986
5 Sevilla, Andalusia 686,741
6 Málaga, Andalusia 592,346
7 Murcia 471,982
8 Palma, Balearic Islands 438,234
9 Las Palmas de Gran Canaria, Canary Islands 383,516
10 Alicante, Valencia 348,901
# City Population
11 Bilbao, Basque Country 347,342
12 Córdoba, Andalusia 325,708
13 Valladolid, Castille and León 300,618
14 Vigo, Galicia 293,642
15 Gijón, Asturias 271,780
16 Eixample, Catalonia 266,477
17 Gasteiz / Vitoria, Basque Country 257,407
18 L'Hospitalet de Llobregat, Catalonia 257,038
19 Latina, Madrid 256,644
20 Carabanchel, Madrid 253,678