Municipalities of Spain by life expectancy

Pozuelo de Alarcón had the highest life expectancy of 148 municipalities in 2018, at 86.43 years. La Línea de la Concepción had the lowest, at 79.78 years. The median was 83.04 years and the figure for Spain was 83.15 years. Source: the Instituto Nacional de Estadística.

Median83.04148 municipalities
Spain83.15History

Top 40 municipalities, 2018

CSVChart (SVG)

Pozuelo de AlarcónPozuelo de Alarcón: 86.43 years86.43MajadahondaMajadahonda: 86.17 years86.17Boadilla del MonteBoadilla del Monte: 85.89 years85.89AlcorcónAlcorcón: 85.43 years85.43AlcobendasAlcobendas: 85.3 years85.3Las Rozas de MadridLas Rozas de Madrid: 85.27 years85.27San Sebastián de los ReyesSan Sebastián de los Reyes: 84.9 years84.9GetxoGetxo: 84.64 years84.64LeganésLeganés: 84.51 years84.51Sant Cugat del VallèsSant Cugat del Vallès: 84.51 years84.51GetafeGetafe: 84.49 years84.49GuadalajaraGuadalajara: 84.38 years84.38Rivas-VaciamadridRivas-Vaciamadrid: 84.38 years84.38MadridMadrid: 84.37 years84.37PintoPinto: 84.37 years84.37Vitoria-GasteizVitoria-Gasteiz: 84.34 years84.34Pamplona/IruñaPamplona/Iruña: 84.32 years84.32Collado VillalbaCollado Villalba: 84.31 years84.31SoriaSoria: 84.29 years84.29SalamancaSalamanca: 84.27 years84.27Torrejón de ArdozTorrejón de Ardoz: 84.2 years84.2FuenlabradaFuenlabrada: 84.19 years84.19CosladaCoslada: 84.13 years84.13Donostia/San SebastiánDonostia/San Sebastián: 84.1 years84.1Alcalá de HenaresAlcalá de Henares: 84.07 years84.07ToledoToledo: 84.05 years84.05MóstolesMóstoles: 84 years84BurgosBurgos: 83.98 years83.98SegoviaSegovia: 83.98 years83.98ValladolidValladolid: 83.97 years83.97TeruelTeruel: 83.91 years83.91ÁvilaÁvila: 83.88 years83.88BarcelonaBarcelona: 83.88 years83.88Cerdanyola del VallèsCerdanyola del Vallès: 83.88 years83.88PonferradaPonferrada: 83.88 years83.88IrunIrun: 83.87 years83.87LogroñoLogroño: 83.78 years83.78LugoLugo: 83.77 years83.77OurenseOurense: 83.76 years83.76Arganda del ReyArganda del Rey: 83.7 years83.7
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2018
years
Change on 2017
1Pozuelo de Alarcón86.43+0.32
2Majadahonda86.17+0.3
3Boadilla del Monte85.89+0.22
4Alcorcón85.43+0.21
5Alcobendas85.3+0.43
6Las Rozas de Madrid85.27+0.08
7San Sebastián de los Reyes84.9+0.23
8Getxo84.64+0.48
9Leganés84.51+0.14
9Sant Cugat del Vallès84.51+0.1
11Getafe84.49+0.11
12Guadalajara84.38-0.16
12Rivas-Vaciamadrid84.38-0.33
14Madrid84.37+0.18
14Pinto84.37+0.39
16Vitoria-Gasteiz84.34+0.19
17Pamplona/Iruña84.32+0.17
18Collado Villalba84.31-0.26
19Soria84.29+0.6
20Salamanca84.27+0.1
21Torrejón de Ardoz84.2+0.04
22Fuenlabrada84.19+0.33
23Coslada84.13+0.15
24Donostia/San Sebastián84.1+0.27
25Alcalá de Henares84.07+0.13
26Toledo84.05+0.2
27Móstoles84-0.24
28Burgos83.98+0.12
28Segovia83.98-0.03
30Valladolid83.97+0.17
31Teruel83.91+0.42
32Ávila83.88+0.4
32Barcelona83.88+0.21
32Cerdanyola del Vallès83.88+0.15
32Ponferrada83.88+0.03
36Irun83.87+0.21
37Logroño83.78+0.09
38Lugo83.77+0.29
39Ourense83.76+0.23
40Arganda del Rey83.7+0.27
41Vigo83.68+0.46
42Pontevedra83.64+0.51
43Albacete83.63+0.1
43León83.63-0.02
45Molina de Segura83.6+0.11
46Granollers83.58+0.55
47Santiago de Compostela83.57+0.42
48Aranjuez83.56+0.23
49Mataró83.53+0.25
50Parla83.52+0.36
51Manresa83.44+0.4
51Sabadell83.44+0.1
53Zaragoza83.43+0.22
54L'Hospitalet de Llobregat83.39+0.12
54Santander83.39+0.3
56Viladecans83.38-0.03
57Colmenar Viejo83.33n/a
58Valdemoro83.31-0.51
59Cornellà de Llobregat83.3-0.03
59Mollet del Vallès83.3+0.21
61Bilbao83.29+0.22
61Palencia83.29+0.12
61Talavera de la Reina83.29+0.21
61Tarragona83.29+0.4
65Huesca83.26+0.56
66A Coruña83.24+0.29
67Oviedo83.23+0.14
68Cuenca83.17+0.19
68Girona83.17-0.1
68Torremolinos83.17+0.32
71Badalona83.16+0.15
72Rubí83.13+0.25
73Ciudad Real83.09+0.12
74Fuengirola83.05+0.51
75Arona83.03+0.49
76Terrassa83.01+0.07
77Barakaldo83+0.54
78Cáceres82.97+0.23
79Murcia82.93+0.11
80Elx/Elche82.91+0.13
81Zamora82.89+0.3
82València82.88+0.19
82Vilanova i la Geltrú82.88+0.37
84Lleida82.87-0.01
85Benalmádena82.85+0.44
86Castelldefels82.81+0.62
87Badajoz82.8+0.27
87Mijas82.8-0.11
89Sant Boi de Llobregat82.79-0.19
89Torrelavega82.79-0.03
91Mérida82.78+0.31
92Alacant/Alicante82.77+0.31
92Marbella82.77+0.2
94Sant Vicent del Raspeig/San Vicente del Raspeig82.74+0.05
95Paterna82.72+0.08
96Siero82.69-0.07
97Avilés82.68+0.3
98El Prat de Llobregat82.63+0.11
99Gijón82.61+0.13
99Santa Coloma de Gramenet82.61+0.27
101Palma82.53+0.2
102Córdoba82.45+0.09
102Jaén82.45-0.05
104Benidorm82.4+0.04
105Orihuela82.33-0.07
106Sagunt/Sagunto82.32+0.12
107Elda82.27+0.22
107Lorca82.27+0.06
109Castelló de la Plana/Castellón de la Plana82.25-0.14
109San Cristóbal de La Laguna82.25+0.4
111Alcoi/Alcoy82.19+0.84
112Dos Hermanas82.07+0.1
113Roquetas de Mar82.03+0.21
114Gandia81.97+0.34
115Estepona81.9+0.31
116Ferrol81.89+0.24
116Granada81.89-0.14
118Reus81.88+0.16
119San Bartolomé de Tirajana81.84+0.53
120Vila-real81.83+0.29
121San Fernando81.76+0.17
122Sevilla81.75+0.05
123Utrera81.73+0.06
124Torrent81.69+0.3
125Santa Lucía de Tirajana81.64-0.01
126Jerez de la Frontera81.59+0.36
127Sanlúcar de Barrameda81.55+0.32
128Cartagena81.53-0.09
129Chiclana de la Frontera81.52+0.3
130Torrevieja81.51+0.43
131Vélez-Málaga81.5+0.27
132Alcalá de Guadaíra81.49+0.17
133Linares81.46+0.07
133Málaga81.46+0.17
135Santa Cruz de Tenerife81.44+0.2
136El Ejido81.38+0.13
137Huelva81.21+0.04
138El Puerto de Santa María81.2+0.31
139Almería81.180
140Las Palmas de Gran Canaria81.09+0.3
141Algeciras81.07+0.39
142Cádiz81.02+0.33
143Arrecife81-0.23
144Telde80.99-0.07
145Motril80.76-0.09
146Melilla80.51+0.17
147Ceuta79.96-0.11
148La Línea de la Concepción79.78+0.24

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. 7 municipalities with data in other periods have no value for 2018 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?

Pozuelo de Alarcón, with 86.43 years in 2018, according to the Instituto Nacional de Estadística.

Which municipality has the lowest life expectancy?

La Línea de la Concepción, with 79.78 years in 2018.

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. 7 municipalities have no value for 2018 and are not ranked.

Life expectancy at birth: other rankings

Municipalities of Spain: more rankings