Selling Mexican property triggers ISR capital gains tax — but a residency exemption can wipe it out entirely. Here is how the tax is calculated, what you can deduct, and the legal strategies that save foreigners real money.
2026-07-10
When you sell property in Mexico, the seller — not the buyer — owes capital gains tax, known as ISR (Impuesto Sobre la Renta). For foreigners this is the single biggest variable between “I made money” and “I broke even,” and it is the area where good planning saves the most. The tax can range from effectively zero to roughly 35% of your gain, depending on how you structured ownership and whether you qualify for the residency exemption.
The notary calculates and withholds this tax at closing, so you cannot ignore it. But you can plan for it — and many foreigners overpay simply because they never learned the rules.
You are taxed on the gain, not the sale price. In simplified terms:
Gain = Sale Price − (Adjusted Acquisition Cost + Documented Deductions)
The notary then applies ISR to that gain. There are two calculation methods, and the notary generally uses the one that produces the correct legal result:
For most sellers who can document their basis, the net-gain method is far more favorable than any flat-on-gross calculation.
Mexican law provides a capital gains exemption on the sale of your primary residence (casa habitación). This is the strategy that legally reduces the tax to zero for qualifying sellers. To claim it you generally must demonstrate:
The requirement that trips up foreigners is not the visa — it is the paper trail proving residence. Tourists holding property on a tourist entry, or owners who never established a Mexican tax profile, do not qualify no matter how long they “lived” there in practice.
Even without the full exemption, you can substantially reduce taxable gain with proper documentation. Deductible items typically include:
The recurring theme: facturas or it didn’t happen. A $60,000 renovation paid in cash to an informal contractor with no CFDI invoice is, for tax purposes, invisible. It will not reduce your gain by a single peso.
A foreigner sells a condo for $400,000 USD, bought years earlier for $250,000 USD, with $40,000 USD of properly invoiced improvements and $20,000 USD in documented selling costs.
| Scenario | Taxable Gain | Approx. Tax Owed | Net After Tax |
|---|---|---|---|
| No documentation, flat method | ~$400,000 (gross basis) | Very high (up to ~$100,000) | ~$300,000 |
| Documented basis, no exemption | ~$90,000 net gain | ~$27,000 (progressive) | ~$373,000 |
| Qualifies for residency exemption | $0 (within cap) | $0 | ~$400,000 |
The spread between the worst case and the best case here is roughly $100,000 USD — entirely a function of paperwork and planning done before the sale, not after.
In Mexico the notary legally calculates, withholds, and remits the capital gains tax at closing. This is not optional and not something you settle later with the tax authority yourself. Practical consequences:
The recurring lesson across every strategy above is that the exemption and deductions depend on documentation you must build years before you sell. The most valuable single action a foreign owner can take is to establish a Mexican tax identity early:
None of this can be manufactured in the weeks before a sale. The owner who sets it up on day one has options the owner who waits does not.
If you have no Mexican tax residency at all and sell, the transaction is generally treated under non-resident rules, and the notary applies a withholding that can be calculated on the gross sale price rather than the net gain. This is often far more painful than the resident, net-gain calculation.
This is precisely why residency status matters beyond the exemption: even when you don’t qualify for a full exemption, being a documented tax resident with an RFC typically lets the notary use the more favorable net-gain method with your indexed basis and deductions — instead of a blunt tax on the gross price.
A word for US and Canadian sellers: paying ISR in Mexico does not end your obligations at home.
Do not assume the Mexican tax is the whole story. Plan both sides.
Capital gains tax in Mexico is not a fixed penalty — it is a range, and where you land in that range is decided by decisions you make years earlier. The residency exemption can eliminate the tax entirely for a qualifying primary home, and even without it, disciplined documentation of your basis and improvements can cut the bill dramatically. The foreigners who overpay are almost always the ones who never kept the paperwork.
If you are thinking about selling — or even buying with an eventual sale in mind — the Mexico Living team can help you understand your projected ISR exposure and set up the documentation that protects your net proceeds. Book a call or reach out on WhatsApp before you list, not after.
Schedule a free consultation with our Yucatán real estate specialist.
💬 Chat on WhatsApp