I Work Remotely for a US Company – Do I Owe Taxes in Mexico?
Your paycheck comes from a company in Texas, your laptop sits on a desk in Oaxaca or Mérida, and a friend at the coworking space swears you only owe Mexican tax after a certain number of days. That is the most common myth I hear. This guide explains how Mexico actually decides who is a tax resident, what that means for a remote employee of a US company, and which steps keep you on the right side of both countries.
Disclosure: This post may contain affiliate links. We may earn a commission at no extra cost to you if you make a purchase through these links. Read full disclosure.
How Mexico Decides Whether You Are a Tax Resident
When I first started working remotely from Mexico, I did what everyone does: I asked around. Half the people I spoke to quoted a day count they had heard from someone else, and the other half said “nobody checks, so it doesn’t matter”. Both answers were wrong. Mexico has a clear legal definition of tax residency, and it is not a calendar test.
The Rule in Article 9 of the Federal Tax Code
Mexican tax residency for individuals is defined in Article 9 of the Federal Tax Code, the Código Fiscal de la Federación. The core rule is simple to state: you are a Mexican tax resident if you have established your home, your casa habitación, in Mexico.
That is the starting point, and for many remote workers it settles the question on its own. If you have given up your apartment back home, shipped your belongings, signed a long-term lease in Guadalajara and Mexico is now where you live, you have very likely established your home here. At that point, Mexico considers you a resident for tax purposes, regardless of where your employer is based or which bank account your salary lands in.
When You Have a Home in Two Countries
Plenty of remote workers keep a home in the United States while also living in Mexico. Article 9 covers that situation too. If you also have a home in another country, you are a Mexican tax resident when your center of vital interests is in Mexico.
The law gives examples of when the center of vital interests is in Mexico. Among others, it is the case:
- when more than 50% of your total income in the calendar year comes from Mexican sources, or
- when your main professional activities are in Mexico.
For a remote employee, the second test deserves real attention. If your work is physically done from your desk in Mexico, it is worth asking a qualified accountant how that affects where your professional activities are considered to be centred, and how your salary is treated for the income-source test. These are fact-specific questions, and the answer depends on your whole situation, not on one detail.
Mexican Nationals Are Presumed Resident
If you hold Mexican nationality, including dual nationals who grew up abroad, the law presumes that you are a Mexican tax resident unless you prove otherwise. This catches many people by surprise, especially those who have a Mexican parent and recently got their Mexican passport. If that is you, do not assume you are outside the system just because you were raised in the US.
Why the Day-Count Myth Is Wrong for Mexico
Mexican law does not use a physical presence test based on counting days. That is the single most important point in this article. Some other countries do decide residency by counting the days you spend there, and some tax treaties use day counts in specific situations, which is probably where the confusion comes from. But for Mexico’s own definition of a tax resident, the question is where your home is and, if you have more than one, where your center of vital interests is.
In practice, this cuts both ways. Someone who moves into a permanent home in Puerto Vallarta can be a Mexican tax resident from the moment that home is established, even if they arrived recently. And someone who travels in and out without establishing a home here is not made a resident simply by passing some number of days.
| Question | What it means under Mexican law |
|---|---|
| Have you established your home in Mexico? | If yes, you are generally a Mexican tax resident |
| Do you also have a home in another country? | Then residency depends on where your center of vital interests is |
| Does more than 50% of your total income in the calendar year come from Mexican sources? | If yes, your center of vital interests is in Mexico |
| Are your main professional activities in Mexico? | If yes, your center of vital interests is in Mexico |
| Are you a Mexican national? | You are presumed resident unless you prove otherwise |
| How many days have you spent in Mexico? | Not the test Mexican law uses for residency |
What Residency Means for a Remote Employee of a US Company
Once you understand the definition, the next question is practical: “So what do I actually owe?” The answer depends on whether you are resident and on how the US side of your life is set up.
If You Are a Mexican Tax Resident
A Mexican tax resident is generally taxed in Mexico on worldwide income. For a remote worker, that means your salary from a US company does not escape Mexican tax just because the payer is abroad. The fact that your employer is in the US and pays into a US bank account does not change your residency, which is about where you live.
In practice, a US employer with no Mexican presence usually does not withhold Mexican tax, so the responsibility for registering and paying lands on you. That typically means getting an RFC, the Mexican tax ID, and filing with the tax authority, the SAT. Our guide How to Get an RFC in Mexico for Work walks through the registration process, and Remote Employees of US Companies Living in Mexico: Withholding and Double Filing goes deeper into how the payments and the annual return work when no one is withholding for you.
If You Are a US Citizen or Green Card Holder
US citizens and green card holders are taxed by the United States on worldwide income wherever they live. So if you are an American who becomes a Mexican tax resident, you are dealing with two countries that both consider your salary taxable.
That sounds alarming, but the two systems have tools to prevent you from paying full tax twice. The US has mechanisms such as the foreign tax credit and the foreign earned income exclusion, and the United States and Mexico have an income tax treaty. Which tool works best depends on your income, your filing situation and the details of your employment, so this is a conversation to have with a cross-border tax professional rather than a decision to make from a blog post.
When Both Countries Claim You
Sometimes you meet the residency definition of Mexico and of the US at the same time. The income tax treaty between the two countries has tie-breaker rules for this situation, which look in order at factors such as where you have a permanent home, where your personal and economic ties are closer, where you habitually live and your nationality. A treaty tie-breaker does not remove a US citizen’s US filing obligation, but it can matter for how income is taxed and credited. Again, this is exactly where professional advice pays for itself.
Your Immigration Status Is a Separate Question
One more thing that confuses many people: your immigration status and your tax residency are decided under different rules. Entering as a visitor does not by itself make you a non-resident for tax purposes, and holding a residency card does not by itself make you a tax resident. The tax question is about your home and your center of vital interests. If you are unsure whether your remote work is allowed under your current status, read Remote Work Legalities: Do Digital Nomads Need a Visa or Permit in Mexico? alongside this guide.
Practical Steps to Get Compliant
Knowing the rules is one thing; turning them into action when the forms are in Spanish and the SAT website times out is another. Here is the order I would follow if I were starting today.
A Step-by-Step Plan
- Write down the facts of your situation: where your home is, whether you still have a home in the US, where your work is physically done, and what all your sources of income are.
- Book a consultation with a Mexican accountant (contador) who regularly works with foreigners, and if you are a US citizen, also with a US tax professional who knows Mexico. Ask them to look at your case together.
- Ask the accountant to confirm, in writing if possible, whether they consider you a Mexican tax resident under Article 9 and why.
- If you are resident, get your RFC and your e.firma (the electronic signature) so you can file and pay.
- Set up a system for the payments the accountant tells you to make during the year, since your US employer is unlikely to withhold Mexican tax for you.
- Keep proof of every payment and every return in both countries. You will need the Mexican records to claim credit on your US return, and vice versa.
- Review your situation whenever something changes: a move, a new employer, selling your US home, or starting freelance work on the side.
If you also take on freelance clients, the rules for invoicing and registration change, and Freelancing in Mexico: Registering, Invoicing, and Taxes for Independent Workers is the place to start. For Americans who are self-employed rather than employed, Self-Employed in Mexico, American on Paper: SE Tax and the Double Filing Problem covers the extra layer of US self-employment tax.
Talk to Your Employer Early
Many remote workers keep their location vague with their employer, hoping the issue never comes up. I understand the instinct, but it can backfire. A company with an employee working long-term from Mexico may have its own questions to answer, such as payroll obligations or whether its activities in Mexico create a taxable presence there. Some employers use an employer of record or a local entity to handle this; others may need you to change your setup. It is far better to have that conversation on your terms than to have it after an audit or a payroll review.
Dealing With the SAT in Spanish
The SAT portal, the appointment system and most of the letters you receive are in Spanish, and the vocabulary is specialised. Even people with decent conversational Spanish find words like “régimen”, “declaración anual” and “constancia de situación fiscal” intimidating at first. I spent a few weeks with SpanishPod101 before my first SAT appointment, focusing on formal phrases and numbers, and it made the difference between understanding the clerk and nodding blindly.
You do not need to be fluent to handle your taxes, but a bit of preparation helps you follow what your contador is doing and catch mistakes. Lessons on formal Spanish from SpanishPod101 or a similar course are worth fitting into your week, and Spanish for Remote Workers in Mexico: Enough Language to Live Well has a practical plan for exactly this situation.
Common Mistakes to Avoid
| Mistake | Why it causes problems |
|---|---|
| Relying on a day count to decide residency | Mexican law looks at your home and center of vital interests, not days |
| Assuming a foreign employer means no Mexican tax | Residents are generally taxed on worldwide income |
| Thinking a visitor entry means you are not a tax resident | Immigration status and tax residency follow different rules |
| Waiting for the employer to withhold Mexican tax | A US employer with no Mexican presence usually does not |
| Filing in only one country as a US citizen | The US taxes its citizens on worldwide income wherever they live |
| Not keeping payment records | You need proof in each country to claim relief in the other |
Real-Life Scenarios and Next Steps
The short version is this. Mexico does not ask how many days you spent here; it asks where you have established your home and, if you have homes in more than one country, where your center of vital interests is. If that is Mexico, your US salary is generally part of your Mexican taxable income, and you will most likely need to register and pay yourself.
A Realistic Example
Take Marcus, a software developer employed by a company in Seattle. He sells his condo, moves his furniture into a rented house in Querétaro, and works from there full time. He no longer has a home in the US. Under Article 9, he has established his home in Mexico, so he is a Mexican tax resident. As a US citizen he still files a US return, and his accountants use the available credits and the treaty to avoid full double taxation.
Now compare Sarah, who keeps her house in Denver, where her partner and children live, and spends a few winter months working from a rental in San Miguel de Allende. Her situation is less clear-cut, because she has a home in both countries, and the question becomes where her center of vital interests lies. That is a case for professional advice, not for a rule of thumb.
Where to Go Next
If you are just starting to explore the wider picture of working in Mexico as a foreigner, Do Expats Need to Pay Mexican Income Tax on Their Salary? gives a broader overview for employees of all kinds. If you want to feel less lost at the SAT office, a short daily SpanishPod101 lesson on numbers, dates and formal requests is a low-effort way to prepare. And whatever your situation, the best single step you can take this month is to sit down with a contador who works with foreigners and talk through your facts honestly.
Disclaimer
This article is for general informational purposes only and does not constitute professional advice. Laws, prices and regulations vary by location and change over time. Consult a qualified professional for guidance on your specific situation.