Mundevo
City comparison·Spain flagMadridvsMexico flagMexico City

Madrid vs Mexico City: cost, size & quality of life compared

Trying to decide between Madrid and Mexico City? Here's the honest bottom line first — then the full, sourced breakdown on cost of living, salary, safety and quality of life.

The bottom line

Madrid comes out ahead overall — by a clear margin.

But the "winner" depends on what you care about. Here's who takes each dimension:

Overall
Madrid flagMadrid
Cheaper
Mexico City flagMexico City
Quality of life
Madrid flagMadrid
Remote work
Madrid flagMadrid

Composite scores

Overall: Madrid wins by 1.3 points

Madrid composite
6.6 / 10
good
Mexico City composite
5.3 / 10
fair

Population & size

Is Madrid bigger than Mexico City?

Mexico City is the bigger city: about 9.2M people versus Madrid's 3.3M — roughly 2.8× larger.

Madrid population
3.3M
3,300,000
Mexico City population
9.2M
9,200,000

City-proper / metro population estimates. Size is one input — scroll on for cost of living, salary equivalence and quality-of-life scoring.

Distance

How far is Madrid from Mexico City?

Madrid is about 9,060 km (5,630 mi) from Mexico City in a straight line — roughly 11 h 25 m of nonstop flight time.

Straight-line
9,060 km
In miles
5,630 mi
Nonstop flight (est.)
11 h 25 m

Great-circle distance, not a routed itinerary; flight estimate assumes ~850 km/h cruise plus 45 minutes of taxi, climb and descent.

Climate

Is Madrid warmer than Mexico City?

Madrid and Mexico City have broadly similar temperatures across the year. Madrid gets noticeably more sun — about 220 more sunshine hours per year.

Sunshine hours / year
Madrid
2,770
Mexico City
2,550
Rainfall (mm / year) — drier leads
Madrid
421 mm
Mexico City
830 mm
MonthMadridMexico City
January (high / low)10° / 2°C22° / 6°C
July (high / low)33° / 18°C23° / 12°C
Madrid

Hot, dry summers and crisp winters. Continental climate with low humidity — comfortable for many but the July heat is intense.

Mexico City

High-altitude (2,240m) subtropical highland — spring-like days year-round with cold nights in winter. Rainy season May-October with reliable afternoon downpours.

Analyst take

Madrid edges out Mexico City on the Mundevo composite, 6.6 to 5.3 out of 10 — a decisive 1.3-point margin across safety, healthcare, air quality and cost.

A 1.3-point composite gap is large enough that the result holds across most reasonable axis re-weightings. Still worth scanning the per-axis breakdown if you have a non-default priority (e.g. air quality matters more to you than the default 25% weight).

What to do

Run the salary calculator for both cities at your target lifestyle before deciding — Madrid winning on quality doesn't mean the gross-salary requirement also lands in your favor. If you're on a balanced tier, the cost-of-living pages for each city carry the full monthly basket and the gross-salary figure.

Data signals

What separates Madrid and Mexico City

  • How decisive

    Madrid comes out ahead by 1.3 composite points — a clear edge.

  • Biggest difference

    The widest gap is healthcare, where Madrid leads by 3.8 points.

  • Where they match

    They're most evenly matched on remote-work friendliness — within 0.8 points of each other.

  • Overall cost gap

    Total monthly costs in Mexico City run about 58% lower than in Madrid.

  • Where budgets split most

    Housing is the line item that diverges most: roughly 63% cheaper in Mexico City than Madrid.

  • Size difference

    Mexico City is the larger metro — about 2.8× the population of the other, which shapes commute times, housing supply and how "big-city" daily life feels.

  • Home internet

    Madrid has the faster typical broadband (220 vs 104 Mbps median) — worth weighing if you work remotely or move large files.

  • Safety

    Madrid scores higher on safety (70 vs 35 / 100) — a common deciding factor for families.

Score-by-score, side-by-side

Each axis is scored independently with disclosed weights and a calculation string.

Affordability
Madrid
4.4/10
Mexico City
6.6/10
Quality of life
Madrid
7.1/10
Mexico City
4.6/10
Remote-work friendliness
Madrid
6.6/10
Mexico City
5.8/10
Healthcare
Madrid
8.1/10
Mexico City
4.3/10

The exact scores and winners:

AxisMadridMexico CityWinner
Affordability4.46.6Mexico City +2.2
Quality of life7.14.6Madrid +2.5
Remote-work friendliness6.65.8Madrid +0.8
Healthcare8.14.3Madrid +3.8
Score card · Madrid
6.6/ 10 compositegood

