Skip to content

Tax residency basics

Who Mexican tax law treats as a tax resident, what that means for the income tax, and why your immigration card does not answer the question. This page shows what the texts say. Whether you are a tax resident is a question for a qualified tax adviser (“contador público”) or a tax lawyer when you have homes or income in more than one country.

Tax residency and immigration residency are two different questions. Tax residency is decided by the tax code, the Código Fiscal de la Federación, article 9.LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9. Checked 29 November 2026.Your immigration status (visitor, temporary resident, permanent resident) is set by the Ley de Migración and decided by the Instituto Nacional de Migración (INM).LawLey de Migración (opens in a new tab), art. 52, first paragraph; art. 20, fracción III. Checked 29 November 2026.The tax authority is the Servicio de Administración Tributaria (SAT).LawLey del Servicio de Administración Tributaria (última reforma DOF 04-12-2018) (opens in a new tab), art. 1o. Checked 29 November 2026.Article 9 does not mention immigration status. See tax residency vs immigration residency below.

What this is

Article 9 of the Código Fiscal de la Federación (the federal tax code, “CFF”) says who is resident in Mexico for tax purposes. It opens: “Se consideran residentes en territorio nacional:” (the following are considered residents in national territory).LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, first line. Checked 29 November 2026.Fracción I covers individuals (“personas físicas”). Fracción II covers companies and is not covered here.LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracciones I and II. Checked 29 November 2026.

