Tax residence in Mexico: do you pay taxes if you work from Mexico for clients abroad?

More and more foreigners live in Mexico and work remotely for a company or for clients in another country. From an immigration standpoint that is allowed: remote work paid from abroad is not a paid activity in Mexico (we explain it in Non-paid activities in Mexico and Does Mexico have a digital nomad visa?). Taxes are a different matter: tax residence is not decided by your resident card, but by the Federal Tax Code.

When you are a tax resident in Mexico

  • When you establish your home in Mexico: the place where you live, rented or owned. It does not count if you only come on vacation and your life is in another country (Article 5 of the Federal Tax Code Regulations).
  • If you have a home in Mexico and also in another country, you are a resident in Mexico when your center of vital interests is here: if more than 50% of your income for the year comes from Mexican sources, or if your main center of professional activities is here (Article 9, section I, paragraph a, of the Federal Tax Code).

So having temporary or permanent residence does not automatically make you a tax resident, and entering as a tourist does not exempt you either: what counts is where you live and where your economic life is.

Your salary can be “Mexican” even if you are paid from abroad

The Income Tax Law (Article 154) says a salary has its source in Mexico when the work is done in Mexico. It does not matter where the company is or which account you are paid into. If you live here and work from here, more than half of your income is most likely from Mexican sources and you are most likely a tax resident in Mexico.

What being a Mexican tax resident means

  • You pay income tax in Mexico on all your income, from any country (Article 1, section I, of the Income Tax Law).
  • You must register with the RFC (Mexico’s taxpayer registry) if you have to file tax returns (Article 27 of the Federal Tax Code). The SAT gives you the following month after the obligation arises.
  • You can credit (subtract) the income tax you paid in the other country on that same income, within the limits of the law (Article 5 of the Income Tax Law), so you do not pay twice.

If you are an employee of a foreign company

  • If your employer does not withhold Mexican tax, you make monthly provisional payments by the 17th of the following month (Article 96 of the Income Tax Law).
  • You file an annual tax return in April of the following year, because your salary comes from a foreign source or from someone not required to withhold (Articles 98, section III, and 150 of the Income Tax Law).

If you work on your own for clients abroad

  • As an independent professional (design, programming, consulting, etc.), you make monthly provisional payments by the 17th of the following month (Article 106 of the Income Tax Law) and file your annual return in April.
  • VAT on services you provide to clients abroad has its own rules: review it with your accountant.

When you remain a tax resident abroad

If you do not have a home in Mexico, for example if you come for seasons as a tourist and your life remains in your country. In that case, a salary paid by a foreign company without a permanent establishment in Mexico is not taxed here, as long as your stay in the country is under 183 days, consecutive or not, in a 12-month period (Article 154 of the Income Tax Law). Beyond 183 days, it is taxed.

If two countries consider you a resident

Mexico and your country may both consider you a tax resident at the same time. For those cases there are tax treaties to avoid double taxation, which say which country takes precedence. You need to review the treaty between Mexico and your country, if there is one.

If you stop living in Mexico

You must notify the SAT of the change of tax residence within the 15 days before it happens. If you do not, you remain a Mexican tax resident (Article 9, last paragraph, of the Federal Tax Code).

Two examples

  • Ana has temporary residence based on economic solvency, rents an apartment in Mexico City and works from there for a Canadian company that pays her in Canada. She lives here and her work is done here: she is very likely a tax resident in Mexico and must report her salary.
  • John lives in the United States, where his home is, and comes to Mexico three months a year as a tourist, working online for his US company. He has no home in Mexico and his stay is under 183 days: he remains a US tax resident and his salary is not taxed in Mexico.

Frequently asked questions

Does temporary residence make me a tax resident in Mexico?

Not automatically. Immigration residence and tax residence are different things. You are a tax resident if your home is in Mexico or, if you have a home in two countries, if your center of vital interests is here.

If I am paid into a foreign account, do I still pay taxes in Mexico?

Yes, if you work from here. For income tax what matters is where you do the work, not where you are paid. If you work from Mexico, your salary has a Mexican source.

Do I need an RFC?

If you are a tax resident in Mexico and have to file tax returns, yes: you must register with the RFC.

Will I pay taxes twice?

Not necessarily. You can credit the income tax paid in the other country on the same income and, if there is one, apply the tax treaty to avoid double taxation.

What if I come as a tourist for less than 183 days a year?

If you have no home in Mexico and your employer is abroad with no permanent establishment here, your salary is not taxed in Mexico.

Every case is different: review your situation with an accountant before you move. At Visasmex we help you with the immigration side: temporary residence › and permanent residence ›. Fill out our contact form and receive your formal quote in less than 24 hours.

Visasmex

Immigration lawyers since 2006.
We work throughout Mexico and from abroad.

Contact

  • CDMX: Montecito 38, WTC, Col. Nápoles, Benito Juárez, 03810 CDMX
  • Monterrey, N.L.
  • +52 55 9001 5172
  • WhatsApp +52 56 3598 9048
  • info@visasmex.com
  • Monday to Friday, 9 am to 6 pm (Mexico City time, GMT-6) · Online service throughout Mexico and from abroad · In-person meetings by appointment only, subject to professional fees
Contact us ›