Each axis is a weighted aggregate of underlying indicators normalized to a 0–10 scale. Weights are explicit and disclosed per axis. The composite is the unweighted mean of the four axes — axes are not collapsed further because the underlying trade-offs (e.g. low cost vs poor air quality) are user-dependent.

Affordability

4.4fair
  • Cost-of-living index (weight 60%)65
  • Rent index (weight 40%)42
How this is calculated

Affordability = ((100 − costIndex)/100 × 0.6 + (100 − rentIndex)/100 × 0.4) × 10. For Madrid: ((100 − 65)/100 × 0.6 + (100 − 42)/100 × 0.4) × 10 = 4.4.

Madrid is among the more expensive cities tracked. Salary expectations should be calibrated to the high cost base before relocating.

Quality of life

7.1good
  • Safety index (weight 40%)70
  • Healthcare index (weight 35%)80
  • Air quality index (weight 25%)60
How this is calculated

QoL = (safety/100 × 0.4 + healthcare/100 × 0.35 + airQuality/100 × 0.25) × 10. For Madrid: (70/100 × 0.4 + 80/100 × 0.35 + 60/100 × 0.25) × 10 = 7.1.

Madrid scores good on safety, excellent on healthcare and good on air. The composite quality-of-life signal is strong.

Remote-work friendliness

6.6good
  • Internet (median Mbps) (weight 45%)220 Mbps
  • Effective income tax (lower = better) (weight 30%)18.0%
  • Cost-of-living (lower = better) (weight 25%)65
How this is calculated

RemoteWork = (min(Mbps/300, 1) × 0.45 + (1 − incomeTax) × 0.3 + (100 − costIndex)/100 × 0.25) × 10. For Madrid: (min(220/300, 1) × 0.45 + (1 − 0.18) × 0.3 + (100 − 65)/100 × 0.25) × 10 = 6.6.

Madrid works for remote work but isn't optimized for it: internet 220 Mbps, income tax 18%, cost index 65.

Healthcare

8.1excellent
  • Healthcare quality index (weight 70%)80
  • Healthcare out-of-pocket / month (lower = better) (weight 30%)80
How this is calculated

Healthcare = (qualityIndex/100 × 0.7 + max(0, 1 − OOP/500) × 0.3) × 10. For Madrid: (80/100 × 0.7 + max(0, 1 − 80/500) × 0.3) × 10 = 8.1.

Madrid combines excellent system quality with a manageable out-of-pocket cost (~80 EUR/month). Travel insurance still recommended for non-residents.

Score card · Mexico City
5.3/ 10 compositefair

Each axis is a weighted aggregate of underlying indicators normalized to a 0–10 scale. Weights are explicit and disclosed per axis. The composite is the unweighted mean of the four axes — axes are not collapsed further because the underlying trade-offs (e.g. low cost vs poor air quality) are user-dependent.

Affordability

6.6good
  • Cost-of-living index (weight 60%)38
  • Rent index (weight 40%)28
How this is calculated

Affordability = ((100 − costIndex)/100 × 0.6 + (100 − rentIndex)/100 × 0.4) × 10. For Mexico City: ((100 − 38)/100 × 0.6 + (100 − 28)/100 × 0.4) × 10 = 6.6.

Mexico City is mid-range on absolute cost. Affordability is reasonable but not its main advantage.

Quality of life

4.6fair
  • Safety index (weight 40%)35
  • Healthcare index (weight 35%)62
  • Air quality index (weight 25%)42
How this is calculated

QoL = (safety/100 × 0.4 + healthcare/100 × 0.35 + airQuality/100 × 0.25) × 10. For Mexico City: (35/100 × 0.4 + 62/100 × 0.35 + 42/100 × 0.25) × 10 = 4.6.

Mexico City has a mixed quality profile. Safety: fair; healthcare: good; air: fair. Weigh the weakest axis against your personal priorities.

Remote-work friendliness

5.8fair
  • Internet (median Mbps) (weight 45%)104 Mbps
  • Effective income tax (lower = better) (weight 30%)10.0%
  • Cost-of-living (lower = better) (weight 25%)38
How this is calculated

RemoteWork = (min(Mbps/300, 1) × 0.45 + (1 − incomeTax) × 0.3 + (100 − costIndex)/100 × 0.25) × 10. For Mexico City: (min(104/300, 1) × 0.45 + (1 − 0.1) × 0.3 + (100 − 38)/100 × 0.25) × 10 = 5.8.

Mexico City works for remote work but isn't optimized for it: internet 104 Mbps, income tax 10%, cost index 38.

