Municipalities of Spain by life expectancy

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.

Keep it in a collection in your library.
Highest87.08Majadahonda
Lowest80.21Torrevieja
Median83.38155 municipalities
Spain83.77History

Top 40 municipalities, 2023

Majadahonda: 87.08 yearsMajadahonda87.08Boadilla del Monte: 86.82 yearsBoadilla del Monte86.82Pozuelo de Alarcón: 86.68 yearsPozuelo de Alarcón86.68Rivas-Vaciamadrid: 86.01 yearsRivas-Vaciamadrid86.01Alcobendas: 85.89 yearsAlcobendas85.89Sant Cugat del Vallès: 85.83 yearsSant Cugat del Vallès85.83Las Rozas de Madrid: 85.64 yearsLas Rozas de Madrid85.64Alcorcón: 85.55 yearsAlcorcón85.55Getxo: 85.34 yearsGetxo85.34Toledo: 85.28 yearsToledo85.28San Sebastián de los Reyes: 85.16 yearsSan Sebastián de los Reyes85.16Coslada: 85.13 yearsCoslada85.13Colmenar Viejo: 85.12 yearsColmenar Viejo85.12Pinto: 84.95 yearsPinto84.95Madrid: 84.93 yearsMadrid84.93Leganés: 84.85 yearsLeganés84.85Getafe: 84.81 yearsGetafe84.81Zamora: 84.77 yearsZamora84.77Guadalajara: 84.75 yearsGuadalajara84.75Vitoria-Gasteiz: 84.75 yearsVitoria-Gasteiz84.75Salamanca: 84.72 yearsSalamanca84.72Cerdanyola del Vallès: 84.64 yearsCerdanyola del Vallès84.64Alcalá de Henares: 84.6 yearsAlcalá de Henares84.6Valdemoro: 84.6 yearsValdemoro84.6Móstoles: 84.58 yearsMóstoles84.58Fuenlabrada: 84.51 yearsFuenlabrada84.51Pamplona/Iruña: 84.49 yearsPamplona/Iruña84.49Torrejón de Ardoz: 84.47 yearsTorrejón de Ardoz84.47Ávila: 84.45 yearsÁvila84.45Cornellà de Llobregat: 84.43 yearsCornellà de Llobregat84.43Arganda del Rey: 84.33 yearsArganda del Rey84.33Burgos: 84.33 yearsBurgos84.33Barcelona: 84.28 yearsBarcelona84.28Basauri: 84.28 yearsBasauri84.28Collado Villalba: 84.28 yearsCollado Villalba84.28Aranjuez: 84.24 yearsAranjuez84.24Logroño: 84.17 yearsLogroño84.17Segovia: 84.16 yearsSegovia84.16Granollers: 84.12 yearsGranollers84.12Valladolid: 84.12 yearsValladolid84.12Majadahonda: 87.08 yearsMajadahonda87.08Boadilla del Monte: 86.82 yearsBoadilla del Monte86.82Pozuelo de Alarcón: 86.68 yearsPozuelo de Alarcón86.68Rivas-Vaciamadrid: 86.01 yearsRivas-Vaciamadrid86.01Alcobendas: 85.89 yearsAlcobendas85.89Sant Cugat del Vallès: 85.83 yearsSant Cugat del Vallès85.83Las Rozas de Madrid: 85.64 yearsLas Rozas de Madrid85.64Alcorcón: 85.55 yearsAlcorcón85.55Getxo: 85.34 yearsGetxo85.34Toledo: 85.28 yearsToledo85.28San Sebastián de los Reyes: 85.16 yearsSan Sebastián de los Reyes85.16Coslada: 85.13 yearsCoslada85.13Colmenar Viejo: 85.12 yearsColmenar Viejo85.12Pinto: 84.95 yearsPinto84.95Madrid: 84.93 yearsMadrid84.93Leganés: 84.85 yearsLeganés84.85Getafe: 84.81 yearsGetafe84.81Zamora: 84.77 yearsZamora84.77Guadalajara: 84.75 yearsGuadalajara84.75Vitoria-Gasteiz: 84.75 yearsVitoria-Gasteiz84.75Salamanca: 84.72 yearsSalamanca84.72Cerdanyola del Vallès: 84.64 yearsCerdanyola del Vallès84.64Alcalá de Henares: 84.6 yearsAlcalá de Henares84.6Valdemoro: 84.6 yearsValdemoro84.6Móstoles: 84.58 yearsMóstoles84.58Fuenlabrada: 84.51 yearsFuenlabrada84.51Pamplona/Iruña: 84.49 yearsPamplona/Iruña84.49Torrejón de Ardoz: 84.47 yearsTorrejón de Ardoz84.47Ávila: 84.45 yearsÁvila84.45Cornellà de Llobregat: 84.43 yearsCornellà de Llobregat84.43Arganda del Rey: 84.33 yearsArganda del Rey84.33Burgos: 84.33 yearsBurgos84.33Barcelona: 84.28 yearsBarcelona84.28Basauri: 84.28 yearsBasauri84.28Collado Villalba: 84.28 yearsCollado Villalba84.28Aranjuez: 84.24 yearsAranjuez84.24Logroño: 84.17 yearsLogroño84.17Segovia: 84.16 yearsSegovia84.16Granollers: 84.12 yearsGranollers84.12Valladolid: 84.12 yearsValladolid84.12
years. Source: INE, Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). 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.

For US states, NCHS life tables are available only for a few recent years.

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.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

Instituto Nacional de Estadística. (n.d.). Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687) (Municipalities of Spain by life expectancy, 2023) [Data set]. Retrieved October 7, 2026, from https://www.ine.es/jaxiT3/Tabla.htm?t=30687

MLA 9

Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687), Municipalities of Spain by life expectancy, 2023. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2023. Accessed 7 Oct. 2026.

Chicago (author-date)

Instituto Nacional de Estadística. n.d. Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). Municipalities of Spain by life expectancy, 2023. Dataset. Accessed October 7, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Also distributed by Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2023.

Harvard

Instituto Nacional de Estadística (no date) Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687), Municipalities of Spain by life expectancy, 2023 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30687, via Invokely: https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2023 (Accessed: 7 October 2026).

BibTeX
@misc{instituto_municipalities_of_spain_by_2023,
  author = {{Instituto Nacional de Estadística}},
  title = {{Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687): Municipalities of Spain by life expectancy, 2023}},
  howpublished = {Data set},
  url = {https://www.ine.es/jaxiT3/Tabla.htm?t=30687},
  urldate = {2026-10-07},
  note = {Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2023. Publisher attribution: 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.},
}
RIS
TY  - DATA
AU  - Instituto Nacional de Estadística
TI  - Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687): Municipalities of Spain by life expectancy, 2023
PB  - Instituto Nacional de Estadística
DB  - Invokely
UR  - https://www.ine.es/jaxiT3/Tabla.htm?t=30687
L2  - https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2023
Y2  - 2026/10/07
N1  - Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities?period=2023.
N1  - Publisher attribution: 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.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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