Mundevo
City comparison·Mexico flagMexico CityvsUnited States flagSan Francisco

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

Trying to decide between Mexico City and San Francisco? 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

Mexico City comes out ahead overall — by a clear margin.

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

Overall
Mexico City flagMexico City
Cheaper
Mexico City flagMexico City
Quality of life
San Francisco flagSan Francisco
Remote work
San Francisco flagSan Francisco

Composite scores

Overall: Mexico City wins by 0.9 points

Mexico City composite
5.3 / 10
fair
San Francisco composite
4.4 / 10
fair

Population & size

Is Mexico City bigger than San Francisco?

Mexico City is the bigger city: about 9.2M people versus San Francisco's 873k — roughly 11× larger.

Mexico City population
9.2M
9,200,000
San Francisco population
873k
873,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 Mexico City from San Francisco?

Mexico City is about 3,040 km (1,890 mi) from San Francisco in a straight line — roughly 4 h 20 m of nonstop flight time.

Straight-line
3,040 km
In miles
1,890 mi
Nonstop flight (est.)
4 h 20 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 Mexico City warmer than San Francisco?

Mexico City is the warmer city: January highs average 22°C vs 14°C, and July 23°C vs 21°C. San Francisco gets noticeably more sun — about 410 more sunshine hours per year.

Sunshine hours / year
Mexico City
2,550
San Francisco
2,960
Rainfall (mm / year) — drier leads
Mexico City
830 mm
San Francisco
600 mm
MonthMexico CitySan Francisco
January (high / low)22° / 6°C14° / 8°C
July (high / low)23° / 12°C21° / 13°C
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.

San Francisco

Famously mild and foggy. Almost no extremes — summers are cool (rarely above 25°C), winters mild and wet. Microclimates within the city vary wildly.

Analyst take

Mexico City edges out San Francisco on the Mundevo composite, 5.3 to 4.4 out of 10 — a decisive 0.9-point margin across safety, healthcare, air quality and cost.

