Capital Gains Tax in Mexico When a Foreigner Sells: Resident vs. Non-Resident Rules Explained
When a foreign buyer sells Riviera Maya property, Mexico's capital-gains tax (ISR) applies immediately at closing, withheld by the notario. Whether you qualify for any exemption depends entirely on your residency status, not how long you have owned the property.
Foreign sellers of Mexican property owe ISR (capital-gains tax) at closing, withheld directly from sale proceeds by the notario público. Non-residents face either 25% of the gross sale price or 35% of the net gain, whichever the law requires. The primary-residence exemption exists but is reserved for Mexican tax residents with an RFC and primary-residence proof. There is no holding-period exemption under Mexican law.
Who pays capital-gains tax when a foreigner sells Mexican property?
The seller pays ISR (impuesto sobre la renta) when a property changes hands in Mexico. The buyer pays a separate acquisition tax called ISAI. These are two distinct obligations and they do not offset each other.
The notario público who closes the transaction is legally responsible for calculating your ISR correctly. The notary withholds the tax directly from your sale proceeds at closing and remits it to SAT on your behalf. You receive your net amount after the deduction. There is no opt-out and no way to defer or bypass this step.
This structure matters for planning. You do not file and pay ISR yourself after the fact. The tax leaves your proceeds at the closing table, so your net wire reflects the after-tax figure. Understanding the two calculation methods before you list is the most practical thing you can do.
What are the two ISR calculation methods for a non-resident seller?
The notario computes your ISR two ways and applies whichever result the law requires.
Method A, the gross method, applies roughly 25% to the full sale price with no deductions of any kind. It is the fallback the notary uses when you cannot document your original purchase price.
Method B, the net method, taxes only your actual gain. That gain is the sale price minus your inflation-adjusted acquisition cost and your allowable, factura-backed costs. For non-resident foreign sellers, the net method is effectively a flat 35% on the documented gain. Because the net method starts from a smaller base, it almost always produces a lower bill than the gross method, but only if you can present the documentation. Without your original CFDI tied to the deed, your RFC, and receipts for capital improvements, the notary defaults to 25% of gross.
How can a non-resident seller reduce the ISR bill legally?
Even without the primary-residence exemption, a non-resident foreign seller has real, legal levers to reduce the taxable gain.
Start with your cost basis. Produce the CFDI tied to your original deed so your actual purchase price is on record. SAT's INPC inflation adjustment then lifts that basis for every month you owned the property, which can meaningfully reduce the gain on a long hold.
Next, collect facturas for every capital improvement you made: renovations, structural additions, major systems. Allowable selling costs, including brokerage commissions and closing fees supported by facturas, can also be deducted under the net method.
The specific items that qualify and the exact figures are confirmed by the closing notario and a Mexican contador (accountant). General guidance is a starting point; the numbers that actually appear on your closing statement come from those professionals reviewing your specific documentation.
Does the primary-residence (casa-habitación) exemption apply to foreign buyers?
Mexico's casa-habitación exemption is a genuine and powerful tool, but it is built for residents, not for non-resident foreign owners.
To qualify, you must be a Mexican tax resident, hold an RFC (Registro Federal de Contribuyentes), and provide proof that the property was your primary residence. The exemption caps the tax-free gain at 700,000 UDIs. The UDI is an inflation-indexed unit published daily by Banxico; you must recompute the peso and dollar equivalent at the actual UDI value on the day of sale because both figures move with inflation and the exchange rate.
The exemption is also limited in frequency: it can be used only once every three years. Most US and Canadian buyers who own Riviera Maya property as a vacation home or investment will not meet the residency and primary-residence requirements. If you believe you might qualify, confirm your status with a Mexican tax attorney well before you list.
Is there a five-year holding period that makes the gain tax-free?
There is no holding-period exemption anywhere in Mexican law. Owning a property for five years, or any other period, does not reduce or eliminate your ISR obligation.
This is the most persistent myth in marketing articles about Mexican real estate. The only mechanism that can exempt a gain on a sale is the residency-based casa-habitación rule described above, and that rule has nothing to do with how long you have owned the property.
If someone tells you to wait five years and sell tax-free, that advice is incorrect. Relying on it without independent legal verification could expose you to an unexpected tax bill at closing.
What about declaring a low price on the deed to reduce tax?
Declaring a price lower than the actual sale price on the deed is illegal under Mexican law. A reputable notario will refuse to close on a transaction structured that way.
Beyond the legal risk, it also works against you financially. A low declared purchase price shrinks your future cost basis. When you eventually sell, the phantom gain between the understated basis and the real sale price becomes fully taxable. Sellers who under-declared on purchase years ago often face the largest ISR bills when they exit, because the documented cost basis is far below what they actually paid.
The correct approach is to declare the real price, document every legitimate cost and improvement with facturas, and let the net-gain method work in your favor.
How does US or Canadian tax interact with Mexican ISR?
US citizens selling Mexican property face two simultaneous obligations: Mexico withholds ISR at closing through the notario, and the US taxes the same gain on your federal return. The United States and Mexico have had an active income tax treaty since 1992. Under that treaty, the US credits the Mexican tax you paid against your US capital-gains liability on the same gain. You do not pay both countries the full rate.
Canadian sellers operate under a similar framework. Canada credits Mexican tax paid against the Canadian tax owed on the same gain. If the Mexican tax exceeds the Canadian liability, the difference is not refunded, though foreign tax credits may be carried forward in some cases. A Canadian accountant who handles cross-border returns is the right resource for that calculation.
In both cases, the treaty credit mechanism prevents true double taxation, but it does not eliminate your home-country reporting obligation. Keep your closing statement and the notario's ISR calculation as documentation for your home-country return.
Does the ISR framework differ across Tulum, Playa del Carmen, and other Riviera Maya towns?
The ISR rules are federal, so the core framework is identical everywhere in the Riviera Maya: 25% gross or up to 35% net, the 700,000-UDI exemption for qualifying residents, and the CFDI-based cost-basis rule apply whether the property is in Cancun, Puerto Morelos, Akumal, Puerto Aventuras, Playa del Carmen, or Tulum.
What changes from town to town is which documentation gap bites hardest. Playa del Carmen has seen strong appreciation over many years, so sellers who under-declared on purchase face larger phantom gains. Tulum's rapid price growth in recent years creates a similar dynamic for early buyers. The buyer's ISAI is calculated at the state level in Quintana Roo, but that is the buyer's cost, not yours as the seller.
The practical implication: wherever you bought, the quality of your original CFDI and your factura records for improvements determines how much of your gain is taxable. Start gathering that documentation before you list, not at the closing table.
What should a foreign seller do before listing a Riviera Maya property?
The most useful thing a foreign seller can do before listing is to assemble the documentation that enables the net-gain method: the original CFDI tied to the deed, facturas for capital improvements, records of allowable selling costs, and your RFC if you have one.
Engage a Mexican contador or tax attorney early. They can run a preliminary ISR estimate under both methods so you understand your likely net proceeds before you set an asking price. That estimate also tells you whether pursuing Mexican tax residency before the sale is worth exploring, given the timeline and cost involved.
Our team works alongside qualified legal and accounting professionals throughout the Riviera Maya and can connect you with the right resources for your situation. If you are considering a sale or want to understand the cost-of-ownership picture before you buy, we are glad to walk through the framework with you.
