Municipalities in Madrid province by average age

Coslada had the highest average age of 23 municipalities in 2023, at 45.3 years. Rivas-Vaciamadrid had the lowest, at 38.1 years. The median was 42 years and the figure for Madrid province was 43.1 years. Source: the Instituto Nacional de Estadística.

Highest45.3Coslada
Median4223 municipalities
Madrid province43.1History

All municipalities, 2023

CSVChart (SVG)

CosladaCoslada: 45.3 years45.3AlcorcónAlcorcón: 45.1 years45.1LeganésLeganés: 44.9 years44.9MadridMadrid: 44.3 years44.3MóstolesMóstoles: 44.3 years44.3Alcalá de HenaresAlcalá de Henares: 43.7 years43.7GetafeGetafe: 43.1 years43.1FuenlabradaFuenlabrada: 42.5 years42.5Pozuelo de AlarcónPozuelo de Alarcón: 42.4 years42.4AranjuezAranjuez: 42.2 years42.2MajadahondaMajadahonda: 42.1 years42.1Collado VillalbaCollado Villalba: 42 years42AlcobendasAlcobendas: 41.9 years41.9Torrejón de ArdozTorrejón de Ardoz: 41.3 years41.3San Sebastián de los ReyesSan Sebastián de los Reyes: 41.1 years41.1Las Rozas de MadridLas Rozas de Madrid: 40.7 years40.7Colmenar ViejoColmenar Viejo: 40.5 years40.5PintoPinto: 40.2 years40.2Arganda del ReyArganda del Rey: 40.1 years40.1ParlaParla: 39 years39ValdemoroValdemoro: 39 years39Boadilla del MonteBoadilla del Monte: 38.5 years38.5Rivas-VaciamadridRivas-Vaciamadrid: 38.1 years38.1
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2023
years
Change on 2022
1Coslada45.3+0.3
2Alcorcón45.1+0.2
3Leganés44.9+0.1
4Madrid44.3-0.1
5Móstoles44.3+0.3
6Alcalá de Henares43.7+0.1
7Getafe43.1+0.1
8Fuenlabrada42.5+0.5
9Pozuelo de Alarcón42.4+0.3
10Aranjuez42.2+0.2
11Majadahonda42.1+0.4
12Collado Villalba42+0.3
13Alcobendas41.9+0.1
14Torrejón de Ardoz41.3+0.3
15San Sebastián de los Reyes41.1+0.3
16Las Rozas de Madrid40.7+0.3
17Colmenar Viejo40.5+0.2
18Pinto40.2+0.2
19Arganda del Rey40.1+0.3
20Parla39+0.3
21Valdemoro39+0.4
22Boadilla del Monte38.5+0.4
23Rivas-Vaciamadrid38.1+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 in Madrid province by average age using official data, and cite the source.
rank_places {"indicator":"average_age","level":"municipality","within":"Madrid","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=average_age&level=municipality&within=Madrid&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?

Coslada, with 45.3 years in 2023, according to the Instituto Nacional de Estadística.

Which municipality has the lowest average age?

Rivas-Vaciamadrid, with 38.1 years in 2023.

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 Madrid province: more rankings