Barcelona vs Mexico City

Overall Mexico City ranks higher for livability (67 vs 65). Mexico City is cheaper; Barcelona is safer from disasters; Barcelona is warmer.
Compared (0-100)
■ Barcelona■ Mexico City3851Cost100100Climate6255Safety

How to read the comparison chart

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

AxisBarcelonaMexico City
Livability6567
Cost (higher=cheaper)3851
Climate100100
Safety6255
Summer °C23.719.5
Winter °C8.414.1
Top disaster riskwildfireearthquake

Barcelona vs Mexico City: the short answer

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

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 Barcelona or Mexico City better to live in?

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

Which is cheaper, Barcelona or Mexico City?

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

Which is warmer, Barcelona or Mexico City?

Barcelona — summer highs reach about 23.7°C versus 19.5°C in Mexico City.

Which is safer from natural disasters, Barcelona or Mexico City?

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

What is the main natural-disaster risk in Barcelona?

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

How is the Barcelona vs Mexico City 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.

Barcelona profile →
Mexico City profile →