Madrid vs Barcelona

Overall Barcelona ranks higher for livability (65 vs 63). Madrid is cheaper; Barcelona is safer from disasters; Madrid is warmer.
Compared (0-100)
■ Madrid■ Barcelona4038Cost94100Climate6062Safety

How to read the comparison chart

The grouped bars score each city 0–100 on cost, climate and safety — taller is better. Madrid leads on any axis where its bar is higher, Barcelona where its is. The cost bar uses a higher-is-cheaper scale, so Madrid's taller cost bar reflects its lower cost of living, not a higher price.

AxisMadridBarcelona
Livability6365
Cost (higher=cheaper)4038
Climate94100
Safety6062
Summer °C25.223.7
Winter °C5.88.4
Top disaster riskwildfirewildfire

Madrid vs Barcelona: the short answer

Barcelona comes out ahead on overall livability (65/100), only marginally above Madrid (63/100). The two cities diverge most on climate. On affordability Madrid is the cheaper base — nearly identical prices on our cost index (Madrid 40 vs Barcelona 38, where a higher score means a lower cost of living, normalised from World Bank price levels). For climate, Madrid runs warmer in summer (about 25.2°C peak vs 23.7°C in Barcelona), while winter lows sit near 5.8°C in Madrid and 8.4°C in Barcelona. On natural-disaster exposure Barcelona is the safer choice (safety 62/100); the dominant modelled hazard is wildfire for Madrid and wildfire for Barcelona.

Which city should you choose?

Data & methodology

Cost scores are normalised from World Bank price-level data. Climate figures (summer highs, winter lows) are drawn from 1991–2020 climate normals. Disaster-safety blends USGS earthquake history (magnitude 4.5+ within 300 km since 1980), tropical-cyclone basin position, flood/elevation exposure and Köppen climate zone. The livability score is the weighted composite of cost, climate and safety. All figures are planning indicators for 2026, not guarantees — verify specifics before relocating.

Compiled by the CityLivably data team from open public datasets (World Bank, USGS, climate normals).

FAQ

Is Madrid or Barcelona better to live in?

Barcelona scores higher overall — 65 vs 63 on our 0–100 livability index, which weights cost, climate and safety.

Which is cheaper, Madrid or Barcelona?

Madrid has the lower cost of living (cost index 40 vs 38; higher = cheaper, from World Bank price levels).

Which is warmer, Madrid or Barcelona?

Madrid — summer highs reach about 25.2°C versus 23.7°C in Barcelona.

Which is safer from natural disasters, Madrid or Barcelona?

Barcelona (disaster-safety 62/100). Main hazard: wildfire in Madrid, wildfire in Barcelona.

What is the main natural-disaster risk in Madrid?

wildfire is the dominant modelled hazard for Madrid on our risk index.

How is the Madrid vs Barcelona comparison calculated?

Cost comes from World Bank price levels, climate from 1991–2020 normals, and disaster risk from USGS earthquake data, cyclone-basin position and flood exposure; livability is their weighted composite.

Madrid profile →
Barcelona profile →