Municipalities in Madrid province by average age

Coslada had the highest average age of 23 municipalities in 2022, at 45 years. Rivas-Vaciamadrid had the lowest, at 37.8 years. The median was 41.8 years and the figure for Madrid province was 43 years. Source: the Instituto Nacional de Estadística.

Highest45Coslada
Median41.823 municipalities
Madrid province43History

All municipalities, 2022

CSVChart (SVG)

CosladaCoslada: 45 years45AlcorcónAlcorcón: 44.9 years44.9LeganésLeganés: 44.8 years44.8MadridMadrid: 44.5 years44.5MóstolesMóstoles: 44.1 years44.1Alcalá de HenaresAlcalá de Henares: 43.5 years43.5GetafeGetafe: 42.9 years42.9Pozuelo de AlarcónPozuelo de Alarcón: 42.2 years42.2FuenlabradaFuenlabrada: 42 years42AranjuezAranjuez: 42 years42Collado VillalbaCollado Villalba: 41.8 years41.8AlcobendasAlcobendas: 41.8 years41.8MajadahondaMajadahonda: 41.6 years41.6Torrejón de ArdozTorrejón de Ardoz: 41.1 years41.1San Sebastián de los ReyesSan Sebastián de los Reyes: 40.8 years40.8Las Rozas de MadridLas Rozas de Madrid: 40.4 years40.4Colmenar ViejoColmenar Viejo: 40.4 years40.4PintoPinto: 40 years40Arganda del ReyArganda del Rey: 39.9 years39.9ParlaParla: 38.7 years38.7ValdemoroValdemoro: 38.5 years38.5Boadilla del MonteBoadilla del Monte: 38.1 years38.1Rivas-VaciamadridRivas-Vaciamadrid: 37.8 years37.8
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2022
years
Change on 2021
1Coslada45+0.5
2Alcorcón44.9+0.4
3Leganés44.8+0.4
4Madrid44.5+0.2
5Móstoles44.1+0.4
6Alcalá de Henares43.5+0.4
7Getafe42.9+0.2
8Pozuelo de Alarcón42.2+0.3
9Fuenlabrada42+0.6
10Aranjuez42+0.4
11Collado Villalba41.8+0.4
12Alcobendas41.8+0.4
13Majadahonda41.6+0.4
14Torrejón de Ardoz41.1+0.3
15San Sebastián de los Reyes40.8+0.4
16Las Rozas de Madrid40.4+0.4
17Colmenar Viejo40.4+0.3
18Pinto40+0.4
19Arganda del Rey39.9+0.4
20Parla38.7+0.4
21Valdemoro38.5+0.5
22Boadilla del Monte38.1+0.2
23Rivas-Vaciamadrid37.8+0.3

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 years in 2022, according to the Instituto Nacional de Estadística.

Which municipality has the lowest average age?

Rivas-Vaciamadrid, with 37.8 years in 2022.

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