Start Over: #1 #2 #3

Capital gains tax treatment in Mexico is a crucial consideration for foreign property owners evaluating a purchase or planning an exit. Mexico taxes the sale of real estate owned by non-residents, often through mandatory withholding at the time of sale, and the effective burden can be significantly higher or lower depending on how the transaction is structured, documented, and reported. Understanding these rules in advance is essential for realistic return projections and for avoiding unpleasant surprises at closing.

View over a Mexican coastal neighborhood from a balcony with property documents on a table.

Overview of Capital Gains Tax on Mexican Property for Foreigners

Mexico does not have a separate capital gains tax schedule for real estate. Instead, gains from the sale of property are taxed as income under the federal income tax law, with specific rules for non-residents. For foreign owners who remain tax resident abroad, Mexican tax applies because the property itself is located in Mexico and Mexican-source income rules capture these gains.

For non-resident individuals selling Mexican real estate, the general framework is a choice between a flat withholding on the gross sale price or tax on the net gain at progressive rates, usually capped around 35 percent. In practice, this tax is collected at closing by the Mexican notary, who is a quasi-public official responsible for calculating, withholding, and remitting income tax on the transaction. The withholding mechanics mean that tax is effectively prepaid to the Mexican authorities before the seller receives sale proceeds.

Foreigners who have become Mexican tax residents are taxed on worldwide income, including property gains in Mexico and abroad, at progressive rates up to roughly 35 percent. Residency status, documentation of cost basis, and whether the property qualifies as a principal residence determine whether more favorable rules or exemptions can be used, but these preferential rules generally require formal Mexican tax residency and registration with the tax authority.

Key Tax Rates and Methods for Non-Resident Property Sellers

For non-resident foreign individuals selling Mexican real estate, the law provides two main taxation methods. The default method imposes a 25 percent tax on the gross sales price, with no deductions for purchase cost, improvements, or transaction expenses. This method is simple but can be economically punitive where the gain is modest relative to the overall property value, as it effectively taxes both capital and gain.

As an alternative, non-residents may elect to be taxed at 35 percent on the net gain rather than 25 percent of gross, provided that certain conditions are met. These conditions typically include appointing a registered Mexican tax representative, obtaining a Mexican tax identification number, and supplying sufficient documentation to substantiate the acquisition cost, eligible improvements, and transaction costs. The notary will generally calculate the gain in Mexican pesos, taking into account the official exchange rate on the dates of purchase and sale, and local practice may also consider inflation adjustments when allowed by current rules.

In practical terms, foreign owners with a high embedded gain and strong documentation often benefit from the 35 percent on net gain method, while those with limited gain or weak records sometimes default to 25 percent on gross. The decision is numerical and should be modeled in advance of listing the property, using realistic peso valuations and acknowledging that Mexican authorities look at declared values in the deeds, not informal side payments.

How Capital Gain Is Calculated on Mexican Property

The taxable gain for real estate under the net method is broadly the difference between the sale price and the property’s tax cost basis, determined under Mexican rules. The sale price is typically the higher of the contract price and the officially appraised value used for tax purposes, converted to pesos on the closing date. Underreporting the price in the deed to reduce transfer taxes or future capital gains remains risky because it directly depresses the recorded cost basis for the next sale and can trigger scrutiny.

The tax cost basis for foreign owners includes the original purchase price recorded in the deed, acquisition tax and notary fees paid at purchase, registration costs, and certain capital improvements. Improvements must generally be structural or permanent additions, and they usually must be supported by formal invoices that comply with Mexican electronic invoicing rules. Soft costs such as routine maintenance, décor, and many repairs are not typically capitalizable for this purpose, especially where cash payments without formal invoices were used.

