Municipalities of Spain by life expectancy, 2024

Majadahonda had the highest life expectancy of 155 municipalities in 2024, at 87.1 years. La Línea de la Concepción had the lowest, at 80.31 years. The median was 83.7 years and the figure for Spain was 84.01 years. Source: the Instituto Nacional de Estadística.

Keep it in a collection in your library.
Highest87.1Majadahonda
Median83.7155 municipalities
Spain84.01History

Top 40 municipalities, 2024

Majadahonda: 87.1 yearsMajadahonda87.1Pozuelo de Alarcón: 86.91 yearsPozuelo de Alarcón86.91Rivas-Vaciamadrid: 86.68 yearsRivas-Vaciamadrid86.68Boadilla del Monte: 86.39 yearsBoadilla del Monte86.39Sant Cugat del Vallès: 86.08 yearsSant Cugat del Vallès86.08Las Rozas de Madrid: 86.01 yearsLas Rozas de Madrid86.01Alcobendas: 85.92 yearsAlcobendas85.92Getxo: 85.75 yearsGetxo85.75Alcorcón: 85.68 yearsAlcorcón85.68Salamanca: 85.51 yearsSalamanca85.51Pinto: 85.45 yearsPinto85.45Toledo: 85.43 yearsToledo85.43Coslada: 85.42 yearsCoslada85.42San Sebastián de los Reyes: 85.38 yearsSan Sebastián de los Reyes85.38Leganés: 85.3 yearsLeganés85.3Madrid: 85.3 yearsMadrid85.3Valdemoro: 85.28 yearsValdemoro85.28Guadalajara: 85.19 yearsGuadalajara85.19Zamora: 85.15 yearsZamora85.15Colmenar Viejo: 85.11 yearsColmenar Viejo85.11Getafe: 85.1 yearsGetafe85.1Torrejón de Ardoz: 85.08 yearsTorrejón de Ardoz85.08Vitoria-Gasteiz: 84.99 yearsVitoria-Gasteiz84.99Ávila: 84.93 yearsÁvila84.93Móstoles: 84.92 yearsMóstoles84.92Pamplona/Iruña: 84.91 yearsPamplona/Iruña84.91Burgos: 84.87 yearsBurgos84.87Collado Villalba: 84.82 yearsCollado Villalba84.82Aranjuez: 84.76 yearsAranjuez84.76Cerdanyola del Vallès: 84.75 yearsCerdanyola del Vallès84.75Alcalá de Henares: 84.7 yearsAlcalá de Henares84.7Fuenlabrada: 84.65 yearsFuenlabrada84.65Barcelona: 84.63 yearsBarcelona84.63Logroño: 84.63 yearsLogroño84.63Soria: 84.55 yearsSoria84.55Donostia/San Sebastián: 84.5 yearsDonostia/San Sebastián84.5Huesca: 84.5 yearsHuesca84.5Valladolid: 84.49 yearsValladolid84.49Girona: 84.36 yearsGirona84.36Viladecans: 84.36 yearsViladecans84.36Majadahonda: 87.1 yearsMajadahonda87.1Pozuelo de Alarcón: 86.91 yearsPozuelo de Alarcón86.91Rivas-Vaciamadrid: 86.68 yearsRivas-Vaciamadrid86.68Boadilla del Monte: 86.39 yearsBoadilla del Monte86.39Sant Cugat del Vallès: 86.08 yearsSant Cugat del Vallès86.08Las Rozas de Madrid: 86.01 yearsLas Rozas de Madrid86.01Alcobendas: 85.92 yearsAlcobendas85.92Getxo: 85.75 yearsGetxo85.75Alcorcón: 85.68 yearsAlcorcón85.68Salamanca: 85.51 yearsSalamanca85.51Pinto: 85.45 yearsPinto85.45Toledo: 85.43 yearsToledo85.43Coslada: 85.42 yearsCoslada85.42San Sebastián de los Reyes: 85.38 yearsSan Sebastián de los Reyes85.38Leganés: 85.3 yearsLeganés85.3Madrid: 85.3 yearsMadrid85.3Valdemoro: 85.28 yearsValdemoro85.28Guadalajara: 85.19 yearsGuadalajara85.19Zamora: 85.15 yearsZamora85.15Colmenar Viejo: 85.11 yearsColmenar Viejo85.11Getafe: 85.1 yearsGetafe85.1Torrejón de Ardoz: 85.08 yearsTorrejón de Ardoz85.08Vitoria-Gasteiz: 84.99 yearsVitoria-Gasteiz84.99Ávila: 84.93 yearsÁvila84.93Móstoles: 84.92 yearsMóstoles84.92Pamplona/Iruña: 84.91 yearsPamplona/Iruña84.91Burgos: 84.87 yearsBurgos84.87Collado Villalba: 84.82 yearsCollado Villalba84.82Aranjuez: 84.76 yearsAranjuez84.76Cerdanyola del Vallès: 84.75 yearsCerdanyola del Vallès84.75Alcalá de Henares: 84.7 yearsAlcalá de Henares84.7Fuenlabrada: 84.65 yearsFuenlabrada84.65Barcelona: 84.63 yearsBarcelona84.63Logroño: 84.63 yearsLogroño84.63Soria: 84.55 yearsSoria84.55Donostia/San Sebastián: 84.5 yearsDonostia/San Sebastián84.5Huesca: 84.5 yearsHuesca84.5Valladolid: 84.49 yearsValladolid84.49Girona: 84.36 yearsGirona84.36Viladecans: 84.36 yearsViladecans84.36
years. Source: INE, Indicadores demográficos básicos: esperanza de vida al nacimiento (tablas 1414, 1448, 1485 y 30687). Retrieved 2026-11-19.

