← Elcano / Countries
🇲🇽

Mexico Tax Residency Rules

MX · MXN Legal basis checked on 22 October 2026

Mexico bases tax residency on where your home is, not on a day count. You are resident if your permanent home (casa habitación) is in Mexico; if you also keep a home abroad, your centre of vital interests decides. Spending more than 183 days in Mexico does not, by itself, make you resident.

Log your Mexico days Free, no signup required.

Residency threshold No fixed day count — Elcano uses 183 days as a reference
Counting window None for the home test; the income test looks at the calendar year
Primary test Permanent home (casa habitación) in Mexico
With a home abroad too Centre of vital interests: over 50% of income Mexican-sourced in the calendar year, or main professional activity in Mexico
Rule type Home and centre of vital interests (Article 9 CFF)
Complexity Complex — circumstances-based test
Tax year Jan 1 – Dec 31
Special regimes None broadly accessible for new residents
Schengen area No
Treaty network Moderate — tax treaties with ~65 countries
Official source SAT — Servicio de Administración Tributaria (sat.gob.mx) ↗

Legal basis

art. 9, fr. I, a) CFF — Código Fiscal de la Federación ↗

Las que hayan establecido su casa habitación en México.

The law does not set these 183 days; Elcano uses them as a reference. Checked against the official source on 22 October 2026.

Why 183 days do not decide residency in Mexico

Article 9 of Mexico's Código Fiscal de la Federación (CFF) sets no day count. A person who spends more than 183 days in Mexico without a home there is not resident on that count alone, and a person who spends fewer days can still be resident if their home and their centre of vital interests are in Mexico.

Days still matter as a record of where you actually live, and other countries do count them. Elcano uses 183 days as a reference for Mexico and says so: it is not a legal line.

The common miscalculation for Mexico is counting days. Staying under 183 days does not protect you if your home is in Mexico, and staying over 183 days does not make you resident if it is not. Keep a record of where your home is and where your income comes from, not only of your days.

The principal home test — casa habitación

Article 9 of the CFF makes you resident if you have established your permanent home (casa habitación) in Mexico. If Mexico is your only home, you are resident regardless of how many days you spent there.

Casa habitación — single home scenario

If you have a home only in Mexico — an apartment you own or rent under a long-term lease — and no home in any other country, you are a Mexican tax resident, however few days you spent there that year.

Centre of vital interests — multiple homes scenario

If you also have a home in another country, you are resident when your centro de intereses vitales is in Mexico: when more than half of your total income in the calendar year is Mexican-sourced, or when your main professional activities are in Mexico.

The casa habitación test is most relevant for permanent residents and long-term expatriates. Digital nomads who rent a short-term apartment in Mexico City for a few months typically do not have a casa habitación in Mexico — a hotel or Airbnb booking does not constitute a principal home. A year-long lease with furniture and personal effects likely does.

Non-resident taxation in Mexico

Individuals who are not Mexican tax residents — because they have no casa habitación in Mexico, or because their centre of vital interests is elsewhere — are still subject to Mexican tax on Mexican-sourced income. The SAT withholds these taxes at source.

Key rates for non-residents as of 2026:

Non-residents generally do not file a Mexican tax return if all income was subject to correct withholding. Mexican-source income subject to withholding is the final tax obligation for non-residents.

Track your Mexico days

Keep a record of your days in Mexico alongside the countries that do count them.

Open Mexico Calculator →

Frequently asked questions

Does Mexico have a 183-day rule?

No. Article 9 of the Código Fiscal de la Federación (CFF) sets no day count. You are a Mexican tax resident if you have established your permanent home (casa habitación) in Mexico; if you also have a home in another country, you are resident when your centre of vital interests is in Mexico. You can spend more than 183 days in Mexico without being resident (no home there), or fewer and still be resident (a home in Mexico plus your centre of vital interests there). Elcano uses 183 days only as a reference.

What is the casa habitación test?

If you have established your permanent home (casa habitación) in Mexico, you are a Mexican tax resident regardless of how many days you spent there. If you also have a home in another country, you are resident when your centre of vital interests is in Mexico: when more than half of your total income in the calendar year is Mexican-sourced, or when your main professional activities are in Mexico.

Is Mexican residency assessed over a calendar year or a window of days?

Neither, for the home test: Article 9 CFF looks at where your permanent home is, not at a count of days in a window. The income test of the centre of vital interests looks at the calendar year: more than half of your income in that year from Mexican sources.

What taxes do non-residents pay on Mexican income?

Non-residents are taxed only on Mexican-sourced income: 25% flat on employment income, 10% on dividends, 4.9–35% on interest, and 25% on rental income. Mexico withholds at source; non-residents generally do not file a return if withholding was applied correctly.

Do I need to file a Mexican tax return as a resident?

Yes. Residents file a declaración anual with the SAT by April 30. Mexican residents are taxed on worldwide income at progressive rates up to 35%. The SAT provides pre-filled returns for salaried employees, but individuals with foreign income or multiple sources must complete the full filing manually.

How do I formally exit Mexican tax residency?

Obtain a tax residency certificate from your new country confirming you are a tax resident there, then notify the SAT using the designated form (currently via the SAT online portal). There is a 15-day grace period after which the cessation takes effect. Income accrued during the period of Mexican residency remains subject to Mexican tax. A Mexican contador público should handle the filing to ensure it is correctly documented.

Related guides and tools

Tracking Mexico alongside other countries?

Elcano records your days in Mexico alongside every other jurisdiction — free, no signup required. For Mexico the 183 days are a reference, not the legal test.

Open Elcano

Need a compliance report for a tax advisor? Learn about the Advisor PDF →

This page is for informational purposes only and does not constitute tax or legal advice. Mexican tax residency rules under the Código Fiscal de la Federación are applied by the SAT on a facts-and-circumstances basis. Verify rules with the SAT (sat.gob.mx) and consult a qualified Mexican tax advisor (contador público) for your specific situation.