A 0.9-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 — Mexico City 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 Mexico City and San Francisco

  • How decisive

    Mexico City comes out ahead by 0.9 composite points — a clear edge.

  • Biggest difference

    The widest gap is affordability, where Mexico City leads by 6.6 points.

  • Where they match

    They're most evenly matched on healthcare — within 0.7 points of each other.

  • Overall cost gap

    Total monthly costs in San Francisco run about 480% higher than in Mexico City.

  • Where budgets split most

    Healthcare is the line item that diverges most: roughly 1144% pricier in San Francisco than Mexico City.

  • Size difference

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

  • Home internet

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

  • Safety

    San Francisco scores higher on safety (45 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
Mexico City
6.6/10
San Francisco
0.0/10
Quality of life
Mexico City
4.6/10
San Francisco
6.0/10
Remote-work friendliness
Mexico City
5.8/10
San Francisco
6.7/10
Healthcare
Mexico City
4.3/10
San Francisco
5.0/10

The exact scores and winners:

AxisMexico CitySan FranciscoWinner
Affordability6.60.0Mexico City +6.6
Quality of life4.66.0San Francisco +1.4
Remote-work friendliness5.86.7San Francisco +0.9
Healthcare4.35.0San Francisco +0.7
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.

Score card · San Francisco
4.4/ 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

0.0poor
  • Cost-of-living index (weight 60%)120
  • Rent index (weight 40%)115
How this is calculated

Affordability = ((100 − costIndex)/100 × 0.6 + (100 − rentIndex)/100 × 0.4) × 10. For San Francisco: ((100 − 120)/100 × 0.6 + (100 − 115)/100 × 0.4) × 10 = 0.

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

Quality of life

6.0good
  • Safety index (weight 40%)45
  • Healthcare index (weight 35%)72
  • Air quality index (weight 25%)68
How this is calculated

QoL = (safety/100 × 0.4 + healthcare/100 × 0.35 + airQuality/100 × 0.25) × 10. For San Francisco: (45/100 × 0.4 + 72/100 × 0.35 + 68/100 × 0.25) × 10 = 6.

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

Remote-work friendliness

6.7good
  • Internet (median Mbps) (weight 45%)280 Mbps
  • Effective income tax (lower = better) (weight 30%)17.0%
  • Cost-of-living (lower = better) (weight 25%)120
How this is calculated

RemoteWork = (min(Mbps/300, 1) × 0.45 + (1 − incomeTax) × 0.3 + (100 − costIndex)/100 × 0.25) × 10. For San Francisco: (min(280/300, 1) × 0.45 + (1 − 0.17) × 0.3 + (100 − 120)/100 × 0.25) × 10 = 6.7.

San Francisco works for remote work but isn't optimized for it: internet 280 Mbps, income tax 17%, cost index 120.

Healthcare

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

Healthcare = (qualityIndex/100 × 0.7 + max(0, 1 − OOP/500) × 0.3) × 10. For San Francisco: (72/100 × 0.7 + max(0, 1 − 500/500) × 0.3) × 10 = 5.

San Francisco has trade-offs in healthcare: quality is good, typical out-of-pocket cost is ~500 USD/month. Cross-border insurance closes the gap.

Monthly cost delta: Mexico City vs San Francisco

Normalized to MXN at 1 USD = 19.9074 MXN.

CategoryMexico CitySan FranciscoChange
housingMX$9,500$3,500+633%
foodMX$4,200$700+232%
transportMX$800$80+99%
utilitiesMX$1,200$200+232%
leisureMX$3,000$700+365%
healthcareMX$800$500+1144%

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.

Mexico City49% housing
San Francisco62% housing
housing
food
transport
utilities
leisure
healthcare

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

Buying property

Apartment prices: Mexico City vs San Francisco

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

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

City center — cheaper leads
Mexico City
€3,500/m²
San Francisco
€13,000/m²
Outside center (5-15 km) — cheaper leads
Mexico City
€2,000/m²
San Francisco
€8,500/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: Mexico City vs San Francisco

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

Monthly pass — cheaper leads
Mexico City
€0
San Francisco
€75
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

San Francisco

Muni pass + BART; one of the few cities where the cable cars are still everyday transit, not just tourist rides.

Single ride: €2.8 · Modes: Metro, Tram, Bus, Commuter rail, Ferry, Cable car

Salary equivalence: Mexico City ↔ San Francisco

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

Earning in Mexico City, moving to San Francisco
MXN → equivalent USD
Mexico City grossSan Francisco equivalent
MX$40,000$6,345
MX$75,000$11,897
MX$120,000$19,035
Earning in San Francisco, moving to Mexico City
USD → equivalent MXN
San Francisco grossMexico City equivalent
$40,000MX$252,160
$75,000MX$472,801
$120,000MX$756,481

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 Mexico City

  • Wins on affordability (+6.6 points vs San Francisco).

Why pick San Francisco

  • Wins on quality of life (+1.4 points vs Mexico City).
  • Wins on remote-work friendliness (+0.9 points vs Mexico City).
  • Wins on healthcare (+0.7 points vs Mexico City).

Mexico City trade-offs

  • Trails San Francisco on quality of life by 1.4 points.
  • Trails San Francisco on remote-work friendliness by 0.9 points.
  • Trails San Francisco on healthcare by 0.7 points.

San Francisco trade-offs

  • Trails Mexico City on affordability by 6.6 points.

Remote work logistics

Time zones and language: Mexico City vs San Francisco

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

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.

San Francisco

Official: English · English: Native-equivalent · Local language: Not needed

English-native. Significant Spanish and Mandarin presence in specific neighborhoods (Mission, Chinatown). English universal.

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 2.8 points
Mexico City6.2/10
San Francisco3.4/10

Axes scored: affordability, remoteWork

Family with kids

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

Best fit
San Francisco by 1.1 points
Mexico City4.4/10
San Francisco5.5/10

Axes scored: qualityOfLife, healthcare

Retiree

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

Best fit
Mexico City by 1.5 points
Mexico City5.2/10
San Francisco3.7/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 6.6 points
Mexico City6.6/10
San Francisco0.0/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 Mexico vs United States 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-07-03 (Mexico City) and 2026-05-28 (San Francisco).
  • FX rate. 1 USD = 19.9074 MXN, 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 Mexico City 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

Mexico City vs San Francisco: which is cheaper?

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

Which city has better quality of life?

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

Is Mexico City or San Francisco better for remote work?

Mexico City has 104 Mbps median internet vs San Francisco at 280 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 Mexico City bigger than San Francisco?

Mexico City is larger — about 9.2M people versus San Francisco's 873k, roughly 10.5× the size.

Is Mexico City safer than San Francisco?

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

Should I move to Mexico City or San Francisco?

It depends on what you weight. Mexico City wins the overall Mundevo composite by 0.9 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.