Full ranking

RankMunicipalities2024
years
Change on 2023
1Majadahonda87.1+0.02
2Pozuelo de Alarcón86.91+0.23
3Rivas-Vaciamadrid86.68+0.67
4Boadilla del Monte86.39-0.43
5Sant Cugat del Vallès86.08+0.25
6Las Rozas de Madrid86.01+0.37
7Alcobendas85.92+0.03
8Getxo85.75+0.41
9Alcorcón85.68+0.13
10Salamanca85.51+0.79
11Pinto85.45+0.5
12Toledo85.43+0.15
13Coslada85.42+0.29
14San Sebastián de los Reyes85.38+0.22
15Leganés85.3+0.45
15Madrid85.3+0.37
17Valdemoro85.28+0.68
18Guadalajara85.19+0.44
19Zamora85.15+0.38
20Colmenar Viejo85.11-0.01
21Getafe85.1+0.29
22Torrejón de Ardoz85.08+0.61
23Vitoria-Gasteiz84.99+0.24
24Ávila84.93+0.48
25Móstoles84.92+0.34
26Pamplona/Iruña84.91+0.42
27Burgos84.87+0.54
28Collado Villalba84.82+0.54
29Aranjuez84.76+0.52
30Cerdanyola del Vallès84.75+0.11
31Alcalá de Henares84.7+0.1
32Fuenlabrada84.65+0.14
33Barcelona84.63+0.35
33Logroño84.63+0.46
35Soria84.55+0.57
36Donostia/San Sebastián84.5+0.59
36Huesca84.5+0.87
38Valladolid84.49+0.37
39Girona84.36+0.76
39Viladecans84.36+0.51
41Arganda del Rey84.31-0.02
42Castelldefels84.27+0.88
43Bilbao84.26+0.33
44Basauri84.25-0.03
45Cornellà de Llobregat84.23-0.2
45Zaragoza84.23+0.42
47Rincón de la Victoria84.17+0.1
48Tarragona84.16+0.7
49Santiago de Compostela84.15+0.47
50Benalmádena84.14+0.58
51Irun84.11+0.1
52A Coruña84.09+0.23
52Lugo84.09+0.08
52Molina de Segura84.09+0.48
55Granollers84.07-0.05
56Santander84.06+0.19
57León84.05+0.15
58Sant Vicent del Raspeig/San Vicente del Raspeig84.04+0.37
59Palencia84.02+0.51
60Ciudad Real84.01+0.03
61Segovia83.98-0.18
62Calvià83.95+0.08
62Mataró83.95+0.22
62Ponferrada83.95+0.19
65Terrassa83.94+0.36
66Benidorm83.93+0.41
66Cáceres83.93+0.55
68Vigo83.85+0.35
69Pontevedra83.84-0.02
70Oviedo83.82+0.42
71València83.79+0.51
72Albacete83.78+0.18
72L'Hospitalet de Llobregat83.78+0.08
74Teruel83.77-0.12
75Elx/Elche83.76+0.39
76Santurtzi83.75+0.56
77Talavera de la Reina83.74-0.04
78Lleida83.7+0.45
78Sabadell83.7+0.26
80Granada83.66+0.57
81El Prat de Llobregat83.65+0.17
82Parla83.64+0.26
83Paterna83.63+0.35
84Badajoz83.61+0.56
85Alacant/Alicante83.59+0.22
86Ourense83.58+0.02
87Murcia83.57+0.53
88Vilanova i la Geltrú83.49+0.27
89Barakaldo83.48+0.26
90Torremolinos83.45+0.15
91Granadilla de Abona83.44+0.26
91Sant Boi de Llobregat83.44+0.43
93Jaén83.42+0.5
93Mijas83.42+0.21
95Badalona83.41+0.33
96Fuengirola83.38+0.15
97Palma83.37+0.22
98Rubí83.36-0.22
99Vila-real83.34+0.41
100Santa Coloma de Gramenet83.33+0.37
101Cuenca83.31+0.16
102Castelló de la Plana/Castellón de la Plana83.3+0.13
102Elda83.3+0.12
104Siero83.27+0.44
105Torrelavega83.26+0.34
106Dos Hermanas83.2+0.37
107Córdoba83.17+0.48
108Avilés83.15+0.15
109Mérida83.13+0.21
110Roquetas de Mar83.12+0.35
111Arona83.05+0.47
112Gijón82.98+0.25
112Lorca82.98+0.26
114Chiclana de la Frontera82.97+0.41
115Sagunt/Sagunto82.92+0.57
116San Fernando82.87+0.37
117Alcoi/Alcoy82.85+0.01
118Orihuela82.83+0.24
118Reus82.83+0.36
120Manresa82.8-0.17
120Mollet del Vallès82.8-0.29
122Sevilla82.76+0.27
123San Bartolomé de Tirajana82.73+0.44
124Eivissa82.65+0.36
125Marbella82.63+0.17
126Ferrol82.61+0.52
127Cartagena82.58+0.33
127San Cristóbal de La Laguna82.58+0.14
129Málaga82.56+0.43
130Gandia82.55+0.52
131Almería82.43+0.5
131Torrent82.43+0.1
133Utrera82.37+0.46
134El Ejido82.28+0.73
135Jerez de la Frontera82.22+0.28
136Cádiz82.16+0.21
137Santa Lucía de Tirajana82.12+0.5
138Alcalá de Guadaíra82.09+0.15
139Estepona82.04+0.47
139Motril82.04+0.58
141Vélez-Málaga82.03+0.36
142Huelva82.01+0.45
142Las Palmas de Gran Canaria82.01+0.66
144Puertollano81.99+0.34
144Santa Cruz de Tenerife81.99+0.54
146Algeciras81.98+0.49
147El Puerto de Santa María81.94-0.2
148Melilla81.9+0.01
149Linares81.89+0.29
150Ceuta81.77+0.76
151Sanlúcar de Barrameda81.69+0.27
152Arrecife81.51+0.27
153Telde81.48+0.39
154Torrevieja80.77+0.56
155La Línea de la Concepción80.31-0.15

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

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, 2024) [Data set]. Retrieved November 19, 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, 2024. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities. Accessed 19 Nov. 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, 2024. Dataset. Accessed November 19, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=30687. Also distributed by Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities.

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, 2024 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30687, via Invokely: https://invokely.ai/rankings/life-expectancy/spain-municipalities (Accessed: 19 November 2026).

BibTeX
@misc{instituto_municipalities_of_spain_by_2024,
  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, 2024}},
  howpublished = {Data set},
  url = {https://www.ine.es/jaxiT3/Tabla.htm?t=30687},
  urldate = {2026-11-19},
  note = {Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities. 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-11-19.},
}
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, 2024
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
Y2  - 2026/11/19
N1  - Accessed via Invokely, https://invokely.ai/rankings/life-expectancy/spain-municipalities.
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-11-19.
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.1 years in 2024, according to the Instituto Nacional de Estadística.

Which municipality has the lowest life expectancy?

La Línea de la Concepción, with 80.31 years in 2024.

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

Life expectancy at birth: other rankings

Municipalities of Spain: more rankings