a calculator sitting on top of a table next to a laptop
Residency Guides

Mexico's Capital Gains Exemption on Property: Why Residency Matters When You Sell

By Reloca Team September 29, 2026 7 min read

Mexico's capital gains exemption on the sale of a primary residence is available to Mexican tax residents who hold an RFC, and it is not available to non-residents, who instead face a flat rate of up to 35% on the net gain. If you own Mexican property and expect to sell it one day, the status you hold at the moment of sale can be worth more than everything else on this page combined.

There is an important trap in that sentence, and most articles on this subject walk straight into it. Immigration residency and tax residency are two different things, and holding a resident card does not automatically give you the second one.

This is a general guide, not tax advice. The amounts involved are usually large enough that a Mexican notario and a cross-border tax professional are worth their fee before you sell.

Key Takeaways

The Two Tests, Kept Separate

This distinction causes more expensive mistakes than any other topic in Mexican expat finance, so it is worth being precise.

Immigration residencyTax residency
Decided byINMSAT, Mexico's tax authority
EvidenceTemporary or permanent resident cardWhere your main home and centre of vital interests sit
How you get itConsulate application, then canje at INMFollows from your circumstances, registered via RFC
Grants the exemption?No, not on its ownYes, alongside the other conditions

You can hold a permanent resident card, spend three months a year in Mexico, and not be a Mexican tax resident. You can also be treated as a tax resident in ways that carry obligations, including on worldwide income, which is a serious consideration in its own right. Our post on Mexican tax on worldwide income covers that side.

Where the two connect in practice is documentation. Getting an RFC, and a CURP before it, is straightforward for a legal resident and awkward or impossible without residency. So immigration residency is generally the road to the paperwork the exemption requires, even though it is not the test itself. Our guides on getting an RFC as a foreign resident and CURP versus RFC cover the mechanics.

What a Non-Resident Pays

If you sell as a non-resident, the treatment is blunt. Mexican tax law applies a flat rate of up to 35% on the net gain for non-residents, and there is generally no primary residence exemption available to you. The buyer also withholds a percentage at closing.

On a property bought for $200,000 USD and sold for $400,000 USD, the gain before allowable deductions is $200,000. The difference between a flat-rate outcome and an exempted one is frequently in the tens of thousands of dollars.

That figure is why this topic belongs in any serious plan for owning Mexican property. People spend months negotiating a 3% commission and give no thought to a tax line an order of magnitude larger.

Not sure whether you meet Mexico's 2026 numbers?

See if you qualify → Free · 8 questions · 60 seconds

What the Resident Exemption Requires

The primary residence exemption for physical persons who are Mexican tax residents is measured in UDIS, an inflation-indexed unit, and the threshold covers a substantial sale value. Meeting it generally requires all of the following.

That last point deserves emphasis. The notario is not a rubber stamp. They carry legal responsibility for the calculation, and they will apply the non-resident treatment if your documentation does not satisfy them. Turning up at closing hoping to argue is not a strategy.

Why Timing Decides This

Every requirement on that list takes time to build. Tax residency is a question of circumstances over a period. Primary residence evidence accumulates over years of utility bills. An RFC requires residency first, and residency requires a consulate appointment that may be weeks or months out.

None of it can be assembled in the weeks before a closing. If selling is anywhere in your plan, even years out, the sequencing starts now rather than then.

If you own Mexican property and have been putting off residency, this is the concrete financial argument for dealing with it. It takes under a minute to check the 2026 requirements for your consulate and see where you stand. Our post on buying a house in Mexico and qualifying for residency covers the sequencing for buyers who have not yet purchased.

The Other Side: What Residency Costs You

Be even-handed about this. Becoming a Mexican tax resident is not a free upgrade.

Mexican tax residents are generally taxable on worldwide income, not just Mexican income. For an American, US citizenship-based taxation continues regardless, and the US-Mexico tax treaty and foreign tax credits determine how the two systems interact. For a Canadian, severing Canadian tax residency has its own consequences, including a possible departure tax.

The capital gains exemption can be worth a great deal. It is one line in a picture that needs to be looked at whole, with a cross-border professional, before you restructure anything. Our posts on US expat taxes in Mexico and the US-Mexico tax treaty cover the interaction.

For the authoritative rules, SAT publishes the ISR provisions on gob.mx, and the exemption for enajenación de casa habitación sits in the Ley del Impuesto sobre la Renta. Your notario works from that text, not from expat blogs.

Frequently Asked Questions

Does having a permanent resident card give me the exemption?

Not on its own. The exemption turns on tax residency plus an RFC plus primary residence evidence. The card makes those achievable and is usually a practical prerequisite, but it is not the test.

I rent my Mexican property out. Does it still count as a primary residence?

Generally not while it is producing rental income and you live elsewhere. The exemption is for a casa habitación, your actual home. Rental income also carries its own Mexican filing obligations.

How long do I need to have lived there?

Practice centres on demonstrating the property was genuinely your home, often evidenced over about three years of documentation in your name at the address. Your notario will tell you what they require.

Can I get an RFC without being a resident?

Non-residents can obtain an RFC in certain circumstances, but it does not by itself deliver the primary residence exemption, which depends on tax residency. An RFC alone is not the answer.

Is the exemption a fixed dollar amount?

No. It is expressed in UDIS, an inflation-indexed unit, so the peso value moves. Its dollar equivalent also moves with the exchange rate. Get the current figure from your notario near the time of sale.

Not sure whether you meet Mexico's 2026 income and savings numbers? See if you qualify in less than 60 seconds and we'll email you a step-by-step plan for your own consulate.

Do you actually qualify in 2026?

Answer 8 quick questions and we'll send you a step by step plan for your own consulate: the exact figures, your full document list, where to get things apostilled, and how to book.

See if you qualify →

Prefer to just talk to us?

Ask anything about your own situation. A real person answers, usually the same day. No pitch.

Message us on Messenger