Municipalities of Spain by average age, 2025
Ferrol had the highest average age of 155 municipalities in 2025, at 49.8 years. Melilla had the lowest, at 37.7 years. The median was 43.9 years and the figure for Spain was 44.6 years. Source: the Instituto Nacional de Estadística.
Top 40 municipalities, 2025
Full ranking
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
Questions
Which municipality has the highest average age?
Ferrol, with 49.8 years in 2025, according to the Instituto Nacional de Estadística.
Which municipality has the lowest average age?
Melilla, with 37.7 years in 2025.
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
- EU regions (NUTS 2)
- Autonomous communities of Spain
- Provinces of Spain
- Municipalities in Andalusia
- Municipalities in Catalonia
- Municipalities in Madrid province
- Municipalities in Community of Madrid
- Municipalities in Barcelona province
- Municipalities in Valencian Community
- Municipalities in Castile and León
- Municipalities in Málaga province
- Municipalities in Canary Islands
Municipalities of Spain: more rankings
- Live births
- Crude birth rate
- Crude death rate
- Deaths
- Dependency ratio
- Total fertility rate
- Foreign nationals share of population
- Gini index
- Life expectancy at birth
- Average net income per household
- Average net income per person
- Population
- Population aged 16 to 64
- Population aged 65 and over
- Population density
- Registered unemployment