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.
All municipalities, 2017
Full ranking
| Rank | Municipalities | 2017 | Change on 2016 |
|---|---|---|---|
| 1 | Madrid | 44 | +0.1 |
| 2 | Alcorcón | 43.3 | +0.3 |
| 3 | Leganés | 43.2 | +0.4 |
| 4 | Coslada | 42.6 | +0.6 |
| 5 | Móstoles | 42.3 | +0.3 |
| 6 | Getafe | 41.9 | +0.2 |
| 7 | Alcalá de Henares | 41.8 | +0.5 |
| 8 | Aranjuez | 40.5 | +0.3 |
| 9 | Pozuelo de Alarcón | 40.5 | +0.3 |
| 10 | Alcobendas | 40.2 | +0.2 |
| 11 | Collado Villalba | 39.7 | +0.4 |
| 12 | Majadahonda | 39.6 | +0.4 |
| 13 | Fuenlabrada | 39.4 | +0.5 |
| 14 | Torrejón de Ardoz | 39.3 | +0.4 |
| 15 | San Sebastián de los Reyes | 39.2 | +0.3 |
| 16 | Las Rozas de Madrid | 38.3 | +0.3 |
| 17 | Pinto | 38.2 | |
| 18 | Arganda del Rey | 38.2 | +0.4 |
| 19 | Boadilla del Monte | 36.9 | |
| 20 | Parla | 36.8 | +0.3 |
| 21 | Valdemoro | 36.1 | +0.5 |
| 22 | Rivas-Vaciamadrid | 36.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.
Citation styles
APA 7
Instituto Nacional de Estadística. (n.d.). Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699) (Municipalities in Community of Madrid by average age, 2017) [Data set]. Retrieved October 7, 2026, from https://www.ine.es/jaxiT3/Tabla.htm?t=30699
MLA 9
Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699), Municipalities in Community of Madrid by average age, 2017. Instituto Nacional de Estadística, https://www.ine.es/jaxiT3/Tabla.htm?t=30699. Invokely, https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2017. Accessed 7 Oct. 2026.
Chicago (author-date)
Instituto Nacional de Estadística. n.d. Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699). Municipalities in Community of Madrid by average age, 2017. Dataset. Accessed October 7, 2026. https://www.ine.es/jaxiT3/Tabla.htm?t=30699. Also distributed by Invokely, https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2017.
Harvard
Instituto Nacional de Estadística (no date) Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699), Municipalities in Community of Madrid by average age, 2017 [Dataset]. Available at: https://www.ine.es/jaxiT3/Tabla.htm?t=30699, via Invokely: https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2017 (Accessed: 7 October 2026).
BibTeX
@misc{instituto_municipalities_in_community_of_2017,
author = {{Instituto Nacional de Estadística}},
title = {{Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699): Municipalities in Community of Madrid by average age, 2017}},
howpublished = {Data set},
url = {https://www.ine.es/jaxiT3/Tabla.htm?t=30699},
urldate = {2026-10-07},
note = {Accessed via Invokely, https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2017. Publisher attribution: 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.},
}
RIS
TY - DATA
AU - Instituto Nacional de Estadística
TI - Indicadores demográficos básicos: edad media de la población (tablas 3197, 3198, 3199 y 30699): Municipalities in Community of Madrid by average age, 2017
PB - Instituto Nacional de Estadística
DB - Invokely
UR - https://www.ine.es/jaxiT3/Tabla.htm?t=30699
L2 - https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2017
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2017.
N1 - Publisher attribution: 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.
ER -
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
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 of Spain
- Municipalities in Valencia province
- Municipalities in Catalonia
- Autonomous communities of Spain
- EU regions (NUTS 2)
- Provinces of Spain