Municipalities of Spain by life expectancy
Boadilla del Monte had the highest life expectancy of 155 municipalities in 2021, at 86.11 years. Ceuta had the lowest, at 79.28 years. The median was 82.7 years and the figure for Spain was 83.03 years. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2021
Full ranking
| Rank | Municipalities | 2021 | Change on 2020 |
|---|---|---|---|
| 1 | Boadilla del Monte | 86.11 | +0.17 |
| 2 | Majadahonda | 85.75 | +0.13 |
| 3 | Las Rozas de Madrid | 85.39 | +0.06 |
| 4 | Pozuelo de Alarcón | 85.33 | -0.06 |
| 4 | Rivas-Vaciamadrid | 85.33 | +0.16 |
| 6 | Getxo | 84.5 | -0.3 |
| 7 | Alcobendas | 84.35 | -0.02 |
| 8 | Alcorcón | 84.31 | -0.08 |
| 9 | Sant Cugat del Vallès | 84.29 | +0.27 |
| 10 | Vitoria-Gasteiz | 84.03 | -0.19 |
| 11 | Granollers | 83.88 | +0.19 |
| 12 | Calvià | 83.85 | -0.44 |
| 13 | Burgos | 83.8 | -0.13 |
| 14 | Ávila | 83.79 | -0.25 |
| 15 | Ponferrada | 83.78 | -0.26 |
| 16 | San Sebastián de los Reyes | 83.77 | -0.23 |
| 17 | Zamora | 83.74 | -0.01 |
| 18 | Pamplona/Iruña | 83.72 | -0.16 |
| 19 | Pinto | 83.7 | -0.46 |
| 20 | Getafe | 83.68 | -0.11 |
| 20 | Sant Vicent del Raspeig/San Vicente del Raspeig | 83.68 | +0.2 |
| 22 | Lugo | 83.66 | +0.07 |
| 23 | Colmenar Viejo | 83.64 | +0.49 |
| 23 | Santiago de Compostela | 83.64 | -0.16 |
| 25 | Cerdanyola del Vallès | 83.63 | -0.06 |
| 26 | Basauri | 83.61 | |
| 27 | Vigo | 83.6 | -0.16 |
| 28 | Toledo | 83.59 | +0.08 |
| 29 | Ourense | 83.58 | 0 |
| 30 | Madrid | 83.57 | -0.02 |
| 31 | Guadalajara | 83.54 | -0.01 |
| 32 | Donostia/San Sebastián | 83.52 | -0.51 |
| 33 | Móstoles | 83.5 | +0.15 |
| 34 | Coslada | 83.44 | +0.15 |
| 35 | Barcelona | 83.37 | -0.13 |
| 36 | Valladolid | 83.35 | -0.16 |
| 37 | León | 83.34 | +0.03 |
| 37 | Rubí | 83.34 | +0.14 |
| 37 | Teruel | 83.34 | -0.2 |
| 40 | Santander | 83.31 | -0.12 |
| 41 | Irun | 83.3 | -0.14 |
| 42 | A Coruña | 83.29 | -0.07 |
| 43 | Segovia | 83.26 | +0.17 |
| 44 | Pontevedra | 83.23 | -0.22 |
| 45 | Fuenlabrada | 83.18 | -0.02 |
| 46 | Cornellà de Llobregat | 83.14 | +0.32 |
| 47 | Salamanca | 83.13 | -0.34 |
| 48 | Arganda del Rey | 83.1 | +0.03 |
| 49 | Aranjuez | 83.07 | +0.02 |
| 49 | Bilbao | 83.07 | -0.12 |
| 49 | Logroño | 83.07 | -0.17 |
| 52 | Soria | 83.06 | -0.3 |
| 53 | Alcalá de Henares | 83.04 | -0.04 |
| 54 | Molina de Segura | 83.03 | -0.09 |
| 55 | Torrelavega | 82.98 | +0.13 |
| 56 | Oviedo | 82.96 | -0.09 |
| 56 | Viladecans | 82.96 | +0.13 |
| 58 | Girona | 82.95 | -0.01 |
| 59 | Collado Villalba | 82.94 | +0.23 |
| 59 | Fuengirola | 82.94 | -0.53 |
| 61 | Leganés | 82.92 | -0.13 |
| 62 | Paterna | 82.91 | -0.06 |
| 62 | Torrejón de Ardoz | 82.91 | -0.27 |
| 64 | El Prat de Llobregat | 82.9 | +0.21 |
| 64 | Mijas | 82.9 | -0.24 |
| 64 | Valdemoro | 82.9 | +0.4 |
| 67 | Huesca | 82.88 | -0.55 |
| 68 | Mataró | 82.87 | -0.2 |
| 68 | Zaragoza | 82.87 | -0.19 |
| 70 | Alacant/Alicante | 82.86 | -0.04 |
| 71 | Benalmádena | 82.83 | -0.21 |
| 72 | Elx/Elche | 82.8 | -0.14 |
| 73 | L'Hospitalet de Llobregat | 82.79 | +0.08 |
| 74 | Mollet del Vallès | 82.78 | +0.28 |
| 75 | Siero | 82.76 | -0.02 |
| 76 | Santurtzi | 82.74 | |
| 77 | Cáceres | 82.7 | -0.38 |
| 77 | Sabadell | 82.7 | -0.08 |
| 79 | Vilanova i la Geltrú | 82.68 | -0.19 |
| 80 | Albacete | 82.66 | 0 |
| 81 | Palma | 82.65 | -0.05 |
| 82 | Ciudad Real | 82.56 | +0.09 |
| 83 | Parla | 82.55 | -0.07 |
| 84 | Castelló de la Plana/Castellón de la Plana | 82.54 | +0.07 |
| 84 | Murcia | 82.54 | -0.29 |
| 86 | Rincón de la Victoria | 82.53 | |
| 87 | Badajoz | 82.52 | -0.13 |
| 87 | Tarragona | 82.52 | -0.31 |
| 89 | Avilés | 82.51 | -0.15 |
| 90 | Sant Boi de Llobregat | 82.47 | +0.26 |
| 90 | Terrassa | 82.47 | -0.07 |
| 92 | Manresa | 82.46 | -0.17 |
| 92 | Torremolinos | 82.46 | -0.16 |
| 94 | València | 82.45 | -0.16 |
| 95 | Talavera de la Reina | 82.43 | -0.2 |
| 96 | Barakaldo | 82.39 | -0.21 |
| 97 | Mérida | 82.35 | -0.17 |
| 98 | Arona | 82.34 | -0.47 |
| 99 | Córdoba | 82.31 | -0.2 |
| 100 | Lorca | 82.28 | -0.12 |
| 101 | Badalona | 82.23 | -0.38 |
| 102 | Lleida | 82.22 | -0.29 |
| 103 | Castelldefels | 82.21 | -0.52 |
| 104 | Ferrol | 82.19 | -0.24 |
| 105 | Benidorm | 82.15 | -0.04 |
| 106 | San Cristóbal de La Laguna | 82.13 | -0.31 |
| 107 | Granadilla de Abona | 82.1 | -0.44 |
| 108 | Dos Hermanas | 82.08 | -0.03 |
| 109 | Gijón | 82.06 | -0.09 |
| 109 | Palencia | 82.06 | -0.24 |
| 111 | Marbella | 82.04 | -0.31 |
| 112 | Granada | 82.02 | +0.32 |
| 113 | Elda | 81.99 | +0.09 |
| 114 | Cuenca | 81.94 | -0.35 |
| 115 | Reus | 81.89 | +0.2 |
| 115 | Santa Coloma de Gramenet | 81.89 | -0.34 |
| 117 | San Fernando | 81.79 | -0.23 |
| 118 | Jaén | 81.78 | +0.06 |
| 118 | Roquetas de Mar | 81.78 | -0.08 |
| 120 | Orihuela | 81.68 | +0.06 |
| 121 | Cartagena | 81.63 | +0.12 |
| 121 | Torrent | 81.63 | -0.13 |
| 123 | Utrera | 81.61 | +0.01 |
| 124 | Alcoi/Alcoy | 81.6 | -0.38 |
| 125 | Eivissa | 81.59 | +0.12 |
| 125 | Sagunt/Sagunto | 81.59 | -0.22 |
| 127 | Sevilla | 81.54 | +0.02 |
| 128 | Sanlúcar de Barrameda | 81.49 | -0.14 |
| 128 | Santa Cruz de Tenerife | 81.49 | -0.35 |
| 130 | Estepona | 81.45 | -0.41 |
| 131 | Jerez de la Frontera | 81.35 | -0.14 |
| 132 | Vila-real | 81.31 | -0.13 |
| 133 | Arrecife | 81.3 | +0.18 |
| 133 | Vélez-Málaga | 81.3 | -0.24 |
| 135 | Málaga | 81.29 | +0.05 |
| 136 | Santa Lucía de Tirajana | 81.27 | -0.22 |
| 137 | Gandia | 81.26 | -0.35 |
| 138 | Las Palmas de Gran Canaria | 81.25 | -0.31 |
| 139 | Chiclana de la Frontera | 81.19 | -0.15 |
| 140 | Huelva | 81.17 | 0 |
| 141 | El Puerto de Santa María | 81.15 | -0.04 |
| 142 | San Bartolomé de Tirajana | 81.13 | -0.21 |
| 143 | Alcalá de Guadaíra | 81.08 | -0.15 |
| 143 | Puertollano | 81.08 | |
| 145 | Almería | 81.07 | -0.05 |
| 145 | Telde | 81.07 | -0.35 |
| 147 | Cádiz | 80.77 | +0.06 |
| 148 | Motril | 80.67 | -0.04 |
| 149 | Torrevieja | 80.61 | -0.6 |
| 150 | Linares | 80.52 | -0.1 |
| 151 | El Ejido | 80.29 | -0.45 |
| 152 | Melilla | 80.25 | +0.17 |
| 153 | Algeciras | 79.99 | -0.36 |
| 154 | La Línea de la Concepción | 79.44 | -0.01 |
| 155 | Ceuta | 79.28 | -0.1 |
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-10-07.
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, 2021) [Data set]. Retrieved October 7, 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, 2021. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2021. Accessed 7 Oct. 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, 2021. Dataset. Accessed October 7, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Also distributed by Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2021.
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, 2021 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30687, via Invokely: https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2021 (Accessed: 7 October 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2021,
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, 2021}},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=30687},
urldate = {2026-10-07},
note = {Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2021. 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-10-07.},
}
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, 2021
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?period=2021
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2021.
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-10-07.
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?
Boadilla del Monte, with 86.11 years in 2021, according to the Instituto Nacional de Estadística.
Which municipality has the lowest life expectancy?
Ceuta, with 79.28 years in 2021.
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
- 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)