Demographics of Spain

Population, age structure, birth rate, mortality and migration by province

Total Population

47,889,988

inhabitants

Average Age

45.2 common.years

Birth Rate

7.64‰

Foreigners

12.62%

Most populated

Madrid

Oldest province

Ourense

Youngest province

Melilla

Demographic Map of Spain

Population distribution by autonomous communities. Click on a region to view detailed data.

Loading map...

By Province

#common.provincePopulationDensityAverage AgeOver 65Foreigners
1MadridMADRID (COMUNIDAD DE)6,751,251840.99 hab/km²43.2018.40% 14.63%
2BarcelonaCATALUÑA5,743,402743.35 hab/km²43.9019.80% 15.26%
3Valencia/ValènciaCOMUNITAT VALENCIANA2,589,312240.57 hab/km²43.6019.60% 15.40%
4Alicante/AlacantCOMUNITAT VALENCIANA1,981,473340.66 hab/km²43.5019.40% 19.56%
5SevillaANDALUCÍA1,964,736139.98 hab/km²42.4017.60% 7.29%
6MálagaANDALUCÍA1,717,504235.00 hab/km²42.8018.10% 16.75%
7MurciaMURCIA (REGIÓN DE)1,554,599137.41 hab/km²41.9017.40% 17.23%
8CádizANDALUCÍA1,265,488170.05 hab/km²42.1017.30% 6.93%
9Balears (Illes)BALEARS (ILLES)1,223,422245.08 hab/km²42.8017.80% 19.17%
10BizkaiaPAÍS VASCO1,159,443522.98 hab/km²46.1023.80% 6.60%
11Palmas (Las)CANARIAS1,154,784284.04 hab/km²42.1016.80% 16.25%
12Coruña (A)GALICIA1,132,735142.48 hab/km²47.2025.30% 4.80%
13Santa Cruz de TenerifeCANARIAS1,056,237312.40 hab/km²43.4018.40% 15.66%
14AsturiasASTURIAS (PRINCIPADO DE)1,011,79295.43 hab/km²49.5027.80% 5.37%
15ZaragozaARAGÓN982,32456.87 hab/km²44.8021.40% 14.58%
16PontevedraGALICIA952,319211.88 hab/km²47.1025.10% 4.54%
17GranadaANDALUCÍA927,42873.33 hab/km²43.2018.70% 9.45%
18TarragonaCATALUÑA827,445131.28 hab/km²43.8019.80% 17.31%
19GironaCATALUÑA790,763133.80 hab/km²44.1020.20% 19.83%
20CórdobaANDALUCÍA785,24057.02 hab/km²44.5020.10% 5.50%
21AlmeríaANDALUCÍA746,96185.13 hab/km²41.8017.20% 20.92%
22GipuzkoaPAÍS VASCO734,199370.81 hab/km²45.8023.40% 8.91%
23ToledoCASTILLA - LA MANCHA722,27446.99 hab/km²42.8018.20% 13.67%
24NavarraNAVARRA (COMUNIDAD FORAL DE)672,89964.76 hab/km²44.5020.60% 13.03%
25BadajozEXTREMADURA672,13730.88 hab/km²45.8022.40% 5.14%
26JaénANDALUCÍA631,38146.78 hab/km²45.6022.30% 5.14%
27Castellón/CastellóCOMUNITAT VALENCIANA591,86889.25 hab/km²44.2020.40% 16.69%
28CantabriaCANTABRIA588,656110.62 hab/km²46.8024.20% 5.51%
29HuelvaANDALUCÍA527,59752.09 hab/km²43.4018.90% 8.19%
30ValladolidCASTILLA Y LEÓN523,67964.57 hab/km²46.2023.40% 6.60%
31Ciudad RealCASTILLA - LA MANCHA502,57825.37 hab/km²44.9021.20% 9.09%
32LeónCASTILLA Y LEÓN456,43929.29 hab/km²49.2028.40% 4.68%
33LleidaCATALUÑA443,03236.46 hab/km²44.9021.80% 15.32%
34CáceresEXTREMADURA396,48719.96 hab/km²46.9024.10% 4.73%
35AlbaceteCASTILLA - LA MANCHA388,27026.01 hab/km²44.1020.80% 9.12%
36BurgosCASTILLA Y LEÓN358,17125.54 hab/km²47.8026.20% 6.55%
37Araba/ÁlavaPAÍS VASCO338,671111.50 hab/km²45.2022.10% 10.19%
38SalamancaCASTILLA Y LEÓN330,11926.73 hab/km²47.8026.70% 6.47%
39LugoGALICIA327,94633.27 hab/km²50.1029.80% 3.76%
40Rioja (La)RIOJA (LA)322,95564.01 hab/km²45.3021.90% 14.14%
41OurenseGALICIA306,65042.16 hab/km²50.8031.20% 5.11%
42GuadalajaraCASTILLA - LA MANCHA269,09322.03 hab/km²43.8019.40% 16.97%
43HuescaARAGÓN223,26614.28 hab/km²46.8024.60% 10.51%
44CuencaCASTILLA - LA MANCHA199,27411.63 hab/km²47.1026.80% 11.77%
45ZamoraCASTILLA Y LEÓN172,42616.33 hab/km²50.2030.10% 5.73%
46PalenciaCASTILLA Y LEÓN160,32119.91 hab/km²49.1028.10% 6.16%
47ÁvilaCASTILLA Y LEÓN158,49819.69 hab/km²48.5027.30% 5.53%
48SegoviaCASTILLA Y LEÓN155,51722.47 hab/km²47.2025.80% 10.08%
49TeruelARAGÓN135,5629.15 hab/km²48.2027.10% 11.57%
50SoriaCASTILLA Y LEÓN89,5128.69 hab/km²49.8029.40% 8.55%
51MelillaCIUDAD AUTÓNOMA DE MELILLA87,0766498.21 hab/km²36.8011.40% 22.83%
52CeutaCIUDAD AUTÓNOMA DE CEUTA84,7774582.54 hab/km²38.4012.80% 14.56%

