Municipalities in Madrid province by average age

Coslada had the highest average age of 23 municipalities in 2021, at 44.5 years. Rivas-Vaciamadrid had the lowest, at 37.5 years. The median was 41.4 years and the figure for Madrid province was 42.7 years. Source: the Instituto Nacional de Estadística.

Highest44.5Coslada
Median41.423 municipalities
Madrid province42.7History

All municipalities, 2021

CSVChart (SVG)

CosladaCoslada: 44.5 years44.5AlcorcónAlcorcón: 44.5 years44.5LeganésLeganés: 44.4 years44.4MadridMadrid: 44.3 years44.3MóstolesMóstoles: 43.7 years43.7Alcalá de HenaresAlcalá de Henares: 43.1 years43.1GetafeGetafe: 42.7 years42.7Pozuelo de AlarcónPozuelo de Alarcón: 41.8 years41.8AranjuezAranjuez: 41.6 years41.6FuenlabradaFuenlabrada: 41.4 years41.4AlcobendasAlcobendas: 41.4 years41.4Collado VillalbaCollado Villalba: 41.4 years41.4MajadahondaMajadahonda: 41.3 years41.3Torrejón de ArdozTorrejón de Ardoz: 40.7 years40.7San Sebastián de los ReyesSan Sebastián de los Reyes: 40.4 years40.4Colmenar ViejoColmenar Viejo: 40 years40Las Rozas de MadridLas Rozas de Madrid: 40 years40PintoPinto: 39.5 years39.5Arganda del ReyArganda del Rey: 39.4 years39.4ParlaParla: 38.3 years38.3ValdemoroValdemoro: 38 years38Boadilla del MonteBoadilla del Monte: 37.9 years37.9Rivas-VaciamadridRivas-Vaciamadrid: 37.5 years37.5
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2021
years
Change on 2020
1Coslada44.5+0.4
2Alcorcón44.5+0.2
3Leganés44.4+0.3
4Madrid44.3+0.2
5Móstoles43.7+0.4
6Alcalá de Henares43.1+0.3
7Getafe42.7+0.3
8Pozuelo de Alarcón41.8+0.2
9Aranjuez41.6+0.3
10Fuenlabrada41.4+0.5
11Alcobendas41.4+0.4
11Collado Villalba41.4+0.5
13Majadahonda41.3+0.4
14Torrejón de Ardoz40.7+0.4
15San Sebastián de los Reyes40.4+0.3
16Colmenar Viejo40+0.1
17Las Rozas de Madrid40+0.4
18Pinto39.5+0.3
19Arganda del Rey39.4+0.3
20Parla38.3+0.5
21Valdemoro38+0.4
22Boadilla del Monte37.9+0.1
23Rivas-Vaciamadrid37.5+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 44.5 years in 2021, according to the Instituto Nacional de Estadística.

Which municipality has the lowest average age?

Rivas-Vaciamadrid, with 37.5 years in 2021.

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