Municipalities of Spain by life expectancy
Boadilla del Monte had the highest life expectancy of 151 municipalities in 2020, at 85.94 years. Ceuta had the lowest, at 79.38 years. The median was 82.73 years and the figure for Spain was 82.28 years. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2020
Full ranking
| Rank | Municipalities | 2020 | Change on 2019 |
|---|---|---|---|
| 1 | Boadilla del Monte | 85.94 | 0 |
| 2 | Majadahonda | 85.62 | -0.06 |
| 3 | Pozuelo de Alarcón | 85.39 | -0.22 |
| 4 | Las Rozas de Madrid | 85.33 | +0.29 |
| 5 | Rivas-Vaciamadrid | 85.17 | +0.26 |
| 6 | Getxo | 84.8 | +0.11 |
| 7 | Alcorcón | 84.39 | -0.12 |
| 8 | Alcobendas | 84.37 | -0.04 |
| 9 | Calvià | 84.29 | +0.73 |
| 10 | Vitoria-Gasteiz | 84.22 | -0.1 |
| 11 | Pinto | 84.16 | +0.51 |
| 12 | Ávila | 84.04 | +0.4 |
| 12 | Ponferrada | 84.04 | +0.35 |
| 14 | Donostia/San Sebastián | 84.03 | +0.09 |
| 15 | Sant Cugat del Vallès | 84.02 | -0.04 |
| 16 | San Sebastián de los Reyes | 84 | -0.21 |
| 17 | Burgos | 83.93 | +0.25 |
| 18 | Pamplona/Iruña | 83.88 | -0.12 |
| 19 | Santiago de Compostela | 83.8 | +0.2 |
| 20 | Getafe | 83.79 | +0.04 |
| 21 | Vigo | 83.76 | +0.12 |
| 22 | Zamora | 83.75 | +0.65 |
| 23 | Cerdanyola del Vallès | 83.69 | +0.38 |
| 23 | Granollers | 83.69 | +0.38 |
| 25 | Lugo | 83.59 | +0.06 |
| 25 | Madrid | 83.59 | -0.04 |
| 27 | Ourense | 83.58 | +0.04 |
| 28 | Guadalajara | 83.55 | -0.42 |
| 29 | Teruel | 83.54 | +0.42 |
| 30 | Toledo | 83.51 | -0.33 |
| 30 | Valladolid | 83.51 | -0.08 |
| 32 | Barcelona | 83.5 | -0.07 |
| 33 | Sant Vicent del Raspeig/San Vicente del Raspeig | 83.48 | +0.13 |
| 34 | Fuengirola | 83.47 | +0.39 |
| 34 | Salamanca | 83.47 | -0.01 |
| 36 | Pontevedra | 83.45 | -0.11 |
| 37 | Irun | 83.44 | -0.44 |
| 38 | Huesca | 83.43 | +0.12 |
| 38 | Santander | 83.43 | -0.02 |
| 40 | A Coruña | 83.36 | -0.01 |
| 40 | Soria | 83.36 | -0.28 |
| 42 | Móstoles | 83.35 | 0 |
| 43 | León | 83.31 | -0.04 |
| 44 | Coslada | 83.29 | -0.26 |
| 45 | Logroño | 83.24 | -0.11 |
| 46 | Fuenlabrada | 83.2 | -0.33 |
| 46 | Rubí | 83.2 | +0.23 |
| 48 | Bilbao | 83.19 | +0.1 |
| 49 | Torrejón de Ardoz | 83.18 | -0.14 |
| 50 | Colmenar Viejo | 83.15 | +0.17 |
| 51 | Mijas | 83.14 | +0.07 |
| 52 | Molina de Segura | 83.12 | -0.31 |
| 53 | Segovia | 83.09 | +0.15 |
| 54 | Alcalá de Henares | 83.08 | +0.09 |
| 54 | Cáceres | 83.08 | +0.42 |
| 56 | Arganda del Rey | 83.07 | +0.25 |
| 56 | Mataró | 83.07 | -0.31 |
| 58 | Zaragoza | 83.06 | -0.08 |
| 59 | Aranjuez | 83.05 | +0.1 |
| 59 | Leganés | 83.05 | -0.14 |
| 59 | Oviedo | 83.05 | -0.01 |
| 62 | Benalmádena | 83.04 | +0.05 |
| 63 | Paterna | 82.97 | -0.08 |
| 64 | Girona | 82.96 | +0.12 |
| 65 | Elx/Elche | 82.94 | +0.04 |
| 66 | Alacant/Alicante | 82.9 | 0 |
| 67 | Vilanova i la Geltrú | 82.87 | -0.06 |
| 68 | Torrelavega | 82.85 | +0.3 |
| 69 | Murcia | 82.83 | -0.03 |
| 69 | Tarragona | 82.83 | -0.18 |
| 69 | Viladecans | 82.83 | +0.31 |
| 72 | Cornellà de Llobregat | 82.82 | -0.01 |
| 73 | Arona | 82.81 | -0.42 |
| 74 | Sabadell | 82.78 | -0.13 |
| 74 | Siero | 82.78 | +0.21 |
| 76 | Castelldefels | 82.73 | +0.15 |
| 77 | Collado Villalba | 82.71 | -0.65 |
| 77 | L'Hospitalet de Llobregat | 82.71 | 0 |
| 79 | Palma | 82.7 | +0.1 |
| 80 | El Prat de Llobregat | 82.69 | +0.3 |
| 81 | Albacete | 82.66 | +0.02 |
| 81 | Avilés | 82.66 | +0.2 |
| 83 | Badajoz | 82.65 | -0.17 |
| 84 | Manresa | 82.63 | -0.42 |
| 84 | Talavera de la Reina | 82.63 | -0.1 |
| 86 | Parla | 82.62 | -0.22 |
| 86 | Torremolinos | 82.62 | -0.34 |
| 88 | Badalona | 82.61 | -0.17 |
| 88 | València | 82.61 | -0.16 |
| 90 | Barakaldo | 82.6 | +0.01 |
| 91 | Granadilla de Abona | 82.54 | -0.53 |
| 91 | Terrassa | 82.54 | -0.12 |
| 93 | Mérida | 82.52 | +0.07 |
| 94 | Córdoba | 82.51 | -0.08 |
| 94 | Lleida | 82.51 | -0.24 |
| 96 | Mollet del Vallès | 82.5 | +0.22 |
| 96 | Valdemoro | 82.5 | +0.28 |
| 98 | Castelló de la Plana/Castellón de la Plana | 82.47 | +0.24 |
| 98 | Ciudad Real | 82.47 | +0.28 |
| 100 | San Cristóbal de La Laguna | 82.44 | +0.16 |
| 101 | Ferrol | 82.43 | +0.29 |
| 102 | Lorca | 82.4 | -0.04 |
| 103 | Marbella | 82.35 | -0.19 |
| 104 | Palencia | 82.3 | -0.18 |
| 105 | Cuenca | 82.29 | +0.38 |
| 106 | Santa Coloma de Gramenet | 82.23 | +0.1 |
| 107 | Sant Boi de Llobregat | 82.21 | -0.11 |
| 108 | Benidorm | 82.19 | +0.02 |
| 109 | Gijón | 82.15 | -0.01 |
| 110 | Dos Hermanas | 82.11 | -0.05 |
| 111 | San Fernando | 82.02 | +0.07 |
| 112 | Alcoi/Alcoy | 81.98 | -0.23 |
| 113 | Elda | 81.9 | -0.45 |
| 114 | Estepona | 81.86 | -0.15 |
| 114 | Roquetas de Mar | 81.86 | +0.13 |
| 116 | Santa Cruz de Tenerife | 81.84 | +0.33 |
| 117 | Sagunt/Sagunto | 81.81 | -0.09 |
| 118 | Torrent | 81.76 | +0.03 |
| 119 | Jaén | 81.72 | -0.3 |
| 120 | Granada | 81.7 | +0.1 |
| 121 | Reus | 81.69 | +0.1 |
| 122 | Sanlúcar de Barrameda | 81.63 | -0.07 |
| 123 | Orihuela | 81.62 | -0.08 |
| 124 | Gandia | 81.61 | -0.35 |
| 125 | Utrera | 81.6 | -0.25 |
| 126 | Las Palmas de Gran Canaria | 81.56 | +0.38 |
| 127 | Vélez-Málaga | 81.54 | -0.06 |
| 128 | Sevilla | 81.52 | -0.19 |
| 129 | Cartagena | 81.51 | -0.26 |
| 130 | Jerez de la Frontera | 81.49 | -0.03 |
| 130 | Santa Lucía de Tirajana | 81.49 | -0.26 |
| 132 | Eivissa | 81.47 | -0.25 |
| 133 | Vila-real | 81.44 | -0.34 |
| 134 | Telde | 81.42 | +0.28 |
| 135 | Chiclana de la Frontera | 81.34 | +0.07 |
| 135 | San Bartolomé de Tirajana | 81.34 | -0.18 |
| 137 | Málaga | 81.24 | -0.1 |
| 138 | Alcalá de Guadaíra | 81.23 | -0.27 |
| 139 | Torrevieja | 81.21 | -0.43 |
| 140 | El Puerto de Santa María | 81.19 | +0.05 |
| 141 | Huelva | 81.17 | +0.07 |
| 142 | Almería | 81.12 | -0.17 |
| 142 | Arrecife | 81.12 | +0.23 |
| 144 | El Ejido | 80.74 | -0.47 |
| 145 | Cádiz | 80.71 | +0.01 |
| 145 | Motril | 80.71 | +0.42 |
| 147 | Linares | 80.62 | -0.28 |
| 148 | Algeciras | 80.35 | -0.43 |
| 149 | Melilla | 80.08 | -0.07 |
| 150 | La Línea de la Concepción | 79.45 | -0.45 |
| 151 | Ceuta | 79.38 | -0.62 |
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. 4 municipalities with data in other periods have no value for 2020 and are left out rather than filled from another source. 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, 2020) [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, 2020. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2020. 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, 2020. 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=2020.
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, 2020 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30687, via Invokely: https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2020 (Accessed: 7 October 2026).
BibTeX
@misc{instituto_municipalities_of_spain_by_2020,
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, 2020}},
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=2020. 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, 2020
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=2020
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2020.
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 85.94 years in 2020, according to the Instituto Nacional de Estadística.
Which municipality has the lowest life expectancy?
Ceuta, with 79.38 years in 2020.
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. 4 municipalities have no value for 2020 and are not ranked.
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)