---
title: "Capital Gains Tax Selling Property in Mexico (2026 Guide)"
description: "How foreigners sell a home in Mexico and keep the tax low: the 700,000 UDIS exemption for tax residents, residency, RFC and CFE bills, CFDI invoices that…"
url: https://yucatanrealty.net/living-in-yucatan/capital-gains-tax-selling-property-in-mexico
publisher: Yucatán Realty (https://yucatanrealty.net)
---

[Home](https://yucatanrealty.net/) › [Living in Yucatán](https://yucatanrealty.net/living-in-yucatan) › [Money & taxes](https://yucatanrealty.net/living-in-yucatan/money-and-taxes)

# Selling your home in Mexico: capital gains tax and your exit plan

By the Yucatán Realty team · Reviewed by Wilhelm von Mayer, D.Sc., Technical Director · Updated 24 November 2026

![A modern white house designed by architect Javier Muñoz in Mérida](https://yucatanrealty.net/cdn-cgi/image/width=1200,quality=75,format=auto,onerror=redirect/static/living/merida-modern-house.jpg)

**In short** Foreigners who are Mexican tax residents can sell their main home free of income tax on up to 700,000 UDIS, about MXN 6.25 million in November 2026, once every three years. To qualify you need a residency card, an RFC with the home as your fiscal address and proof you live there, such as CFE bills in your name. Non-residents pay 25% of the gross price, or 35% of the net gain with documented costs.

The time to plan your exit is the day you buy. The notary calculates and withholds the seller's income tax (ISR) at closing, and what you owe depends on two things you control years in advance: whether you can prove you're a Mexican tax resident selling your home, and whether you kept official invoices for what you spent.

## The two cases at a glance

| | Mexican tax resident selling main home | Non-resident (or not your home) |
| --- | --- | --- |
| Exemption | Up to 700,000 UDIS of the price, once every 3 years | None |
| Tax above the exemption | Progressive rates on the gain, spread over the years you owned it | 25% of the gross price, or 35% of the net gain (usually with a Mexican representative) |
| Deductions | Adjusted purchase cost, invoiced improvements, closing costs, agent commission | Only with the 35% option |
| What you need | Residency card, RFC, proof it's your home | Passport, purchase deed, invoices |

## The home-sale exemption

Article 93 of the income tax law exempts the sale of your casa habitación when the price doesn't exceed **700,000 UDIS** . The UDI is an inflation-indexed unit published by the Bank of Mexico: on 24 November 2026 it was worth MXN 8.93, so the cap was about **MXN 6.25 million (≈ USD 335,000)** . It rises a little every day with inflation.

- **Once every three years.** You can't use it if you sold another home with the exemption in the previous three years.
- **Above the cap** , only the share of the gain that matches the excess over 700,000 UDIS is taxed. On a sale at MXN 7.5 million, about one-sixth of the gain is taxable.
- **Land counts up to three times the built area.** On a large lot, the land beyond that is treated as not part of the home and its gain is taxed.
- **The sale must go through a notary** , who checks your documents and decides whether the exemption applies.

## Qualifying as a foreigner

The exemption applies only to sellers who are Mexican tax residents. If your home is in Mexico, you're generally a tax resident, but the notary needs paper proof. Build it up from the start:

- **Temporary or permanent residency.** A tourist entry can't support tax residency in practice. See [Temporary residency in Mexico: how to apply](https://yucatanrealty.net/living-in-yucatan/temporary-residency-mexico) and [Permanent residency in Mexico](https://yucatanrealty.net/living-in-yucatan/permanent-residency-mexico).
- **RFC with the property as your fiscal address.** Register with the SAT and keep your constancia de situación fiscal up to date at that address ([CURP and RFC: the two numbers every resident needs](https://yucatanrealty.net/living-in-yucatan/curp-and-rfc-for-foreigners)).
- **Utility bills in your name at the property.** CFE electricity bills are the standard proof; bank statements sent to the address help. Many notaries want several recent bills, and some want a longer history, so change CFE into your name right after closing.
- **You actually live there.** A house you rent out to tourists most of the year, or a second home, is hard to present as your casa habitación.

If you own through a fideicomiso, the exemption still applies; you are the beneficiary. Rules on proof vary slightly between notaries, so ask the one who'll handle your sale what they'll want, at least a year before you list.

## Your cost basis and why CFDI invoices matter

When some or all of the gain is taxable, the tax is on the price minus your deductible costs. Under articles 121 to 124 of the income tax law:

- **Purchase price** , adjusted for Mexican inflation (INPC) from the month you bought.
- **Construction loses 3% a year.** The law separates land from buildings (land is 20% if the deed doesn't split them) and reduces the building's cost by 3% for each year owned, never below 20% of its original cost.
- **Improvements, extensions and new construction** , adjusted and depreciated the same way.
- **Notary fees, acquisition tax and registry costs** you paid when buying, and the **agent's commission** when selling.
- Your adjusted cost can never be less than 10% of the sale price.

Every one of these must be backed by an official electronic invoice ( **CFDI** , or factura) issued to your RFC, or by the deed. A restoration paid in cash to builders without facturas adds nothing to your cost, even if you spent millions. Ask for facturas from the architect, contractor and suppliers, keep the XML files as well as the PDFs, and store them with your deed. See [Restoring a colonial house in Mérida: a realistic budget](https://yucatanrealty.net/living-in-yucatan/renovating-a-colonial-house-in-merida) for budgeting with invoiced work.

## How the tax is worked out

For tax residents, the taxable gain is divided by the number of years you owned the property (up to 20), the annual income tax rates are applied to that amount, and the result is multiplied back by the years. Spreading the gain this way keeps the effective rate low for long-held homes. The notary calculates and pays this at closing on your behalf; you report the sale in your annual return.

For non-residents, the notary withholds either **25% of the total price** with no deductions, or **35% of the net gain** , supported by an appraisal and invoices. With good records the second option is usually much cheaper. Article 160 says a Mexican representative isn't needed for the 35% option when the sale is by public deed, but in May 2026 the taxpayer ombudsman (Prodecon) said this doesn't free every deed sale from that requirement, so many notaries still ask you to appoint one. Ask your notary early.

In Quintana Roo, individuals also pay a state tax of 5% on the gain.

## A worked example

A couple bought a colonial house in Centro in 2019 for MXN 3.0 million, spent MXN 1.5 million on a restoration and sell in 2026 for MXN 7.5 million. Assume adjusted costs, invoiced improvements and selling costs add up to about MXN 5.2 million, so the gain is about MXN 2.3 million. These are rough illustrative figures; your notary's numbers will differ.

| Scenario | Tax at closing (approx.) |
| --- | --- |
| Tax residents, home exemption, full invoices | About one-sixth of the gain taxable (≈ MXN 380,000), spread over 7 years: roughly MXN 25,000 |
| Non-residents, 35% of gain with representative | ≈ MXN 800,000 |
| Non-residents, 25% of gross price | ≈ MXN 1,875,000 |
| Tax residents, but restoration paid without facturas | Gain grows by the MXN 1.5 million that can't be deducted, and the tax rises with it |

The same house, sold at the same price, can cost from tens of thousands to almost two million pesos in tax, depending on paperwork prepared years earlier.

## Other costs of selling

- **Agent commission** , commonly 5–7% plus IVA, negotiated in the listing agreement.
- **Appraisal** by an authorised appraiser, used by the notary.
- **Certificates** showing predial and water are paid up, and a lien certificate.
- **Fideicomiso** : if the buyer is a foreigner, the bank can transfer your trust rights to them; if the buyer is Mexican, the bank conveys title and the trust ends. Either way the bank charges fees and needs time.
- The buyer normally pays acquisition tax and notary fees ([Closing costs when buying property in Yucatán](https://yucatanrealty.net/living-in-yucatan/closing-costs-in-yucatan)).

## Your exit plan, step by step

- **At purchase:** keep the deed, the trust contract, closing receipts and the CFDI for the purchase if you bought from a developer.
- **First months:** get residency and an RFC at the property address, and put CFE and water in your name.
- **While you own it:** pay predial and trust fees on time, get facturas for every improvement and file them with the XML.
- **One to two years before selling:** check you haven't used the exemption in the last three years, confirm your proof of residence with a notary and get an appraisal.
- **Listing:** price with the 700,000 UDIS cap in mind; selling just below it can be worth more after tax than a slightly higher price above it.
- **After closing:** get the notary's calculation and receipts. You'll need them for your home-country tax return.

## Taxes back home

US citizens and residents report the sale to the IRS and may be able to use the home-sale exclusion and foreign tax credits; Canadians report it to the CRA. See [US taxes for Americans living in Yucatán](https://yucatanrealty.net/living-in-yucatan/us-taxes-living-in-mexico) and [Canadian taxes when you live in Yucatán](https://yucatanrealty.net/living-in-yucatan/canadian-taxes-living-in-mexico), and have both accountants look at the sale before you sign.

This page is general information, not tax or legal advice. Rules and notaries' requirements change; confirm your case with a Mexican accountant (contador) and the notary.

## Sources

- [Bank of Mexico UDI values, 11–25 November 2026 (Diario Oficial)](https://sidof.segob.gob.mx/notas/docFuente/5803350)
- [Income tax law, art. 121: deductions on sale (SAT)](https://wwwmat.sat.gob.mx/articulo/31968/articulo-121)
- [Income tax law, Title IV, Chapter IV: sale of property, arts. 119–128](https://mexico.justia.com/federales/leyes/ley-del-impuesto-sobre-la-renta/titulo-iv/capitulo-iv/seccion-i)
- [Income tax law, art. 160: non-residents selling property in Mexico](https://mley.mx/LISR/articulo/160/)
- [Prodecon criterion 3/2026 on the non-resident's representative (IMCP)](https://imcp.org.mx/wp-content/uploads/2026/06/Anexo-1-criterios_sustantivos-Prodecon-5ses-Noticia-117.pdf)

## Frequently asked questions

**Do foreigners pay capital gains tax when selling property in Mexico?**

Yes, unless they're Mexican tax residents selling their main home within the 700,000 UDIS exemption. Non-residents pay 25% of the gross price, or 35% of the net gain with documented costs, usually through a Mexican representative.

**How much is 700,000 UDIS in pesos?**

About MXN 6.25 million (roughly USD 335,000) in November 2026. The UDI rises with inflation, so the cap increases slightly every day.

**What documents does a foreigner need to claim the home-sale exemption?**

Typically a temporary or permanent residency card, an RFC with the property as fiscal address, and proof you live there, mainly CFE bills in your name at the property. The notary decides, so ask yours in advance.

**Why do CFDI invoices matter when I sell?**

Improvements and other costs reduce your taxable gain only if they're backed by official CFDI invoices issued to your RFC. Work paid in cash without a factura can't be deducted.

**Can I use the exemption if my house is in a fideicomiso?**

Yes. As the trust's beneficiary you can claim it if you meet the same tax-residency and proof-of-home requirements.

**Ready to look at homes?**
Search homes, land and condos across Yucatán and the Riviera Maya — all from licence-verified agents.

[Homes for sale](https://yucatanrealty.net/properties-for-sale) [Yucatán real estate](https://yucatanrealty.net/) [Buyer's guide](https://yucatanrealty.net/buying-guide)

## Related guides

- [!A calculator on a table next to a laptop(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/tax-calculator.jpg) Mexican taxes for expats: the basicsWhen foreigners become Mexican tax residents, how income tax (ISR) and VAT (IVA) apply, tax treaties,…](https://yucatanrealty.net/living-in-yucatan/mexican-taxes-for-expats)

- [!Writing on a paper form(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/form-writing.jpg) CURP and RFC: the two numbers every resident needsWhat the CURP and RFC are, how foreign residents get them in Mérida, what you need them for (banks,…](https://yucatanrealty.net/living-in-yucatan/curp-and-rfc-for-foreigners)

- [!Unrestored two-storey colonial house on Calle 50 in Mérida's historic centre(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/merida-decayed-colonial-house.jpg) Restoring a colonial house in Mérida: a realistic budgetRealistic 2026 costs per m² to restore a colonial house in Mérida's Centro Histórico: structure, roofs,…](https://yucatanrealty.net/living-in-yucatan/renovating-a-colonial-house-in-merida)

- [!A person holding a bank card while using a laptop(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/card-and-laptop.jpg) Opening a bank account in Mexico as a foreignerHow foreigners open a bank account in Mérida or Cancún: which banks, documents (residency card, RFC, proof…](https://yucatanrealty.net/living-in-yucatan/banking-in-mexico-for-foreigners)

- [!Hands holding a smartphone with a mobile banking app open(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/phone-banking-app.jpg) Moving money to Mexico cheaplyHow expats in Yucatán move money from the US, Canada, the UK and Europe to Mexico: transfer services, bank…](https://yucatanrealty.net/living-in-yucatan/sending-money-to-mexico)

- [!A cash machine outside a building(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/atm-machine.jpg) ATMs, cash and cards in YucatánWhere cash is still needed in Yucatán, ATM fees and limits, safe ATM use, card acceptance in Mérida and…](https://yucatanrealty.net/living-in-yucatan/atms-and-cash-in-yucatan)

- [!An OXXO convenience store sign in Mexico(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/oxxo.jpg) Paying bills in Mexico: CFE, water, internet and moreHow to pay household bills in Yucatán: CFE electricity, JAPAY water, gas, internet, phone, predial and HOA…](https://yucatanrealty.net/living-in-yucatan/paying-bills-in-mexico)

- [!Tax forms, a pen and a coffee mug on a dark desk(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/tax-forms-desk.jpg) US taxes for Americans living in YucatánWhat Americans in Mérida must still file with the IRS: worldwide income, the Foreign Earned Income…](https://yucatanrealty.net/living-in-yucatan/us-taxes-living-in-mexico)

- [!Hand holding two 20 Canadian dollar banknotes(https://yucatanrealty.net/cdn-cgi/image/width=480,quality=75,format=auto,onerror=redirect/static/living/canadian-dollars.jpg) Canadian taxes when you live in YucatánHow Canadians in Yucatán handle tax: residency ties, becoming a non-resident, departure tax, CPP and OAS…](https://yucatanrealty.net/living-in-yucatan/canadian-taxes-living-in-mexico)

This guide is general information for people moving to or living in Yucatán and Quintana Roo, checked against official sources where possible. Rules, prices and schedules change; confirm important details (visas, taxes, healthcare) with the relevant authority or a qualified professional.

**On this page** The two cases at a glanceThe home-sale exemptionQualifying as a foreignerYour cost basis and why CFDI invoices matterHow the tax is worked outA worked exampleOther costs of sellingYour exit plan, step by stepTaxes back homeSourcesFAQ

**Money & taxes**
[Opening a bank account in Mexico as a foreigner](https://yucatanrealty.net/living-in-yucatan/banking-in-mexico-for-foreigners)[Moving money to Mexico cheaply](https://yucatanrealty.net/living-in-yucatan/sending-money-to-mexico)[ATMs, cash and cards in Yucatán](https://yucatanrealty.net/living-in-yucatan/atms-and-cash-in-yucatan)[Paying bills in Mexico: CFE, water, internet and more](https://yucatanrealty.net/living-in-yucatan/paying-bills-in-mexico)[Mexican taxes for expats: the basics](https://yucatanrealty.net/living-in-yucatan/mexican-taxes-for-expats)[US taxes for Americans living in Yucatán](https://yucatanrealty.net/living-in-yucatan/us-taxes-living-in-mexico)

[All money & taxes guides →](https://yucatanrealty.net/living-in-yucatan/money-and-taxes)

**Plan your move**
[Cost of living calculator](https://yucatanrealty.net/cost-of-living-calculator)[Compare where to live](https://yucatanrealty.net/where-to-live)[Buyer's guide](https://yucatanrealty.net/buying-guide)[Fideicomiso calculator](https://yucatanrealty.net/fideicomiso-calculator)[Yucatán real estate](https://yucatanrealty.net/)
