Capital Gains Tax When Selling Property in Mexico as a Foreigner
Capital gains tax when selling property in Mexico as a foreigner is levied on the gain from the sale, calculated and withheld by the closing notary, and it can be substantially reduced through legitimate deductions for your purchase price, documented improvements, and selling costs. While the headline rates may look high, the effective tax is often far lower because it applies only to the net gain, not the full sale price, and careful record-keeping during ownership protects your position. This article explains how the calculation works and how to plan for it.
How the Gain Is Calculated
In Mexico, capital gains tax is part of the income tax system (ISR, Impuesto Sobre la Renta). When you sell, the notary computes the taxable gain rather than taxing the gross sale price. The gain is the difference between:
- The sale price, and
- Your deductible basis, which includes the indexed (inflation-adjusted) original purchase price, documented capital improvements, real estate commissions, acquisition taxes, and certain closing costs.
Because the original purchase price is adjusted for inflation over your holding period and improvements are deductible, the taxable gain is often meaningfully smaller than the raw price difference suggests.
Why Documentation Matters
The single most important thing a foreign owner can do to manage capital gains tax is keep complete documentation from the moment of purchase:
- Closing documents. Your original deed and fideicomiso paperwork establish the purchase price.
- Improvement receipts. Facturas (official Mexican tax invoices) for renovations and capital improvements are deductible, but only if properly documented.
- Cost records. Commissions, notary fees, and acquisition taxes paid at purchase add to your basis.
Without facturas, improvement costs cannot be deducted, which inflates your taxable gain. Buyers who plan to hold and eventually sell should treat documentation as part of protecting their return.
Exemptions and Planning
Mexican law provides a primary-residence exemption that can eliminate or reduce capital gains tax on a qualifying sale, but it requires meeting specific residency and documentation conditions, which most non-resident foreign owners will not satisfy. For that reason, the practical plan for an investor or second-home owner is to optimize the standard gain calculation through proper basis documentation rather than relying on an exemption.
It is also worth coordinating with a Mexican accountant or your closing notary before you sell, since they finalize the calculation and withholding. Early planning lets you assemble the right documents and understand your net proceeds in advance.
Capital Gains in the Investment Context
Capital gains tax is the back end of an investment that, in the El Sauzal corridor, is supported by strong appreciation fundamentals: scarce oceanfront supply, San Diego demand, and Valle de Guadalupe tourism. A property like those at Panorama by Viento, located at Km 104 of the Tijuana–Ensenada highway with a beach club and organic market, is positioned to appreciate, which makes thoughtful tax planning at sale worthwhile. The goal is to enjoy the gain while keeping the tax efficient and predictable. For a fuller view of returns, see our investment overview, and explore current residences to understand entry pricing and basis.
A Note on the Fideicomiso
Foreign owners hold coastal property through a fideicomiso, a renewable 50-year bank trust that grants full rights to sell, lease, and inherit. When you sell, the trust is transferred or extinguished as part of the closing, and the notary handles the capital gains calculation within that process. The structure does not change the tax treatment; it simply governs how foreign ownership is legally held.
Plan Ahead and Plan a Visit
The best capital gains outcome starts at purchase, with complete documentation and a clear basis. We are happy to connect you with experienced notaries and accountants and to explain how the structure works for a specific residence. Reach out by WhatsApp or through our contact page to schedule a private visit and discuss your long-term plan.
Frequently asked
Do foreigners pay capital gains tax when selling property in Mexico?
Yes. Capital gains tax (ISR) applies to the gain on sale, calculated by the closing notary. Deductions for purchase price, improvements, and costs reduce the taxable gain.
How is the gain calculated in Mexico?
The gain is the sale price minus the indexed purchase price, documented improvements, commissions, and acquisition costs. The notary computes and withholds the tax at closing.
Can foreigners qualify for a capital gains exemption?
A primary-residence exemption exists but requires meeting residency and documentation conditions. Most non-resident foreign owners plan around the standard gain calculation instead.
Related reading
- Peso Appreciation Risk When Owning a Baja Beach Condo in 2025
- 1031 Exchange Into Mexico Property: What US Investors Need to Know
- 1031 Exchange Mexico Vacation Property: What American Sellers Must Know
- Airbnb Income Potential for an Ensenada Condo: Annual Projection
- Appreciation in Baja California: Rosarito vs Ensenada