Tax residency matters because the income tax (“impuesto sobre la renta”, ISR) taxes residents and non-residents on different income. See what the law requires.LawLey del Impuesto sobre la Renta (consolidated text, última reforma DOF 13-11-2026; under that decree's Transitorio Único it applies from 1 January 2027) (opens in a new tab), art. 1. Checked 29 November 2026.

Who it applies to

The tests in article 9, in the order the article gives them

  1. Home (“casa habitación”). An individual is resident if they have set up their home in Mexico: “Las que hayan establecido su casa habitación en México.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, inciso a). Checked 29 November 2026.
  2. A home in another country too. If the person also has a home in another country, they are also considered resident in Mexico if their centre of vital interests (“centro de intereses vitales”) is in Mexico: “Cuando las personas físicas de que se trate también tengan casa habitación en otro país, se considerarán residentes en México, si en territorio nacional se encuentra su centro de intereses vitales.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, inciso a). Checked 29 November 2026.The article says the centre of vital interests is in Mexico when, “entre otros casos” (among other cases), either of these applies:LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, inciso a). Checked 29 November 2026.
    1. More than 50% of the person's total income in the calendar year has its source in Mexico: “Cuando más del 50% de los ingresos totales que obtenga la persona física en el año de calendario tengan fuente de riqueza en México.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, inciso a), numeral 1. Checked 29 November 2026.
    2. The main centre of their professional activities is in Mexico: “Cuando en el país tengan el centro principal de sus actividades profesionales.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, inciso a), numeral 2. Checked 29 November 2026.
    Our note“Entre otros casos” means the two cases are examples, not a complete list. The article does not say what the other cases are.
  3. Mexican state officials and workers. Mexican nationals who are officials or workers of the State are resident even if their centre of vital interests is abroad: “Las de nacionalidad mexicana que sean funcionarios del Estado o trabajadores del mismo, aun cuando su centro de intereses vitales se encuentre en el extranjero.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, inciso b). Checked 29 November 2026.
  4. Presumption for Mexican nationals. Unless they prove otherwise, Mexican nationals are presumed to be resident: “Salvo prueba en contrario, se presume que las personas físicas de nacionalidad mexicana, son residentes en territorio nacional.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, fracción I, last paragraph. Checked 29 November 2026.
  5. Leaving for a preferential tax regime, or not proving the new residence. A person does not stop being resident in Mexico if they do not prove their new tax residence, or if they prove it but the move is to a country or territory where their income is under a preferential tax regime (“régimen fiscal preferente”): “No perderán la condición de residentes en México, las personas físicas o morales que omitan acreditar su nueva residencia fiscal, o acreditándola, el cambio de residencia sea a un país o territorio en donde sus ingresos se encuentren sujetos a un régimen fiscal preferente en los términos del Título VI, Capítulo I de la Ley del Impuesto sobre la Renta.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, paragraph after fracción II. Checked 29 November 2026.This applies in the fiscal year in which the notice (point 7) is filed and for the 5 fiscal years after it: “Lo dispuesto en este párrafo se aplicará en el ejercicio fiscal en el que se presente el aviso a que se refiere el último párrafo de este artículo y durante los cinco ejercicios fiscales siguientes.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, paragraph after fracción II. Checked 29 November 2026.
  6. The exception. The previous rule does not apply when the country of the new tax residence has both a broad tax information exchange agreement with Mexico and an international treaty on mutual administrative help with notifying and collecting taxes: “No se aplicará lo establecido en el párrafo anterior, cuando el país en el que se acredite la nueva residencia fiscal, tenga celebrado un acuerdo amplio de intercambio de información tributaria con México y, adicionalmente, un tratado internacional que posibilite la asistencia administrativa mutua en la notificación, recaudación y cobro de contribuciones.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, second paragraph after fracción II. Checked 29 November 2026.Our noteThe article refers to the “régimen fiscal preferente” definition in the income tax law (Título VI, Capítulo I). We have not read that chapter. Anyone relying on this rule or its exception needs a professional.
  7. Notice when you stop being resident. Anyone who stops being resident in Mexico under the code must file a notice with the tax authorities at the latest within the 15 days immediately before the day the change of tax residence happens. If they do not file it, they do not lose their status as residents: “deberán presentar un aviso ante las autoridades fiscales, a más tardar dentro de los 15 días inmediatos anteriores a aquél en el que suceda el cambio de residencia fiscal. Cuando las personas físicas o morales omitan presentar dicho aviso, no perderán la condición de residentes en México.”LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9, last paragraph. Checked 29 November 2026.SAT's procedure sheets add an earliest date: the notice can be filed up to 2 months ahead (“o máximo con dos meses de anticipación”). Sheet 28/CFF (update of economic activities, for a person who changes tax residence and keeps an economic activity in Mexico) and sheet 30/CFF (suspension of activities) both say so. Article 9 itself gives no earliest date.Official pageAnexo 2 de la Resolución Miscelánea Fiscal para 2026, compilación del SAT (incluye la Primera Modificación, DOF 17-07-2026, y la Segunda Modificación, DOF 01-10-2026) (opens in a new tab), ficha 28/CFF and ficha 30/CFF, ¿Cuándo se presenta?. Checked 29 November 2026.Sheet 28/CFF also says that filing the notice does not on its own settle who is resident: “La presentación del aviso de cambio de residencia fiscal, es sin perjuicio de la aplicación de los criterios para considerar residente para efectos fiscales en México a una persona de conformidad con los artículos 9 del CFF y 4 de los tratados para evitar la doble tributación que México tiene en vigor”. (“Es sin perjuicio” means it does not affect those tests.)Official pageAnexo 2 de la Resolución Miscelánea Fiscal para 2026, compilación del SAT (incluye la Primera Modificación, DOF 17-07-2026, y la Segunda Modificación, DOF 01-10-2026) (opens in a new tab), ficha 28/CFF, Información adicional. Checked 29 November 2026.For a change of tax residence, sheet 28/CFF lists these requirements: an official document from the competent authority showing your tax ID in the country where you will be resident for tax purposes (or that it is in process), legalised or apostilled; and a document formalised before a fedatario público (a public official such as a notario) naming a legal representative who meets the requirements of article 174 of the LISR.Official pageAnexo 2 de la Resolución Miscelánea Fiscal para 2026, compilación del SAT (incluye la Primera Modificación, DOF 17-07-2026, y la Segunda Modificación, DOF 01-10-2026) (opens in a new tab), ficha 28/CFF, Requisitos para el cambio de residencia fiscal. Checked 29 November 2026.Our noteWhich sheet applies to you depends on your case. The texts we read do not say how the days are counted in practice. Ask a contador público.

Mexican citizens vs foreign residents

Temporary residents, permanent residents and visitors

