Rosanegra Estates

Investor guide · Taxes

Capital gains tax when you sell property in Mexico

Mexico taxes the sale of property differently depending on whether you are a tax resident. The notary calculates and withholds the tax at closing, so you should know which rules apply before you agree a price.

Written by Kane Rosanegra · November 2026

If you are not a Mexican tax resident

The default is a tax of 25% of the total sale price, with no deductions. It is withheld at closing.

There is an alternative. If you have a representative in Mexico who meets the requirements of the income tax law and the sale is signed before a notary, you can instead pay 35% on the gain: the sale price minus your purchase cost and allowable deductions. When the gain is small compared with the price, this usually costs far less.

A worked example

A non-resident bought a home for MXN 4,000,000 and sells it for MXN 5,000,000:

25% of the price35% of the gain
Tax baseMXN 5,000,000MXN 1,000,000, before deductions
TaxMXN 1,250,000Up to MXN 350,000

If you are a Mexican tax resident

Residents pay tax on the gain, at the progressive income tax rates, after deducting the purchase cost adjusted for inflation, improvements and the costs of buying and selling.

The sale of your own home is exempt up to 700,000 UDIS, an inflation-indexed unit worth over MXN 6 million in 2026, if the sale is signed before a notary and you have not used this exemption in the previous three years. Above that amount, the excess is taxed.

Tax treaties

A tax treaty between Mexico and your country can change how the sale is taxed. To apply it, the notary needs a certificate of tax residence issued by your country's tax authority. Without one, the notary applies the Mexican rates above.

Selling through a fideicomiso

Holding the property in a bank trust does not change the tax. The sale is still formalized before a notary, who calculates the tax and withholds it.

Before you sell

  • Find your purchase deed and keep receipts for improvements, with official invoices where possible
  • Decide whether to appoint a representative in Mexico so you can be taxed on the gain
  • If a tax treaty applies, request your certificate of tax residence early
  • Ask the notary for a written estimate of the tax before you agree a price

General information, not legal or tax advice. Your notary confirms the details of any purchase.

Planning your exit before you buy?

Read the full guide for foreign buyers, from purchase to sale.