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.

Highest85.94Boadilla del Monte
Lowest79.38Ceuta
Median82.73151 municipalities
Spain82.28History

Top 40 municipalities, 2020

CSVChart (SVG)

Boadilla del MonteBoadilla del Monte: 85.94 years85.94MajadahondaMajadahonda: 85.62 years85.62Pozuelo de AlarcónPozuelo de Alarcón: 85.39 years85.39Las Rozas de MadridLas Rozas de Madrid: 85.33 years85.33Rivas-VaciamadridRivas-Vaciamadrid: 85.17 years85.17GetxoGetxo: 84.8 years84.8AlcorcónAlcorcón: 84.39 years84.39AlcobendasAlcobendas: 84.37 years84.37CalviàCalvià: 84.29 years84.29Vitoria-GasteizVitoria-Gasteiz: 84.22 years84.22PintoPinto: 84.16 years84.16ÁvilaÁvila: 84.04 years84.04PonferradaPonferrada: 84.04 years84.04Donostia/San SebastiánDonostia/San Sebastián: 84.03 years84.03Sant Cugat del VallèsSant Cugat del Vallès: 84.02 years84.02San Sebastián de los ReyesSan Sebastián de los Reyes: 84 years84BurgosBurgos: 83.93 years83.93Pamplona/IruñaPamplona/Iruña: 83.88 years83.88Santiago de CompostelaSantiago de Compostela: 83.8 years83.8GetafeGetafe: 83.79 years83.79VigoVigo: 83.76 years83.76ZamoraZamora: 83.75 years83.75Cerdanyola del VallèsCerdanyola del Vallès: 83.69 years83.69GranollersGranollers: 83.69 years83.69LugoLugo: 83.59 years83.59MadridMadrid: 83.59 years83.59OurenseOurense: 83.58 years83.58GuadalajaraGuadalajara: 83.55 years83.55TeruelTeruel: 83.54 years83.54ToledoToledo: 83.51 years83.51ValladolidValladolid: 83.51 years83.51BarcelonaBarcelona: 83.5 years83.5Sant Vicent del Raspeig/San Vicen…Sant Vicent del Raspeig/San Vicente del Raspeig: 83.48 years83.48FuengirolaFuengirola: 83.47 years83.47SalamancaSalamanca: 83.47 years83.47PontevedraPontevedra: 83.45 years83.45IrunIrun: 83.44 years83.44HuescaHuesca: 83.43 years83.43SantanderSantander: 83.43 years83.43A CoruñaA Coruña: 83.36 years83.36
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2020
years
Change on 2019
1Boadilla del Monte85.940
2Majadahonda85.62-0.06
3Pozuelo de Alarcón85.39-0.22
4Las Rozas de Madrid85.33+0.29
5Rivas-Vaciamadrid85.17+0.26
6Getxo84.8+0.11
7Alcorcón84.39-0.12
8Alcobendas84.37-0.04
9Calvià84.29+0.73
10Vitoria-Gasteiz84.22-0.1
11Pinto84.16+0.51
12Ávila84.04+0.4
12Ponferrada84.04+0.35
14Donostia/San Sebastián84.03+0.09
15Sant Cugat del Vallès84.02-0.04
16San Sebastián de los Reyes84-0.21
17Burgos83.93+0.25
18Pamplona/Iruña83.88-0.12
19Santiago de Compostela83.8+0.2
20Getafe83.79+0.04
21Vigo83.76+0.12
22Zamora83.75+0.65
23Cerdanyola del Vallès83.69+0.38
23Granollers83.69+0.38
25Lugo83.59+0.06
25Madrid83.59-0.04
27Ourense83.58+0.04
28Guadalajara83.55-0.42
29Teruel83.54+0.42
30Toledo83.51-0.33
30Valladolid83.51-0.08
32Barcelona83.5-0.07
33Sant Vicent del Raspeig/San Vicente del Raspeig83.48+0.13
34Fuengirola83.47+0.39
34Salamanca83.47-0.01
36Pontevedra83.45-0.11
37Irun83.44-0.44
38Huesca83.43+0.12
38Santander83.43-0.02
40A Coruña83.36-0.01
40Soria83.36-0.28
42Móstoles83.350
43León83.31-0.04
44Coslada83.29-0.26
45Logroño83.24-0.11
46Fuenlabrada83.2-0.33
46Rubí83.2+0.23
48Bilbao83.19+0.1
49Torrejón de Ardoz83.18-0.14
50Colmenar Viejo83.15+0.17
51Mijas83.14+0.07
52Molina de Segura83.12-0.31
53Segovia83.09+0.15
54Alcalá de Henares83.08+0.09
54Cáceres83.08+0.42
56Arganda del Rey83.07+0.25
56Mataró83.07-0.31
58Zaragoza83.06-0.08
59Aranjuez83.05+0.1
59Leganés83.05-0.14
59Oviedo83.05-0.01
62Benalmádena83.04+0.05
63Paterna82.97-0.08
64Girona82.96+0.12
65Elx/Elche82.94+0.04
66Alacant/Alicante82.90
67Vilanova i la Geltrú82.87-0.06
68Torrelavega82.85+0.3
69Murcia82.83-0.03
69Tarragona82.83-0.18
69Viladecans82.83+0.31
72Cornellà de Llobregat82.82-0.01
73Arona82.81-0.42
74Sabadell82.78-0.13
74Siero82.78+0.21
76Castelldefels82.73+0.15
77Collado Villalba82.71-0.65
77L'Hospitalet de Llobregat82.710
79Palma82.7+0.1
80El Prat de Llobregat82.69+0.3
81Albacete82.66+0.02
81Avilés82.66+0.2
83Badajoz82.65-0.17
84Manresa82.63-0.42
84Talavera de la Reina82.63-0.1
86Parla82.62-0.22
86Torremolinos82.62-0.34
88Badalona82.61-0.17
88València82.61-0.16
90Barakaldo82.6+0.01
91Granadilla de Abona82.54-0.53
91Terrassa82.54-0.12
93Mérida82.52+0.07
94Córdoba82.51-0.08
94Lleida82.51-0.24
96Mollet del Vallès82.5+0.22
96Valdemoro82.5+0.28
98Castelló de la Plana/Castellón de la Plana82.47+0.24
98Ciudad Real82.47+0.28
100San Cristóbal de La Laguna82.44+0.16
101Ferrol82.43+0.29
102Lorca82.4-0.04
103Marbella82.35-0.19
104Palencia82.3-0.18
105Cuenca82.29+0.38
106Santa Coloma de Gramenet82.23+0.1
107Sant Boi de Llobregat82.21-0.11
108Benidorm82.19+0.02
109Gijón82.15-0.01
110Dos Hermanas82.11-0.05
111San Fernando82.02+0.07
112Alcoi/Alcoy81.98-0.23
113Elda81.9-0.45
114Estepona81.86-0.15
114Roquetas de Mar81.86+0.13
116Santa Cruz de Tenerife81.84+0.33
117Sagunt/Sagunto81.81-0.09
118Torrent81.76+0.03
119Jaén81.72-0.3
120Granada81.7+0.1
121Reus81.69+0.1
122Sanlúcar de Barrameda81.63-0.07
123Orihuela81.62-0.08
124Gandia81.61-0.35
125Utrera81.6-0.25
126Las Palmas de Gran Canaria81.56+0.38
127Vélez-Málaga81.54-0.06
128Sevilla81.52-0.19
129Cartagena81.51-0.26
130Jerez de la Frontera81.49-0.03
130Santa Lucía de Tirajana81.49-0.26
132Eivissa81.47-0.25
133Vila-real81.44-0.34
134Telde81.42+0.28
135Chiclana de la Frontera81.34+0.07
135San Bartolomé de Tirajana81.34-0.18
137Málaga81.24-0.1
138Alcalá de Guadaíra81.23-0.27
139Torrevieja81.21-0.43
140El Puerto de Santa María81.19+0.05
141Huelva81.17+0.07
142Almería81.12-0.17
142Arrecife81.12+0.23
144El Ejido80.74-0.47
145Cádiz80.71+0.01
145Motril80.71+0.42
147Linares80.62-0.28
148Algeciras80.35-0.43
149Melilla80.08-0.07
150La Línea de la Concepción79.45-0.45
151Ceuta79.38-0.62

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. 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.

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