Spain, a country with a rich cultural heritage and diverse landscapes, is home to a total population of approximately 47.9 million inhabitants as of 2023. This figure reflects a complex demographic landscape characterized by significant trends in aging, fertility, and immigration. Understanding these dynamics is crucial for grasping the current and future societal fabric of Spain. The average age of the Spanish population stands at 44.4 years, underscoring a notable trend towards an increasingly aging society. Currently, 20.8% of the population is over 65 years old, indicating that one in five Spaniards is at retirement age or beyond. This demographic shift presents challenges for social welfare systems and healthcare services, necessitating strategic planning to accommodate an older population. In contrast, only 14.9% of the population is under 18, highlighting a declining youth demographic that raises concerns about future workforce sustainability and economic growth. Spain's birth rate is currently at 7.64 births per 1,000 inhabitants, one of the lowest in Europe. Coupled with a death rate of 9.11 per 1,000, this has resulted in a natural population decline of approximately 70,710 individuals. These figures reflect a broader trend of falling fertility rates, which can be attributed to various factors including economic uncertainty, changing societal norms, and increased participation of women in the workforce. The implications of low birth rates are profound, as they challenge the balance between the working-age population and retirees, potentially leading to labor shortages and increased pressure on pension systems. Another vital aspect of Spain's demographics is immigration, which plays a significant role in shaping the population structure. Foreign residents now account for approximately 12.62% of the total population. This diverse group brings cultural richness and economic contributions, particularly in sectors such as agriculture, construction, and services. However, immigration also presents challenges related to integration and social cohesion. The regional differences in the foreign population are notable, with urban centers like Madrid and Barcelona experiencing higher concentrations of immigrants compared to rural areas. Looking forward, Spain's demographic landscape will continue to evolve, influenced by factors such as migration policies, economic conditions, and societal attitudes towards family and work. The aging population will require innovative solutions in healthcare and elder care, while the decline in youth may encourage policymakers to focus on attracting and retaining young talent from abroad. As Spain navigates these demographic challenges, understanding the interplay between aging, birth rates, and immigration will be essential for fostering a balanced and sustainable future. In conclusion, Spain's demographic situation is marked by a growing elderly population, declining birth rates, and significant immigration. These trends not only shape the social and economic landscape of the country but also pose challenges that demand proactive strategies for sustainable development and social welfare.

common.dataSource: INE - Instituto Nacional de Estadística (2023)