Municipalities in Community of Madrid by average age
Coslada had the highest average age of 23 municipalities in 2021, at 44.5 years. Rivas-Vaciamadrid had the lowest, at 37.5 years. The median was 41.4 years and the figure for Community of Madrid was 42.7 years. Source: the Instituto Nacional de Estadística.
All municipalities, 2021
Full ranking
| Rank | Municipalities | 2021 | Change on 2020 |
|---|---|---|---|
| 1 | Coslada | 44.5 | +0.4 |
| 2 | Alcorcón | 44.5 | +0.2 |
| 3 | Leganés | 44.4 | +0.3 |
| 4 | Madrid | 44.3 | +0.2 |
| 5 | Móstoles | 43.7 | +0.4 |
| 6 | Alcalá de Henares | 43.1 | +0.3 |
| 7 | Getafe | 42.7 | +0.3 |
| 8 | Pozuelo de Alarcón | 41.8 | +0.2 |
| 9 | Aranjuez | 41.6 | +0.3 |
| 10 | Fuenlabrada | 41.4 | +0.5 |
| 11 | Alcobendas | 41.4 | +0.4 |
| 11 | Collado Villalba | 41.4 | +0.5 |
| 13 | Majadahonda | 41.3 | +0.4 |
| 14 | Torrejón de Ardoz | 40.7 | +0.4 |
| 15 | San Sebastián de los Reyes | 40.4 | +0.3 |
| 16 | Colmenar Viejo | 40 | +0.1 |
| 17 | Las Rozas de Madrid | 40 | +0.4 |
| 18 | Pinto | 39.5 | +0.3 |
| 19 | Arganda del Rey | 39.4 | +0.3 |
| 20 | Parla | 38.3 | +0.5 |
| 21 | Valdemoro | 38 | +0.4 |
| 22 | Boadilla del Monte | 37.9 | +0.1 |
| 23 | Rivas-Vaciamadrid | 37.5 | +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. 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, 2021) [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, 2021. 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=2021. 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, 2021. 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=2021.
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, 2021 [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=2021 (Accessed: 7 October 2026).
BibTeX
@misc{instituto_municipalities_in_community_of_2021,
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, 2021}},
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=2021. 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, 2021
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=2021
Y2 - 2026/10/07
N1 - Accessed via Invokely, https://invokely.ai/rankings/average-age/community-of-madrid-municipalities?period=2021.
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?
Coslada, with 44.5 years in 2021, according to the Instituto Nacional de Estadística.
Which municipality has the lowest average age?
Rivas-Vaciamadrid, with 37.5 years in 2021.
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 of Spain
- Municipalities in Valencia province
- Municipalities in Catalonia
- Autonomous communities of Spain
- EU regions (NUTS 2)
- Provinces of Spain