Mexico City vs San Francisco: cost, quality of life, and the winner
Mexico City (composite 5.1) vs San Francisco (composite 4.4). Side-by-side on affordability, quality of life, remote-work friendliness and healthcare — with the calculation behind each score.
Composite scores
Overall: Mexico City wins by 0.7 points
Mexico City's 5.1 score edges San Francisco by 0.7 points, suggesting deeper livability advantages despite international perception favoring the Bay Area tech hub.
San Francisco scores 4.4, a significant gap that reflects Mexico City's lower cost of living, denser cultural offerings, and established urban infrastructure.
If affordability and cultural density matter to your move decision, dig into Mexico City's specific neighborhood scores rather than defaulting to San Francisco's brand reputation.
Score-by-score, side-by-side
Each axis is scored independently with disclosed weights and a calculation string.
| Axis | Mexico City | San Francisco | Winner |
|---|---|---|---|
| Affordability | 6.6 | 0.0 | Mexico City +6.6 |
| Quality of life | 4.6 | 6.0 | San Francisco +1.4 |
| Remote-work friendliness | 5.0 | 6.7 | San Francisco +1.7 |
| Healthcare | 4.3 | 5.0 | San Francisco +0.7 |
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
- 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
- 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
- Internet (median Mbps) (weight 45%)50 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(50/300, 1) × 0.45 + (1 − 0.1) × 0.3 + (100 − 38)/100 × 0.25) × 10 = 5.
Mexico City works for remote work but isn't optimized for it: internet 50 Mbps, income tax 10%, cost index 38.
Healthcare
- 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.
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
- 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
- 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
- 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
- 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.
| Category | Mexico City | San Francisco | Change |
|---|---|---|---|
| housing | MX$9,500 | $3,500 | +633% |
| food | MX$4,200 | $700 | +232% |
| transport | MX$800 | $80 | +99% |
| utilities | MX$1,200 | $200 | +232% |
| leisure | MX$3,000 | $700 | +365% |
| healthcare | MX$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.
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.
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.
| Mexico City gross | San Francisco equivalent |
|---|---|
| MX$40,000 | $6,345 |
| MX$75,000 | $11,897 |
| MX$120,000 | $19,035 |
| San Francisco gross | Mexico City equivalent |
|---|---|
| $40,000 | MX$252,160 |
| $75,000 | MX$472,801 |
| $120,000 | MX$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 (+1.7 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 1.7 points.
- Trails San Francisco on healthcare by 0.7 points.
San Francisco trade-offs
- Trails Mexico City on affordability by 6.6 points.
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.
Single, salaried remote worker, 25-40, optimizing for runway + bandwidth.
Axes scored: affordability, remoteWork
Couple with school-age children, prioritizing safety, healthcare, and air quality.
Axes scored: qualityOfLife, healthcare
Fixed income, healthcare-sensitive, prefers low cost and stable infrastructure.
Axes scored: healthcare, qualityOfLife, affordability
Salary stretch matters most. Cuts everything else if it lowers the burn rate.
Axes scored: affordability
Profiles use simple axis averaging — for a deeper read with your own weights, use the per-axis breakdown above.
Going deeper
Visa landscape for both countries — and case studies that touch this corridor.
Tools that work for either choice
Some links below are affiliate links — if you sign up we may earn a small commission, at no extra cost to you.
How this page is calculated
Data sources
- AI-estimated data for Mexico City. Cost indices, rent indices, quality scores and monthly breakdown for Mexico City were generated by an AI model as a directionally-correct starting point, not a primary-source measurement. The comparison delta carries the same ±15-25% uncertainty band on the AI-side; pressure-test against local sources before drawing conclusions about individual categories.
- Mundevo per-city dataset. Cost basket, rent index, safety, healthcare, air quality and median internet for both cities. Reference date: 2026-05-24 (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.1/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.7 points.
Is Mexico City or San Francisco better for remote work?
Mexico City has 50 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.