The short answer
H-1B holders increasingly use Mexico as a remote work base, particularly since the 2020 to 2022 shift to location-independent work arrangements. Mexico doesn’t care about your US visa status, what matters is Mexico’s own immigration framework. Here’s exactly what you can and can’t do, and the one tax rule that matters most.

The core principle: Mexico’s rules apply, not the US’s
Your H-1B, L-1, O-1, TN, or any other US visa is irrelevant to Mexican immigration authorities. When you enter Mexico, you enter as a foreign national subject to Mexico’s rules. Your US visa doesn’t grant additional rights in Mexico, and it doesn’t create additional restrictions either. Mexico evaluates you based on what you plan to do in Mexico, not based on what work authorization you hold in the US.
Mexico doesn't care about your US visa status, what matters is Mexico's own immigration framework.
What you can do legally


Remote work for foreign employers (your default situation)
If you work remotely for a US employer (your H-1B sponsor or any foreign company) and your income originates from outside Mexico, you can do this legally in Mexico as a tourist (up to 180 days per entry) or as a Temporary Resident.
This is not ‘working in Mexico’ in the legal sense, you are providing services to a foreign entity and receiving foreign-source income. Mexico’s immigration law clearly distinguishes between working for foreign employers (permitted on a tourist or resident entry) and working for Mexican employers or earning Mexican-sourced income (requires specific work authorization).
Starting a business in Mexico
Foreign nationals can form and own Mexican corporations (SA de CV or SRL) and operate businesses in Mexico. As a Temporary Resident, you can own a Mexican company. However, actively working within that company, performing work for Mexican clients, managing employees, operating as a salaried director, requires Temporary Residency with work authorization rather than the standard non-working Temporary Residency.
This distinction matters and is worth clarifying with an immigration attorney if you plan to both own and actively manage a Mexican business.
What you cannot do without additional authorization
Work for Mexican employers
Working for a Mexican company, as an employee, contractor, or service provider earning Mexican-source income, requires work authorization. Standard Temporary Residency (the type tied to passive income or savings) does not include work authorization in Mexico. The appropriate status is either Temporary Residency with work authorization (sponsored by a Mexican employer, similar in concept to the H-1B in the US) or Temporary Residency with self-employment authorization for service providers.
Earning income from Mexican clients
Providing professional services to Mexican clients for Mexican-source income, consulting, legal services, IT development billed to Mexican entities, etc., requires proper business registration and work authorization. The enforcement reality is inconsistent, but the legal prohibition is clear, and the tax consequences of earning undeclared Mexican-source income can be significant.
The 183-day tax rule: the most important issue for H-1B holders in Mexico
Mexican tax residency does not turn on a day count. Under Article 9 of the Federal Tax Code, what matters is whether you have established a permanent home in Mexico and, if you also have a home in another country, where your center of vital interests sits.
Days still matter as evidence, but they are not the trigger. For H-1B holders working remotely in Mexico, this is the most consequential rule to understand, and to get wrong, so read the section below before planning around a day count.
The 183-day count is still worth tracking, because it appears in the US-Mexico tax treaty for employment income and in withholding rules for non-residents, and because a long stay is evidence in the center of vital interests analysis.
But it is cumulative days of presence, not a residency switch: 90 days in spring and 100 days in fall is 190 days in Mexico, and that alone does not make you a Mexican tax resident.
What decides it is the home test and the income test in Article 9, set out in the section below.
Mexican tax residency requires filing Mexican annual tax returns (declaracion anual) and potentially paying ISR on worldwide income. The US-Mexico tax treaty prevents double taxation in most circumstances, income taxed in Mexico generates a credit against US tax obligations. But navigating the treaty correctly requires a tax professional who understands both systems. Budget $500 to $1,500/year for expat-focused tax preparation if you cross or approach the threshold.
The 183-day rule: what actually makes you a tax resident
Mexico does not have a day-count test for individual tax residency. Under Article 9 of the Federal Tax Code, the Código Fiscal de la Federación, an individual is a Mexican tax resident if they have established their permanent home, their casa habitación, in Mexico.
If they also have a home in another country, Mexico then looks at where their center of vital interests sits, and it is in Mexico only if more than 50 percent of their total income in the calendar year comes from Mexican sources, or Mexico is the main place of their professional activities.
The 183-day figure does exist in Mexican tax rules, but elsewhere: in tax treaties, mostly for employment income, and in withholding rules for non-residents. It is not the test that makes you a resident. What that means for an H-1B holder working remotely for a US employer is that days alone do not settle the question either way.
Spending fewer than 183 days in Mexico does not automatically keep you a non-resident if your home and your economic life are in Mexico, and spending more than 183 days does not automatically make you a resident if you have no permanent home in Mexico and your income is entirely US sourced.
Count the days, but decide on the home and the income. The full comparison is in the remote work guide, and the residency route itself is in the temporary residency guide.
Your H-1B status while living in Mexico: the US side
Your H-1B authorization is issued by USCIS to work for a specific employer in the US. Working remotely from Mexico is a US immigration compliance question, not a Mexican one. Some H-1B employers explicitly permit remote work from abroad; others’ policies are ambiguous or silent.
USCIS guidance on H-1B compliance during remote work abroad has been evolving. Review your employment agreement and consult a US immigration attorney if you plan an extended Mexico stay, particularly if it approaches or exceeds 183 days.
Practical path by duration

