Demographics of Spain

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

Total Population

47,889,988

inhabitants

Average Age

45.2 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

#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%

As of 2024, Spain's population stands at approximately 47.5 million, making it the fourth most populous country in the European Union. This figure is significant not only because it reflects a steady growth trend but also highlights Spain's vital role within the EU's demographic landscape. The population density, currently at about 94.5 inhabitants per square kilometer, showcases the pressing urbanization trends, particularly in major cities like Madrid and Barcelona, where density exceeds 5,000 inhabitants per square kilometer. Understanding these statistics helps illuminate the broader implications for social services, infrastructure, and economic policies.

Historically, Spain's population growth has fluctuated due to several factors, including economic conditions and migration patterns. For instance, in comparison with neighboring Portugal, which has seen a decline in its population since 2011, Spain has managed to maintain a stable growth rate of around 0.2% annually. This resilience can be attributed to various factors, such as a relatively higher birth rate in certain regions and a continued influx of both international migrants and returning nationals. Moreover, when compared to countries like Germany, which faces significant demographic challenges due to an aging population, Spain's youthful demographic profile offers a contrasting narrative within the EU.

Regionally, the demographic landscape of Spain presents stark contrasts. For example, the population of Madrid has grown by 1.5% in the past year, fueled by economic opportunities and educational institutions. In contrast, regions like Extremadura and Castilla-La Mancha are experiencing stagnation or slight declines, with growth rates of -0.1% and 0.0%, respectively. The Canary Islands, however, have seen a population increase of nearly 2%, largely driven by tourism and expatriate communities. Meanwhile, Catalonia’s population growth has plateaued, reflecting political tensions and economic uncertainties. These regional disparities highlight the complexities of Spain's demographic evolution.

Several factors contribute to these demographic statistics, notably economic conditions, migration policies, and fertility rates. Spain's robust economy, rebounding post-COVID-19, has attracted young professionals and families, particularly in urban areas. Furthermore, government policies promoting family welfare and work-life balance have resulted in a slight increase in birth rates, which had been declining for years. However, challenges persist, including high unemployment rates among youth and housing affordability issues, which can deter family growth in urban centers.

The implications of these demographic trends are profound for everyday life in Spain. For instance, the increased population in urban areas has led to heightened demand for housing, causing rental prices to soar, particularly in cities like Madrid where average rents have surged by 15% in the past year. Additionally, public services, including healthcare and education, are under pressure to meet the growing needs of a diverse population. Citizens may experience longer wait times for services or increased competition for housing, which can impact quality of life.

For those looking to navigate these demographic changes, several practical recommendations can be drawn from the data. Individuals seeking housing should consider emerging neighborhoods in less populated regions where rent is more affordable. Additionally, families may benefit from exploring available government incentives aimed at supporting child-rearing, which can alleviate some financial burdens associated with raising children in urban areas. Understanding the local demographics can also help in career planning, as job opportunities may be more abundant in regions experiencing population growth.

Looking ahead, Spain's demographic trends are expected to evolve, influenced by ongoing economic recovery, migration patterns, and social policies. Projections indicate that by 2030, Spain may see a population increase of approximately 2%, particularly if current immigration trends continue. However, the effects of an aging population will necessitate adaptive policies to support healthcare and pensions, ensuring that the needs of an older demographic are met. Urban areas are likely to continue attracting younger populations, while rural regions may face further declines unless strategic initiatives are implemented.

In summary, understanding the demographic landscape of Spain provides valuable insights into the challenges and opportunities facing its citizens. The statistics presented not only inform policy decisions but also empower individuals to make informed choices about their lives and futures.

🕐 Last updated: 2026-02

Frequently Asked Questions

As of the latest data from the INE (Instituto Nacional de Estadística), Spain has an estimated population of approximately 47.4 million inhabitants. This figure is based on the most recent demographic estimates and reflects a diverse population spread across various regions of the country.

Data source: INE - Instituto Nacional de Estadística (2023)