Municipalities of Spain by average age

Ferrol had the highest average age of 155 municipalities in 2024, at 49.9 years. Melilla had the lowest, at 37.3 years. The median was 43.6 years and the figure for Spain was 44.4 years. Source: the Instituto Nacional de Estadística.

Highest49.9Ferrol
Lowest37.3Melilla
Median43.6155 municipalities
Spain44.4History

Top 40 municipalities, 2024

CSVChart (SVG)

FerrolFerrol: 49.9 years49.9AvilésAvilés: 49.5 years49.5GijónGijón: 49.2 years49.2ZamoraZamora: 49.1 years49.1BasauriBasauri: 49.1 years49.1LeónLeón: 49 years49SalamancaSalamanca: 48.7 years48.7PonferradaPonferrada: 48.6 years48.6ValladolidValladolid: 48.4 years48.4TorrelavegaTorrelavega: 48.3 years48.3OurenseOurense: 48.2 years48.2CádizCádiz: 48.2 years48.2SantanderSantander: 48.1 years48.1GetxoGetxo: 48 years48PalenciaPalencia: 47.9 years47.9OviedoOviedo: 47.8 years47.8A CoruñaA Coruña: 47.5 years47.5SanturtziSanturtzi: 47.5 years47.5BilbaoBilbao: 47.4 years47.4SieroSiero: 47.3 years47.3Donostia/San SebastiánDonostia/San Sebastián: 47.2 years47.2VigoVigo: 47 years47BarakaldoBarakaldo: 46.7 years46.7SegoviaSegovia: 46.7 years46.7LugoLugo: 46.5 years46.5Santiago de CompostelaSantiago de Compostela: 46.5 years46.5BurgosBurgos: 46.3 years46.3FuengirolaFuengirola: 46.2 years46.2PontevedraPontevedra: 46.1 years46.1IrunIrun: 46 years46PuertollanoPuertollano: 45.9 years45.9CosladaCoslada: 45.7 years45.7BenidormBenidorm: 45.5 years45.5LogroñoLogroño: 45.5 years45.5Santa Cruz de TenerifeSanta Cruz de Tenerife: 45.4 years45.4GranadaGranada: 45.4 years45.4AlcorcónAlcorcón: 45.4 years45.4Vitoria-GasteizVitoria-Gasteiz: 45.4 years45.4Las Palmas de Gran CanariaLas Palmas de Gran Canaria: 45.3 years45.3Pamplona/IruñaPamplona/Iruña: 45.3 years45.3
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2024
years
Change on 2023
1Ferrol49.90
2Avilés49.5+0.2
3Gijón49.2+0.2
4Zamora49.1+0.3
5Basauri49.1+0.1
6León49+0.1
7Salamanca48.7+0.2
8Ponferrada48.6+0.3
9Valladolid48.4+0.1
10Torrelavega48.3+0.2
11Ourense48.2+0.1
12Cádiz48.2+0.4
13Santander48.1+0.2
14Getxo48+0.3
15Palencia47.9+0.2
16Oviedo47.8+0.2
17A Coruña47.5+0.1
18Santurtzi47.5+0.1
19Bilbao47.4+0.1
20Siero47.3+0.2
21Donostia/San Sebastián47.2+0.2
22Vigo47+0.3
23Barakaldo46.7+0.1
24Segovia46.7+0.1
25Lugo46.5+0.1
26Santiago de Compostela46.5+0.2
27Burgos46.3+0.2
28Fuengirola46.2+0.1
29Pontevedra46.1+0.3
30Irun46+0.2
31Puertollano45.9+0.2
32Coslada45.7+0.4
33Benidorm45.5-0.1
34Logroño45.5+0.3
35Santa Cruz de Tenerife45.4+0.2
36Granada45.4+0.2
37Alcorcón45.4+0.3
38Vitoria-Gasteiz45.4+0.3
39Las Palmas de Gran Canaria45.3+0.2
39Pamplona/Iruña45.3+0.2
41Zaragoza45.3+0.2
42Orihuela45.2-0.1
43Alcoi/Alcoy45.2+0.1
44Leganés45.1+0.2
45Linares45+0.3
46Ávila45+0.2
47Elda44.9-0
48Soria44.8+0.1
49San Bartolomé de Tirajana44.8+0.4
50València44.8-0.1
51Cerdanyola del Vallès44.7+0.3
52Torrevieja44.7-0.4
52Vilanova i la Geltrú44.7+0.2
54Cuenca44.6+0.3
55Móstoles44.6+0.3
56Sagunt/Sagunto44.50
57Barcelona44.5-0.1
58Cáceres44.5+0.4
59Córdoba44.4+0.3
60Teruel44.4+0.3
61Huesca44.4+0.2
62San Cristóbal de La Laguna44.4+0.3
63Madrid44.3-0
64Sevilla44.2+0.2
65Jaén44.1+0.3
66Cornellà de Llobregat44.1+0.1
67San Fernando44+0.4
68El Prat de Llobregat44+0.2
69Ciudad Real44+0.3
69Huelva44+0.3
71Sant Boi de Llobregat43.9+0.2
72Talavera de la Reina43.9+0.2
73Alcalá de Henares43.9+0.2
74Castelló de la Plana/Castellón de la Plana43.9+0.1
75Torremolinos43.8+0.3
76Alacant/Alicante43.8+0.1
77Mollet del Vallès43.6+0.4
78Telde43.6+0.4
79Manresa43.5+0.1
80Granollers43.5+0.2
81Badalona43.5+0.2
82Gandia43.4+0.1
83Málaga43.4+0.3
84Badajoz43.3+0.4
85Santa Coloma de Gramenet43.3+0.1
86Albacete43.2+0.3
87Jerez de la Frontera43.2+0.4
88Getafe43.2+0.1
89L'Hospitalet de Llobregat43.2-0.1
90Lleida43.2+0.2
91Sabadell43.1+0.1
91Tarragona43.1+0.1
93Mataró43.1+0.2
94Elx/Elche43+0.2
95El Puerto de Santa María43+0.4
96Viladecans43+0.3
97Toledo43+0.4
98Fuenlabrada42.9+0.5
99Calvià42.9+0.4
100Mérida42.8+0.3
101Vélez-Málaga42.8+0.3
102Guadalajara42.8+0.1
103Pozuelo de Alarcón42.8+0.4
104Benalmádena42.7+0.2
105Vila-real42.6+0.2
106Sanlúcar de Barrameda42.6+0.4
107Palma42.5+0.2
107Reus42.5+0.2
109Cartagena42.4+0.3
110Arona42.4+0.3
110Castelldefels42.4+0.2
112Majadahonda42.4+0.4
113Terrassa42.4+0.2
114La Línea de la Concepción42.4+0.2
115Aranjuez42.3+0.2
116Almería42.3+0.3
116Utrera42.3+0.3
118Marbella42.3+0.2
119Collado Villalba42.3+0.3
120Estepona42.2+0.1
121Alcobendas42.2+0.3
122Motril42.1+0.3
123Sant Vicent del Raspeig/San Vicente del Raspeig42.1+0.4
124Rubí42.1+0.2
125Algeciras41.9+0.3
126Murcia41.8+0.3
127Torrent41.8+0.1
128Chiclana de la Frontera41.7+0.4
129Torrejón de Ardoz41.7+0.3
130Alcalá de Guadaíra41.5+0.4
131Rincón de la Victoria41.5+0.4
132San Sebastián de los Reyes41.4+0.3
133Girona41.3+0.1
134Mijas41.1+0.3
135Eivissa41.10
135Las Rozas de Madrid41.1+0.4
137Dos Hermanas41+0.4
138Paterna41+0.3
138Santa Lucía de Tirajana41+0.4
140Colmenar Viejo40.7+0.1
141Granadilla de Abona40.6+0.4
142Pinto40.6+0.3
143Lorca40.5+0.2
144Arganda del Rey40.5+0.4
145Sant Cugat del Vallès40.5+0.3
146Molina de Segura40.3+0.4
147Arrecife40.3+0.1
148Parla39.5+0.4
149Valdemoro39.4+0.4
150Boadilla del Monte39+0.5
151Ceuta38.9+0.4
152Rivas-Vaciamadrid38.6+0.5
153Roquetas de Mar38.6+0.4
154El Ejido37.9+0.3
155Melilla37.3+0.4

Other periods

About this ranking

Mean age of the resident population on 1 January.

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: edad media de la población (tablas 3197, 3198, 3199 y 30699). https://www.ine.es/jaxiT3/Tabla.htm?t=30699. 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 average age using official data, and cite the source.
rank_places {"indicator":"average_age","level":"municipality","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=average_age&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 average age?

Ferrol, with 49.9 years in 2024, according to the Instituto Nacional de Estadística.

Which municipality has the lowest average age?

Melilla, with 37.3 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: edad media de la población (tablas 3197, 3198, 3199 y 30699). Retrieved 2026-10-07.

Average age: other rankings

Municipalities of Spain: more rankings