The tax texts we read draw no distinction between temporary residents, permanent residents and visitors. We searched the full text of the CFF and of the income tax law (“Ley del Impuesto sobre la Renta”, LISR) for “residente temporal”, “residente permanente”, “tarjeta de residencia” and “visitante”, and found none of these words.LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), full text searched. Checked 29 November 2026.LawLey del Impuesto sobre la Renta (consolidated text, última reforma DOF 13-11-2026; under that decree's Transitorio Único it applies from 1 January 2027) (opens in a new tab), full text searched. Checked 29 November 2026.

Tax residency vs immigration residency vs RFC registration

Our noteOur reading of the text, not a statement from any official page: because article 9 uses only the tests above, a resident card does not by itself make you a Mexican tax resident, and a person without a resident card (for example, a visitor) can meet the article 9 tests. In the same way, having or not having an RFC does not by itself decide tax residency. No official page we found says this in those words.

Which office decides

Federal vs state and municipal rules

Article 9 is part of the Código Fiscal de la Federación, a federal code (its name says “de la Federación”).LawCódigo Fiscal de la Federación (última reforma DOF 09-04-2026) (opens in a new tab), art. 9. Checked 29 November 2026.The SAT applies tax and customs law.LawLey del Servicio de Administración Tributaria (última reforma DOF 04-12-2018) (opens in a new tab), art. 2o. Checked 29 November 2026.Our noteWe read no state or municipal tax law for this page. We do not say what state or municipal taxes apply to you or how they define residence.

What the law requires

What residents and non-residents are taxed on

Tax treaties

Mexico has treaties to avoid double taxation (“tratados para evitar la doble tributación”).Official pageSAT, Estado que guardan los convenios fiscales celebrados por México (febrero 2018) (opens in a new tab). Checked 29 November 2026.Our noteWhere two countries both treat a person as resident, a treaty can change the result. We have not read any treaty's wording on this.Treaty benefits apply only to taxpayers who prove they are residents of the treaty country and follow the treaty: “Los beneficios de los tratados para evitar la doble tributación sólo serán aplicables a los contribuyentes que acrediten ser residentes en el país de que se trate y cumplan con las disposiciones del propio tratado”. The article adds that they must also follow the procedure in the LISR, including filing information on their tax situation (CFF art. 32-H) or a financial statements report where that applies (CFF art. 32-A), and naming a legal representative.LawLey del Impuesto sobre la Renta (consolidated text, última reforma DOF 13-11-2026; under that decree's Transitorio Único it applies from 1 January 2027) (opens in a new tab), art. 4, first paragraph. Checked 29 November 2026.

The readable official list of Mexico's treaties that we found is a February 2018 list on a SAT page (“Información actualizada, febrero 2018”). It is old, so we do not list treaties here.Official pageSAT, Estado que guardan los convenios fiscales celebrados por México (febrero 2018) (opens in a new tab). Checked 29 November 2026.We could not read SAT's current treaty list: the address we tried sends you to the SAT home page.Our noteTreaty questions, including which country a treaty treats you as resident in, need a contador público or a tax lawyer.

Which version of the income tax law we read

Our noteThe consolidated LISR now says “Última reforma publicada DOF 13-11-2026”, the same latest reform the Cámara de Diputados reform page lists. That reform applies from 1 January 2027 and does not change articles 1, 4, 154 or 156, the ones this page cites.LawLey del Impuesto sobre la Renta (consolidated text, última reforma DOF 13-11-2026; under that decree's Transitorio Único it applies from 1 January 2027) (opens in a new tab). Checked 29 November 2026.Official pageCámara de Diputados, reformas a la Ley del Impuesto sobre la Renta (última reforma publicada DOF 13-11-2026) (opens in a new tab). Checked 29 November 2026.That decree takes effect on 1 January 2027.LawDecreto que reforma la Ley del Impuesto sobre la Renta (DOF, 13 Nov 2026; en vigor 1 Jan 2027) (opens in a new tab), Transitorio Único. Checked 1 December 2026.The decree's Artículo Primero lists the articles of the income tax law that it changes, adds or repeals. Articles 1 and 4 are not in that list.LawDecreto que reforma la Ley del Impuesto sobre la Renta (DOF, 13 Nov 2026; en vigor 1 Jan 2027) (opens in a new tab), Artículo Primero. Checked 1 December 2026.

Legal obligation vs our recommendation

Steps

Our noteThere is no single official procedure to “become” a tax resident; article 9 sets tests, not an application. The only procedure in article 9 is the notice on leaving. The SAT procedure sheets for it are 28/CFF and 30/CFF in Anexo 2 (see the time limits above); which one applies to your case is a question for a contador público.

Documents

Our noteArticle 9 does not list documents. We have not read which documents SAT asks for to prove residence. For the notice on leaving, see the requirements of sheet 28/CFF above.

Fees

Our noteThe texts we read set no fee for any of this.

Time limits

Forms and official links

What happens afterwards

Common mistakes

When to ask a contador

Our noteThis site does not give tax advice. We suggest you speak to a contador público (a qualified Mexican public accountant) before you register in the RFC or choose a tax regime; when you start, change or leave a job or other paid activity; when you have income from abroad, or more than one kind of income; in any year you arrive in or leave Mexico; when you are not sure whether you are a tax resident; and whenever SAT asks you for information or a payment you do not understand.

Bought the Residency Planner? Its saved-cases tool has a step-by-step checklist for this: “Working out your tax residency” (My cases). It stays in your browser, we never receive it, and it decides nothing for you.

Related pages

Found a mistake? Tell us on the sources page.