Income tax when you sell your home: how Mexico's 700,000-UDI primary residence exemption works
Mexico's income tax law exempts the sale of a taxpayer's primary residence up to 700,000 UDIs, about 6.2 million pesos, if conditions are met such as proving residence and not using the benefit in the past three years.
Selling property in Mexico generally triggers income tax (ISR) on the gain. However, Article 93 of Mexico's Income Tax Law provides an exemption for people selling their primary residence (casa habitación). Here are the key points.
What the tax is based on
The tax is not calculated on the full sale price but on the gain: the difference between the sale price and the inflation-adjusted purchase cost, minus documented deductions such as invoiced improvements, notary fees, appraisals and documented real estate commissions. In most cases the notary calculates and withholds the tax.
Exemption requirements
1. The property must truly be the seller's primary residence.
2. The exempt amount goes up to 700,000 UDIs (Mexico's inflation-indexed unit); at the May 2026 UDI value, that was about 6.19 million pesos.
3. The sale must be formalized before a notary public.
4. The seller must not have used this exemption in the previous three years.
Proving residence
The notary usually asks for documents showing the property's address: voter ID, bank statements, electricity, water or phone bills, and tax records. If the documents do not match, the notary may deny the exemption.
If the sale exceeds the cap
The full amount is not necessarily taxed: the portion above 700,000 UDIs may be subject to ISR, with deductions applied proportionally.
Risks
Claiming the exemption improperly can lead to fines, surcharges and tax assessments, as well as problems in future notarized transactions.
What it means for you
- If you plan to sell your home in Mérida or the Riviera Maya, gather proof of address in your name well in advance and keep receipts for improvements.
- If the property is a second home or a rental investment, the exemption generally does not apply.
- Foreigners should confirm their Mexican tax residency: holding immigration residency does not automatically make you a tax resident.
Check with your notary or accountant about your specific case.
This article is for information only and is not legal, tax or financial advice. Consult a notario público or accountant before making decisions.
Do you pay IVA to build a home? What Mexican law says about the residential exemption
Mexico's IVA law exempts the sale of buildings used as homes, and its regulations extend the exemption to construction services when the contractor supplies both labor and materials.
Long-term rentals: how landlords pay income tax and what Mexico's 35% blind deduction is
Individuals who rent out property can deduct 35% of income plus predial without receipts, or deduct actual invoiced expenses; residential rent is exempt from IVA.
Non-resident foreigners selling in Mexico: 25% tax on the gross or 35% on the gain
Mexico's income tax law gives sellers who are residents abroad two ways to pay tax on the sale of Mexican real estate; the notary calculates and withholds it.