- Under 183 days per year, working remotely for US employer: tourist or Temporary Resident entry; days alone do not settle tax residency, so check your home and income picture with a cross-border tax professional; USCIS compliance is the other open question
- 180+ days per entry: switch to Temporary Residency (no tourist-to-resident conversion, must be applied for at a consulate before entering)
- Over 183 days in a calendar year, or with a home established in Mexico: plan for a tax-residency review and engage an expat-focused accountant before year-end
- Wanting to work for Mexican clients or employers: consult a Mexican immigration attorney on work authorization options
The employer conversation: what to get in writing before you move
Mexican law is only half of this move. The other half is your H-1B, and that half is decided in the US, by your employer and by USCIS, not by anything in Mexico. This guide already says that some H-1B employers explicitly permit remote work from abroad, others are ambiguous or silent, and USCIS guidance on remote work abroad has been evolving.
That is the whole point of this section: get the answer in writing before you move, while you still have leverage and a US address.
- Written permission to work remotely from Mexico, not a verbal yes. Ask for the approval, the dates it covers, and any conditions, in an email or a letter you can keep. A verbal yes from a manager does not survive a policy change or a new manager.
- The employment agreement, read again. Check what it says about work location, tax withholding, and where you are expected to be. If it names a US work site, ask how remote work from Mexico fits it, and get the answer in writing too.
- A US immigration attorney, before the move, not after. This guide says it twice because it matters twice: the attorney advises on the H-1B side, and a cross-border tax professional advises on the tax side. Budget for both before you move, not out of the first paycheck in Mexico.
- A plan for the paperwork that only happens in the US. Any visa stamp you need comes from a US consulate, and any USCIS filing goes through your employer, so plan trips and filings around the move date rather than discovering them after it.
- A paper trail of where you worked. Keep the approval, the travel dates, and the pay records together. If anyone asks later where you were working and under what permission, the file answers it.
If your employer will not put it in writing, that is your answer: the move waits until the permission is clear. The route to residency is in the temporary residency guide, the tool that fits your situation is in the Visa Pathway Finder, and the city side of the decision is in the digital nomad city guide.
Essential resources
This is exactly the kind of nonstandard situation worth a Planning Session before you make any commitments to your employer or to Mexico.
Frequently asked questions
Can an H-1B holder live in Mexico and work remotely for a US employer?
Under Mexican rules, remote work for a foreign employer with income from outside Mexico is generally allowed on a tourist stay or Temporary Residency. Whether your H-1B employer permits it is a separate US question, so check with your employer and an immigration attorney.
Does spending 183 days in Mexico automatically make me a tax resident?
Not by itself. Mexican tax residency generally turns on where your home or center of vital interests is, and 183 days appears in treaty tests. Days still matter, so speak with a cross-border tax professional about your situation.
Can I work for a Mexican company on regular Temporary Residency?
Standard Temporary Residency does not include work authorization. Working for a Mexican employer or earning Mexican-source income needs a separate work permission from INM, which carries its own fee. Confirm the current process with INM or an immigration professional.
Does my H-1B status matter to Mexican immigration officers?
No. Your US visa neither adds rights nor creates restrictions in Mexico. You enter as a foreign national under Mexico’s own immigration rules, and your Mexican status is evaluated on its own terms, not on your US work visa.
Can I own a Mexican company while on Temporary Residency?
Foreign nationals can form and own Mexican companies such as an SA de CV or SRL, including as Temporary Residents. Actively working in it, such as serving Mexican clients or acting as a salaried director, needs work authorization. Confirm details with a professional.
Keep reading: Can You Work Remotely From Mexico Legally? Visas, Taxes, and Stay Limits in 2026 and Digital Nomad Guide to Mexico 2026.
Before you act: Requirements, fees, eligibility rules, and local processes can change. Before making a financial, legal, medical, tax, insurance, immigration, or residency decision, confirm the current requirements with official sources and, when appropriate, a qualified professional.
Related reading: the legal and tax basics of remote work in Mexico, the digital nomad city guide, and internet speed by city.
Official sources
Check figures and requirements against the official pages before you act; fees and thresholds change.
- Instituto Nacional de Migración (INM): immigration status, procedures and fees.
- Mexican consulates (SRE): visa requirements by consulate.
Additional details
Verified November 2026 against Article 9 of the Federal Tax Code and the PwC Mexico residence summary, as reported below.
Sources:
- Código Fiscal de la Federación: Federal Tax Code.
Last verified: November 2026 by Paul Green. Next review: January 2027, at the UMA reset.
The $500 to $1,500 a year figure for expat-focused tax preparation is this guide’s published figure; confirm the current figure before you rely on it. The statement that work for a Mexican employer needs work authorization, and that owning a Mexican company as a Temporary Resident is allowed while actively working in it needs authorization, is this guide’s published position; confirm the current process with INM or a Mexican immigration professional. Nothing in this guide is legal or tax advice.
Where to go next. The full comparison is in the remote work guide, the residency route is in the temporary residency guide, the tool that fits your situation is in the Visa Pathway Finder, and the money side is in the sending money comparison.








