A broker's guide to Mexico capital gains tax basics: the primary residence exemption, real deed values, renovation invoices, and when to call a contador.
Most sellers start worrying about capital gains tax the week they list the property. By then, the two decisions that matter most are already locked in: what value got written into your deed, and whether you kept the paperwork for every peso you put into renovations. Both happened years earlier, probably while you were focused on closing costs and picking out tile.
We work with buyers across Playa del Carmen real estate, Tulum real estate, and the quieter corners of the coast, and the same pattern shows up every season: someone saved a bit on transfer tax by under-declaring the purchase price, and years later that same decision cost them far more in capital gains when they sold. This guide won't tell you your exact tax bill — that's a conversation for a Mexican accountant who knows your situation. What it will do is explain, at a planning level, which decisions at purchase shape that bill, so you walk into that accountant's office already asking the right questions.
This is not tax advice, and we're not going to pretend otherwise. We're a brokerage, not an accounting firm. What follows is the framework we walk every buyer through before they sign anything, because the gap between an informed buyer and an uninformed one usually shows up as a five- or six-figure difference at the closing table years later.
Why Capital Gains Planning Starts at Purchase, Not at Listing
Mexican capital gains tax — technically ISR, Impuesto Sobre la Renta, on the sale of real property — is calculated off a gain: your sale price minus your documented acquisition cost minus allowable deductions. Every input to that formula gets set, or lost, during ownership. The deed value is fixed the day you close. The invoices for your kitchen remodel either exist or they don't by the time you list. The decision to hold title personally, through a fideicomiso, or through a Mexican corporation gets made before you ever think about an exit.
In other words, the sale itself is mostly paperwork. The tax outcome was decided years earlier. If you're still shopping and comparing condos in Playa del Carmen against a house with a yard, this is the moment to start thinking about it, not after you've owned the place for five years.
The Basics: How the Gain Gets Calculated
At a high level, a notario calculates your taxable gain as the difference between your sale price and your updated acquisition cost, with the acquisition cost adjusted for inflation using official factors, and certain deductions subtracted along the way — documented improvements, the broker's commission, and notario and registration fees from both the purchase and the sale, among others. The resulting gain is taxed at marginal individual rates that can run fairly high for larger gains.
There's also an alternative method some notarios apply when documentation is thin: a flat percentage on the gross sale price rather than on the calculated gain. It's simpler, but it almost always produces a bigger bill, because it ignores everything you spent getting the property to its final condition. The two methods exist precisely so that sellers who kept good records come out ahead of sellers who didn't. That's the whole game, and it's decided long before closing day.
The Primary Residence Exemption — What It Actually Requires
Mexico offers an exemption on the gain from selling your primary residence, and it's the single biggest lever most sellers have. But it comes with real conditions, not just a box to check:
- The property has to be demonstrably your primary home — utility bills in your name at that address, in some cases a Mexican tax ID linked to that residency, and a pattern of use that supports the claim.
- It can generally only be used once within a defined window of years, not on every property you happen to sell.
- There's a cap on the exempted amount, tied to inflation-indexed investment units rather than a fixed dollar figure, which is one more reason this needs a current calculation from an accountant rather than a number pulled from a blog post.
- Foreign owners holding through a fideicomiso bank trust can still qualify, but the documentation bar tends to be stricter, since the authorities want to see genuine residency, not just trust paperwork.
Here's what we tell clients not to do: don't try to claim this exemption on a property you've been renting out on Airbnb for half the year, with reviews and listing history that contradict the "primary residence" story. SAT has gotten more sophisticated about cross-referencing platform data, and an exemption claim that falls apart under scrutiny costs more in penalties and interest than the tax would have in the first place. If the property has been an income property, plan around that reality, not around the exemption you wish applied.
Why the Deed Value Has to Match Reality
This is the one we see most often, and it's almost always framed as a favor. A seller, sometimes with their agent nodding along, suggests writing a lower price into the deed than what's actually changing hands, with the difference paid separately. The pitch is that it reduces the acquisition tax (ISAI) and notario fees you pay right now.
The math only works if you never sell. The declared deed value becomes your acquisition cost for capital gains purposes down the road. Shave $50,000 off the real price today, and you've manufactured $50,000 of extra taxable gain for whoever sells next — which might be you. We've watched sellers discover, mid-negotiation on their own sale, that the under-declared price from years earlier turned what should have been a modest gain into a number that ate most of their equity. It is one of the few mistakes in Mexican real estate that is almost entirely avoidable, and we tell every client the same thing: decline it, even if it's framed as standard practice, even if the other side insists everyone does it. The short-term savings on closing costs — which typically run in the 5-8% range regardless — are not worth the long-term exposure. Our closing costs guide breaks down what those costs actually cover, which makes it easier to see why shaving the deed value doesn't move the needle much today but moves it a lot later.
Facturas: The Renovation Deduction You Actually Control
If the deed value is the thing you get right once, at closing, renovation invoices are the thing you have to get right continuously, over years of ownership. In Mexico, a deduction for improvements generally requires a proper CFDI — a tax-compliant electronic invoice tied to the contractor's RFC — not a handwritten receipt, not a WhatsApp confirmation, not a verbal agreement that the work happened.
This matters because a lot of renovation work on this coast still gets paid in cash, with no formal invoice, because it's simpler in the moment and sometimes marginally cheaper. From a tax-planning standpoint, that cash payment is money that effectively doesn't exist when you go to sell. You paid for a new roof or a pool resurface, but without the paperwork, none of it reduces your taxable gain.
What we recommend, every time:
- Before work starts, ask whoever is coordinating your accounting — ideally the same contador who'll handle your eventual sale — which categories of work typically qualify as deductible improvements versus repairs, so you're not guessing after the fact.
- Require a proper CFDI from contractors as a condition of payment, not an afterthought you chase down later. If a contractor resists issuing one, that's information worth having before you hire them, not after.
- Keep a physical and digital file from day one. Don't wait until you list to go hunting for five-year-old paperwork from a contractor who may have changed phone numbers or left the business entirely.
None of this is exotic. It's just unglamorous bookkeeping that almost nobody does consistently, which is exactly why it's worth doing.
Other Costs That Can Reduce the Taxable Gain
Renovation invoices get most of the attention, but they're not the only deduction in play. Depending on how the sale is structured and what your accountant confirms applies to your situation, the following have historically been part of the calculation:
- Notario and registration fees paid at both the original purchase and the eventual sale.
- The real estate commission paid on the sale.
- Certain legal fees directly tied to the transaction.
We flag these at a high level because sellers are sometimes surprised that anything beyond the sale price and the deed value matters at all. The specifics of what qualifies, and how it's documented, is squarely accountant territory — but knowing the categories exist means you keep the receipts instead of tossing them.
How You Hold Title Changes the Math
Foreign buyers in the restricted zone typically hold residential property through a fideicomiso, a bank trust that functions, for tax and use purposes, much like direct ownership. Some buyers, particularly those running a portfolio of rental properties rather than a single home, hold title through a Mexican corporation instead.
The two structures are not interchangeable at tax time. A property held personally through a fideicomiso can potentially qualify for the primary residence exemption if it genuinely functions as your home. A property held in a corporation generally can't — it's treated as a business asset, with gains taxed under corporate rules rather than individual exemptions. Neither structure is universally better; it depends on whether the property is a home, an investment, or something in between, and that's a decision worth making deliberately rather than defaulting into whatever your closing attorney set up without discussion. If you're still weighing structure, our guide to the fideicomiso covers how the trust actually works day to day, separate from the tax question.
The Notario's Role, and Why You Still Need Your Own Accountant
Mexican law requires that ISR be calculated and withheld at closing by the notario public handling the sale. This leads a lot of sellers to assume the notario is also optimizing their tax position. They're not, and that's not a criticism — it's not their job. The notario's role is compliance: taking the documents in front of them, applying the law correctly, and withholding the right amount. If you show up without renovation invoices, they'll calculate your gain without them. They have no obligation to go looking for deductions you didn't bring.
That's the gap an independent accountant fills, and it's worth engaging one well before you list — not the week of closing, when there's no time left to fix gaps in documentation. A good contador can model your likely gain under different scenarios, confirm whether the primary residence exemption genuinely applies to your situation, and tell you, honestly, if a planned sale this year versus next year changes the outcome. We say this as brokers who sell property for a living: we can tell you what the market will bear and help you time a listing, but we are not the ones who should be answering your tax questions, and we'd rather send you to a contador than guess.
Mistakes We See Every Season
| Decision at Purchase or During Ownership | Effect When You Sell |
|---|
| Deed value set below the real purchase price | Artificially low cost basis, which inflates the taxable gain at sale |
| Renovation work paid in cash, no CFDI issued | Improvement costs can't be deducted; the gain is calculated as if the work never happened |
| Property rented short-term but claimed as a primary residence | Exemption claim is vulnerable to challenge if platform or utility records contradict it |
| Title held in a corporation chosen for convenience, not strategy | Primary residence exemption generally unavailable regardless of actual use |
| Accountant engaged only after the property is under contract | No time left to gather missing invoices or reconsider exemption eligibility |
A Practical Timeline: What to Keep From Day One
Spread across years of ownership, this is easy to lose track of. Compressed into a checklist, it's manageable:
- At closing: keep the signed deed, the full closing cost statement, and the notario's invoice. These establish your starting cost basis.
- Throughout ownership: collect a proper CFDI for every renovation, addition, or structural improvement — not routine maintenance, which generally doesn't count the same way. If the home is meant to be your primary residence for exemption purposes, keep utility bills and any other documents that show consistent personal use.
- Six to twelve months before listing: sit down with an accountant and model the likely gain under both the exemption path and the standard calculation, so you know which applies and what's still missing before a buyer is in the picture.
- At listing: have that documentation organized and ready, the same way you'd prepare a disclosure packet. It speeds up the notario's work and avoids surprises at the closing table.
None of this requires special effort if it's built into how you hold the property from the start. It requires a lot of scrambling if you start at step three after already deciding to sell. The same logic applies whether you're in a condo near the beach or evaluating houses for sale in Playa del Carmen with a bigger renovation ahead of you — the paperwork habit matters more than the property type.
Frequently Asked Questions
Do foreign sellers automatically owe capital gains tax in Mexico?
Yes, in most cases. Mexico taxes the gain on real property sales regardless of the seller's nationality or residency, and the notario is legally required to calculate and withhold ISR at closing unless a documented exemption applies. There's no blanket exemption for foreign owners; the same rules and the same exemption conditions apply, which is exactly why planning around deed value and documentation matters from the start.
Can I use the primary residence exemption if I own through a fideicomiso?
Generally yes, provided the property genuinely functions as your primary home and you can document that with things like utility bills and consistent use. Holding through a fideicomiso doesn't disqualify you the way holding through a corporation typically would, but the burden of proof tends to be a bit higher for foreign owners, so it's worth confirming your specific documentation with an accountant well before listing.
What happens if I don't have invoices for renovations I paid for?
Without a proper CFDI, that spending generally can't be deducted from your gain, even if the work clearly happened and clearly added value. The notario's calculation relies on documented costs, not on your word or informal receipts. If you're mid-renovation now and haven't been collecting proper invoices, the best move is to start immediately and talk to an accountant about what, if anything, can still be reconstructed for past work.
Does the US-Mexico tax treaty mean I won't pay tax twice?
The treaty between the US and Mexico generally allows a foreign tax credit, so US taxpayers who pay ISR in Mexico can often credit some or all of it against US tax owed on the same gain, rather than paying the full amount twice. How that plays out depends on your specific numbers, filing status, and how the sale is reported on both sides, which is a cross-border question best handled by an accountant who works with both systems, not assumed from a general rule.