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.

Keep it in a collection in your library.
Highest86.11Boadilla del Monte
Lowest79.28Ceuta
Median82.7155 municipalities
Spain83.03History

Top 40 municipalities, 2021

Boadilla del Monte: 86.11 yearsBoadilla del Monte86.11Majadahonda: 85.75 yearsMajadahonda85.75Las Rozas de Madrid: 85.39 yearsLas Rozas de Madrid85.39Pozuelo de Alarcón: 85.33 yearsPozuelo de Alarcón85.33Rivas-Vaciamadrid: 85.33 yearsRivas-Vaciamadrid85.33Getxo: 84.5 yearsGetxo84.5Alcobendas: 84.35 yearsAlcobendas84.35Alcorcón: 84.31 yearsAlcorcón84.31Sant Cugat del Vallès: 84.29 yearsSant Cugat del Vallès84.29Vitoria-Gasteiz: 84.03 yearsVitoria-Gasteiz84.03Granollers: 83.88 yearsGranollers83.88Calvià: 83.85 yearsCalvià83.85Burgos: 83.8 yearsBurgos83.8Ávila: 83.79 yearsÁvila83.79Ponferrada: 83.78 yearsPonferrada83.78San Sebastián de los Reyes: 83.77 yearsSan Sebastián de los Reyes83.77Zamora: 83.74 yearsZamora83.74Pamplona/Iruña: 83.72 yearsPamplona/Iruña83.72Pinto: 83.7 yearsPinto83.7Getafe: 83.68 yearsGetafe83.68Sant Vicent del Raspeig/San Vicente del Raspeig: 83.68 yearsSant Vicent del Raspeig/San Vicen…83.68Lugo: 83.66 yearsLugo83.66Colmenar Viejo: 83.64 yearsColmenar Viejo83.64Santiago de Compostela: 83.64 yearsSantiago de Compostela83.64Cerdanyola del Vallès: 83.63 yearsCerdanyola del Vallès83.63Basauri: 83.61 yearsBasauri83.61Vigo: 83.6 yearsVigo83.6Toledo: 83.59 yearsToledo83.59Ourense: 83.58 yearsOurense83.58Madrid: 83.57 yearsMadrid83.57Guadalajara: 83.54 yearsGuadalajara83.54Donostia/San Sebastián: 83.52 yearsDonostia/San Sebastián83.52Móstoles: 83.5 yearsMóstoles83.5Coslada: 83.44 yearsCoslada83.44Barcelona: 83.37 yearsBarcelona83.37Valladolid: 83.35 yearsValladolid83.35León: 83.34 yearsLeón83.34Rubí: 83.34 yearsRubí83.34Teruel: 83.34 yearsTeruel83.34Santander: 83.31 yearsSantander83.31Boadilla del Monte: 86.11 yearsBoadilla del Monte86.11Majadahonda: 85.75 yearsMajadahonda85.75Las Rozas de Madrid: 85.39 yearsLas Rozas de Madrid85.39Pozuelo de Alarcón: 85.33 yearsPozuelo de Alarcón85.33Rivas-Vaciamadrid: 85.33 yearsRivas-Vaciamadrid85.33Getxo: 84.5 yearsGetxo84.5Alcobendas: 84.35 yearsAlcobendas84.35Alcorcón: 84.31 yearsAlcorcón84.31Sant Cugat del Vallès: 84.29 yearsSant Cugat del Vallès84.29Vitoria-Gasteiz: 84.03 yearsVitoria-Gasteiz84.03Granollers: 83.88 yearsGranollers83.88Calvià: 83.85 yearsCalvià83.85Burgos: 83.8 yearsBurgos83.8Ávila: 83.79 yearsÁvila83.79Ponferrada: 83.78 yearsPonferrada83.78San Sebastián de los Reyes: 83.77 yearsSan Sebastián de los Reyes83.77Zamora: 83.74 yearsZamora83.74Pamplona/Iruña: 83.72 yearsPamplona/Iruña83.72Pinto: 83.7 yearsPinto83.7Getafe: 83.68 yearsGetafe83.68Sant Vicent del Raspeig/San Vicente del Raspeig: 83.68 yearsSant Vicent del Raspeig/San Vicente del Raspeig83.68Lugo: 83.66 yearsLugo83.66Colmenar Viejo: 83.64 yearsColmenar Viejo83.64Santiago de Compostela: 83.64 yearsSantiago de Compostela83.64Cerdanyola del Vallès: 83.63 yearsCerdanyola del Vallès83.63Basauri: 83.61 yearsBasauri83.61Vigo: 83.6 yearsVigo83.6Toledo: 83.59 yearsToledo83.59Ourense: 83.58 yearsOurense83.58Madrid: 83.57 yearsMadrid83.57Guadalajara: 83.54 yearsGuadalajara83.54Donostia/San Sebastián: 83.52 yearsDonostia/San Sebastián83.52Móstoles: 83.5 yearsMóstoles83.5Coslada: 83.44 yearsCoslada83.44Barcelona: 83.37 yearsBarcelona83.37Valladolid: 83.35 yearsValladolid83.35León: 83.34 yearsLeón83.34Rubí: 83.34 yearsRubí83.34Teruel: 83.34 yearsTeruel83.34Santander: 83.31 yearsSantander83.31
years. Source: INE, Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). Retrieved 2026-10-07.

Full ranking

