Capital Gains Exclusion on a Mexico Primary Residence: American Owner Guide
American owners who live in Mexico full-time or for the majority of each year often ask whether the IRS primary residence capital gains exclusion—$250,000 for single filers, $500,000 for married couples—applies to their Mexican home. The answer is yes: Section 121 of the Internal Revenue Code does not limit the exclusion to US-located property. If the Mexico home qualifies as your principal residence, the exclusion is available.
The more nuanced question is how US and Mexican taxes interact, and what planning is required to take full advantage of the exclusion while managing the Mexican tax at closing.
Section 121 Requirements for Foreign Property
To exclude up to $250,000 ($500,000 married filing jointly) of capital gain from the sale of your Mexico home:
Ownership test: You must have owned the property for at least 2 of the last 5 years before the sale.
Use test: The property must have been your principal residence for at least 2 of the last 5 years before the sale. The 2 years do not need to be consecutive, but they must fall within the 5-year window.
One-sale rule: You may not have excluded gain from another home sale within the 2-year period ending on the sale date.
For a property held through a Mexican fideicomiso (the required structure for foreign buyers in coastal areas like El Sauzal), the IRS treats the beneficial interest as ownership of real property. The trust structure does not disqualify the exclusion.
What "Principal Residence" Means for Mexico
The IRS uses a facts-and-circumstances test to determine principal residence. Key factors include:
- Where you spend the majority of your time
- Where your mail is delivered
- Where your vehicles are registered
- Where your doctors, banks, and club memberships are
- What address you use on your tax returns and driver's license
Spending 8+ months per year at your Baja California home and maintaining few connections to a US address strengthens a principal residence argument. If you split time roughly equally between Mexico and a US home, documentation of your intent and primary ties matters significantly. Keep contemporaneous records.
Important: Establishing Mexico residency does not create a conflict. US citizens abroad are taxed by the IRS on worldwide income regardless of residency status elsewhere. Mexico residency affects your Mexican tax treatment, not your eligibility for the Section 121 exclusion.
The Mexican ISR: Separate from Section 121
When you sell a property in Mexico, the notario withholds Mexican ISR at closing. This tax is calculated under Mexican law—either 25% of gross sale price or approximately 35% of net gain, whichever you choose—and is remitted to the SAT (Mexico's tax authority) regardless of your US tax position.
Mexico has a separate primary residence exemption for Mexican tax residents (residentes fiscales en México): up to ~700,000 UDIs (approximately $4.5 million pesos at current rates) can be excluded from ISR on the sale of a primary residence if the seller has been registered as a tax resident and the home qualifies. Non-resident foreigners (most American buyers who pay US taxes) do not automatically qualify for this Mexican exemption.
If you are an American who has established Mexican tax residency (RFC + declarations filed as resident): You may qualify for Mexico's primary residence exemption. This requires planning in advance with a Mexican CPA—it is not something you can claim retroactively at closing.
How Section 121 and the Foreign Tax Credit Interact
If both the US exclusion and Mexico's ISR apply to the same sale:
- The excluded portion of the gain is not subject to US tax, so there is no US tax against which to apply the foreign tax credit for that portion.
- If your gain exceeds the Section 121 exclusion limit, the excess is taxable in the US. The Mexican ISR paid (attributable to the taxable portion) is creditable against the US liability via Form 1116.
Example (simplified, single filer):
- Sale price: $750,000 USD
- Cost basis: $400,000 USD
- Total gain: $350,000 USD
- Section 121 exclusion: ($250,000)
- Taxable gain (US): $100,000 USD
- US federal tax (15% long-term): $15,000 USD
- Mexican ISR withheld (Method 2 on full gain, ~35%): ~$122,500 USD
- Foreign tax credit on taxable portion: $15,000 (fully offsets US tax)
- Additional US tax owed: $0
The Mexican tax likely exceeds the US tax even on the taxable portion, so no additional US payment is due. Unused credits carry forward ten years.
Planning Recommendations for Panorama by Viento Buyers
For buyers considering Panorama by Viento as a primary residence or semi-permanent retirement home:
Document your primary residence from day one. Keep records of utility bills, bank statements, and time spent at the property. If you later want to claim Section 121, these records are your evidence.
Register with Mexico's SAT early if you intend to establish Mexican tax residency. The process requires a Temporary Resident visa or Permanent Resident visa from INM, a registered address, and RFC enrollment. If you qualify for Mexico's own primary residence exemption in addition to Section 121, the combined tax savings on a high-appreciation property can be substantial.
Understand the holding period. If you sell within 2 years of acquiring the home, Section 121 likely does not apply. The exclusion rewards long-term primary use.
Work with a CPA experienced in dual-resident US-Mexico situations. The interaction of the Section 121 exclusion, Mexican ISR, the foreign tax credit, and potential Mexican residency exemptions requires someone who knows all three systems. This is not a standard domestic tax return.
Properties at Viento on the Baja California coast are priced from around half a million USD at Km 104 Carretera Tijuana–Ensenada—an easy 90-minute drive from San Diego. For buyers considering this as a primary or secondary residence, understanding the eventual tax exit is as important as understanding the entry cost. Our team can connect you with bilingual tax professionals who have advised previous buyers through exactly this analysis. Reach us via WhatsApp to schedule a private visit.
Frequently asked
Does the Section 121 primary residence exclusion apply to a home in Mexico?
Yes. The IRS Section 121 exclusion applies to any home that was your principal residence for at least 2 of the last 5 years, regardless of whether it is in the US or abroad.
Does using the exclusion eliminate my Mexican tax at closing?
No. Mexico's ISR withholding at closing is based on Mexican law and applies regardless of your US tax position. The exclusion only reduces your US federal tax liability.
Can a married couple exclude $500,000 on a Mexico home?
Yes, if both spouses meet the use requirement (2 of last 5 years as primary residence) and neither has used the exclusion in the prior 2 years.
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
