Municipalities of Spain by life expectancy, 2023

Majadahonda had the highest life expectancy of 155 municipalities in 2023, at 87.08 years. Torrevieja had the lowest, at 80.21 years. The median was 83.38 years and the figure for Spain was 83.77 years. Source: the Instituto Nacional de Estadística.

Highest87.08Majadahonda
Lowest80.21Torrevieja
Median83.38155 municipalities
Spain83.77History

Top 40 municipalities, 2023

CSVChart (SVG)

MajadahondaMajadahonda: 87.08 years87.08Boadilla del MonteBoadilla del Monte: 86.82 years86.82Pozuelo de AlarcónPozuelo de Alarcón: 86.68 years86.68Rivas-VaciamadridRivas-Vaciamadrid: 86.01 years86.01AlcobendasAlcobendas: 85.89 years85.89Sant Cugat del VallèsSant Cugat del Vallès: 85.83 years85.83Las Rozas de MadridLas Rozas de Madrid: 85.64 years85.64AlcorcónAlcorcón: 85.55 years85.55GetxoGetxo: 85.34 years85.34ToledoToledo: 85.28 years85.28San Sebastián de los ReyesSan Sebastián de los Reyes: 85.16 years85.16CosladaCoslada: 85.13 years85.13Colmenar ViejoColmenar Viejo: 85.12 years85.12PintoPinto: 84.95 years84.95MadridMadrid: 84.93 years84.93LeganésLeganés: 84.85 years84.85GetafeGetafe: 84.81 years84.81ZamoraZamora: 84.77 years84.77GuadalajaraGuadalajara: 84.75 years84.75Vitoria-GasteizVitoria-Gasteiz: 84.75 years84.75SalamancaSalamanca: 84.72 years84.72Cerdanyola del VallèsCerdanyola del Vallès: 84.64 years84.64Alcalá de HenaresAlcalá de Henares: 84.6 years84.6ValdemoroValdemoro: 84.6 years84.6MóstolesMóstoles: 84.58 years84.58FuenlabradaFuenlabrada: 84.51 years84.51Pamplona/IruñaPamplona/Iruña: 84.49 years84.49Torrejón de ArdozTorrejón de Ardoz: 84.47 years84.47ÁvilaÁvila: 84.45 years84.45Cornellà de LlobregatCornellà de Llobregat: 84.43 years84.43Arganda del ReyArganda del Rey: 84.33 years84.33BurgosBurgos: 84.33 years84.33BarcelonaBarcelona: 84.28 years84.28BasauriBasauri: 84.28 years84.28Collado VillalbaCollado Villalba: 84.28 years84.28AranjuezAranjuez: 84.24 years84.24LogroñoLogroño: 84.17 years84.17SegoviaSegovia: 84.16 years84.16GranollersGranollers: 84.12 years84.12ValladolidValladolid: 84.12 years84.12
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2023
years
Change on 2022
1Majadahonda87.08+0.69
2Boadilla del Monte86.82+0.03
3Pozuelo de Alarcón86.68+0.33
4Rivas-Vaciamadrid86.01+0.36
5Alcobendas85.89+0.65
6Sant Cugat del Vallès85.83+0.65
7Las Rozas de Madrid85.64-0.1
8Alcorcón85.55+0.24
9Getxo85.34+0.26
10Toledo85.28+0.71
11San Sebastián de los Reyes85.16+0.58
12Coslada85.13+0.95
13Colmenar Viejo85.12+0.48
14Pinto84.95+0.19
15Madrid84.93+0.33
16Leganés84.85+0.42
17Getafe84.81+0.2
18Zamora84.77+0.21
19Guadalajara84.75+0.55
19Vitoria-Gasteiz84.75+0.24
21Salamanca84.72+0.52
22Cerdanyola del Vallès84.64+0.05
23Alcalá de Henares84.6+0.24
23Valdemoro84.6+0.38
25Móstoles84.58+0.38
26Fuenlabrada84.51+0.37
27Pamplona/Iruña84.49+0.15
28Torrejón de Ardoz84.47+0.37
29Ávila84.45+0.09
30Cornellà de Llobregat84.43+0.43
31Arganda del Rey84.33+0.19
31Burgos84.33+0.03
33Barcelona84.28+0.34
33Basauri84.28+0.17
33Collado Villalba84.28+0.67
36Aranjuez84.24+0.25
37Logroño84.17+0.41
38Segovia84.16+0.16
39Granollers84.12+0.11
39Valladolid84.12+0.13
41Rincón de la Victoria84.07+0.57
42Irun84.01+0.61
42Lugo84.01+0.27
44Ciudad Real83.98+0.42
44Soria83.980
46Bilbao83.93+0.33
47Donostia/San Sebastián83.91+0.05
48León83.9+0.25
49Teruel83.89-0.08
50Calvià83.87-0.25
50Santander83.87+0.17
52A Coruña83.86+0.49
52Pontevedra83.86+0.33
54Viladecans83.85-0.04
55Zaragoza83.81+0.39
56Talavera de la Reina83.78+0.48
57Ponferrada83.76-0.29
58Mataró83.73+0.48
59L'Hospitalet de Llobregat83.7+0.28
60Santiago de Compostela83.68+0.03
61Sant Vicent del Raspeig/San Vicente del Raspeig83.67+0.24
62Huesca83.63+0.29
63Molina de Segura83.61+0.22
64Albacete83.6+0.04
64Girona83.6+0.38
66Rubí83.58-0.23
66Terrassa83.58+0.48
68Benalmádena83.56+0.49
68Ourense83.56-0.02
70Benidorm83.52+0.49
71Palencia83.51+0.22
72Vigo83.5-0.04
73El Prat de Llobregat83.48+0.1
74Tarragona83.46+0.51
75Sabadell83.44+0.15
76Oviedo83.4+0.2
77Castelldefels83.39+0.52
78Cáceres83.38-0.04
78Parla83.38+0.16
80Alacant/Alicante83.37+0.3
80Elx/Elche83.37+0.44
82Torremolinos83.3+0.53
83Paterna83.28+0.32
83València83.28+0.42
85Lleida83.25+0.48
86Fuengirola83.23+0.12
87Barakaldo83.22+0.29
87Vilanova i la Geltrú83.22+0.3
89Mijas83.21+0.13
90Santurtzi83.19+0.05
91Elda83.18+0.66
91Granadilla de Abona83.18+0.96
93Castelló de la Plana/Castellón de la Plana83.17+0.34
94Cuenca83.15-0.1
94Palma83.15+0.14
96Granada83.09+0.53
96Mollet del Vallès83.09-0.28
98Badalona83.08+0.24
99Badajoz83.05+0.33
100Murcia83.04+0.35
101Sant Boi de Llobregat83.01-0.08
102Avilés83+0.17
103Manresa82.97-0.05
104Santa Coloma de Gramenet82.96+0.22
105Vila-real82.93+0.8
106Jaén82.92+0.48
106Mérida82.92-0.05
106Torrelavega82.92-0.26
109Alcoi/Alcoy82.84+1.01
110Dos Hermanas82.83+0.33
110Siero82.83-0.44
112Roquetas de Mar82.77+0.57
113Gijón82.73+0.13
114Lorca82.72+0.4
115Córdoba82.69+0.27
116Orihuela82.59+0.5
117Arona82.58+0.2
118Chiclana de la Frontera82.56+0.75
119San Fernando82.5+0.55
120Sevilla82.49+0.55
121Reus82.47+0.33
122Marbella82.46+0.25
123San Cristóbal de La Laguna82.44+0.05
124Sagunt/Sagunto82.35+0.63
125Torrent82.33+0.21
126Eivissa82.29+0.61
126San Bartolomé de Tirajana82.29+0.64
128Cartagena82.25+0.38
129El Puerto de Santa María82.14+0.58
130Málaga82.13+0.42
131Ferrol82.09+0.26
132Gandia82.03+0.4
133Cádiz81.95+0.71
134Alcalá de Guadaíra81.94+0.65
134Jerez de la Frontera81.94+0.32
136Almería81.93+0.46
137Utrera81.91+0.12
138Melilla81.89+0.77
139Vélez-Málaga81.67+0.29
140Puertollano81.65+0.08
141Santa Lucía de Tirajana81.62+0.54
142Linares81.6+0.35
143Estepona81.57+0.25
144Huelva81.56+0.17
145El Ejido81.55+0.92
146Algeciras81.49+0.94
147Motril81.46+0.52
148Santa Cruz de Tenerife81.45-0.09
149Sanlúcar de Barrameda81.420
150Las Palmas de Gran Canaria81.35+0.11
151Arrecife81.24-0.11
152Telde81.09+0.08
153Ceuta81.01+1.01
154La Línea de la Concepción80.46+1.19
155Torrevieja80.21+0.21

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?

Majadahonda, with 87.08 years in 2023, according to the Instituto Nacional de Estadística.

Which municipality has the lowest life expectancy?

Torrevieja, with 80.21 years in 2023.

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