Healthcare

4.3fair
  • Healthcare quality index (weight 70%)62
  • Healthcare out-of-pocket / month (lower = better) (weight 30%)800
How this is calculated

Healthcare = (qualityIndex/100 × 0.7 + max(0, 1 − OOP/500) × 0.3) × 10. For Mexico City: (62/100 × 0.7 + max(0, 1 − 800/500) × 0.3) × 10 = 4.3.

Mexico City has trade-offs in healthcare: quality is good, typical out-of-pocket cost is ~800 MXN/month. Cross-border insurance closes the gap.

Monthly cost delta: Madrid vs Mexico City

Normalized to EUR at 1 MXN = 0.0465 EUR.

CategoryMadridMexico CityChange
housing€1,200MX$9,500-63%
food€350MX$4,200-44%
transport€60MX$800-38%
utilities€130MX$1,200-57%
leisure€350MX$3,000-60%
healthcare€80MX$800-53%

Where each city's money goes

Two cities can have the same monthly total but very different shapes — one might burn 50% on housing while the other splits more evenly. The composition matters as much as the headline.

Madrid55% housing
Mexico City49% housing
housing
food
transport
utilities
leisure
healthcare

The biggest shape difference is housing: Madrid spends 6.6 percentage points more of its budget on it (55% vs. 49%). If you're sensitive to that category, weight the per-axis scores accordingly.

Buying property

Apartment prices: Madrid vs Mexico City

Approximate asking prices in EUR per square meter (as of 2025-01), central vs mid-distance neighborhoods.

Buying in central Mexico City runs about 36% cheaper per square meter (€3,500/m² vs €5,500/m²).

City center — cheaper leads
Madrid
€5,500/m²
Mexico City
€3,500/m²
Outside center (5-15 km) — cheaper leads
Madrid
€3,500/m²
Mexico City
€2,000/m²

Midpoints of public listing ranges — a scoping number for rent-vs-buy thinking, not a valuation. Renting comparisons live in the cost table above.

Getting around

Public transport: Madrid vs Mexico City

Monthly pass and casual-ride pricing in EUR (as of 2025-01) plus the modes each network runs.

Monthly pass — cheaper leads
Madrid
€54.6
Mexico City
€0
Madrid

Abono Transportes zone A €54.6/mo covers metro + bus + Cercanías commuter rail; the over-26 youth pass is materially cheaper.

Single ride: €1.5 · Modes: Metro, Tram, Bus, Commuter rail

Mexico City

No monthly pass — metro tickets are flat 5 MXN (~€0.25), making it one of the cheapest large transit systems in the world.

Single ride: €0.4 · Modes: Metro, Bus, Trolleybus, Light rail

Salary equivalence: Madrid ↔ Mexico City

What earning the same purchasing power costs in each city. Cost-adjusted using the local cost-of-living index (Madrid = 65, Mexico City = 38); currency-converted at 1 MXN = 0.0465 EUR. Tax differences are not modeled.

Earning in Madrid, moving to Mexico City
EUR → equivalent MXN
Madrid grossMexico City equivalent
€40,000MX$502,769
€75,000MX$942,692
€120,000MX$1,508,308
Earning in Mexico City, moving to Madrid
MXN → equivalent EUR
Mexico City grossMadrid equivalent
MX$40,000€3,182
MX$75,000€5,967
MX$120,000€9,547

Equivalence here means same cost-of-living purchasing power, not same net take-home. Effective tax rates differ between countries; a salary equivalent on cost can still net more or less depending on the destination's tax regime. Use the calculator for tax-adjusted figures at a specific lifestyle tier.

Pros and cons

Why pick Madrid

  • Wins on quality of life (+2.5 points vs Mexico City).
  • Wins on remote-work friendliness (+0.8 points vs Mexico City).
  • Wins on healthcare (+3.8 points vs Mexico City).

Why pick Mexico City

  • Wins on affordability (+2.2 points vs Madrid).

Madrid trade-offs

  • Trails Mexico City on affordability by 2.2 points.

Mexico City trade-offs

  • Trails Madrid on quality of life by 2.5 points.
  • Trails Madrid on remote-work friendliness by 0.8 points.
  • Trails Madrid on healthcare by 3.8 points.

Remote work logistics

Time zones and language: Madrid vs Mexico City

Madrid (Europe/Madrid) and Mexico City (America/Mexico_City) sit 7 hours apart in standard time. A 9-to-5 in one overlaps the other's for 1 hour a day. Note: Madrid observes daylight saving while Mexico City doesn't, so the gap shifts by an hour part of the year.

