ISR when selling: estimate the gain on your sale
When you sell a property in Mexico, the main tax is income tax (ISR), and it is paid on the gain: the difference between what you sell it for and what it cost you, not on the full price. This tool helps you estimate that gain, which is the starting point of the notary’s calculation, and reminds you of the primary-residence exemption. It does not calculate the ISR, because the notary does that with the legal adjustments and the ISR tables, but it gives you a clear idea of where you stand.
Estimate
Enter the sale price and the purchase price, and press “Calculate the gain” to see the result.
- Cost considered (purchase plus improvements and buying and selling costs)
- Estimated gain (before the adjustments the notary makes)
The exact ISR is calculated and withheld by the notary, on the adjusted gain and according to the ISR tables; this tool only estimates the gain, not the tax. Keep the invoices for your improvements: properly invoiced, they lower the gain.
Is it the home you live in? The primary-residence exemption
If you sell the home you live in, the Income Tax Law (Article 93) lets you pay no ISR as long as the sale amount does not exceed 700,000 UDIS (around 6,259,485 pesos at the UDI value of November 28, 2026, a peso figure that rises with inflation), the sale is signed before a notary, and you have not used this same exemption in the previous three years.
If you sell for more than that cap, you only pay ISR on the part of the gain that corresponds to the excess. Your notary or accountant confirms whether you qualify.
An estimate, not tax advice
This tool estimates the gain (sale minus purchase, minus improvements and costs). It does not calculate the ISR and is not tax advice: the exact tax depends on the ISR tables, on the inflation adjustment of the cost, on the depreciation of the building and on your situation, and it is calculated by the notary.
If you are not a tax resident of Mexico, the primary residence exemption does not apply to you and ISR is calculated differently: 25 percent of the sale price, with nothing deducted, or, if you so choose, 35 percent of the gain (sale price minus the inflation-adjusted cost, improvements and expenses). When the sale is made by public deed, the law does not require a representative in Mexico for that option. In both cases the notary calculates the tax, withholds it and pays it to the tax authority within 15 days of the signing. The option based on the gain is almost always better; your notary will tell you which one works out best for you.
Before selling, confirm the figures with a notary or an accountant. We are glad to support you along the way.
Figures current in 2026, last reviewed September 28, 2026. They change every year; confirm them with a notary or accountant.
Selling and want the numbers clear?
At no cost and with no obligation, we help you organize your papers (purchase deed, improvement invoices) so the notary can give you the exact ISR calculation.