Home / Cities / Mexico City

Remote work from Mexico City: the tax and visa reality for Americans

Updated 2026-11-06 · 6 min read

Drawing for remote work from Mexico City: the word REMOTE, a laptop, a coffee cup and a passport.
Remote work from Mexico City: the laptop is the easy part.

Mexico has no digital nomad visa, a tourist entry isn't a work permit, and once you set up a home in Mexico City, the SAT may consider you a tax resident.

The short version

  • A tourist entry is visitor status "without permission to carry out paid activities," for up to 180 days [1]. Mexican law doesn't carve out an exception for remote work for a foreign employer.
  • Tax residency in Mexico starts with a home. Under Article 9 of the Federal Tax Code, you're a resident if you set up your casa habitación in Mexico. If you also have a home elsewhere, it comes down to where your "center of vital interests" is [2].
  • Uncle Sam still wants his return. US citizens file every year from anywhere. For 2026 the foreign earned income exclusion is up to USD 132,900 per person (USD 130,000 for 2025) [3].
  • A US–Mexico income tax treaty exists (1992, protocol 2003) [4], but there's no US–Mexico Social Security totalization agreement [5].
  • Your employer has a stake too. Long-term work from Mexico can create payroll, tax or compliance issues for a US company. Tell HR before you go.

What your immigration status allows

Tourist entry (visitante)

Most Americans enter as visitors, using the FMM entry record. The Ley de Migración describes this status as letting a foreigner stay "for an uninterrupted time no longer than 180 days," and "without permission to carry out activities subject to remuneration in the country" [1]. Entry is approved at the port of entry, where the officer can ask about your trip and decides how many days you get, up to that limit [7].

Here's the fine print people argue about. Lots of Americans answer emails from a Roma café on vacation, and nobody is checking laptops. But living in Mexico City for months on back-to-back tourist entries while working full time is a different picture. You have no residence status, no clear right to rent long-term, no RFC tax number and no protection if an officer decides your pattern of entries looks like living here. Our guide on tourist stays explains why the "180-day" assumption is shaky.

Temporary residence (residente temporal)

Temporary residence allows a stay of up to four years [1]. Many remote workers qualify by showing income or savings at a Mexican consulate in the US, then completing the canje (card exchange) at the INM in Mexico. The law ties a work permit in Mexico to a Mexican job offer [1], so residence based on financial solvency is generally understood as living here on foreign income, not working for Mexican clients. The income test is covered in our residence guide.

Status Max stay Mexican tax residency risk Good for
Visitor (tourist entry) Up to 180 days, officer decides [1] Lower, but rises if you set up a home here Short trips, workcations
Residente temporal Up to 4 years [1] High: you're living here Remote workers staying a year or more
Residente permanente No end date High Long-term residents, retirees

When Mexico considers you a tax resident

Mexico doesn't use a simple 183-day count for its own residency rule. Article 9 of the Código Fiscal de la Federación says a person is a Mexican resident if they've established their home (casa habitación) in Mexico [2]. If you also keep a home in another country, Mexico looks at your center of vital interests, which is in Mexico when [2]:

  • more than 50% of your total income in the calendar year comes from Mexican sources, or
  • the main center of your professional activities is in Mexico.

A US salary is generally foreign-source income. But a remote worker whose desk, apartment and daily work are all in Mexico City can look a lot like someone whose professional activities center here. How the SAT applies that to your facts is a question for a professional.

What residency means

Mexican tax residents are taxed on worldwide income at progressive rates, and they register with the SAT for an RFC and file an annual return. If you're resident in both countries under their own rules, the US–Mexico treaty has tie-breaker rules and relief from double tax [4]. In practice, Americans who pay Mexican income tax on their salary usually claim the foreign tax credit on their US return rather than, or alongside, the exclusion.

A US expat tax preparer (or lawyer) can check your situation, ideally one who also works with a Mexican contador.

What the IRS expects, no matter where you live

  1. File a US return every year on your worldwide income. Living in Mexico doesn't change that.
  2. Consider Form 2555 (FEIE). You qualify with 330 full days abroad in any 12-month period (the physical presence test) or bona fide residence for a full tax year [3]. Maximums are USD 130,000 for 2025 and USD 132,900 for 2026 [3].
  3. Or claim the foreign tax credit (Form 1116) if you pay Mexican tax. It's often the better fit for Mexican tax residents.
  4. File an FBAR if your foreign accounts total more than USD 10,000 at any time in the year [6]. A Mexican bank account for rent and groceries counts.
  5. Check your state. Some states can keep treating you as a resident if you keep strong ties there. Our state taxes guide explains this.

Social Security and Medicare taxes

With no totalization agreement [5], there's no certificate to settle which country's social security covers you. If you stay on US payroll, your employer will normally keep withholding FICA. If you're self-employed, US self-employment tax generally still applies even when the FEIE wipes out your income tax.

Your employer's side of the story

Many US companies quietly allow a few weeks abroad. Fewer are fine with an employee living in Mexico. Their concerns are real:

  • Permanent establishment risk. An employee doing core work from Mexico long-term could, in some cases, give the company a taxable presence there.
  • Payroll and labor law. Mexican labor law protects workers in Mexico, and a company may need a local entity or an employer-of-record arrangement.
  • Insurance and data security. Health plans, workers' comp and IT policies often assume you're stateside.

Before you move, get your employer's written OK. If they say no, the options are a company-approved arrangement or keeping your stay short.

A checklist before you sign a lease

Step What to do
1 Get your employer's written approval for working from Mexico
2 Decide visitor vs. residente temporal based on how long you'll stay
3 If staying long-term, apply for temporary residence at a consulate in the US
4 Talk to a US expat tax preparer and a Mexican contador about residency
5 Open accounts and track your FBAR total
6 Keep a day count and proof of where you lived

Other remote workers in the city have been through the consulate interview and the SAT registration, and they'll tell you what it was really like. Ask in our community group for Americans in Mexico.

Sources

  1. Ley de Migración, Article 52 (Cámara de Diputados, last reform DOF 15-01-2026)
  2. Código Fiscal de la Federación, Article 9 (SDV compendium)
  3. Figuring the foreign earned income exclusion, IRS
  4. Mexico tax treaty documents, IRS
  5. US international Social Security agreements, SSA
  6. Report of Foreign Bank and Financial Accounts (FBAR), FinCEN
  7. Visa de visitante sin permiso para realizar actividades remuneradas, Consulate of Mexico

Keep reading

Chat with us