Municipalities in Madrid province 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 Madrid province was 42.2 years. Source: the Instituto Nacional de Estadística.
All municipalities, 2018
Full ranking
| Rank | Municipalities | 2018 | Change on 2017 |
|---|---|---|---|
| 1 | Madrid | 44 | 0 |
| 2 | Alcorcón | 43.7 | +0.4 |
| 3 | Leganés | 43.5 | +0.3 |
| 4 | Coslada | 43.2 | +0.5 |
| 5 | Móstoles | 42.7 | +0.4 |
| 6 | Alcalá de Henares | 42.2 | +0.4 |
| 7 | Getafe | 42 | +0.1 |
| 8 | Pozuelo de Alarcón | 40.8 | +0.3 |
| 9 | Aranjuez | 40.8 | +0.3 |
| 10 | Alcobendas | 40.4 | +0.3 |
| 11 | Collado Villalba | 40.1 | +0.4 |
| 12 | Majadahonda | 40 | +0.4 |
| 13 | Fuenlabrada | 39.9 | +0.5 |
| 14 | San Sebastián de los Reyes | 39.6 | +0.4 |
| 14 | Torrejón de Ardoz | 39.6 | +0.3 |
| 16 | Las Rozas de Madrid | 38.7 | +0.4 |
| 17 | Arganda del Rey | 38.5 | +0.4 |
| 18 | Pinto | 38.5 | +0.3 |
| 19 | Boadilla del Monte | 37.2 | +0.3 |
| 20 | Parla | 37.1 | +0.3 |
| 21 | Valdemoro | 36.7 | +0.6 |
| 22 | Rivas-Vaciamadrid | 36.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 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
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
- EU regions (NUTS 2)
- Autonomous communities of Spain
- Provinces of Spain
- Municipalities of Spain
- Municipalities in Andalusia
- Municipalities in Catalonia
- Municipalities in Community of Madrid
- Municipalities in Barcelona province
- Municipalities in Valencian Community
- Municipalities in Castile and León
- Municipalities in Málaga province
- Municipalities in Canary Islands