Municipalities of Spain by life expectancy, 2023
Majadahonda had the highest life expectancy of 155 municipalities in 2023, at 87.08 years. Torrevieja had the lowest, at 80.21 years. The median was 83.38 years and the figure for Spain was 83.77 years. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2023
Full ranking
| Rank | Municipalities | 2023 | Change on 2022 |
|---|---|---|---|
| 1 | Majadahonda | 87.08 | +0.69 |
| 2 | Boadilla del Monte | 86.82 | +0.03 |
| 3 | Pozuelo de Alarcón | 86.68 | +0.33 |
| 4 | Rivas-Vaciamadrid | 86.01 | +0.36 |
| 5 | Alcobendas | 85.89 | +0.65 |
| 6 | Sant Cugat del Vallès | 85.83 | +0.65 |
| 7 | Las Rozas de Madrid | 85.64 | -0.1 |
| 8 | Alcorcón | 85.55 | +0.24 |
| 9 | Getxo | 85.34 | +0.26 |
| 10 | Toledo | 85.28 | +0.71 |
| 11 | San Sebastián de los Reyes | 85.16 | +0.58 |
| 12 | Coslada | 85.13 | +0.95 |
| 13 | Colmenar Viejo | 85.12 | +0.48 |
| 14 | Pinto | 84.95 | +0.19 |
| 15 | Madrid | 84.93 | +0.33 |
| 16 | Leganés | 84.85 | +0.42 |
| 17 | Getafe | 84.81 | +0.2 |
| 18 | Zamora | 84.77 | +0.21 |
| 19 | Guadalajara | 84.75 | +0.55 |
| 19 | Vitoria-Gasteiz | 84.75 | +0.24 |
| 21 | Salamanca | 84.72 | +0.52 |
| 22 | Cerdanyola del Vallès | 84.64 | +0.05 |
| 23 | Alcalá de Henares | 84.6 | +0.24 |
| 23 | Valdemoro | 84.6 | +0.38 |
| 25 | Móstoles | 84.58 | +0.38 |
| 26 | Fuenlabrada | 84.51 | +0.37 |
| 27 | Pamplona/Iruña | 84.49 | +0.15 |
| 28 | Torrejón de Ardoz | 84.47 | +0.37 |
| 29 | Ávila | 84.45 | +0.09 |
| 30 | Cornellà de Llobregat | 84.43 | +0.43 |
| 31 | Arganda del Rey | 84.33 | +0.19 |
| 31 | Burgos | 84.33 | +0.03 |
| 33 | Barcelona | 84.28 | +0.34 |
| 33 | Basauri | 84.28 | +0.17 |
| 33 | Collado Villalba | 84.28 | +0.67 |
| 36 | Aranjuez | 84.24 | +0.25 |
| 37 | Logroño | 84.17 | +0.41 |
| 38 | Segovia | 84.16 | +0.16 |
| 39 | Granollers | 84.12 | +0.11 |
| 39 | Valladolid | 84.12 | +0.13 |
| 41 | Rincón de la Victoria | 84.07 | +0.57 |
| 42 | Irun | 84.01 | +0.61 |
| 42 | Lugo | 84.01 | +0.27 |
| 44 | Ciudad Real | 83.98 | +0.42 |
| 44 | Soria | 83.98 | 0 |
| 46 | Bilbao | 83.93 | +0.33 |
| 47 | Donostia/San Sebastián | 83.91 | +0.05 |
| 48 | León | 83.9 | +0.25 |
| 49 | Teruel | 83.89 | -0.08 |
| 50 | Calvià | 83.87 | -0.25 |
| 50 | Santander | 83.87 | +0.17 |
| 52 | A Coruña | 83.86 | +0.49 |
| 52 | Pontevedra | 83.86 | +0.33 |
| 54 | Viladecans | 83.85 | -0.04 |
| 55 | Zaragoza | 83.81 | +0.39 |
| 56 | Talavera de la Reina | 83.78 | +0.48 |
| 57 | Ponferrada | 83.76 | -0.29 |
| 58 | Mataró | 83.73 | +0.48 |
| 59 | L'Hospitalet de Llobregat | 83.7 | +0.28 |
| 60 | Santiago de Compostela | 83.68 | +0.03 |
| 61 | Sant Vicent del Raspeig/San Vicente del Raspeig | 83.67 | +0.24 |
| 62 | Huesca | 83.63 | +0.29 |
| 63 | Molina de Segura | 83.61 | +0.22 |
| 64 | Albacete | 83.6 | +0.04 |
| 64 | Girona | 83.6 | +0.38 |
| 66 | Rubí | 83.58 | -0.23 |
| 66 | Terrassa | 83.58 | +0.48 |
| 68 | Benalmádena | 83.56 | +0.49 |
| 68 | Ourense | 83.56 | -0.02 |
| 70 | Benidorm | 83.52 | +0.49 |
| 71 | Palencia | 83.51 | +0.22 |
| 72 | Vigo | 83.5 | -0.04 |
| 73 | El Prat de Llobregat | 83.48 | +0.1 |
| 74 | Tarragona | 83.46 | +0.51 |
| 75 | Sabadell | 83.44 | +0.15 |
| 76 | Oviedo | 83.4 | +0.2 |
| 77 | Castelldefels | 83.39 | +0.52 |
| 78 | Cáceres | 83.38 | -0.04 |
| 78 | Parla | 83.38 | +0.16 |
| 80 | Alacant/Alicante | 83.37 | +0.3 |
| 80 | Elx/Elche | 83.37 | +0.44 |
| 82 | Torremolinos | 83.3 | +0.53 |
| 83 | Paterna | 83.28 | +0.32 |
| 83 | València | 83.28 | +0.42 |
| 85 | Lleida | 83.25 | +0.48 |
| 86 | Fuengirola | 83.23 | +0.12 |
| 87 | Barakaldo | 83.22 | +0.29 |
| 87 | Vilanova i la Geltrú | 83.22 | +0.3 |
| 89 | Mijas | 83.21 | +0.13 |
| 90 | Santurtzi | 83.19 | +0.05 |
| 91 | Elda | 83.18 | +0.66 |
| 91 | Granadilla de Abona | 83.18 | +0.96 |
| 93 | Castelló de la Plana/Castellón de la Plana | 83.17 | +0.34 |
| 94 | Cuenca | 83.15 | -0.1 |
| 94 | Palma | 83.15 | +0.14 |
| 96 | Granada | 83.09 | +0.53 |
| 96 | Mollet del Vallès | 83.09 | -0.28 |
| 98 | Badalona | 83.08 | +0.24 |
| 99 | Badajoz | 83.05 | +0.33 |
| 100 | Murcia | 83.04 | +0.35 |
| 101 | Sant Boi de Llobregat | 83.01 | -0.08 |
| 102 | Avilés | 83 | +0.17 |
| 103 | Manresa | 82.97 | -0.05 |
| 104 | Santa Coloma de Gramenet | 82.96 | +0.22 |
| 105 | Vila-real | 82.93 | +0.8 |
| 106 | Jaén | 82.92 | +0.48 |
| 106 | Mérida | 82.92 | -0.05 |
| 106 | Torrelavega | 82.92 | -0.26 |
| 109 | Alcoi/Alcoy | 82.84 | +1.01 |
| 110 | Dos Hermanas | 82.83 | +0.33 |
| 110 | Siero | 82.83 | -0.44 |
| 112 | Roquetas de Mar | 82.77 | +0.57 |
| 113 | Gijón | 82.73 | +0.13 |
| 114 | Lorca | 82.72 | +0.4 |
| 115 | Córdoba | 82.69 | +0.27 |
| 116 | Orihuela | 82.59 | +0.5 |
| 117 | Arona | 82.58 | +0.2 |
| 118 | Chiclana de la Frontera | 82.56 | +0.75 |
| 119 | San Fernando | 82.5 | +0.55 |
| 120 | Sevilla | 82.49 | +0.55 |
| 121 | Reus | 82.47 | +0.33 |
| 122 | Marbella | 82.46 | +0.25 |
| 123 | San Cristóbal de La Laguna | 82.44 | +0.05 |
| 124 | Sagunt/Sagunto | 82.35 | +0.63 |
| 125 | Torrent | 82.33 | +0.21 |
| 126 | Eivissa | 82.29 | +0.61 |
| 126 | San Bartolomé de Tirajana | 82.29 | +0.64 |
| 128 | Cartagena | 82.25 | +0.38 |
| 129 | El Puerto de Santa María | 82.14 | +0.58 |
| 130 | Málaga | 82.13 | +0.42 |
| 131 | Ferrol | 82.09 | +0.26 |
| 132 | Gandia | 82.03 | +0.4 |
| 133 | Cádiz | 81.95 | +0.71 |
| 134 | Alcalá de Guadaíra | 81.94 | +0.65 |
| 134 | Jerez de la Frontera | 81.94 | +0.32 |
| 136 | Almería | 81.93 | +0.46 |
| 137 | Utrera | 81.91 | +0.12 |
| 138 | Melilla | 81.89 | +0.77 |
| 139 | Vélez-Málaga | 81.67 | +0.29 |
| 140 | Puertollano | 81.65 | +0.08 |
| 141 | Santa Lucía de Tirajana | 81.62 | +0.54 |
| 142 | Linares | 81.6 | +0.35 |
| 143 | Estepona | 81.57 | +0.25 |
| 144 | Huelva | 81.56 | +0.17 |
| 145 | El Ejido | 81.55 | +0.92 |
| 146 | Algeciras | 81.49 | +0.94 |
| 147 | Motril | 81.46 | +0.52 |
| 148 | Santa Cruz de Tenerife | 81.45 | -0.09 |
| 149 | Sanlúcar de Barrameda | 81.42 | 0 |
| 150 | Las Palmas de Gran Canaria | 81.35 | +0.11 |
| 151 | Arrecife | 81.24 | -0.11 |
| 152 | Telde | 81.09 | +0.08 |
| 153 | Ceuta | 81.01 | +1.01 |
| 154 | La Línea de la Concepción | 80.46 | +1.19 |
| 155 | Torrevieja | 80.21 | +0.21 |
Other periods
About this ranking
Average number of years a newborn would live at current age-specific mortality, both sexes.
United States: NCHS period life tables. National figures from 1900 to 1932 cover only the states then in the death registration area. State figures are available for 2018 to 2021.
Every value in the ranking comes from the same publisher and the same period, so the municipalities are compared on one definition. Equal values share a rank.
How to cite
Instituto Nacional de Estadística (INE). Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Retrieved 2026-10-07.
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Rank Municipalities of Spain by life expectancy using official data, and cite the source.
rank_places {"indicator":"life_expectancy","level":"municipality","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=life_expectancy&level=municipality&within=Spain&limit=10
Questions
Which municipality has the highest life expectancy?
Majadahonda, with 87.08 years in 2023, according to the Instituto Nacional de Estadística.
Which municipality has the lowest life expectancy?
Torrevieja, with 80.21 years in 2023.
Where does this ranking come from?
Every value comes from one source and one period, so the places are comparable: Instituto Nacional de Estadística, Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). Retrieved 2026-10-07.
Life expectancy at birth: other rankings
- Countries
- EU countries
- US states
- EU regions (NUTS 2)
- Autonomous communities of Spain
- Provinces of Spain
- Regions of Germany (NUTS 2)
- Regions of France (NUTS 2)
- Regions of Italy (NUTS 2)
- Regions of Poland (NUTS 2)
- Regions of Greece (NUTS 2)
- Regions of Netherlands (NUTS 2)
Municipalities of Spain: more rankings
- Average age
- Live births
- Crude birth rate
- Crude death rate
- Deaths
- Dependency ratio
- Total fertility rate
- Foreign nationals share of population
- Gini index
- Average net income per household
- Average net income per person
- Population
- Population aged 16 to 64
- Population aged 65 and over
- Population density
- Registered unemployment