Mexico and Costa Rica are the two most discussed expat destinations in Latin America — and for good reason. Both offer warm climates, affordable living compared to the US or Canada, established expat communities, and the kind of quality-of-life upgrade that makes people wonder why they did not make the move years earlier.
But they are not interchangeable. Mexico is a vast, culturally dense country of 130 million people with megacities, colonial towns, and beach resorts spread across a land mass nearly 40 times the size of Costa Rica. Costa Rica is a compact, nature-forward country of 5 million people that abolished its military in 1948 and channeled those resources into healthcare and education. The vibe, the infrastructure, the safety profile, and the cost structure are genuinely different.
This guide compares every dimension that matters for expats choosing between these two countries. Both feature prominently in our Americas country rankings — explore the full list to see how they compare with the rest of the region.
Mexico vs Costa Rica at a Glance
Here is how the two countries stack up across the key metrics we track for expat livability. Scores reflect our composite index based on institutional data from the World Bank, WHO, Numbeo, and the Global Peace Index.
Mexico vs Costa Rica — Expat Scores 2026
Composite scores across key dimensions for expat livability. Higher is better.
| Metric | 🇲🇽 Mexico | 🇨🇷 Costa Rica |
|---|---|---|
| Affordability Score | 82/100 | 65/100 |
| Climate Score | 80/100 | 85/100 |
| Career / Remote Work | 55/100 | 42/100 |
| Healthcare Score | 65/100 | 78/100 |
| Safety Score | 58/100 | 72/100 |
| Infrastructure Score | 62/100 | 58/100 |
| Visa-Free Stay | 180 days | 90 days |
| Digital Nomad Visa | Not needed (180-day entry) | Yes ($3,000/mo income) |
| Territorial Taxation | Partial (temp residents) | Yes (foreign income exempt) |
| Expat Community Size | Very large | Large |
The pattern: Mexico dominates on affordability, infrastructure, community size, and visa simplicity. Costa Rica wins on safety, healthcare, climate consistency, and tax friendliness. Neither is the wrong choice — this is a battle between two of the best options in the Americas. The question is which set of strengths matters more to you.
Cost of Living: Mexico Is 20–30% Cheaper
This is the clearest differentiator in the entire comparison. Mexico is meaningfully cheaper than Costa Rica across virtually every spending category, and the gap is not subtle. For budget-conscious expats, digital nomads, or early retirees stretching savings, this difference alone can be decisive.
| Metric | 🇲🇽 Mexico | 🇨🇷 Costa Rica |
|---|---|---|
| 1BR apartment (city center) | $350–700/mo | $500–900/mo |
| 1BR apartment (outside center) | $250–500/mo | $400–700/mo |
| Groceries (monthly) | $150–250 | $200–350 |
| Meal at local restaurant | $3–6 | $5–10 |
| Public transport (monthly) | $15–25 | $30–50 |
| Internet (monthly) | $20–35 | $30–50 |
| Private health insurance | $100–300/mo | $80–200/mo |
| Total monthly budget | $800–1,800 | $1,000–2,500 |
Mexico wins on cost in nearly every category. Rent is the biggest driver — a comfortable one-bedroom in Mexico City’s Roma or Condesa neighborhoods runs $500–700, while a comparable apartment in Costa Rica’s Central Valley costs $600–900. Move to a smaller Mexican city like Merida, Oaxaca, or Guanajuato and the savings deepen further. Street food in Mexico — tacos, tamales, tortas — remains one of the best food values on the planet, with full meals for $2–4 that are genuinely world-class.
Costa Rica’s higher costs stem partly from its smaller economy and higher import dependency. Many consumer goods are imported and subject to tariffs, which pushes grocery and electronics prices above what you would expect. That said, Costa Rica’s CAJA healthcare system partially offsets the cost difference — at $50–150 per month for comprehensive universal coverage, it can be cheaper than Mexico’s private insurance options.
Bottom line: If you are on a tight budget, Mexico stretches your money 20–30% further. A comfortable life in Mexico starts at $800/month in affordable cities. In Costa Rica, plan for $1,000–1,200 minimum, and $1,500+ for genuine comfort.
Visa and Residency: Mexico Simpler, Costa Rica More Options
Mexico makes entry almost effortless. Citizens of the US, Canada, the EU, and 65+ other countries receive a 180-day visa-free entry with no application, no income proof, and no paperwork. Land, get stamped, and you have six full months. When those months expire, a quick trip across the border resets the clock. It is not technically a permanent solution, but thousands of expats have lived this way for years.
For longer-term stays, Mexico offers a Temporary Resident Visa (1–4 years) requiring roughly $2,500/month in income or $42,000 in savings. There is no dedicated digital nomad visa, but the generous tourist entry makes one largely unnecessary.
Costa Rica’s tourist visa is shorter at 90 days, extendable with a border run. But Costa Rica compensates with more formal residency pathways:
- Pensionado (Retiree): $1,000/month in pension or retirement income. The most popular option for retirees.
- Rentista (Income Earner): $2,500/month in stable income or a $60,000 bank deposit. Good for freelancers and investors.
- Digital Nomad Visa: $3,000/month in remote income from a non-Costa Rican employer. Launched in 2021, valid for one year with renewal option.
- Inversionista (Investor): $150,000+ investment in the country. Less common but available.
Verdict: For short stays and simplicity, Mexico wins decisively — 180 days upfront with zero paperwork cannot be beaten. For long-term legal residency with clear status, Costa Rica offers more structured pathways, particularly for retirees ($1,000/month threshold) and digital nomads ($3,000/month threshold). Read our complete guide to moving to Mexico and complete guide to moving to Costa Rica for step-by-step visa instructions.
Healthcare: Costa Rica’s CAJA System Is the Differentiator
Healthcare is where Costa Rica pulls ahead most clearly, and the advantage is systemic rather than anecdotal. Costa Rica’s Caja Costarricense de Seguro Social (CAJA) is a universal public healthcare system that covers all legal residents. As a visa holder, you enroll and pay a monthly contribution of roughly 7–11% of your declared income (minimum around $50–150 per month). In return, you get full access to doctor visits, specialist referrals, surgeries, hospitalization, prescriptions, dental, and preventive care — essentially everything.
Costa Rica’s healthcare outcomes back up the system’s reputation. Life expectancy is 80.3 years — higher than the United States. The country ranks first in Latin America for healthcare quality and in the global top 30. CAJA wait times for non-emergency procedures can be longer than private care, but the quality is high and the cost at point of service is essentially zero. Many expats supplement CAJA with private insurance ($80–200/month) for faster access and English-speaking doctors.
Mexico’s healthcare story is different. The public system (IMSS) is available to foreign residents for roughly $50 per year — an absurdly low price — but quality varies significantly. IMSS clinics can be crowded and underfunded, particularly outside major cities. The real strength of Mexican healthcare is its private sector. Private hospitals in Mexico City, Guadalajara, and Monterrey are genuinely world-class, with modern equipment and English-speaking doctors. A doctor’s visit costs $30–60, and comprehensive private insurance runs $100–300/month depending on age and coverage level.
| Metric | 🇲🇽 Mexico | 🇨🇷 Costa Rica |
|---|---|---|
| Public system | IMSS (~$50/year) | CAJA ($50–150/mo) |
| Public quality | Variable | High |
| Private insurance | $100–300/mo | $80–200/mo |
| Private quality (major cities) | Excellent | Very good |
| Doctor visit cost | $30–60 | $40–80 |
| Life expectancy | 75.1 years | 80.3 years |
| Medical tourism | Major destination | Growing |
| Dental work | 60–80% cheaper than US | 50–70% cheaper than US |
Verdict: Costa Rica wins on systemic healthcare quality and the universal CAJA system. Mexico wins on private care variety, medical tourism infrastructure, and rock-bottom dental costs. For retirees especially, Costa Rica’s guaranteed public coverage provides peace of mind that Mexico’s fragmented system does not match. For a broader look at retirement healthcare options, see our retire abroad healthcare comparison.
Taxes: Both Favorable, Different Mechanisms
Tax treatment is one of the most underappreciated factors in choosing an expat destination, and both Mexico and Costa Rica offer real advantages over the US — through different mechanisms.
Costa Rica operates a territorial tax system. Only income sourced within Costa Rica is taxed. If you earn money from US-based remote work, a foreign pension, or investments held outside Costa Rica, you owe zero Costa Rican tax on that income. Local income is taxed on a progressive scale from 0–25%. For most expats earning from abroad, the effective Costa Rican tax rate is zero.
Mexico uses a worldwide taxation model with progressive rates from 1.92% to 35%. However, temporary residents (those on Temporary Resident Visas) may benefit from territorial treatment on foreign-sourced income in certain circumstances. Mexico also has tax treaties with 60+ countries, including the US, that help prevent double taxation. The Foreign Earned Income Exclusion (FEIE) can shield over $126,000 of earned income from US tax.
For Americans: Remember that the US taxes worldwide income regardless of where you live. The practical difference is that Costa Rica will not add a local tax layer on top of your US obligations for foreign-sourced income, while Mexico potentially could. This makes Costa Rica structurally more tax-efficient for most American expats. See our expat tax guide for the full breakdown.
Safety: Costa Rica Is the Clear Winner
This is the category where the gap is widest and most unambiguous. Costa Rica is the safest country in Latin America by most measures, and it is not close. The country abolished its military in 1948 and redirected that budget into education and healthcare. It has a stable democracy, low corruption by regional standards, and a national culture that genuinely values peace.
Costa Rica scores 72/100 on our safety index and ranks in the top 40 globally on the Global Peace Index. Petty theft exists, particularly in San José and tourist beach areas, but violent crime affecting expats is rare. The Central Valley — where most long-term expats settle — has a small-town safety feel despite being a metro area. You can walk around at night, leave your windows open, and generally live without the hypervigilance that some Latin American countries require.
Mexico’s safety picture is more complex. The country scores 58/100 on our safety index, reflecting the wide variation between regions. Major expat destinations — Mexico City’s Roma and Condesa, Merida, Oaxaca city, San Miguel de Allende, Lake Chapala — are broadly safe, with petty theft as the primary concern. Merida in particular is among the safest cities in all of Latin America. But Mexico also has regions with serious security challenges, and the national statistics reflect that reality.
The practical takeaway: Expats who choose the right cities in Mexico live safely and comfortably. But Costa Rica offers a level of baseline safety across the entire country that Mexico cannot match. If safety is your number-one priority — particularly if you are a solo female traveler or a retiree who values peace of mind above all else — Costa Rica is the stronger choice.
Climate and Geography: Mexico Has Variety, Costa Rica Has Biodiversity
Both countries offer escape from harsh winters, but the climate experience is fundamentally different.
Mexico
Mexico’s sheer size creates extraordinary climate diversity. Mexico City sits at 7,350 feet and enjoys an “eternal spring” climate — highs in the low 70s year-round with cool nights. The Yucatan coast (Playa del Carmen, Tulum, Cancun) is hot and humid tropical. Merida is hot year-round with a pronounced dry season. Lake Chapala and San Miguel de Allende sit in the central highlands with warm days and cool nights. The Pacific coast (Puerto Vallarta, Mazatlan) offers classic beach climate with a rainy season from June to October.
This variety means you can choose your climate within a single country. Hate humidity? Mexico City. Want tropical beach? Yucatan. Prefer colonial charm with mild weather? Central highlands. No other country in the Americas gives you this range of options.
Costa Rica
Costa Rica is geographically compact but packs an extraordinary amount of natural diversity into a country smaller than West Virginia. The Central Valley (San José metro, Atenas, Grecia) sits at 3,000–4,000 feet and delivers spring-like weather year-round: highs of 75–82°F, cool evenings, and a pronounced green season from May to November. The Pacific coast (Guanacaste, Manuel Antonio) is hotter and drier. The Caribbean side is lush, tropical, and rainier. Cloud forests, active volcanoes, hot springs, and two coastlines are all within a few hours’ drive.
Costa Rica’s defining advantage is not climate variety — it is biodiversity density. The country contains 5% of the world’s biodiversity in 0.03% of its land area. Over 25% of the country is protected national park land. Toucans, monkeys, sloths, sea turtles, and scarlet macaws are not tourist attractions — they are part of daily life in many areas. If your vision of expat life involves waking up to howler monkeys and spotting hummingbirds from your terrace, Costa Rica delivers that experience in a way Mexico cannot match.
Verdict: Mexico wins on climate variety and the ability to choose your weather. Costa Rica wins on nature immersion and biodiversity. Both offer easy escape from North American winters.
Ready to find your best country?
Compare Mexico and Costa Rica side-by-sideDigital Nomad Life: Mexico Wins on Infrastructure and Community
For remote workers, Mexico is the stronger destination across nearly every practical dimension. The numbers tell the story.
| Metric | 🇲🇽 Mexico | 🇨🇷 Costa Rica |
|---|---|---|
| Internet speed (cities) | 50–200 Mbps | 30–100 Mbps |
| Coworking spaces (primary city) | 35+ (CDMX) | 10–15 (San José) |
| Monthly nomad budget | $1,000–1,500 | $1,400–2,000 |
| Time zone (US alignment) | CT/MT (Central + Mountain) | CT (Central) |
| Visa-free stay | 180 days | 90 days |
| Nomad community size | Very large (5+ cities) | Moderate (2–3 areas) |
| Cafe culture | Excellent (CDMX world-class) | Good (growing) |
| Weekend travel options | Extensive (within MX) | Excellent (nature-focused) |
Mexico City has become one of the top five digital nomad destinations on the planet. The Roma and Condesa neighborhoods are essentially a purpose-built nomad ecosystem: fast fiber internet, dozens of coworking spaces, hundreds of laptop-friendly cafes, and a community so large that you can find a meetup or networking event on any given night. Guadalajara, Playa del Carmen, Oaxaca, and Merida each have their own thriving nomad scenes as well.
Costa Rica’s nomad infrastructure is developing but smaller. San José has a handful of coworking spaces, and beach towns like Tamarindo, Santa Teresa, and Nosara attract a surf-and-work crowd. Internet speeds have improved significantly but still lag behind Mexico’s urban hubs. The dedicated digital nomad visa (requiring $3,000/month in income) is a formal option, but Mexico’s 180-day tourist entry achieves the same result with no application.
Verdict: If you are a remote worker choosing between these two countries, Mexico wins on infrastructure, community, cost, and visa simplicity. Costa Rica’s appeal for nomads is more about the lifestyle — surfing before Zoom calls, hiking on weekends, living closer to nature. If that matters more than fast internet and a thriving coworking scene, Costa Rica delivers. For more on the nomad life, visit our digital nomad hub.
Retirement: Both Excellent, Different Strengths
Mexico and Costa Rica both rank among the best retirement destinations in the Americas, and tens of thousands of American and Canadian retirees already call each country home. The deciding factors come down to cost versus security.
Mexico for Retirees
Mexico’s appeal for retirees is straightforward: maximum lifestyle for minimum cost. Lake Chapala (Ajijic) has the largest concentration of American retirees outside the US — over 30,000 — with an established English-speaking community, US-style amenities, and a climate that averages 75°F year-round. San Miguel de Allende offers colonial elegance with a vibrant arts and culture scene. Merida combines low costs with one of the safest cities in Latin America.
A comfortable retirement in Mexico starts at $1,200–1,500/month in the highlands and $1,500–2,000 on the coast. The Temporary Resident Visa requires $2,500/month in income — well within reach for most US retirees with Social Security plus a pension or savings.
Costa Rica for Retirees
Costa Rica’s retirement pitch centers on safety and healthcare. The Pensionado visa requires only $1,000/month in pension income — a lower bar than Mexico’s Temporary Resident Visa. Enrollment in the CAJA healthcare system is mandatory and provides comprehensive coverage that eliminates the single biggest financial worry for retirees: catastrophic medical expenses.
The Central Valley is where most retirees settle, offering spring-like weather, affordable housing, and proximity to San José’s international airport. A comfortable retirement costs $1,500–2,200/month — more than Mexico but with the CAJA system included. The pura vida culture genuinely values well-being and relationships, which aligns well with many retirees’ vision of their next chapter.
Verdict: Mexico is cheaper and offers more variety in retirement communities. Costa Rica is safer and provides better guaranteed healthcare. If your retirement budget is modest, Mexico stretches it further. If your priority is peace of mind — safe streets and universal healthcare — Costa Rica is worth the premium. Explore both in our retire abroad hub.
The Verdict: Who Should Choose Which
After comparing every dimension, the honest answer is that both countries are outstanding options — but they serve different priorities.
Choose Mexico if:
- Budget is your primary driver. Mexico is 20–30% cheaper than Costa Rica, and that gap compounds over years. A comfortable life starts at $800/month in affordable cities.
- You want a massive, established expat community. Mexico’s expat infrastructure is decades deep, with English-language resources, social groups, and support networks in 7+ cities.
- You are a digital nomad prioritizing infrastructure. Mexico City’s internet, coworking spaces, and cafe culture rival any nomad hub in the world. The 180-day visa-free entry means zero bureaucracy.
- You want variety. From megacity to colonial town to beach resort, Mexico offers fundamentally different lifestyles within a single country. You can reinvent your expat experience without changing countries.
- Food culture is paramount. Mexican cuisine is UNESCO-recognized and world-class at every price point. No contest.
Choose Costa Rica if:
- Safety is your top priority. Costa Rica is the safest country in Latin America, with no military, low violent crime, and a culture built around peace. For solo travelers, women, and risk-averse retirees, this is a decisive advantage.
- You want guaranteed public healthcare. The CAJA system provides universal coverage at a fraction of US costs. For retirees especially, this eliminates the biggest financial risk of aging abroad.
- Tax efficiency matters. Costa Rica’s territorial taxation means zero local tax on foreign-sourced income. Clean, simple, and favorable.
- Nature immersion is central to your lifestyle vision. Five percent of the world’s biodiversity in a country smaller than West Virginia. National parks, wildlife, and pristine ecosystems are part of daily life, not a weekend trip.
- You prefer a smaller, more intimate country feel. Costa Rica’s compact size and pura vida culture create a sense of community that a country of 130 million cannot replicate.
The honest truth? The best approach is often to try both. Direct flights between Mexico City and San José run under four hours and cost $200–350. Spend a month in each and you will know with certainty which one feels like home. Use our Mexico country profile and Costa Rica country profile to explore the full data, or compare them side-by-side across every dimension we track.
Frequently Asked Questions
- Is Mexico or Costa Rica cheaper for expats?
- Mexico is 20–30% cheaper overall. A comfortable life in Mexico starts at $800–1,200/month depending on the city, while Costa Rica requires $1,000–1,500/month minimum. Rent, food, and transport are all meaningfully lower in Mexico. Costa Rica’s CAJA healthcare system can offset some of the cost gap for retirees who would otherwise pay for private insurance.
- Which country is safer for expats?
- Costa Rica is the safer choice overall and ranks as the safest country in Latin America. That said, major expat cities in Mexico — Merida, San Miguel de Allende, Lake Chapala, Oaxaca — are also very safe. The difference is that Costa Rica’s safety is consistent across the entire country, while Mexico’s varies significantly by region.
- Do I need to speak Spanish in Mexico or Costa Rica?
- You can get by without Spanish in the major expat communities of both countries, but learning at least conversational Spanish will dramatically improve your daily experience. English prevalence is low-to-moderate in both countries outside tourist areas. Mexico’s larger expat communities tend to have more English-language infrastructure.
- Which is better for digital nomads — Mexico or Costa Rica?
- Mexico, and it is not close on the practical dimensions. Mexico City has faster internet (50–200 Mbps vs 30–100 Mbps), more coworking spaces, lower costs, and a 180-day visa-free entry. Costa Rica appeals to nomads who prioritize lifestyle and nature over infrastructure and community size.
- Can I use US healthcare in Mexico or Costa Rica?
- US health insurance (including Medicare) does not cover you in either country. Costa Rica’s CAJA system provides public coverage for legal residents at low cost. In Mexico, most expats use private insurance ($100–300/month) or pay out of pocket for private care. International insurance providers like SafetyWing and Cigna Global cover both countries. See our healthcare comparison guide for details.
- Which country has better weather?
- Both have excellent weather, but the experience differs. Costa Rica’s Central Valley offers consistent spring-like temperatures (75–82°F) year-round. Mexico offers more climate variety — eternal spring in Mexico City, tropical on the coast, mild in the highlands. If you want one perfect climate, Costa Rica’s Central Valley is hard to beat. If you want options, Mexico’s diversity is unmatched.
Ready to find your best country?
Compare Countries