Capital Gains Tax When Selling Property in Mexico: Residents vs Non-Residents

When you sell a house, condo or land in Mexico, the notary handling the sale calculates the income tax (ISR) and withholds it before you receive your money. How much you pay depends mostly on one question: does Mexico consider you a tax resident? A non-resident seller usually pays 25% of the full sale price, with no deductions. A resident pays tax on the actual gain, and can often sell their home tax-free under the primary residence exemption.

This guide explains both cases, how the notary calculates the tax, what documents you need, and how the sale interacts with your home-country taxes. It is general information, not tax advice. Your notary and a Mexican accountant should review your specific sale.

Ready to take the next step? Book a consultation call — we’ll map out the right path for your situation.

Seller tax rules at a glance

Seller situationGeneral Mexican tax treatmentKey point to verify
Non-residentGenerally 25% of gross proceeds, or an alternative calculation at 35% of taxable gain where requirements are met.Discuss the method, representative question, and deductions with the notary before signing.
Mexican tax residentGenerally taxed on taxable gain; a qualifying principal-home sale may receive an exemption up to the statutory UDI limit.Tax residence, occupancy evidence, prior exemption use, and sale price matter.

These are broad statutory routes, not a tax estimate. Read the applicable provisions in Mexico’s Income Tax Law (LISR) and get a notary to model your deed and documents.

Our guide to property taxes in Mexico, including the tax due when you sell.

Who calculates and collects the tax

In Mexico every property sale is formalized before a notario público. The notary is legally responsible for calculating the seller’s income tax, stating it in the deed, and paying it to SAT within 15 days of signing. If you are a resident, the notary also collects a state payment of 5% of the gain, which is credited against the federal tax rather than added on top.

In practice this means the tax comes out of the sale proceeds at closing. The decisions that change the amount, such as whether you qualify for the exemption or can prove your costs, have to be settled with the notary before the deed is signed.

Step one: are you a Mexican tax resident?

Holding a residency card does not by itself make you a tax resident, and Mexico looks mainly at where your home and your center of vital interests are. Our guide to Mexico tax residency rules explains the tests.

For a property sale, the notary will want proof. A resident seller typically shows an RFC registered with a Mexican tax address, and for the home exemption, documents showing the property is where they live. Without that proof, the notary has to treat you as a non-resident.

Non-resident sellers

The default: 25% of the gross sale price

Under Article 160 of the Income Tax Law (LISR), a non-resident who sells property located in Mexico pays 25% of the total sale price, with no deductions. Your purchase price, renovations and closing costs do not reduce it. The notary withholds and pays it.

On a property that has gained little value, 25% of the price can be larger than your entire profit. That is why the second option matters.

The option: 35% of the gain

A non-resident can instead pay tax on the gain (sale price minus allowable deductions) at the top individual rate of 35%. The law normally ties this option to having a legal representative resident in Mexico, but it also says that when the sale is recorded in a public deed before a notary, which is how every property sale in Mexico is done, a representative isn’t required to choose it. You still have to document your deductions to the notary: the purchase deed, improvement invoices and closing costs.

Which option costs less is simple arithmetic. If your gain is less than about 71% of the sale price, 35% of the gain is lower than 25% of the price, and that is the case for most sales. Raise the 35% option with your notary early, so the paperwork is ready before closing.

No home exemption for non-residents

The primary residence exemption described below is not available to sellers who are not Mexican tax residents. A foreign owner who lives abroad pays tax on the sale even if the property was their vacation home for years.

Resident sellers

The primary residence exemption

Under Article 93 of the LISR, a Mexican tax resident who sells their casa habitación (the home they live in) is exempt from income tax on the sale, provided that:

  • The sale price does not exceed 700,000 UDIS. UDIS are an inflation-indexed unit, so the peso equivalent rises over time. The peso equivalent changes with the UDI value, so ask the notary to confirm the current amount.
  • You have not used this exemption on another home sale in the previous three years.
  • The sale is made before a notary.
  • You can prove the property is your home, typically with official ID or utility bills in your name at that address.

If the price is above the limit, the exemption still covers the portion up to 700,000 UDIS, and only the excess is taxed, with deductions applied proportionally.

How the gain is calculated