RankMunicipalities2021
years
Change on 2020
1Boadilla del Monte86.11+0.17
2Majadahonda85.75+0.13
3Las Rozas de Madrid85.39+0.06
4Pozuelo de Alarcón85.33-0.06
4Rivas-Vaciamadrid85.33+0.16
6Getxo84.5-0.3
7Alcobendas84.35-0.02
8Alcorcón84.31-0.08
9Sant Cugat del Vallès84.29+0.27
10Vitoria-Gasteiz84.03-0.19
11Granollers83.88+0.19
12Calvià83.85-0.44
13Burgos83.8-0.13
14Ávila83.79-0.25
15Ponferrada83.78-0.26
16San Sebastián de los Reyes83.77-0.23
17Zamora83.74-0.01
18Pamplona/Iruña83.72-0.16
19Pinto83.7-0.46
20Getafe83.68-0.11
20Sant Vicent del Raspeig/San Vicente del Raspeig83.68+0.2
22Lugo83.66+0.07
23Colmenar Viejo83.64+0.49
23Santiago de Compostela83.64-0.16
25Cerdanyola del Vallès83.63-0.06
26Basauri83.61n/a
27Vigo83.6-0.16
28Toledo83.59+0.08
29Ourense83.580
30Madrid83.57-0.02
31Guadalajara83.54-0.01
32Donostia/San Sebastián83.52-0.51
33Móstoles83.5+0.15
34Coslada83.44+0.15
35Barcelona83.37-0.13
36Valladolid83.35-0.16
37León83.34+0.03
37Rubí83.34+0.14
37Teruel83.34-0.2
40Santander83.31-0.12
41Irun83.3-0.14
42A Coruña83.29-0.07
43Segovia83.26+0.17
44Pontevedra83.23-0.22
45Fuenlabrada83.18-0.02
46Cornellà de Llobregat83.14+0.32
47Salamanca83.13-0.34
48Arganda del Rey83.1+0.03
49Aranjuez83.07+0.02
49Bilbao83.07-0.12
49Logroño83.07-0.17
52Soria83.06-0.3
53Alcalá de Henares83.04-0.04
54Molina de Segura83.03-0.09
55Torrelavega82.98+0.13
56Oviedo82.96-0.09
56Viladecans82.96+0.13
58Girona82.95-0.01
59Collado Villalba82.94+0.23
59Fuengirola82.94-0.53
61Leganés82.92-0.13
62Paterna82.91-0.06
62Torrejón de Ardoz82.91-0.27
64El Prat de Llobregat82.9+0.21
64Mijas82.9-0.24
64Valdemoro82.9+0.4
67Huesca82.88-0.55
68Mataró82.87-0.2
68Zaragoza82.87-0.19
70Alacant/Alicante82.86-0.04
71Benalmádena82.83-0.21
72Elx/Elche82.8-0.14
73L'Hospitalet de Llobregat82.79+0.08
74Mollet del Vallès82.78+0.28
75Siero82.76-0.02
76Santurtzi82.74n/a
77Cáceres82.7-0.38
77Sabadell82.7-0.08
79Vilanova i la Geltrú82.68-0.19
80Albacete82.660
81Palma82.65-0.05
82Ciudad Real82.56+0.09
83Parla82.55-0.07
84Castelló de la Plana/Castellón de la Plana82.54+0.07
84Murcia82.54-0.29
86Rincón de la Victoria82.53n/a
87Badajoz82.52-0.13
87Tarragona82.52-0.31
89Avilés82.51-0.15
90Sant Boi de Llobregat82.47+0.26
90Terrassa82.47-0.07
92Manresa82.46-0.17
92Torremolinos82.46-0.16
94València82.45-0.16
95Talavera de la Reina82.43-0.2
96Barakaldo82.39-0.21
97Mérida82.35-0.17
98Arona82.34-0.47
99Córdoba82.31-0.2
100Lorca82.28-0.12
101Badalona82.23-0.38
102Lleida82.22-0.29
103Castelldefels82.21-0.52
104Ferrol82.19-0.24
105Benidorm82.15-0.04
106San Cristóbal de La Laguna82.13-0.31
107Granadilla de Abona82.1-0.44
108Dos Hermanas82.08-0.03
109Gijón82.06-0.09
109Palencia82.06-0.24
111Marbella82.04-0.31
112Granada82.02+0.32
113Elda81.99+0.09
114Cuenca81.94-0.35
115Reus81.89+0.2
115Santa Coloma de Gramenet81.89-0.34
117San Fernando81.79-0.23
118Jaén81.78+0.06
118Roquetas de Mar81.78-0.08
120Orihuela81.68+0.06
121Cartagena81.63+0.12
121Torrent81.63-0.13
123Utrera81.61+0.01
124Alcoi/Alcoy81.6-0.38
125Eivissa81.59+0.12
125Sagunt/Sagunto81.59-0.22
127Sevilla81.54+0.02
128Sanlúcar de Barrameda81.49-0.14
128Santa Cruz de Tenerife81.49-0.35
130Estepona81.45-0.41
131Jerez de la Frontera81.35-0.14
132Vila-real81.31-0.13
133Arrecife81.3+0.18
133Vélez-Málaga81.3-0.24
135Málaga81.29+0.05
136Santa Lucía de Tirajana81.27-0.22
137Gandia81.26-0.35
138Las Palmas de Gran Canaria81.25-0.31
139Chiclana de la Frontera81.19-0.15
140Huelva81.170
141El Puerto de Santa María81.15-0.04
142San Bartolomé de Tirajana81.13-0.21
143Alcalá de Guadaíra81.08-0.15
143Puertollano81.08n/a
145Almería81.07-0.05
145Telde81.07-0.35
147Cádiz80.77+0.06
148Motril80.67-0.04
149Torrevieja80.61-0.6
150Linares80.52-0.1
151El Ejido80.29-0.45
152Melilla80.25+0.17
153Algeciras79.99-0.36
154La Línea de la Concepción79.44-0.01
155Ceuta79.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

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

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  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

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 of Spain: more rankings