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.

Keep it in a collection in your library.
Highest44.5Barcelona
Median4223 municipalities
Catalonia42.6History

All municipalities, 2017

Barcelona: 44.5 yearsBarcelona44.5L'Hospitalet de Llobregat: 43.2 yearsL'Hospitalet de Llobregat43.2Manresa: 43.1 yearsManresa43.1Cornellà de Llobregat: 43 yearsCornellà de Llobregat43Vilanova i la Geltrú: 42.9 yearsVilanova i la Geltrú42.9Cerdanyola del Vallès: 42.4 yearsCerdanyola del Vallès42.4Santa Coloma de Gramenet: 42.4 yearsSanta Coloma de Gramenet42.4Sant Boi de Llobregat: 42.4 yearsSant Boi de Llobregat42.4Badalona: 42.3 yearsBadalona42.3El Prat de Llobregat: 42.3 yearsEl Prat de Llobregat42.3Sabadell: 42.1 yearsSabadell42.1Lleida: 42 yearsLleida42Granollers: 42 yearsGranollers42Tarragona: 41.9 yearsTarragona41.9Mataró: 41.5 yearsMataró41.5Reus: 41.3 yearsReus41.3Mollet del Vallès: 41.1 yearsMollet del Vallès41.1Terrassa: 40.9 yearsTerrassa40.9Viladecans: 40.5 yearsViladecans40.5Rubí: 40.4 yearsRubí40.4Castelldefels: 40.3 yearsCastelldefels40.3Girona: 40.2 yearsGirona40.2Sant Cugat del Vallès: 38.7 yearsSant Cugat del Vallès38.7Barcelona: 44.5 yearsBarcelona44.5L'Hospitalet de Llobregat: 43.2 yearsL'Hospitalet de Llobregat43.2Manresa: 43.1 yearsManresa43.1Cornellà de Llobregat: 43 yearsCornellà de Llobregat43Vilanova i la Geltrú: 42.9 yearsVilanova i la Geltrú42.9Cerdanyola del Vallès: 42.4 yearsCerdanyola del Vallès42.4Santa Coloma de Gramenet: 42.4 yearsSanta Coloma de Gramenet42.4Sant Boi de Llobregat: 42.4 yearsSant Boi de Llobregat42.4Badalona: 42.3 yearsBadalona42.3El Prat de Llobregat: 42.3 yearsEl Prat de Llobregat42.3Sabadell: 42.1 yearsSabadell42.1Lleida: 42 yearsLleida42Granollers: 42 yearsGranollers42Tarragona: 41.9 yearsTarragona41.9Mataró: 41.5 yearsMataró41.5Reus: 41.3 yearsReus41.3Mollet del Vallès: 41.1 yearsMollet del Vallès41.1Terrassa: 40.9 yearsTerrassa40.9Viladecans: 40.5 yearsViladecans40.5Rubí: 40.4 yearsRubí40.4Castelldefels: 40.3 yearsCastelldefels40.3Girona: 40.2 yearsGirona40.2Sant Cugat del Vallès: 38.7 yearsSant Cugat del Vallès38.7
years. Source: INE, Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699). Retrieved 2026-10-07.

Full ranking

RankMunicipalities2017
years
Change on 2016
1Barcelona44.5-0.1
2L'Hospitalet de Llobregat43.20
3Manresa43.1+0.2
4Cornellà de Llobregat43+0.2
5Vilanova i la Geltrú42.9+0.3
6Cerdanyola del Vallès42.4+0.3
7Santa Coloma de Gramenet42.4+0.1
8Sant Boi de Llobregat42.4+0.3
9Badalona42.3+0.2
10El Prat de Llobregat42.3+0.2
11Sabadell42.1+0.2
12Lleida42+0.3
13Granollers42+0.3
14Tarragona41.9+0.2
15Mataró41.5+0.2
16Reus41.3+0.3
17Mollet del Vallès41.1+0.4
18Terrassa40.9+0.2
19Viladecans40.5+0.3
20Rubí40.4+0.3
21Castelldefels40.3+0.3
22Girona40.2+0.2
23Sant Cugat del Vallès38.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

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: 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  - 
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 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

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?

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 Catalonia: more rankings