Madrid

Official: Spanish · English: Moderate · Local language: Recommended

Spanish is essential outside multinational firms. English is moderate in central Madrid; bureaucracy is Spanish-only. A gestor (administrative agent) is standard for residency tasks.

Mexico City

Official: Spanish · English: Moderate · Local language: Recommended

Spanish required for most daily life. English usable in expat zones (Roma, Condesa, Polanco) and tech firms. Bureaucracy is Spanish-only.

Who should choose which

The composite winner doesn't always match what matters to you. These four reader profiles weigh the axes differently — find the closest fit.

Young remote pro

Single, salaried remote worker, 25-40, optimizing for runway + bandwidth.

Best fit
Mexico City by 0.7 points
Madrid5.5/10
Mexico City6.2/10

Axes scored: affordability, remoteWork

Family with kids

Couple with school-age children, prioritizing safety, healthcare, and air quality.

Best fit
Madrid by 3.2 points
Madrid7.6/10
Mexico City4.4/10

Axes scored: qualityOfLife, healthcare

Retiree

Fixed income, healthcare-sensitive, prefers low cost and stable infrastructure.

Best fit
Madrid by 1.4 points
Madrid6.5/10
Mexico City5.2/10

Axes scored: healthcare, qualityOfLife, affordability

Cost-conscious mover

Salary stretch matters most. Cuts everything else if it lowers the burn rate.

Best fit
Mexico City by 2.2 points
Madrid4.4/10
Mexico City6.6/10

Axes scored: affordability

Profiles use simple axis averaging — for a deeper read with your own weights, use the per-axis breakdown above.

Zoom out from cities to countries: compare Spain vs Mexico on average wage, take-home after tax and cost of living.

Methodology

How this page is calculated

Data sources

  • Mundevo per-city dataset. Cost basket, rent index, safety, healthcare, air quality and median internet for both cities. Reference date: 2026-05-23 (Madrid) and 2026-07-03 (Mexico City).
  • FX rate. 1 MXN = 0.0465 EUR, used to normalize cost baskets.
  • CityScoreCalculator. Four axes (Affordability, Quality of life, Remote work, Healthcare) computed with explicit weights and explanations. See per-axis calculation strings rendered on this page.
  • ComparisonService. Per-category cost deltas (housing, food, transport, utilities, leisure, healthcare) normalized to the origin currency.

Update cadence

Data as of . Last reviewed .

Calculation

For each of the four axes we compute an independent 0–10 score using the formulas printed beside each axis. The composite is the unweighted mean of the four axes. The overall winner is the city with the higher composite, unless the margin is under 0.05 points — in which case Madrid is shown first as a tiebreaker to keep results stable.

Limitations

  • Climate is not scored — we don't yet hold a maintained climate dataset, so weather-driven preferences are not modeled.
  • Tax differences between cities in the same country are not modeled (Spain and Germany don't have material regional differences for this dataset).
  • Indices are population-level. Personal cost varies with neighborhood, employer benefits and family status.
  • Quality-of-life axis weights (safety 0.4 / healthcare 0.35 / air 0.25) are editorial defaults — readers with strong preferences should re-weight manually.

Frequently asked questions

Madrid vs Mexico City: which is cheaper?

Mexico City is roughly 58% cheaper than Madrid on the monthly cost basket (housing, food, transport, utilities, healthcare). Madrid has cost index 65 vs Mexico City at 38 (both with New York = 100).

Which city has better quality of life?

Madrid scores 6.6/10 on the Mundevo composite versus Mexico City at 5.3/10. The composite weights safety (40%), healthcare (35%) and air quality (25%). Madrid wins overall by 1.3 points.

Is Madrid or Mexico City better for remote work?

Madrid has 220 Mbps median internet vs Mexico City at 104 Mbps. The four-axis decision rubric on this page (affordability, quality of life, remote work, healthcare) gives a per-dimension breakdown rather than a single answer.

Is Madrid bigger than Mexico City?

Mexico City is larger — about 9.2M people versus Madrid's 3.3M, roughly 2.8× the size.

Is Madrid safer than Mexico City?

Madrid scores higher on safety — 70 vs 35 / 100 on the Mundevo safety index (crime and personal-security signals).

Should I move to Madrid or Mexico City?

It depends on what you weight. Madrid wins the overall Mundevo composite by 1.3 points, but Mexico City is cheaper, and the two split differently across affordability, quality of life, remote work and healthcare. Use the per-axis table and the reader-profile section above to match the verdict to your own priorities.