The ranking of Madrid
Sort the towns by what they cost and how close they are to Madrid. Tap a town to see the figures behind each number.
How it is calculated
Of the 179 towns in Madrid, 144 have a Cost index and 143 have a Connections index and 179 have a Services nearby index and 162 have a Space index. Best on Cost: Estremera, 94/100, with €774/m² to buy, used homes (Notaries); €316/month median rent for a flat (Ministry); 0.4% IBI rate (percentage of cadastral value). Best on Connections: Las Rozas de Madrid, 100/100, with 34 min by public transport to Sol; 34 min by public transport to Nuevos Ministerios. Best on Services nearby: Getafe (tied with 1 more), 93/100, with 0.1 km as the crow flies to the nearest primary school; 1 foreign schools in the town; 9 health centres in the town. Best on Space: Berzosa del Lozoya (tied with 1 more), 89/100, with 17 inhab./km² density; 199 m² average size of used homes sold (Notaries).
Each index (0 to 100) compares a town with the others in the area: 100 is the best of all. No overall score. In Cost, 100 is the cheapest; in Connections, 100 is the closest. Connections use minutes by public transport to Sol and to Nuevos Ministerios, on official timetables. Where there is no daily service, the town has no Connections index and its page says why.
35 towns have no Cost index: they lack at least two of its three figures (purchase price, Ministry rent and IBI rate), because the source does not publish them or we have not read them yet. We do not estimate them.
Scores from 0 to 100 by rank among the 179 towns in Madrid (100 is the best). Cut-off: 3 November 2026. How it is calculated
Sources and notes
Datos procedentes del Portal Estadístico del Notariado, titularidad del Consejo General del Notariado y gestionado por el Centro Tecnológico del Notariado.
Read from 3 November 2026.
What we cannot rank yet
These dimensions have no index in any town. Each needs at least two thirds of its figures, and this is what is missing.
Surroundings
- Tourist-flat declarations per 100 residents (179 of 179 towns with data)We have this figure, but on its own it does not reach two thirds of its dimension's figures.
- Flood risk (179 of 179 towns with data)The Community of Madrid publishes a list of municipalities with a flood plan (INUNCAM), not a risk level per town. That is why this ranking does not use it. Not estimated.
- Wildfire risk (179 of 179 towns with data)The Community of Madrid publishes its high-risk wildfire zones (INFOMA), not a risk level per town. That is why this ranking does not use it. Not estimated.
The profiles (Family with children, Moving from abroad and Calm and space) cannot be calculated in this area yet: each one needs a dimension that no town has. We do not offer a score with no figures behind it.