Municipalities in Community of Madrid by average age

Madrid had the highest average age of 22 municipalities in 2017, at 44 years. Rivas-Vaciamadrid had the lowest, at 36.1 years. The median was 39.7 years and the figure for Community of Madrid was 42 years. Source: the Instituto Nacional de Estadística.

Highest44Madrid
Median39.722 municipalities
Community of Madrid42History

All municipalities, 2017

CSVChart (SVG)

MadridMadrid: 44 years44AlcorcónAlcorcón: 43.3 years43.3LeganésLeganés: 43.2 years43.2CosladaCoslada: 42.6 years42.6MóstolesMóstoles: 42.3 years42.3GetafeGetafe: 41.9 years41.9Alcalá de HenaresAlcalá de Henares: 41.8 years41.8AranjuezAranjuez: 40.5 years40.5Pozuelo de AlarcónPozuelo de Alarcón: 40.5 years40.5AlcobendasAlcobendas: 40.2 years40.2Collado VillalbaCollado Villalba: 39.7 years39.7MajadahondaMajadahonda: 39.6 years39.6FuenlabradaFuenlabrada: 39.4 years39.4Torrejón de ArdozTorrejón de Ardoz: 39.3 years39.3San Sebastián de los ReyesSan Sebastián de los Reyes: 39.2 years39.2Las Rozas de MadridLas Rozas de Madrid: 38.3 years38.3PintoPinto: 38.2 years38.2Arganda del ReyArganda del Rey: 38.2 years38.2Boadilla del MonteBoadilla del Monte: 36.9 years36.9ParlaParla: 36.8 years36.8ValdemoroValdemoro: 36.1 years36.1Rivas-VaciamadridRivas-Vaciamadrid: 36.1 years36.1
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2017
years
Change on 2016
1Madrid44+0.1
2Alcorcón43.3+0.3
3Leganés43.2+0.4
4Coslada42.6+0.6
5Móstoles42.3+0.3
6Getafe41.9+0.2
7Alcalá de Henares41.8+0.5
8Aranjuez40.5+0.3
9Pozuelo de Alarcón40.5+0.3
10Alcobendas40.2+0.2
11Collado Villalba39.7+0.4
12Majadahonda39.6+0.4
13Fuenlabrada39.4+0.5
14Torrejón de Ardoz39.3+0.4
15San Sebastián de los Reyes39.2+0.3
16Las Rozas de Madrid38.3+0.3
17Pinto38.2n/a
18Arganda del Rey38.2+0.4
19Boadilla del Monte36.9n/a
20Parla36.8+0.3
21Valdemoro36.1+0.5
22Rivas-Vaciamadrid36.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. 1 municipalities with data in other periods have no value for 2017 and are left out rather than filled from another source. 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 Community of Madrid by average age using official data, and cite the source.
rank_places {"indicator":"average_age","level":"municipality","within":"Community of Madrid","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=average_age&level=municipality&within=Community%20of%20Madrid&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?

Madrid, with 44 years in 2017, according to the Instituto Nacional de Estadística.

Which municipality has the lowest average age?

Rivas-Vaciamadrid, with 36.1 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. 1 municipalities have no value for 2017 and are not ranked.

Average age: other rankings

Municipalities in Community of Madrid: more rankings