Municipalities of Spain by average age

Ferrol had the highest average age of 147 municipalities in 2015, at 47.8 years. Melilla had the lowest, at 34.9 years. The median was 41.4 years and the figure for Spain was 42.5 years. Source: the Instituto Nacional de Estadística.

Highest47.8Ferrol
Lowest34.9Melilla
Median41.4147 municipalities
Spain42.5History

Top 40 municipalities, 2015

CSVChart (SVG)

FerrolFerrol: 47.8 years47.8LeónLeón: 47.3 years47.3GijónGijón: 47.1 years47.1SalamancaSalamanca: 46.9 years46.9AvilésAvilés: 46.8 years46.8BilbaoBilbao: 46.3 years46.3ValladolidValladolid: 46.2 years46.2OurenseOurense: 46.1 years46.1SantanderSantander: 46.1 years46.1A CoruñaA Coruña: 45.9 years45.9ZamoraZamora: 45.9 years45.9TorrelavegaTorrelavega: 45.7 years45.7Donostia/San SebastiánDonostia/San Sebastián: 45.7 years45.7BarakaldoBarakaldo: 45.4 years45.4OviedoOviedo: 45.4 years45.4PalenciaPalencia: 45.4 years45.4PonferradaPonferrada: 45.3 years45.3GetxoGetxo: 45.2 years45.2CádizCádiz: 44.9 years44.9SieroSiero: 44.7 years44.7SegoviaSegovia: 44.7 years44.7Santiago de CompostelaSantiago de Compostela: 44.6 years44.6LugoLugo: 44.5 years44.5OrihuelaOrihuela: 44.5 years44.5BarcelonaBarcelona: 44.5 years44.5VigoVigo: 44.4 years44.4Pamplona/IruñaPamplona/Iruña: 44.1 years44.1TorreviejaTorrevieja: 43.9 years43.9BurgosBurgos: 43.8 years43.8FuengirolaFuengirola: 43.8 years43.8MadridMadrid: 43.8 years43.8IrunIrun: 43.7 years43.7ZaragozaZaragoza: 43.7 years43.7Sagunt/SaguntoSagunt/Sagunto: 43.6 years43.6GranadaGranada: 43.6 years43.6ValènciaValència: 43.6 years43.6Alcoi/AlcoyAlcoi/Alcoy: 43.5 years43.5SoriaSoria: 43.4 years43.4Vitoria-GasteizVitoria-Gasteiz: 43.4 years43.4EldaElda: 43.2 years43.2
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2015
years
Change on 2014
1Ferrol47.8+0.3
2León47.3+0.3
3Gijón47.1+0.3
4Salamanca46.9+0.4
5Avilés46.8+0.4
6Bilbao46.3+0.2
7Valladolid46.2+0.4
8Ourense46.1+0.4
9Santander46.1+0.3
10A Coruña45.9+0.3
11Zamora45.9+0.4
12Torrelavega45.7+0.4
13Donostia/San Sebastián45.7+0.2
14Barakaldo45.4+0.1
15Oviedo45.4+0.4
16Palencia45.4+0.3
17Ponferrada45.3+0.4
18Getxo45.2+0.4
19Cádiz44.9+0.4
20Siero44.7+0.4
21Segovia44.7+0.4
22Santiago de Compostela44.6+0.3
23Lugo44.5+0.3
24Orihuela44.5+0.3
25Barcelona44.5+0.1
26Vigo44.4+0.4
27Pamplona/Iruña44.1+0.3
28Torrevieja43.9-0.4
29Burgos43.8+0.3
30Fuengirola43.8+0.3
30Madrid43.8+0.3
32Irun43.7+0.3
33Zaragoza43.7+0.3
34Sagunt/Sagunto43.6+0.3
35Granada43.6+0.3
35València43.6+0.3
37Alcoi/Alcoy43.5+0.3
38Soria43.4+0.3
39Vitoria-Gasteiz43.4+0.2
40Elda43.2+0.3
40Pontevedra43.2+0.4
42Benidorm43.2+0.3
43L'Hospitalet de Llobregat43.1+0.2
44Puertollano43+0.3
45Santa Cruz de Tenerife42.9+0.3
46Manresa42.8+0.2
47Huesca42.8+0.3
48Logroño42.7+0.4
49Teruel42.6+0.3
50Alcorcón42.6+0.5
51Ávila42.6+0.5
52Cornellà de Llobregat42.5+0.2
53Leganés42.5+0.4
54Vilanova i la Geltrú42.4+0.4
55Las Palmas de Gran Canaria42.3+0.4
56Sevilla42.2+0.3
57Alacant/Alicante42.2+0.3
58Santa Coloma de Gramenet42+0.4
59Cuenca41.9+0.4
60Badalona41.8+0.4
61El Prat de Llobregat41.8+0.3
62Sabadell41.8+0.3
62Sant Boi de Llobregat41.8+0.3
64Cerdanyola del Vallès41.8+0.4
65Córdoba41.8+0.3
66Linares41.7+0.4
67Móstoles41.6+0.4
68Castelló de la Plana/Castellón de la Plana41.6+0.4
68Torremolinos41.6+0.3
70Granollers41.5+0.3
71Cáceres41.4+0.4
72Getafe41.4+0.2
73San Bartolomé de Tirajana41.4+0.4
73Tarragona41.4+0.3
75Coslada41.4+0.5
75Lleida41.4+0.3
77San Cristóbal de La Laguna41.3+0.4
78Guadalajara41.3+0.4
79Gandia41.2+0.4
80Ciudad Real41.2+0.5
81Huelva41.1+0.4
82Jaén41.1+0.4
83Benalmádena41.1+0.4
84Talavera de la Reina41.1+0.5
85Málaga41.1+0.3
86Mataró41+0.3
87Alcalá de Henares40.8+0.5
88Reus40.7+0.5
89Palma40.6+0.3
90Toledo40.6+0.3
91Elx/Elche40.5+0.3
92Albacete40.4+0.3
93Terrassa40.4+0.3
94La Línea de la Concepción40.3+0.2
94Mollet del Vallès40.3+0.4
96Vila-real40.3+0.4
97Calvià40.3+0.3
98Badajoz40.2+0.3
99Cartagena40.2+0.3
100San Fernando40+0.4
101Almería40+0.3
101Mérida40+0.4
101Vélez-Málaga40+0.3
104Aranjuez39.9+0.4
105Rubí39.9+0.4
106Jerez de la Frontera39.9+0.4
107Marbella39.8+0.4
108Viladecans39.8+0.4
109Girona39.8+0.2
109Pozuelo de Alarcón39.8+0.4
111Estepona39.7+0.1
112Castelldefels39.7+0.3
113Telde39.7+0.5
114Murcia39.7+0.3
115Torrent39.7+0.4
116Alcobendas39.6+0.3
117Sanlúcar de Barrameda39.5+0.3
118Algeciras39.4+0.3
119El Puerto de Santa María39.4+0.4
120Utrera39.3+0.4
121Motril39.3+0.4
122Arona39.2-0.1
122Mijas39.2+0.4
124Lorca39.2+0.2
125Collado Villalba39+0.5
126Sant Vicent del Raspeig/San Vicente del Raspeig38.9+0.3
127Majadahonda38.8+0.4
128San Sebastián de los Reyes38.7+0.2
129Torrejón de Ardoz38.5+0.3
130Fuenlabrada38.4+0.5
131Paterna38.3+0.3
132Sant Cugat del Vallès38.2+0.3
133Alcalá de Guadaíra38+0.4
134Chiclana de la Frontera38+0.4
135Dos Hermanas37.7+0.3
135Molina de Segura37.7+0.3
137Las Rozas de Madrid37.6+0.4
138Arrecife37.5+0.3
139Arganda del Rey37.4+0.5
140Santa Lucía de Tirajana37.2+0.4
141Ceuta36.4+0.2
142Parla36.1+0.4
143Roquetas de Mar35.5+0.3
144Rivas-Vaciamadrid35.4+0.4
145El Ejido35.3+0.3
146Valdemoro35.1+0.4
147Melilla34.90

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

Which municipality has the lowest average age?

Melilla, with 34.9 years in 2015.

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

Average age: other rankings

Municipalities of Spain: more rankings