Municipalities of Spain by life expectancy

Pozuelo de Alarcón had the highest life expectancy of 147 municipalities in 2017, at 86.11 years. La Línea de la Concepción had the lowest, at 79.54 years. The median was 82.88 years and the figure for Spain was 83.05 years. Source: the Instituto Nacional de Estadística.

Median82.88147 municipalities
Spain83.05History

Top 40 municipalities, 2017

CSVChart (SVG)

Pozuelo de AlarcónPozuelo de Alarcón: 86.11 years86.11MajadahondaMajadahonda: 85.87 years85.87Boadilla del MonteBoadilla del Monte: 85.67 years85.67AlcorcónAlcorcón: 85.22 years85.22Las Rozas de MadridLas Rozas de Madrid: 85.19 years85.19AlcobendasAlcobendas: 84.87 years84.87Rivas-VaciamadridRivas-Vaciamadrid: 84.71 years84.71San Sebastián de los ReyesSan Sebastián de los Reyes: 84.67 years84.67Collado VillalbaCollado Villalba: 84.57 years84.57GuadalajaraGuadalajara: 84.54 years84.54Sant Cugat del VallèsSant Cugat del Vallès: 84.41 years84.41GetafeGetafe: 84.38 years84.38LeganésLeganés: 84.37 years84.37MóstolesMóstoles: 84.24 years84.24MadridMadrid: 84.19 years84.19SalamancaSalamanca: 84.17 years84.17GetxoGetxo: 84.16 years84.16Torrejón de ArdozTorrejón de Ardoz: 84.16 years84.16Pamplona/IruñaPamplona/Iruña: 84.15 years84.15Vitoria-GasteizVitoria-Gasteiz: 84.15 years84.15SegoviaSegovia: 84.01 years84.01CosladaCoslada: 83.98 years83.98PintoPinto: 83.98 years83.98Alcalá de HenaresAlcalá de Henares: 83.94 years83.94BurgosBurgos: 83.86 years83.86FuenlabradaFuenlabrada: 83.86 years83.86PonferradaPonferrada: 83.85 years83.85ToledoToledo: 83.85 years83.85Donostia/San SebastiánDonostia/San Sebastián: 83.83 years83.83ValdemoroValdemoro: 83.82 years83.82ValladolidValladolid: 83.8 years83.8Cerdanyola del VallèsCerdanyola del Vallès: 83.73 years83.73LogroñoLogroño: 83.69 years83.69SoriaSoria: 83.69 years83.69BarcelonaBarcelona: 83.67 years83.67IrunIrun: 83.66 years83.66LeónLeón: 83.65 years83.65AlbaceteAlbacete: 83.53 years83.53OurenseOurense: 83.53 years83.53Molina de SeguraMolina de Segura: 83.49 years83.49
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2017
years
Change on 2016
1Pozuelo de Alarcón86.11+0.26
2Majadahonda85.87+0.59
3Boadilla del Monte85.67+0.46
4Alcorcón85.22+0.33
5Las Rozas de Madrid85.19+0.48
6Alcobendas84.87+0.16
7Rivas-Vaciamadrid84.71+0.11
8San Sebastián de los Reyes84.67+0.49
9Collado Villalba84.57+0.8
10Guadalajara84.54+0.37
11Sant Cugat del Vallès84.41+0.09
12Getafe84.38+0.27
13Leganés84.37+0.55
14Móstoles84.24+0.25
15Madrid84.19+0.26
16Salamanca84.17+0.04
17Getxo84.160
17Torrejón de Ardoz84.16+0.15
19Pamplona/Iruña84.15+0.33
19Vitoria-Gasteiz84.15+0.44
21Segovia84.01+0.39
22Coslada83.98+0.09
22Pinto83.98n/a
24Alcalá de Henares83.94+0.17
25Burgos83.86-0.05
25Fuenlabrada83.86+0.71
27Ponferrada83.85+0.19
27Toledo83.85+0.11
29Donostia/San Sebastián83.83+0.24
30Valdemoro83.82-0.07
31Valladolid83.8+0.41
32Cerdanyola del Vallès83.73+0.06
33Logroño83.69+0.09
33Soria83.69+0.39
35Barcelona83.67+0.25
36Irun83.66+0.2
37León83.65+0.09
38Albacete83.53+0.15
38Ourense83.53+0.26
40Molina de Segura83.49+0.18
40Teruel83.490
42Ávila83.48+0.24
42Lugo83.48+0.53
44Arganda del Rey83.43+0.11
45Viladecans83.41-0.14
46Sabadell83.34+0.14
47Aranjuez83.33+0.1
47Cornellà de Llobregat83.33+0.22
49Mataró83.28+0.17
50Girona83.27-0.01
50L'Hospitalet de Llobregat83.27+0.1
52Vigo83.22+0.16
53Zaragoza83.21+0.27
54Palencia83.17+0.04
55Parla83.16+0.5
56Santiago de Compostela83.15+0.43
57Pontevedra83.13-0.04
58Mollet del Vallès83.09+0.24
58Oviedo83.09+0.13
58Santander83.09+0.36
61Talavera de la Reina83.08+0.24
62Bilbao83.07+0.21
63Manresa83.04+0.31
64Granollers83.03-0.39
65Badalona83.01+0.02
66Cuenca82.98+0.33
66Sant Boi de Llobregat82.98+0.39
68Ciudad Real82.97-0.12
69A Coruña82.95+0.02
70Terrassa82.94+0.06
71Mijas82.91+0.11
72Tarragona82.89+0.39
73Lleida82.88+0.09
73Rubí82.88+0.19
75Torremolinos82.85+0.67
76Murcia82.82+0.1
76Torrelavega82.82+0.44
78Elx/Elche82.78-0.05
79Siero82.76+0.28
80Cáceres82.74-0.01
81Huesca82.7+0.22
82Sant Vicent del Raspeig/San Vicente del Raspeig82.69+0.21
82València82.69+0.22
84Paterna82.64+0.04
85Zamora82.59-0.45
86Marbella82.57+0.26
87Arona82.54+0.31
87Fuengirola82.54-0.14
89Badajoz82.53+0.3
90El Prat de Llobregat82.52-0.18
91Vilanova i la Geltrú82.51+0.13
92Jaén82.5+0.15
93Gijón82.48+0.22
94Mérida82.47+0.36
95Alacant/Alicante82.46+0.18
95Barakaldo82.46+0.02
97Benalmádena82.41+0.07
98Orihuela82.4+0.07
99Castelló de la Plana/Castellón de la Plana82.39+0.08
100Avilés82.38-0.23
101Benidorm82.36+0.12
101Córdoba82.36+0.16
103Santa Coloma de Gramenet82.34-0.02
104Palma82.33+0.38
105Lorca82.21+0.28
106Sagunt/Sagunto82.2-0.21
107Castelldefels82.19+0.3
108Elda82.05+0.15
109Granada82.03+0.13
110Dos Hermanas81.97+0.24
111San Cristóbal de La Laguna81.85-0.01
112Roquetas de Mar81.82+0.18
113Reus81.72+0.14
114Sevilla81.7+0.22
115Utrera81.67+0.02
116Ferrol81.65+0.2
116Santa Lucía de Tirajana81.65+0.18
118Gandia81.63+0.12
119Cartagena81.62+0.3
120Estepona81.59-0.01
120San Fernando81.59+0.05
122Vila-real81.54+0.35
123Linares81.39+0.09
123Torrent81.39+0.35
125Alcoi/Alcoy81.35-0.11
126Alcalá de Guadaíra81.32+0.18
127San Bartolomé de Tirajana81.31-0.52
128Málaga81.29+0.21
129El Ejido81.25-0.35
130Santa Cruz de Tenerife81.24+0.17
131Arrecife81.23+0.07
131Jerez de la Frontera81.23+0.05
131Sanlúcar de Barrameda81.23+0.64
131Vélez-Málaga81.23+0.34
135Chiclana de la Frontera81.22+0.1
136Almería81.18+0.08
137Huelva81.17-0.01
138Torrevieja81.08+0.49
139Telde81.06+0.1
140El Puerto de Santa María80.89+0.17
141Motril80.85-0.5
142Las Palmas de Gran Canaria80.79-0.02
143Cádiz80.69-0.1
144Algeciras80.68-0.16
145Melilla80.34+0.2
146Ceuta80.07+0.01
147La Línea de la Concepción79.54-0.05

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. 8 municipalities with data in other periods have no value for 2017 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.11 years in 2017, according to the Instituto Nacional de Estadística.

Which municipality has the lowest life expectancy?

La Línea de la Concepción, with 79.54 years in 2017.

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

Life expectancy at birth: other rankings

Municipalities of Spain: more rankings