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.

Highest86.11Boadilla del Monte
Lowest79.28Ceuta
Median82.7155 municipalities
Spain83.03History

Top 40 municipalities, 2021

CSVChart (SVG)

Boadilla del MonteBoadilla del Monte: 86.11 years86.11MajadahondaMajadahonda: 85.75 years85.75Las Rozas de MadridLas Rozas de Madrid: 85.39 years85.39Pozuelo de AlarcónPozuelo de Alarcón: 85.33 years85.33Rivas-VaciamadridRivas-Vaciamadrid: 85.33 years85.33GetxoGetxo: 84.5 years84.5AlcobendasAlcobendas: 84.35 years84.35AlcorcónAlcorcón: 84.31 years84.31Sant Cugat del VallèsSant Cugat del Vallès: 84.29 years84.29Vitoria-GasteizVitoria-Gasteiz: 84.03 years84.03GranollersGranollers: 83.88 years83.88CalviàCalvià: 83.85 years83.85BurgosBurgos: 83.8 years83.8ÁvilaÁvila: 83.79 years83.79PonferradaPonferrada: 83.78 years83.78San Sebastián de los ReyesSan Sebastián de los Reyes: 83.77 years83.77ZamoraZamora: 83.74 years83.74Pamplona/IruñaPamplona/Iruña: 83.72 years83.72PintoPinto: 83.7 years83.7GetafeGetafe: 83.68 years83.68Sant Vicent del Raspeig/San Vicen…Sant Vicent del Raspeig/San Vicente del Raspeig: 83.68 years83.68LugoLugo: 83.66 years83.66Colmenar ViejoColmenar Viejo: 83.64 years83.64Santiago de CompostelaSantiago de Compostela: 83.64 years83.64Cerdanyola del VallèsCerdanyola del Vallès: 83.63 years83.63BasauriBasauri: 83.61 years83.61VigoVigo: 83.6 years83.6ToledoToledo: 83.59 years83.59OurenseOurense: 83.58 years83.58MadridMadrid: 83.57 years83.57GuadalajaraGuadalajara: 83.54 years83.54Donostia/San SebastiánDonostia/San Sebastián: 83.52 years83.52MóstolesMóstoles: 83.5 years83.5CosladaCoslada: 83.44 years83.44BarcelonaBarcelona: 83.37 years83.37ValladolidValladolid: 83.35 years83.35LeónLeón: 83.34 years83.34RubíRubí: 83.34 years83.34TeruelTeruel: 83.34 years83.34SantanderSantander: 83.31 years83.31
years. Source: INE. 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.

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

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