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 and Permanent residency in 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).
- 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 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).
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 and Canadian taxes when you live in Yucatán, 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)
- Income tax law, art. 121: deductions on sale (SAT)
- Income tax law, Title IV, Chapter IV: sale of property, arts. 119–128
- Income tax law, art. 160: non-residents selling property in Mexico
- Prodecon criterion 3/2026 on the non-resident's representative (IMCP)
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.
Search homes, land and condos across Yucatán and the Riviera Maya — all from licence-verified agents.
Homes for sale Yucatán real estate Buyer's guideRelated guides









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.