Municipalities in Catalonia by average age
Barcelona had the highest average age of 23 municipalities in 2017, at 44.5 years. Sant Cugat del Vallès had the lowest, at 38.7 years. The median was 42 years and the figure for Catalonia was 42.6 years. Source: the Instituto Nacional de Estadística.
All municipalities, 2017
Full ranking
| Rank | Municipalities | 2017 | Change on 2016 |
|---|---|---|---|
| 1 | Barcelona | 44.5 | -0.1 |
| 2 | L'Hospitalet de Llobregat | 43.2 | 0 |
| 3 | Manresa | 43.1 | +0.2 |
| 4 | Cornellà de Llobregat | 43 | +0.2 |
| 5 | Vilanova i la Geltrú | 42.9 | +0.3 |
| 6 | Cerdanyola del Vallès | 42.4 | +0.3 |
| 7 | Santa Coloma de Gramenet | 42.4 | +0.1 |
| 8 | Sant Boi de Llobregat | 42.4 | +0.3 |
| 9 | Badalona | 42.3 | +0.2 |
| 10 | El Prat de Llobregat | 42.3 | +0.2 |
| 11 | Sabadell | 42.1 | +0.2 |
| 12 | Lleida | 42 | +0.3 |
| 13 | Granollers | 42 | +0.3 |
| 14 | Tarragona | 41.9 | +0.2 |
| 15 | Mataró | 41.5 | +0.2 |
| 16 | Reus | 41.3 | +0.3 |
| 17 | Mollet del Vallès | 41.1 | +0.4 |
| 18 | Terrassa | 40.9 | +0.2 |
| 19 | Viladecans | 40.5 | +0.3 |
| 20 | Rubí | 40.4 | +0.3 |
| 21 | Castelldefels | 40.3 | +0.3 |
| 22 | Girona | 40.2 | +0.2 |
| 23 | Sant Cugat del Vallès | 38.7 | +0.2 |
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.
Citation styles
APA 7
Instituto Nacional de Estadística. (n.d.). Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699) (Municipalities in Catalonia by average age, 2017) [Data set]. Retrieved October 7, 2026, from https://www.ine.es/jaxiT3/Tabla.htm?t=30699
MLA 9
Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699), Municipalities in Catalonia by average age, 2017. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30699. Invokely, https://invokely.ai/rankings/average-age/catalonia-municipalities?period=2017. Accessed 7 Oct. 2026.
Chicago (author-date)
Instituto Nacional de Estadística. n.d. Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699). Municipalities in Catalonia by average age, 2017. Dataset. Accessed October 7, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=30699. Also distributed by Invokely, https://invokely.ai/rankings/average-age/catalonia-municipalities?period=2017.
Harvard
Instituto Nacional de Estadística (no date) Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699), Municipalities in Catalonia by average age, 2017 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30699, via Invokely: https://invokely.ai/rankings/average-age/catalonia-municipalities?period=2017 (Accessed: 7 October 2026).
BibTeX
@misc{instituto_municipalities_in_catalonia_by_2017,
author = {{Instituto Nacional de Estadística}},
title = {{Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699): Municipalities in Catalonia by average age, 2017}},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=30699},
urldate = {2026-10-07},
note = {Accessed via Invokely, https://invokely.ai/rankings/average-age/catalonia-municipalities?period=2017. Publisher attribution: 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.},
}
RIS
TY - DATA
AU - Instituto Nacional de Estadística
TI - Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699): Municipalities in Catalonia by average age, 2017
PB - Instituto Nacional de Estadística
DB - Invokely
UR - https://www.ine.es/jaxiT3/Tabla.htm?t=30699
L2 - https://invokely.ai/rankings/average-age/catalonia-municipalities?period=2017
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/average-age/catalonia-municipalities?period=2017.
N1 - Publisher attribution: 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.
ER -
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 in Catalonia by average age using official data, and cite the source.
rank_places {"indicator":"average_age","level":"municipality","within":"Catalonia","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=average_age&level=municipality&within=Catalonia&limit=10
Questions
Which municipality has the highest average age?
Barcelona, with 44.5 years in 2017, according to the Instituto Nacional de Estadística.
Which municipality has the lowest average age?
Sant Cugat del Vallès, with 38.7 years in 2017.
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 in Valencia province
- Municipalities in Andalusia
- Municipalities in Castilla-La Mancha
- EU regions (NUTS 2)
- Provinces of Spain
- Autonomous communities of Spain