Costa Rica and Mexico are Latin America's two most popular digital nomad destinations with fundamentally different tax approaches. Costa Rica uses territorial taxation—foreign-source income (your remote work for US/EU companies) is 100% tax-free. Mexico taxes worldwide income for residents at progressive rates up to 35%. This creates a massive gap. At $80,000 foreign income: Costa Rica charges $0, Mexico charges ~$20,000+. Costa Rica also has an explicit digital nomad visa (2 years, renewable). Mexico has no DN visa but offers easy temporary residency. Costa Rica wins on tax, Mexico wins on cost of living (30-40% cheaper), infrastructure variety, and ease of travel to US. Choose Costa Rica if: you want zero tax on foreign income and explicit legal DN status. Choose Mexico if: you prefer lower costs, proximity to US, larger expat communities, or plan to work with Mexican clients (territorial wouldn't help anyway).

By CountryTaxCalc Research Team

Last Updated: April 2026

The Big Picture

🇨🇷 Costa Rica

0-25%

Territorial

0% on foreign income, digital nomad visa available

🇲🇽 Mexico

1.92-35%

Worldwide

Progressive 1.92-35% on worldwide income for residents

Typical Annual Savings

At $80,000 foreign income:

$20,000+

That is $1,650+/month back in your pocket!

Tax Savings by Income Level

IncomeCR TaxMX TaxSavings10-Year
$50,000 (foreign) $0 (0%)~$11,500 (23%)Costa Rica saves $11,500$115,000
$80,000 (foreign) $0 (0%)~$20,500 (25.6%)Costa Rica saves $20,500$205,000
$100,000 (foreign) $0 (0%)~$27,000 (27%)Costa Rica saves $27,000$270,000
$150,000 (foreign) $0 (0%)~$45,000 (30%)Costa Rica saves $45,000$450,000

Costa Rica Pros and Cons

✅ Pros

  • 0% tax on foreign income: Remote work earnings completely exempt
  • Digital nomad visa: Explicit 2-year visa for remote workers, renewable
  • Pura Vida lifestyle: World-class beaches, rainforests, biodiversity
  • Stable democracy: No military, 75+ years of democratic stability
  • Healthcare quality: Excellent private hospitals, affordable

❌ Cons

  • Higher cost of living: 30-40% more expensive than Mexico
  • Smaller country: Limited variety in destinations and experiences
  • Infrastructure gaps: Roads can be rough, services limited outside San José
  • No direct US flights from many cities: Often connect through Houston/Miami

Mexico Pros and Cons

✅ Pros

  • Much lower cost of living: 30-40% cheaper than Costa Rica
  • Massive variety: Beaches, mountains, deserts, colonial cities, megacities
  • Easy US access: Direct flights from most US cities, land border crossings
  • Huge expat community: Established infrastructure for foreigners
  • Thriving DN hubs: Mexico City, Playa del Carmen, Oaxaca, Puerto Vallarta

❌ Cons

  • Worldwide taxation: Residents taxed on global income up to 35%
  • Tax residency triggers easily: 183 days or primary home = resident
  • Safety concerns: Some areas require caution, cartels in certain regions
  • No DN visa: Must use tourist renewals (border runs) or apply for residency
💡

CountryTaxCalc.com may earn a commission from partner links at no cost to you. Learn more about our affiliate partnerships

Best for USD/MXN

Wise

Hold USD, CRC (colones), and MXN. Transfer at real exchange rates—essential for getting paid in Latin America.

Open Wise Account →
Remote Work

Deel

Receive payments as a contractor in either country. Deel handles local compliance while you focus on work.

Get Paid Compliantly →

Frequently Asked Questions

Q: How much tax will I pay on $80K remote income in each country?

Costa Rica: $0 (territorial taxation, foreign income exempt). Mexico: ~$20,500 if you're a tax resident (worldwide income taxed at progressive rates up to 35%). Costa Rica saves over $20,000 annually. This is the fundamental difference between territorial and worldwide tax systems.

Q: Can I stay in Mexico without becoming a tax resident?

Difficult in practice. Mexico's 183-day rule means spending more than half the year makes you a resident. But even staying less, if your 'center of vital interests' (home, family, primary income) is in Mexico, you may be considered resident. Many nomads do border runs but this is legally risky. Costa Rica's DN visa provides clearer legal status.

Q: What's the cost of living comparison?

Mexico City: $1,200-2,000/month, $500-900 rent. San José: $1,800-2,800/month, $700-1,100 rent. Beach areas vary widely. Playa del Carmen (Mexico) is cheaper than Tamarindo (Costa Rica). Overall, Mexico is 30-40% cheaper for similar lifestyle.

Q: Which has better digital nomad infrastructure?

Mexico has more variety—CDMX is a world-class city with endless coworking spaces, Oaxaca for culture, beaches everywhere. Costa Rica has fewer locations but dedicated DN visa and explicit legal framework. Mexico has quantity, Costa Rica has legal clarity.

Q: Which is safer?

Costa Rica is generally safer—low crime, no cartel presence, stable government. Mexico varies enormously by region. CDMX, Oaxaca, Puerto Vallarta are generally safe for tourists/expats. Some areas (Sinaloa, Tamaulipas, parts of Guerrero) should be avoided. Research specific locations in Mexico.

Related Comparisons

Costa Rica CalculatorMexico CalculatorUSA vs MexicoPanama vs Costa Rica