When the exemption doesn’t apply, or only partly applies, the tax is based on your gain. The gain is the sale price minus these deductions (LISR Article 121):

  • The purchase cost, adjusted for inflation. The land and the building are treated separately. The building’s cost is reduced by 3% for each year you owned it, but never below 20% of the original cost. Land is not depreciated. If the deed doesn’t separate the two, the land is taken as 20% of the cost.
  • Improvements and additions, backed by proper invoices (CFDI). Routine maintenance does not count.
  • Notary fees, taxes and appraisals paid by you for the purchase and the sale.
  • Real estate commissions you paid.

The adjusted cost can never be less than 10% of the sale price.

Spreading the gain over the years you held it

Mexico taxes the gain at the progressive individual rates, which run up to 35%. To avoid pushing a lifetime of appreciation into one year’s top bracket, the law divides the gain by the number of years you owned the property, up to 20. The tax is calculated on that annual slice and then multiplied back by the same number of years. Long-held properties usually end up with a noticeably lower effective rate than 35%.

The notary withholds this as a provisional payment. You then report the sale on your annual return, where the withholding is credited.

Losses

If you sell at a loss, the loss can be offset against gains on later property or share sales in the same year or the three following years.

Selling a property held in a fideicomiso

Coastal and border property owned by foreigners is usually held through a bank trust (fideicomiso). Selling means either assigning your beneficiary rights to the buyer or having the bank transfer the property into the buyer’s new trust. For tax purposes, assigning beneficiary rights counts as selling the property, so the same rules apply. Expect extra bank fees and time for the trust paperwork.

What you need before closing

  • RFC. The notary needs your tax ID, and a resident claiming the exemption or a non-resident choosing the 35% option will need one in practice. Our RFC assistance service can register you.
  • CURP, if you have one, and your passport and residency card.
  • The original purchase deed and invoices for improvements, so the notary can calculate the deductions.
  • Proof the property is your home if you are claiming the exemption.
  • Paid-up property tax (predial) and water bills, which the notary checks before any sale.

The buyer pays the property acquisition tax (ISAI), not the seller.

Your home-country taxes

The tax treaty between Mexico and the United States lets Mexico tax gains on property located in Mexico, so a treaty does not remove the Mexican tax. Your home country may tax the gain as well. US citizens report the sale to the IRS and can usually claim a credit for the Mexican tax paid; the US exclusion for selling a main home can apply to a foreign home that meets the US rules. Canadians have similar foreign tax credit rules. Keep the notary’s tax receipt (the CFDI showing the tax withheld) for your home-country return. Our overview of US expat taxes in Mexico covers the US side.

A practical sequence

  1. Confirm your tax residency status, and gather proof if you are a resident.
  2. Get an RFC if you don’t have one.
  3. Collect your purchase deed, improvement invoices and closing cost receipts.
  4. If you are a non-resident, ask the notary early about the 35%-on-gain option and gather the documents for your deductions.
  5. Ask the notary for a written tax estimate before you agree on the closing date.
  6. After closing, keep the tax receipt and report the sale where you are required to.

Selling Property in Mexico?

We get your RFC registered and help you plan residency and tax status before closing, so the notary applies the right rules.

Book a Call →

Frequently asked questions

How much is capital gains tax on property in Mexico?

A non-resident pays 25% of the gross sale price, or can choose to pay 35% of the gain instead. A resident pays progressive rates up to 35% on the gain, spread over the years the property was owned, and may be fully exempt when selling their home.

Can a foreigner use the primary residence exemption in Mexico?

Yes, if they are a Mexican tax resident and the property is their home. Holding a residency card is not enough on its own. Foreigners who are not tax residents cannot use the exemption.

Who pays the capital gains tax when selling property in Mexico?

The seller owes it, and the notary calculates it, withholds it from the proceeds and pays it to SAT within 15 days of signing the deed.

What is the 700,000 UDIS limit?

It is the maximum sale price covered by the home sale exemption. UDIS are adjusted for inflation. Above it, only the excess is taxed.

Do I need an RFC to sell property in Mexico?

In practice, yes. The notary needs it to report the sale, and you need it to claim the exemption or use the reduced non-resident option.

Does the buyer or seller pay the acquisition tax?

The buyer pays the acquisition tax (ISAI). The seller pays income tax on the gain.


Related:

Related Mexico Guides