On the sale side, certain expenses can be added to the basis or deducted from proceeds when computing net gain. These may include real estate brokerage commissions, notary fees on sale, and some legal and appraisal fees, again subject to proper invoicing. All figures are converted into pesos using the official exchange rate at the time the relevant cost was incurred. Because Mexico taxes in pesos, currency movements between the purchase and sale dates can materially change the apparent gain, even if the gain measured in the foreign owner’s home currency appears smaller or larger.

Primary Residence Exemptions and Their Limits

Mexico offers a substantial capital gains tax exemption for the sale of a primary residence, but this relief is primarily designed for tax residents and is tightly conditioned. For qualifying taxpayers, a significant amount of gain on the sale of a principal home may be exempt from income tax, subject to a monetary ceiling that is set in inflation-indexed units (UDIs). In recent years this limit has been in the vicinity of several million Mexican pesos per person, with the exact peso figure fluctuating as UDIs are adjusted.

To access the primary residence exemption, the seller typically must be a Mexican tax resident with a valid tax ID, and must be able to demonstrate that the property was used as a primary home for at least a minimum period, commonly around two years. Documentation can include utility bills, tax registrations, or other official records tying the seller’s address to the property. Additional restrictions often apply, such as limitations on how frequently the exemption can be claimed, with a commonly cited interval of several years between exempt sales.

Non-resident foreign owners who use a Mexican property as a vacation or occasional residence generally do not qualify for this exemption. Even where a foreigner has lived in Mexico for an extended period, failure to formalize residency, obtain a tax number, or maintain bills and official records in the appropriate form can make it practically impossible to claim the relief. As a result, many foreign owners must plan on full taxation of their gain under either the gross or net method, with the primary residence exemption considered a potential upside only if clear residency and documentation thresholds are satisfied.

Role of the Notary and Withholding at Closing

The Mexican notary public plays a central role in enforcing capital gains tax rules on real estate sales. Unlike in many jurisdictions where a notary’s function is largely administrative, Mexican notaries act as tax withholding agents. In a standard sale, the notary will review documentation, confirm the parties’ tax statuses, compute the gain and applicable tax under Mexican law, and withhold the tax from the seller’s proceeds before recording the new deed.

For non-resident foreign sellers, the notary will usually apply the 25 percent gross method by default unless the seller has arranged for an alternative calculation, including appointment of a local tax representative and provision of complete cost and improvement documentation. The notary’s calculation is conservative; uncertain or undocumented items are often excluded from the cost basis. Once the tax is withheld and paid to the authorities, recovering any perceived overpayment can be administratively difficult for a non-resident without prior planning.

Because of this structure, foreign owners should engage with a notary and local tax advisor well before signing a sale agreement. Key preparatory steps include gathering purchase and improvement invoices, confirming the declared values in existing deeds, and clarifying whether the seller will be treated as a non-resident or resident for Mexican tax purposes. Early modeling of outcomes under the 25 percent gross and 35 percent net gain methods allows for more informed pricing and timing decisions.

Interaction with Taxation in the Owner’s Home Country

Capital gains tax paid in Mexico is only part of the overall tax picture for foreign owners. Many home countries tax worldwide income, including gains from the sale of foreign property, meaning the same economic gain can be taxed twice. Relief typically takes the form of foreign tax credits or exemptions in the home country, but the availability and mechanics of these rules vary significantly by jurisdiction and by the seller’s personal tax profile.

From a planning perspective, foreign owners should assume that Mexico has the primary right to tax gains on Mexican real estate because the property is located in Mexican territory. The home country may then tax the gain again, offering a credit for Mexican tax paid up to certain limits. However, mismatches can arise due to timing differences, currency translation methods, or different approaches to defining cost basis and residency. These mismatches can result in either excess credits that cannot be used or residual home-country tax despite substantial payment in Mexico.

Double taxation treaties may influence sourcing rules or provide mechanisms to avoid economic double taxation, but they rarely eliminate Mexico’s right to tax gains on local real estate. Foreign owners evaluating an acquisition or exit should obtain coordinated advice in both jurisdictions, modeling the combined after-tax outcome. For relocation decisions, an accurate understanding of how much gain will ultimately be retained after both Mexican and home-country taxation is essential for judging the attractiveness of a property investment strategy linked to a move.

