Municipalities of Spain by life expectancy, 2024
Majadahonda had the highest life expectancy of 155 municipalities in 2024, at 87.1 years. La Línea de la Concepción had the lowest, at 80.31 years. The median was 83.7 years and the figure for Spain was 84.01 years. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2024
Full ranking
| Rank | Municipalities | 2024 | Change on 2023 |
|---|---|---|---|
| 1 | Majadahonda | 87.1 | +0.02 |
| 2 | Pozuelo de Alarcón | 86.91 | +0.23 |
| 3 | Rivas-Vaciamadrid | 86.68 | +0.67 |
| 4 | Boadilla del Monte | 86.39 | -0.43 |
| 5 | Sant Cugat del Vallès | 86.08 | +0.25 |
| 6 | Las Rozas de Madrid | 86.01 | +0.37 |
| 7 | Alcobendas | 85.92 | +0.03 |
| 8 | Getxo | 85.75 | +0.41 |
| 9 | Alcorcón | 85.68 | +0.13 |
| 10 | Salamanca | 85.51 | +0.79 |
| 11 | Pinto | 85.45 | +0.5 |
| 12 | Toledo | 85.43 | +0.15 |
| 13 | Coslada | 85.42 | +0.29 |
| 14 | San Sebastián de los Reyes | 85.38 | +0.22 |
| 15 | Leganés | 85.3 | +0.45 |
| 15 | Madrid | 85.3 | +0.37 |
| 17 | Valdemoro | 85.28 | +0.68 |
| 18 | Guadalajara | 85.19 | +0.44 |
| 19 | Zamora | 85.15 | +0.38 |
| 20 | Colmenar Viejo | 85.11 | -0.01 |
| 21 | Getafe | 85.1 | +0.29 |
| 22 | Torrejón de Ardoz | 85.08 | +0.61 |
| 23 | Vitoria-Gasteiz | 84.99 | +0.24 |
| 24 | Ávila | 84.93 | +0.48 |
| 25 | Móstoles | 84.92 | +0.34 |
| 26 | Pamplona/Iruña | 84.91 | +0.42 |
| 27 | Burgos | 84.87 | +0.54 |
| 28 | Collado Villalba | 84.82 | +0.54 |
| 29 | Aranjuez | 84.76 | +0.52 |
| 30 | Cerdanyola del Vallès | 84.75 | +0.11 |
| 31 | Alcalá de Henares | 84.7 | +0.1 |
| 32 | Fuenlabrada | 84.65 | +0.14 |
| 33 | Barcelona | 84.63 | +0.35 |
| 33 | Logroño | 84.63 | +0.46 |
| 35 | Soria | 84.55 | +0.57 |
| 36 | Donostia/San Sebastián | 84.5 | +0.59 |
| 36 | Huesca | 84.5 | +0.87 |
| 38 | Valladolid | 84.49 | +0.37 |
| 39 | Girona | 84.36 | +0.76 |
| 39 | Viladecans | 84.36 | +0.51 |
| 41 | Arganda del Rey | 84.31 | -0.02 |
| 42 | Castelldefels | 84.27 | +0.88 |
| 43 | Bilbao | 84.26 | +0.33 |
| 44 | Basauri | 84.25 | -0.03 |
| 45 | Cornellà de Llobregat | 84.23 | -0.2 |
| 45 | Zaragoza | 84.23 | +0.42 |
| 47 | Rincón de la Victoria | 84.17 | +0.1 |
| 48 | Tarragona | 84.16 | +0.7 |
| 49 | Santiago de Compostela | 84.15 | +0.47 |
| 50 | Benalmádena | 84.14 | +0.58 |
| 51 | Irun | 84.11 | +0.1 |
| 52 | A Coruña | 84.09 | +0.23 |
| 52 | Lugo | 84.09 | +0.08 |
| 52 | Molina de Segura | 84.09 | +0.48 |
| 55 | Granollers | 84.07 | -0.05 |
| 56 | Santander | 84.06 | +0.19 |
| 57 | León | 84.05 | +0.15 |
| 58 | Sant Vicent del Raspeig/San Vicente del Raspeig | 84.04 | +0.37 |
| 59 | Palencia | 84.02 | +0.51 |
| 60 | Ciudad Real | 84.01 | +0.03 |
| 61 | Segovia | 83.98 | -0.18 |
| 62 | Calvià | 83.95 | +0.08 |
| 62 | Mataró | 83.95 | +0.22 |
| 62 | Ponferrada | 83.95 | +0.19 |
| 65 | Terrassa | 83.94 | +0.36 |
| 66 | Benidorm | 83.93 | +0.41 |
| 66 | Cáceres | 83.93 | +0.55 |
| 68 | Vigo | 83.85 | +0.35 |
| 69 | Pontevedra | 83.84 | -0.02 |
| 70 | Oviedo | 83.82 | +0.42 |
| 71 | València | 83.79 | +0.51 |
| 72 | Albacete | 83.78 | +0.18 |
| 72 | L'Hospitalet de Llobregat | 83.78 | +0.08 |
| 74 | Teruel | 83.77 | -0.12 |
| 75 | Elx/Elche | 83.76 | +0.39 |
| 76 | Santurtzi | 83.75 | +0.56 |
| 77 | Talavera de la Reina | 83.74 | -0.04 |
| 78 | Lleida | 83.7 | +0.45 |
| 78 | Sabadell | 83.7 | +0.26 |
| 80 | Granada | 83.66 | +0.57 |
| 81 | El Prat de Llobregat | 83.65 | +0.17 |
| 82 | Parla | 83.64 | +0.26 |
| 83 | Paterna | 83.63 | +0.35 |
| 84 | Badajoz | 83.61 | +0.56 |
| 85 | Alacant/Alicante | 83.59 | +0.22 |
| 86 | Ourense | 83.58 | +0.02 |
| 87 | Murcia | 83.57 | +0.53 |
| 88 | Vilanova i la Geltrú | 83.49 | +0.27 |
| 89 | Barakaldo | 83.48 | +0.26 |
| 90 | Torremolinos | 83.45 | +0.15 |
| 91 | Granadilla de Abona | 83.44 | +0.26 |
| 91 | Sant Boi de Llobregat | 83.44 | +0.43 |
| 93 | Jaén | 83.42 | +0.5 |
| 93 | Mijas | 83.42 | +0.21 |
| 95 | Badalona | 83.41 | +0.33 |
| 96 | Fuengirola | 83.38 | +0.15 |
| 97 | Palma | 83.37 | +0.22 |
| 98 | Rubí | 83.36 | -0.22 |
| 99 | Vila-real | 83.34 | +0.41 |
| 100 | Santa Coloma de Gramenet | 83.33 | +0.37 |
| 101 | Cuenca | 83.31 | +0.16 |
| 102 | Castelló de la Plana/Castellón de la Plana | 83.3 | +0.13 |
| 102 | Elda | 83.3 | +0.12 |
| 104 | Siero | 83.27 | +0.44 |
| 105 | Torrelavega | 83.26 | +0.34 |
| 106 | Dos Hermanas | 83.2 | +0.37 |
| 107 | Córdoba | 83.17 | +0.48 |
| 108 | Avilés | 83.15 | +0.15 |
| 109 | Mérida | 83.13 | +0.21 |
| 110 | Roquetas de Mar | 83.12 | +0.35 |
| 111 | Arona | 83.05 | +0.47 |
| 112 | Gijón | 82.98 | +0.25 |
| 112 | Lorca | 82.98 | +0.26 |
| 114 | Chiclana de la Frontera | 82.97 | +0.41 |
| 115 | Sagunt/Sagunto | 82.92 | +0.57 |
| 116 | San Fernando | 82.87 | +0.37 |
| 117 | Alcoi/Alcoy | 82.85 | +0.01 |
| 118 | Orihuela | 82.83 | +0.24 |
| 118 | Reus | 82.83 | +0.36 |
| 120 | Manresa | 82.8 | -0.17 |
| 120 | Mollet del Vallès | 82.8 | -0.29 |
| 122 | Sevilla | 82.76 | +0.27 |
| 123 | San Bartolomé de Tirajana | 82.73 | +0.44 |
| 124 | Eivissa | 82.65 | +0.36 |
| 125 | Marbella | 82.63 | +0.17 |
| 126 | Ferrol | 82.61 | +0.52 |
| 127 | Cartagena | 82.58 | +0.33 |
| 127 | San Cristóbal de La Laguna | 82.58 | +0.14 |
| 129 | Málaga | 82.56 | +0.43 |
| 130 | Gandia | 82.55 | +0.52 |
| 131 | Almería | 82.43 | +0.5 |
| 131 | Torrent | 82.43 | +0.1 |
| 133 | Utrera | 82.37 | +0.46 |
| 134 | El Ejido | 82.28 | +0.73 |
| 135 | Jerez de la Frontera | 82.22 | +0.28 |
| 136 | Cádiz | 82.16 | +0.21 |
| 137 | Santa Lucía de Tirajana | 82.12 | +0.5 |
| 138 | Alcalá de Guadaíra | 82.09 | +0.15 |
| 139 | Estepona | 82.04 | +0.47 |
| 139 | Motril | 82.04 | +0.58 |
| 141 | Vélez-Málaga | 82.03 | +0.36 |
| 142 | Huelva | 82.01 | +0.45 |
| 142 | Las Palmas de Gran Canaria | 82.01 | +0.66 |
| 144 | Puertollano | 81.99 | +0.34 |
| 144 | Santa Cruz de Tenerife | 81.99 | +0.54 |
| 146 | Algeciras | 81.98 | +0.49 |
| 147 | El Puerto de Santa María | 81.94 | -0.2 |
| 148 | Melilla | 81.9 | +0.01 |
| 149 | Linares | 81.89 | +0.29 |
| 150 | Ceuta | 81.77 | +0.76 |
| 151 | Sanlúcar de Barrameda | 81.69 | +0.27 |
| 152 | Arrecife | 81.51 | +0.27 |
| 153 | Telde | 81.48 | +0.39 |
| 154 | Torrevieja | 80.77 | +0.56 |
| 155 | La Línea de la Concepción | 80.31 | -0.15 |
Other periods
About this ranking
Average number of years a newborn would live at current age-specific mortality, both sexes.
For US states, NCHS life tables are available only for a few recent years.
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-11-19.
Citation styles
APA 7
Instituto Nacional de Estadística. (n.d.). Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687) (Municipalities of Spain by life expectancy, 2024) [Data set]. Retrieved November 19, 2026, from https://www.ine.es/jaxiT3/Tabla.htm?t=30687
MLA 9
Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687), Municipalities of Spain by life expectancy, 2024. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities. Accessed 19 Nov. 2026.
Chicago (author-date)
Instituto Nacional de Estadística. n.d. Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). Municipalities of Spain by life expectancy, 2024. Dataset. Accessed November 19, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Also distributed by Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities.
Harvard
Instituto Nacional de Estadística (no date) Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687), Municipalities of Spain by life expectancy, 2024 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30687, via Invokely: https://invokely.ai/rankings/life-expectancy/spain-municipalities (Accessed: 19 November 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2024,
author = {{Instituto Nacional de Estadística}},
title = {{Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687): Municipalities of Spain by life expectancy, 2024}},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=30687},
urldate = {2026-11-19},
note = {Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities. Publisher attribution: 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-11-19.},
}
RIS
TY - DATA
AU - Instituto Nacional de Estadística
TI - Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687): Municipalities of Spain by life expectancy, 2024
PB - Instituto Nacional de Estadística
DB - Invokely
UR - https://www.ine.es/jaxiT3/Tabla.htm?t=30687
L2 - https://invokely.ai/rankings/life-expectancy/spain-municipalities
Y2 - 2026/11/19
N1 - Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities.
N1 - Publisher attribution: 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-11-19.
ER -
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.1 years in 2024, according to the Instituto Nacional de Estadística.
Which municipality has the lowest life expectancy?
La Línea de la Concepción, with 80.31 years in 2024.
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-11-19.
Life expectancy at birth: other rankings
- Municipalities in Catalonia
- Municipalities in Cádiz province
- Municipalities in Valencian Community
- Regions of Belgium (NUTS 2)
- Regions of Italy (NUTS 2)
- Regions of Netherlands (NUTS 2)