Selling your property

How to Calculate Your Taxable Gain When Selling Your Home

ISR on a home sale is calculated on your taxable gain, not the full sale price. We explain how it's determined and which deductions apply.

Carlos Mendoza

3 min read

Share

When selling a property in Mexico, many people assume the tax is calculated on the total sale price, but in reality the taxable gain on a home sale is the true basis for the ISR (income tax): the difference between what you receive from the sale and the inflation-adjusted acquisition cost, plus the permitted deductions. Understanding this calculation well helps you anticipate how much the notary public (notario público) will withhold at the time the deed is executed (escrituración) and plan the sale with greater financial certainty. It also lets you identify early which documents to gather in order to legally reduce the tax you owe.

Important notice

This article is for informational purposes only. Figures and conditions may vary depending on the bank, state, or time of contracting; confirm up-to-date information with the relevant institution or a certified advisor.

The basic calculation formula

In general terms, the taxable gain results from subtracting from the sale price the documented acquisition cost, adjusted for inflation using factors published by the tax authority (SAT), plus any improvements made to the property and the notary fees paid at the time of purchase. The notary public who formalizes the deed is the one who performs this calculation and determines whether ISR withholding applies or whether an exemption applies, such as the primary residence exemption (casa habitación) under certain requirements. Having the original invoices for the purchase and for any renovations is key to reducing the taxable base, since without supporting documents the calculation may end up using only the sale price as a reference, which unfairly increases the tax owed.

What can reduce your gain

There are authorized deductions that lower the taxable gain and, therefore, the tax you pay. Gathering the documentation for each of them before your appointment with the notary speeds up the process and prevents you from paying more than necessary. Among the most relevant are:

  • The original acquisition cost, adjusted for inflation according to the official factors.
  • Notary commissions and fees paid at the original purchase of the property.
  • Improvements, expansions, and renovations backed by a valid invoice.
  • Real estate commissions paid for brokering the current sale.
  • The partial or total exemption for a primary residence, if you meet the corresponding requirements.
  • Appraisal costs and certificates required to formalize the transaction.

The primary residence exemption

One of the most important tools for reducing or eliminating ISR on the sale of a property is the primary residence exemption (casa habitación), which applies when the property has been your main home. To access this benefit, the notary usually requires proof of address, official identification, and, in some cases, proof that you have not recently sold another primary residence using this exemption. The exact limit and conditions of the exemption may vary, so it is advisable to confirm them directly with the notary before signing, especially if the transaction value is high or if you have changed addresses several times in recent years.

ItemEffect on the calculation
Adjusted acquisition costReduces the taxable gain
Invoices for property improvementsReduces the taxable gain
Primary residence exemptionCan eliminate the ISR owed

Frequently asked questions

Is ISR paid on the total sale price?

No, it is calculated on the taxable gain, that is, the difference between the sale price and the adjusted acquisition cost, minus the deductions permitted by law.

Can I be exempt from paying ISR when I sell my home?

Yes, if the property is your primary residence and you meet certain requirements, you can qualify for a partial or total exemption, although it is best to confirm the exact conditions with the notary.

What happens if I don't have the invoices from the original purchase?

Without supporting documents, the notary may have fewer elements to reduce the taxable gain, which usually results in a higher tax. That is why it is important to keep all documentation from the time of purchase.

Estimate your closing costs before selling your property.

Listings

Land for Sale in Residencial Lomas del Dorado
For sale

MX$1,440,000

Land

204.01 m²

Land for Sale in Residencial Lomas del Dorado

Boca del Río, Veracruz

House for Sale in Las Lomas, Riviera Veracruzana | 3 Bedrooms with Private Bathrooms
For sale

MX$3,900,000

House

3 bd4 ba

House for Sale in Las Lomas, Riviera Veracruzana | 3 Bedrooms with Private Bathrooms

Alvarado, Veracruz

Attention Investors
For sale

MX$10,900,000

Land

1433 m²

Attention Investors

Puerto Vallarta, Jalisco

Keep reading

Selling your property

Keep learning before you decide

35 guides on selling your property, and thousands of properties listed across Mexico.