Currency Gain on a Mexican Property Sale: The Rule Most Americans Miss
You sold your casita in San Miguel de Allende or your condo in Puerto Vallarta, the notario handled the Mexican side, and you assume the US return is simple: sale price minus purchase price. It is not. The IRS wants that gain measured in dollars, at two different exchange rates, and the result can surprise you in either direction. This guide shows you how to calculate it correctly.
Disclosure: This post may contain affiliate links. We may earn a commission at no extra cost to you if you make a purchase through these links. Read full disclosure.
Why Your Dollar Gain Can Look Nothing Like Your Peso Gain
When I sold my first place in Mexico, a two-bedroom near the Jardín, I had the escritura, the notario’s settlement statement, and a folder of renovation receipts all in pesos. I assumed the US return would mirror the Mexican one. It didn’t, and the reason is a principle that governs every foreign property sale on a US return: your gain or loss is a dollar figure, not a peso figure converted at the end.
The IRS Measures Everything in Dollars
Your US return has one functional currency for individuals, and that is the US dollar. Every number that goes onto Form 8949 and Schedule D has to be a dollar amount. That sounds obvious, but the method matters. You don’t calculate a peso gain and then convert it. You convert each side of the transaction separately, at the rate in effect when that event happened.
That means:
- Your purchase price is converted at the spot exchange rate on the date you bought.
- Each capital improvement is converted at the rate on the date you paid for it.
- Your selling price is converted at the spot rate on the date of sale.
- Selling costs, such as the agent’s commission and notario fees, are converted at the rate on the date they were paid.
Because the purchase and the sale often happen years apart, the exchange rate at each end can be wildly different. That gap is where the currency effect hides. You never “trade” currency in a way that feels like a transaction, but the IRS measures the movement anyway, baked right into your basis and your amount realized.
How the Exchange Rate Moves Your Basis and Your Sale Price
This is the part that trips up even financially savvy people, so let’s slow down. The exchange rate is quoted as pesos per dollar. When that number goes up, the peso has weakened: it takes more pesos to buy one dollar, so any fixed amount of pesos is worth fewer dollars. When that number goes down, the peso has strengthened: fewer pesos buy a dollar, so the same pesos are worth more dollars.
Apply that to a property sale:
- If the peso strengthened between your purchase and your sale, your peso sale price converts into relatively more dollars than your peso purchase price did. That pushes your dollar gain up, and it can create a taxable US gain even if you sold for exactly what you paid in pesos.
- If the peso weakened between your purchase and your sale, your peso sale price converts into relatively fewer dollars. That pushes your dollar result down, and it can turn a healthy peso profit into a small dollar gain, a break-even, or even a dollar loss.
So the currency movement is effectively a hidden gain or loss layered on top of whatever the real estate market did. For a primer on how the two countries see the same sale, see Selling a Home in Mexico as a US Citizen: Two Gain Calculations, One Sale.
A Worked Scenario Using 15 and 20 Pesos per Dollar
Let’s use two simple exchange rates: 15 pesos per dollar and 20 pesos per dollar. To keep the arithmetic clean, imagine you sold your home for exactly the same peso price you paid for it, with no improvements and no selling costs.
Scenario one: you bought at 20 and sold at 15. The peso strengthened. At purchase, every 20 pesos you spent equalled one dollar. At sale, every 15 pesos you received equalled one dollar. The same peso price now converts into one-third more dollars than it did when you bought. Your peso gain is zero, but your dollar gain equals one-third of your original dollar cost. That is a real, reportable US capital gain created entirely by the currency.
Scenario two: you bought at 15 and sold at 20. The peso weakened. The same peso price now converts into only three-quarters of the dollars it represented at purchase. Your peso result is break-even, but in dollars you have a loss equal to one-quarter of your original dollar cost. If the home was your personal residence, that loss is generally not deductible. If it was a rental or investment property, it may be a usable capital loss.
Scenario three: a peso profit that disappears. Say you bought at 15, the property rose in value by one-third in pesos, and you sold at 20. The higher peso price, converted at the weaker rate, lands at exactly the same number of dollars you originally paid. In Mexico you have a peso gain that the notario may tax. On your US return, you have a dollar gain of zero.
| Scenario | Rate at purchase | Rate at sale | Peso result | Dollar result | US tax angle |
|---|---|---|---|---|---|
| Same peso price, peso strengthened | 20 MXN per USD | 15 MXN per USD | No gain | Gain of one-third of original dollar cost | Taxable US gain unless an exclusion applies |
| Same peso price, peso weakened | 15 MXN per USD | 20 MXN per USD | No gain | Loss of one-quarter of original dollar cost | Not deductible on a personal home; possibly usable on investment property |
| Peso price up one-third, peso weakened | 15 MXN per USD | 20 MXN per USD | Gain of one-third in pesos | Break-even in dollars | No US gain, though Mexico may still tax the peso gain |
| Peso price down one-quarter, peso strengthened | 20 MXN per USD | 15 MXN per USD | Loss of one-quarter in pesos | Break-even in dollars | No US loss to claim |
Look at those last two rows carefully. In both, the two countries completely disagree about whether you made money. That mismatch is exactly why the foreign tax credit, the Mexican exemption, and your US exclusion need to be coordinated by someone who works both systems. This is the kind of situation where Taxes for Expats earns its keep, because the preparer has to build the dollar calculation from the ground up rather than accepting the peso figure on the notario’s paperwork.
The Hidden Second Calculation: Peso Mortgages and Section 988
If you paid cash for your Mexican property, you can skip ahead. But if you financed any part of the purchase in pesos, whether through a Mexican bank, a developer’s in-house financing, or a seller-carried note, there is a second currency rule in play, and it lives in a different part of the tax code entirely.
When Paying Off a Peso Loan Creates Income
Under Section 988 of the Internal Revenue Code, a debt denominated in a foreign currency is treated as a foreign currency transaction. When you repay that debt, including when the remaining balance is paid off at closing, you have to compare the dollar value of the principal when you borrowed it with the dollar value of the principal when you repaid it.
Here’s how the direction works:
- If the peso weakened while you held the loan, say from 15 to 20 pesos per dollar, the peso principal you repay costs you fewer dollars than it was worth when you borrowed it. That difference is a foreign currency gain, and it is treated as ordinary income, not capital gain.
- If the peso strengthened, say from 20 to 15, repaying the same peso principal costs you more dollars than it was worth when you borrowed. That difference is a foreign currency loss.
Notice the twist. A weakening peso hurts the dollar value of your property sale, but it helps you on the loan, generating taxable exchange gain. A borrower can end up with a nondeductible dollar loss on the house and a taxable exchange gain on the mortgage in the very same year. I watched a neighbor in Ajijic go through exactly this, and the frustration of owing tax on a sale that lost money in dollars is very real.
Why Losses Usually Do Not Help You
The rules are asymmetrical for personal-use property. If the mortgage financed your personal residence, a Section 988 exchange gain on repayment is taxable, but an exchange loss is generally treated as a personal loss and is not deductible. The same asymmetry applies to the property itself: a dollar loss on the sale of a personal home is not deductible, while a dollar gain is taxable unless excluded.
For a rental or investment property, the picture changes. Exchange losses on a loan tied to a business or investment activity may be deductible, and capital losses on the property can offset other capital gains. This is one more reason the property’s use history matters so much. If you rented the place out for part of the time you owned it, you also have depreciation to recapture, and that depreciation was calculated on a dollar basis using the original purchase rate. For how rental history plays into both returns, see Renting Out Mexican Property: Reporting Income to the SAT and the IRS.
Section 988 also reaches beyond mortgages. If you held the sale proceeds in a Mexican peso account and converted them to dollars weeks or months later, the movement between the sale date and the conversion date can create its own small currency gain or loss. Personal transactions have a de minimis exemption for small exchange gains, but a property sale’s worth of pesos sitting in an account through a big rate swing can exceed it. The mechanics of getting that money home are covered in Repatriating Proceeds From a Mexican Property Sale.
Step-by-Step: Calculating Your Dollar Gain Correctly
Here is the process I now follow, and the one I’d recommend to any American selling in Mexico. It’s methodical, a little tedious, and completely worth it.
- Pull your escritura and the original closing statement, and confirm the exact date title transferred to you or to your fideicomiso.
- Look up the spot exchange rate for that purchase date from a reliable, documented source such as the Banco de México FIX rate or a US government published rate, and use the same source consistently throughout.
- Convert your purchase price and purchase closing costs into dollars at that rate.
- List every capital improvement, such as a new roof, a remodeled kitchen, or a solar installation, with its payment date, and convert each one at the spot rate for that date. Routine repairs and maintenance do not count.
- If you rented the property, calculate the depreciation you claimed or should have claimed, which was based on the dollar basis.
- Convert your sale price at the spot rate on the date of sale, and convert selling costs at the rate on the date each was paid.
- Subtract your adjusted dollar basis from your dollar amount realized to get your dollar gain or loss.
- If you had a peso-denominated loan, run the separate Section 988 calculation on the principal repaid.
- Apply the home sale exclusion if you meet the ownership and use tests, and claim a foreign tax credit for any Mexican tax paid on the sale.
- Keep a written record of every rate and its source, in case the IRS ever asks how you got your numbers.
Records to Gather Before the Notario Closes
The worst time to hunt for a renovation invoice is three months after closing, when the contractor has changed phone numbers and the hardware store in Guanajuato no longer has your account. Before the sale closes, gather the following:
- Your original escritura and purchase settlement statement.
- The fideicomiso documents and annual trust statements, if you held the property through a bank trust.
- Facturas for improvements, ideally CFDI invoices issued to your RFC, since these also help reduce the Mexican tax.
- Bank statements showing the dates you wired money into Mexico for the purchase and for major projects.
- Loan documents and payoff statements for any peso-denominated financing.
- The notario’s final calculation of Mexican ISR and proof of payment.
If you’re holding title through a bank trust, the trust itself usually doesn’t create separate US reporting headaches, but you’ll want to understand why before you sell; see Rev. Proc. 2013-14 Explained: Why Most Fideicomisos Escape Trust Reporting. And if you’re still in the buying stage and reading this to plan ahead, Buying Property in Mexico as a US Citizen: Both Sides of the Tax Picture walks through the records worth keeping from day one.
Exclusions, Foreign Tax Credits, and the Mexican Side
The US home sale exclusion under Section 121 is not limited to homes in the United States. If the Mexican property was your principal residence and you meet the ownership and use tests within the look-back period, you can exclude a portion of the dollar gain, including the part created by currency movement. That can wipe out the currency gain in scenario one entirely.
Mexico has its own exemption for the sale of a primary residence, which the notario applies if you can prove Mexican tax residency at the property address. The two exemptions are independent. Qualifying for one does not mean you qualify for the other, and the Mexican exemption does nothing to reduce your US gain. The details are in The Mexican Capital Gains Exemption and Your US Return: Why It Doesn’t Transfer.
When Mexico does tax the sale, the ISR withheld by the notario can usually be claimed as a foreign tax credit on Form 1116, reducing your US tax on the same income. But because Mexico calculates the gain in pesos, adjusting your basis for Mexican inflation, while the US calculates it in dollars with currency effects, the two gains rarely match. You can pay Mexican tax on a gain the US doesn’t see, as in scenario three, and then have limited US tax to offset with the credit. Any unused credit may be carried back or forward under the normal rules. For the mechanics, see Form 1116 for Mexico: Turning ISR Into a US Tax Credit. For the Mexican calculation itself, see Capital Gains Tax When Selling Property in Mexico.
Getting This Right With Taxes for Expats
I’ve done a lot of my own paperwork over the years in Mexico. INM renewals, CFE accounts, predial payments at the municipal office. But a foreign property sale with currency effects is where I stopped doing it myself, and I’d suggest you consider the same. The calculation has too many moving parts, and an error in either direction costs you: overpay because you reported a peso gain that didn’t exist in dollars, or underpay and face penalties when the IRS spots a gain you missed.
What a Specialist Preparer Does Differently
Taxes for Expats is built around exactly this kind of cross-border return, and for a Mexican property sale that matters in very practical ways:
- They build the dollar basis from source documents. Rather than converting a single peso gain at year end, a preparer at Taxes for Expats converts your purchase, improvements, and sale at their own dates, which is the method the IRS requires.
- They catch the Section 988 piece. If you had a peso mortgage or held proceeds in pesos, they run the separate exchange calculation and report it in the right place as ordinary income or a nondeductible personal loss.
- They coordinate the exclusion and the credit. Applying Section 121 first and then sizing the foreign tax credit correctly is where much of the savings lives, and the order matters.
- They handle the reporting around the sale. A large peso deposit sitting in a Mexican account can push you into FBAR or Form 8938 territory. For a refresher on account reporting, see FBAR for Mexican Bank Accounts: Thresholds, Timing, and Penalties.
- They work with your Mexican paperwork. Escrituras, notario settlement sheets, and CFDI invoices are in Spanish, and an expat-focused team is used to reading them.
Pricing depends on the complexity of your return and the forms involved, so check the Taxes for Expats website for current figures before you book.
When to Bring in Help
Honestly, the best time is before you sign the promesa de compraventa. Knowing your projected dollar gain in advance can influence your timing, especially if you’re weighing whether to sell now or wait until you meet the residence tests for the exclusion. It can also help you decide whether to convert the proceeds immediately or hold pesos, a decision worth thinking through with Peso Volatility and Your Budget: Timing Conversions Without Guessing.
At minimum, bring in a professional:
- As soon as you have a signed offer and a projected closing date.
- If you ever rented the property, even for a single season.
- If any part of the purchase was financed in pesos.
- If the exchange rate moved substantially between your purchase and your sale.
- If you’ve missed prior years of FBAR or other foreign reporting and want to get clean before the sale shows up.
If you’re still deciding whether you need a professional at all, Do You Need an Accountant? Navigating Tax Filing as an Expat in Mexico lays out the trade-offs. My own answer, after one sale I handled myself and one I didn’t, is that the currency rule alone justifies the call. Reach out to Taxes for Expats with your escritura, your closing statement, and your improvement receipts, and let them build the dollar calculation. You’ll walk away knowing exactly what you owe, and why, before the IRS ever asks.
Disclaimer
This article is for general informational purposes only and does not constitute professional advice. Laws, prices and regulations vary by location and change over time. Consult a qualified professional for guidance on your specific situation.