Municipalities in Community of Madrid by average age

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

Highest44Madrid
Median40.122 municipalities
Community of Madrid42.2History

All municipalities, 2018

CSVChart (SVG)

MadridMadrid: 44 years44AlcorcónAlcorcón: 43.7 years43.7LeganésLeganés: 43.5 years43.5CosladaCoslada: 43.2 years43.2MóstolesMóstoles: 42.7 years42.7Alcalá de HenaresAlcalá de Henares: 42.2 years42.2GetafeGetafe: 42 years42Pozuelo de AlarcónPozuelo de Alarcón: 40.8 years40.8AranjuezAranjuez: 40.8 years40.8AlcobendasAlcobendas: 40.4 years40.4Collado VillalbaCollado Villalba: 40.1 years40.1MajadahondaMajadahonda: 40 years40FuenlabradaFuenlabrada: 39.9 years39.9San Sebastián de los ReyesSan Sebastián de los Reyes: 39.6 years39.6Torrejón de ArdozTorrejón de Ardoz: 39.6 years39.6Las Rozas de MadridLas Rozas de Madrid: 38.7 years38.7Arganda del ReyArganda del Rey: 38.5 years38.5PintoPinto: 38.5 years38.5Boadilla del MonteBoadilla del Monte: 37.2 years37.2ParlaParla: 37.1 years37.1ValdemoroValdemoro: 36.7 years36.7Rivas-VaciamadridRivas-Vaciamadrid: 36.4 years36.4
years. Source: INE. Retrieved 2026-10-07.

Full ranking

RankMunicipalities2018
years
Change on 2017
1Madrid440
2Alcorcón43.7+0.4
3Leganés43.5+0.3
4Coslada43.2+0.5
5Móstoles42.7+0.4
6Alcalá de Henares42.2+0.4
7Getafe42+0.1
8Pozuelo de Alarcón40.8+0.3
9Aranjuez40.8+0.3
10Alcobendas40.4+0.3
11Collado Villalba40.1+0.4
12Majadahonda40+0.4
13Fuenlabrada39.9+0.5
14San Sebastián de los Reyes39.6+0.4
14Torrejón de Ardoz39.6+0.3
16Las Rozas de Madrid38.7+0.4
17Arganda del Rey38.5+0.4
18Pinto38.5+0.3
19Boadilla del Monte37.2+0.3
20Parla37.1+0.3
21Valdemoro36.7+0.6
22Rivas-Vaciamadrid36.4+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. 1 municipalities with data in other periods have no value for 2018 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 2018, according to the Instituto Nacional de Estadística.

Which municipality has the lowest average age?

Rivas-Vaciamadrid, with 36.4 years in 2018.

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 2018 and are not ranked.

Average age: other rankings

Municipalities in Community of Madrid: more rankings