The Takeaway

Mexico’s capital gains tax regime for foreign property owners is neither uniquely punitive nor particularly lenient by international standards, but its practical impact depends heavily on documentation, residency status, and the chosen tax calculation method. Non-resident sellers face a straightforward but potentially expensive 25 percent withholding on the gross sale price, while a 35 percent tax on net gain can significantly reduce the burden when robust records and local representation are in place.

Primary residence exemptions and other reliefs exist but are largely contingent on having formal Mexican tax residency and maintaining the kind of documentary trail that domestic taxpayers are expected to keep. Foreign owners who hold property as a second home or investment, without fully integrating into the Mexican tax system, should plan on limited access to these preferences and build conservative tax assumptions into their financial forecasts.

For relocation decisions, the critical question is not just whether Mexico taxes property gains, but under what assumptions the tax will be computed in a specific case. Early engagement with qualified local professionals, accurate peso-based modeling of potential gains, and coordination with home-country tax planning can transform capital gains tax from an unpredictable risk into a manageable cost of owning and eventually exiting Mexican real estate.

FAQ

Q1. Do foreigners always pay capital gains tax when selling property in Mexico?
Foreign non-residents are generally subject to Mexican income tax on gains from Mexican real estate. The tax is typically withheld at closing by the notary, subject to limited exemptions mainly available to formal Mexican tax residents on primary residences.

Q2. What are the main tax rates applied to foreign property sellers in Mexico?
Non-resident sellers usually face a choice between a 25 percent tax on the gross sale price with no deductions or approximately 35 percent on the net gain if they meet conditions for using the net basis method.

Q3. How is the capital gain calculated for a foreign owner using the net method?
The net gain is broadly the sale price minus the tax cost basis, which includes the recorded purchase price, certain acquisition taxes and fees, eligible capital improvements with proper invoices, and some selling expenses, all measured in Mexican pesos.

Q4. Can foreign owners claim the Mexican primary residence exemption on capital gains?
In practice, the primary residence exemption is mainly available to taxpayers who are Mexican tax residents with a valid tax ID and documentation proving that the property was their principal home. Most non-resident vacation-home owners do not qualify.

Q5. Who actually withholds and pays the capital gains tax in a Mexican property sale?
The Mexican notary public handling the transaction calculates the tax, withholds it from the seller’s proceeds at closing, and remits it to the tax authority, acting as a withholding agent.

Q6. What documentation should a foreign owner keep to reduce Mexican capital gains tax?
Owners should retain the purchase deed, proof of acquisition taxes and notary fees, official invoices for structural improvements, and records of real estate commissions, appraisal, and legal fees to substantiate cost basis and selling costs.

Q7. Does Mexico tax capital gains for foreigners at a separate preferential rate?
No. Mexico generally taxes capital gains as ordinary income, applying the same maximum rate of around 35 percent for individuals, although specific rules and withholding mechanisms apply to non-residents selling real estate.

Q8. How do exchange rate changes affect capital gains tax on Mexican property?
Calculations are made in Mexican pesos using official exchange rates on the dates of purchase, improvement, and sale. Currency movements between those dates can increase or decrease the peso-denominated gain compared with the seller’s home-currency perspective.

Q9. Can capital gains tax paid in Mexico be credited in the owner’s home country?
In many jurisdictions with worldwide taxation, Mexican tax on the gain can be claimed as a foreign tax credit, subject to local rules and limits. Owners must confirm treatment under their own country’s tax law.

Q10. What practical steps should foreign owners take before selling property in Mexico?
Key steps include engaging a local tax advisor and notary early, collecting all purchase and improvement documentation, modeling tax under both the gross and net methods, and coordinating with home-country tax advisors to estimate the combined after-tax outcome.