Legal Clarity

US Taxes on Selling Property in Mexico : What an American Owes the IRS on a San Miguel Sale

Our page on Mexican capital gains stops at the border, because until now we held no primary US source to take it further. This one starts there: what the IRS does with a San Miguel de Allende sale, drawn from the Internal Revenue Code, Treasury regulations, the treaty text and IRS publications, and what none of them settles.

By · Updated

Short answer

Yes. A US citizen or US tax resident reports the gain on a Mexican home sale on Form 8949 and Schedule D, measured in dollars at the exchange rates on the days of purchase and sale. Mexican income tax paid at closing is generally creditable on Form 1116, but only up to the US tax on that gain, and not, under Treasury's regulation, against the 3.8 per cent Net Investment Income Tax.

Yes. If you are a US citizen or a US tax resident and you sell a house in Mexico, the gain is taxable in the United States as well as in Mexico. Mexico taxes first, through the notario at closing. The United States taxes the same gain on your return for that year, measured in dollars rather than pesos, and allows a foreign tax credit for the Mexican income tax, capped at the US tax on the gain. Mexico’s rates, 35 per cent of the gain or 25 per cent of the whole price, are higher than the US long-term rates of 0, 15 and 20 per cent, so the Mexican bill is often the larger, though currency movements can reverse that. When it is, the credit usually removes the regular US tax on the gain, does not touch the 3.8 per cent Net Investment Income Tax, and leaves the surplus to a carryforward that a seller with no other foreign income cannot use.

Our page on capital gains tax in Mexico declined to say any of this, because our research then held no primary US material. This page supplies it from the Internal Revenue Code, Treasury regulations, the treaty and IRS publications, summarising the Mexican side briefly.

Do I pay US tax when I sell my house in Mexico?

Yes, and living in Mexico does not change it. IRS Publication 54: if you are a US citizen or resident alien, “your worldwide income is generally subject to U.S. income tax, regardless of where you are living.”

The tax treaty does not switch this off. Article 1(3) of the US–Mexico convention lets each country tax its citizens “as if the Convention had not come into effect”. What Article 1(4) preserves is the relief-from-double-taxation article, which is where the credit comes from.

Two beliefs common among Americans living in San Miguel full-time are wrong. The foreign earned income exclusion does not cover the sale: Publication 54 says “the only income that is foreign earned income is income from the performance of personal services abroad. Investment income isn’t earned income.” And paying Mexico does not settle the matter. Mexican tax is a credit against US tax, not an exemption from it, and the credit has a ceiling.

What Mexico takes first, in one table

The Mexican side is set out in full on our capital gains page. For a non-resident seller, which is how most foreign owners in San Miguel sell:

Rule Position Source
Default tax 25% of the gross sale price, no deductions LISR Art. 160
Elective tax 35%, the top rate, on the computed gain LISR Art. 160
Which is cheaper The gain basis, whenever the gain is under about 71.4% of the price Arithmetic on the two rates
Mexican representative Not required to elect where the sale is by escritura pública LISR Art. 160
Who computes and pays The notario, under personal responsibility, within 15 days of signing LISR Art. 160
Guanajuato’s 5% Credited against the federal payment, not added to it LISR Art. 127
Principal-residence exemption Caps the exempt sale price at 700,000 UDIs; Mexican tax residents only LISR Art. 93 fr. XIX
Building depreciation 3% a year, to a floor of 20% of cost LISR Art. 124

Two features of that table drive what follows. Mexico computes its gain in pesos, indexed for Mexican inflation and written down by mandatory depreciation. And Mexico collects within fifteen days, long before the IRS sees anything.

How the sale goes on your US return

A gain you cannot exclude is reported on Form 8949 and carried to Schedule D, “on Part I or Part II of Form 8949 as a short-term or long-term transaction, depending on how long you owned the home,” per Publication 523. The holding period runs from the day after you acquired the property to the day you sold it. More than one year is long-term.

The date of sale matters more than usual, because it fixes the exchange rate. Where no Form 1099-S is issued, Publication 523 sets it as the earlier of the date title transferred and the date “the economic burdens and benefits of ownership shifted to the buyer.”

What you held, and for how long US treatment Rate for 2026
Any property, one year or less Short-term gain, taxed as ordinary income 10% to 37%
Any property, more than one year Long-term capital gain Joint filers: 0% up to US$98,900 of taxable income, 15% up to US$613,700, 20% above. Single: US$49,450 and US$545,500
Rented property, the gain equal to depreciation Unrecaptured section 1250 gain Up to 25%
Any of the above, above the income thresholds Net Investment Income Tax 3.8%
A loss on a house held for personal use Not deductible Not applicable

The 2026 thresholds come from Revenue Procedure 2025-32. The last row matters: Publication 544 states that a “loss from the sale or exchange of property held for personal use is not deductible.” A holiday home sold at a dollar loss produces no US deduction, and, as the currency section shows, can still produce a Mexican tax bill.

Does the $250,000 home-sale exclusion apply to a house in Mexico?

It can, if the house was your main home. For most American owners in San Miguel it was not.

Section 121(a) excludes gain on property “owned and used by the taxpayer as the taxpayer’s principal residence for periods aggregating 2 years or more” in the five years ending on the sale: up to US$250,000, or US$500,000 on a qualifying joint return. Neither the statute nor Publication 523 sets any condition about where the residence is, so a house in San Miguel faces the same tests as one in Texas. We found no IRS statement on foreign homes specifically, and rest that conclusion on the absence of a location requirement, not on a ruling.

The tests are where San Miguel owners fail. “An individual has only one main home at a time,” says Publication 523, and where you own more than one, “the most important factor is where you spend the most time.”

Your situation Section 121 What follows
You owned and lived in the San Miguel house as your main home for two of the last five years Can qualify Gain up to the cap excluded, and excluded gain is outside the NIIT
You split the year, and most of it is spent in the US house Not for the San Miguel house Whole dollar gain taxable
A vacation home, used seasonally Does not qualify Whole dollar gain taxable
A vacation home or rental that later became your main home Partly Use other than as a principal residence after 2008 is, with exceptions, nonqualified use, and the gain allocated to it cannot be excluded
Rented at any point after 6 May 1997 Partly Gain equal to depreciation allowed or allowable after that date cannot be excluded

Those who do qualify meet a second problem. Mexico’s own exemption depends on Mexican tax residency, not on the US test, and caps the exempt sale price at 700,000 UDIs; our residency page covers the status. A couple can exclude the gain in the United States and still pay Mexican tax on it. The credit does not help, because the Form 1116 limit is built on taxable foreign-source income, and excluded gain is not taxable income. That Mexican tax is simply a cost.

Your gain is measured in dollars, not pesos

This is the part most guidance skips. The IRS rule: if your functional currency is the dollar, which Publication 514 says it is for anyone not self-employed, “you must immediately translate into dollars all items of income, expense, etc. (including taxes), that you receive, pay, or accrue in a foreign currency … Use the exchange rate prevailing when you receive, pay, or accrue the item.” Applied to a house, that means four translations, each on its own date:

  • Your cost, at the rate on the day you paid it. Publication 551 defines cost as “the amount you pay”; if you paid in dollars, there is nothing to translate.
  • Each capital improvement, at the rate on the day you paid for it.
  • The sale price and selling expenses, at the rate on the date of sale.
  • The Mexican tax, for a cash-method filer at the rate on the date it was withheld, per Publication 514.

Mexico does none of this. It computes a peso gain on the escritura figures, indexed for Mexican inflation, with the building written down 3 per cent a year. Two gains on one house, measured in two currencies by two methods, can come out far apart, and with opposite signs.

The rows below use round, hypothetical exchange rates chosen for legible arithmetic, not quotations of any historical rate.

Case Purchase Sale Peso result Dollar result What follows in the United States
A. Both gain MXN 6,000,000 at 15.00 = US$400,000 MXN 14,000,000 at 17.50 = US$800,000 Gain of MXN 8,000,000 Gain of US$400,000 Taxable gain; Mexican tax available as a credit
B. Peso gain, dollar loss MXN 8,000,000 at 12.50 = US$640,000 MXN 10,000,000 at 20.00 = US$500,000 Gain of MXN 2,000,000 Loss of US$140,000 No US tax and no deductible loss; Mexican tax, up to MXN 2,500,000 on the default basis, has no US tax on the sale to offset
C. Peso loss, dollar gain MXN 10,000,000 at 20.00 = US$500,000 MXN 9,520,000 at 17.00 = US$560,000 Loss of MXN 480,000 Gain of US$60,000 Taxable US gain; Mexican gain-basis tax depends on the notario’s indexed computation and may be little or nothing, leaving little to credit

Case C carries a second warning. Without the election, the default Mexican tax would still be 25 per cent of the gross, MXN 2,380,000, on a sale that lost money in pesos.

The swings are real even if these rates are not. On the IRS yearly averages, the peso ran at 20.284 per dollar in 2021, 17.733 in 2023 and 19.212 in 2025. Those are annual averages, not the rate for your purchase or sale; our currency risk page explains why the two measures must not be mixed.

Leave the proceeds in pesos and convert later, and the movement in between is a separate item. Section 988(e) of the Code disregards the exchange gain on an individual’s personal transaction only where it is 200 dollars or less. Anything larger is for your preparer to classify.

The foreign tax credit: how Mexican tax comes off the US bill

The mechanism is Form 1116. Publication 514 lets you take qualified foreign income taxes as a credit or as an itemised deduction, all one way in a given year, and notes that the credit is usually worth more.

The gain is foreign-source: Publication 514 sources the sale of real property where the property is, and for a US resident Article 24(3) of the treaty treats Article 13 gains as arising in Mexico. That matters because of the ceiling: “Your foreign tax credit cannot be more than your total U.S. tax liability multiplied by a fraction. The numerator of the fraction is your taxable income from sources outside the United States. The denominator is your total taxable income from U.S. and foreign sources.” In practice, the credit is capped at roughly the US tax on the foreign gain.

Question Answer Source
Is Mexican ISR on a property sale an income tax for the credit? The treaty treats tax under Mexico’s Income Tax Law as an income tax, subject to US law; Publication 514’s attribution test accepts a tax on gains from real property located in the taxing country Treaty Arts. 2(3)(b), 24(1); Pub. 514
How much counts? The legal and actual liability, not necessarily what was withheld; nothing reasonably certain to be refunded Pub. 514
Which category? Passive income includes net gain from selling non-income-producing investment property, but income taxed abroad above the highest US rate that can apply is “high-taxed” and moves to the general category; the basket is settled on Form 1116 Pub. 514
What if Mexico took more than the cap? Carry the excess back one year and forward ten, usable only against US tax on other foreign-source income in the same category Pub. 514
When is it claimed? Cash-method filers, in the year the tax is paid, unless they elect to claim credits when taxes accrue Pub. 514

Read the carryforward row plainly. A surplus credit is worth something only if, within ten years, you have other foreign-source income in the same category lightly enough taxed abroad to leave room under the cap. A seller whose only foreign income was the house will have none.

One caution. Treasury rewrote the definition of a creditable foreign tax in January 2022, and Notices 2023-55 and 2023-80 let taxpayers apply the earlier definitions until further notice. We found no IRS guidance applying either version to the Article 160 tax on 25 per cent of gross. The treaty language points towards creditability; we state no more than that.

Why the 25 or 35 per cent election reaches your US return

Here the Mexican choice stops being purely Mexican.

Treasury Regulation section 1.901-2(e)(5) treats any payment above your actual liability under foreign law as not a tax at all for credit purposes, and measures liability by applying foreign law “in such a way as to reduce, over time, the taxpayer’s reasonably expected liability”. Paragraph (e)(5)(iii)(A) deals with elections directly: “where foreign tax law provides a taxpayer with options or elections in computing its liability for foreign income tax whereby a taxpayer’s foreign income tax liability may be permanently decreased in the aggregate over time, the taxpayer’s failure to use such options or elections results in a foreign payment in excess of the taxpayer’s liability for foreign income tax.”

Article 160’s gain-basis election is such an option. Read literally, a seller who pays 25 per cent of gross when 35 per cent of the gain would have been lower has paid more than the liability, and the difference is at risk of not being creditable at all, not even as a carryforward. The regulation does excuse reductions whose arm’s-length cost would exceed the saving. We found no IRS guidance applying the rule to this election, so treat it as a strong reason to run both numbers before closing, not as a settled outcome.

The practical conclusion is simpler. When the Mexican tax on either basis exceeds the US tax on the gain, the choice does not change your US bill that year, because the credit is capped either way. It changes how much Mexican tax you pay and how much is stranded. The US credit will not rescue a wrong Mexican choice.

What the US–Mexico tax treaty says about selling real estate

Less than people hope. Article 13(1): gains a resident of one state derives “from the alienation of immovable property … situated in the other Contracting State may be taxed in that other State,” with immovable property defined, under Article 6(2), by the law of the country where it sits. Mexico keeps the right to tax the gain on a San Miguel house sold by a US resident. Publication 54 notes this is the norm: several treaties exempt capital gains “other than from sales of real property in most cases.”

What the treaty adds is Article 24(1): the United States must allow its residents and citizens a credit for “the income tax paid to the other Contracting State”, treating tax under Mexico’s Income Tax Law as an income tax, “in accordance with the provisions and subject to the limitations of the law” of the United States. The credit is the domestic Form 1116 credit, ceiling and all. Article 24(4) adds ordering rules for a US citizen resident in Mexico; they are technical, and the point to carry away is that Mexican residence does not switch off US tax.

A worked example: a San Miguel second home, in pesos and dollars

Every number here is hypothetical. The exchange rates are not historical quotations, the Mexican taxable gain is an assumption rather than a computation, and no figure is San Miguel market data.

A married couple, US tax residents in Texas, filing jointly. The San Miguel house was a second home, never rented. Bought in 2016, improved in 2019 with invoiced work, sold in 2026; selling costs ignored. The notario’s Mexican gain, after indexing and Article 124 depreciation, is assumed to be MXN 6,000,000, which is 42.9 per cent of the price and under the 71.4 per cent crossover, so they elect the 35 per cent basis. For simplicity the whole US gain is taxed at 20 per cent, although in 2026 that rate starts at US$613,700 of joint taxable income, and the Form 1116 limit is taken to equal the US tax on the gain, an approximation of the real computation.

Line MXN Hypothetical MXN per USD USD
Purchase price, paid in pesos, 2016 6,000,000 15.00 400,000
Improvements with facturas, 2019 1,000,000 20.00 50,000
US adjusted basis 450,000
Sale price, 2026 14,000,000 17.50 800,000
US long-term gain 350,000
Mexican taxable gain, assumed 6,000,000
Mexican tax, default 25% of gross (not chosen) 3,500,000 17.50 200,000
Mexican tax, elected 35% of gain (paid) 2,100,000 17.50 120,000
US tax on the gain at an assumed 20% 70,000
Foreign tax credit allowed, capped at the US tax 70,000
Regular US tax left on the gain 0
Mexican tax not usable this year 50,000
Net Investment Income Tax at 3.8%, not reducible by the credit 13,300
Total tax on the sale, Mexico and US 133,300

The couple pays US$133,300: 16.7 per cent of the sale price and 38.1 per cent of the dollar gain. The regular US tax disappears into the credit; the NIIT does not. The US$50,000 of Mexican tax above the cap carries back one year and forward ten, and is worth something only against other foreign-source income in the same category.

On the default basis, the Mexican tax would have been US$200,000, the credit still capped at US$70,000, and the total US$213,300. On a literal reading of the regulation, the US$80,000 difference would not be creditable in any year.

If you rented it out: depreciation recapture on both sides

Renting through Airbnb or a long let changes the US arithmetic in three ways.

Publication 946 requires the Alternative Depreciation System, straight-line, for property “used predominantly outside the United States”, and Publication 527 sets the ADS period for residential rental property at 30 years, generally 40 for property placed in service before 2018. Basis falls whether or not you claimed it: “If you do not claim depreciation you are entitled to deduct, you must still reduce the basis of the property by the full amount of depreciation allowable,” says Publication 946. On sale, the gain equal to that depreciation is unrecaptured section 1250 gain, taxed at up to 25 per cent under Topic 409, and Publication 523 bars it from the home-sale exclusion even where the rest of the gain qualifies.

In the worked example, US$40,000 of depreciation would raise the dollar gain to US$390,000, with US$40,000 taxed at up to 25 per cent and the rest at 20 per cent: US$80,000 of regular tax before the credit rather than US$70,000. Here the US$120,000 Mexican credit still absorbs it; with a smaller Mexican bill it would not.

Mexico’s building depreciation is a separate thing. Article 124 writes construction cost down 3 per cent a year for anyone computing a Mexican gain, landlord or not, and it neither follows nor affects what you claimed in the United States. The rental income is taxed in Mexico under its own regime, covered on our rental income tax page; the letting economics are on our short-term rental page.

The 3.8 per cent the credit cannot touch

The Net Investment Income Tax is 3.8 per cent of the lesser of net investment income or the amount by which modified adjusted gross income exceeds US$250,000 on a joint return, US$200,000 for single filers or US$125,000 for married filing separately. The IRS notes these thresholds “are not indexed for inflation,” and lists “gain from the sale of a second home that is not a primary residence” as net investment income. Gain excluded under section 121 is not.

Regulation section 1.1411-1(e), issued in Treasury Decision 9644, states that foreign income taxes allowed as a credit under sections 27(a) and 901 “are not allowed as a credit against the section 1411 tax.” Its preamble adds that a treaty granting the credit subject to “the limitations of United States law” would, in Treasury’s view, “not provide an independent basis for a credit against the section 1411 tax.” Article 24(1) of the Mexican treaty uses equivalent wording: the credit is allowed “subject to the limitations of the law of the Contracting States”. We have found no authority on the Mexican treaty specifically and take no position beyond the regulation. For a high-income seller of a San Miguel second home, the NIIT is often the US tax that survives the credit.

Corrected 8 October 2026: earlier versions of this page said Article 24(1) of the Mexican treaty contains the phrase “the limitations of United States law”. Its wording is “subject to the limitations of the law of the Contracting States” (United States–Mexico Income Tax Convention, Treasury text published by the IRS, read 8 October 2026). The table of Mexican rules also cited Article 126 of the Ley del Impuesto sobre la Renta for the notario’s fifteen days; for a non-resident seller the same rule is in Article 160 itself, which the table now cites.

State income tax: Texas and California as the two ends

We researched two states. California taxes residents on “all income regardless of source,” according to its Franchise Tax Board, and “does not have a lower rate for capital gains. All capital gains are taxed as ordinary income.” Its credit for tax paid elsewhere excludes, in the Schedule S instructions, “taxes paid to any foreign country.” A California resident’s Mexican tax produces no California credit.

Texas is the other end. The state comptroller records that “Texans pay federal income taxes but not state or local income taxes,” which is why the worked example uses Texas. For any other state, check its treatment of foreign-source gains and foreign taxes before assuming either outcome.

The proceeds: FBAR and Form 8938

The house, held directly in your own name, is reportable on neither form: the IRS comparison table lists foreign real estate held directly as outside both. The account the proceeds land in is another matter, as is the peso account many owners already keep for predial and staff, a point our American buyer’s guide makes.

FBAR (FinCEN Form 114) Form 8938
Filed with FinCEN, electronically The IRS, with your return
Threshold Aggregate foreign accounts over US$10,000 at any time in the calendar year Living in the US: joint over US$100,000 at year end or US$150,000 at any time; single US$50,000 or US$75,000. Living abroad: US$200,000 or US$300,000; joint US$400,000 or US$600,000
The house, held directly Not reported Not reported
Due 15 April, automatic extension to 15 October With the return

Sale proceeds paid into a Mexican bank cross the FBAR threshold the day they land, and because Form 8938 also tests the highest value at any time in the year, they may cross its thresholds even if moved out quickly.

Mexico collects in fifteen days; the IRS collects later

The two systems run on different clocks, which creates two practical problems.

The first is cash flow. The notario remits the Mexican tax within fifteen days of signing. The US tax is due with the return for the year of sale, but the IRS expects it earlier through estimated tax, with 2026 instalments on 15 April, 15 June and 15 September 2026 and 15 January 2027, per Publication 505. You are generally protected from the underpayment penalty if you pay 90 per cent of this year’s tax or 100 per cent of last year’s, 110 per cent where last year’s adjusted gross income exceeded US$150,000. For income that arrives unevenly, Publication 505 points to the annualized income installment method, and it notes that the NIIT may need to be included, which matters because the credit will not absorb it.

The second is the year-end straddle. Publication 514 lets a cash-method filer claim the credit “only in the year in which you pay the tax.” A late-December closing whose Mexican payment is made in January puts the gain in one US tax year and the Mexican tax in the next. The one-year carryback can return the credit to the year of the gain, but only by amending that return afterwards. Publication 514 also offers an election to claim credits in the year taxes accrue, made on a timely original return and binding thereafter. If a December signing is possible, raise it with your preparer before the date is set.

Can you avoid capital gains tax on a Mexican property sale?

Not legally. The shortcut still occasionally suggested in inland Mexican markets, under-declaring the deed, is shown on our capital gains page to be expensive on exit. What you can do is keep the Mexican tax as low as the statute allows and stop the same gain being taxed in full twice.

Lever Side What it does
Elect 35% of the gain when it beats 25% of gross Mexico, and the US credit Lowers Mexican tax; avoids an excess the credit may not recognise
Keep facturas for every capital improvement Both Deductible in Mexico under Art. 121; adds to US basis at the rate on the day paid
Separate land and construction in the acquisition escritura Mexico Limits the Art. 124 write-down
Claim the foreign tax credit on Form 1116 US Removes regular US tax up to the cap
Make the house genuinely your main home US Up to US$250,000 or US$500,000 excluded, and outside the NIIT
Hold for more than a year US Long-term rates instead of ordinary rates
Plan the signing date US Avoids a year-end straddle between the gain and the credit

Becoming a Mexican tax resident to reach Mexico’s own exemption suits some owners and not others. It changes your Mexican position on everything, not only the house, and does nothing to US tax on a citizen. It is a decision for someone who holds both sides of the file.

Documents to keep from the day you buy

Every figure on the US side has to be proven in dollars on dates that may be a decade old, and every figure on the Mexican side in pesos with Mexican paperwork. Collect it the week you buy. Our buying process and closing costs pages describe the documents as they arise.

Keep Mexico uses it for The IRS uses it for
Acquisition escritura, with land and construction stated separately Proven cost, Art. 121; the land split, Art. 124 Evidence of cost and date
Proof of payment for the purchase: wire confirmations showing currency, amount and date Nothing Your dollar cost, at the rate prevailing on the day you paid
Bank conversion statements for every peso payment Nothing Evidence of the exchange rate actually used
Acquisition closing statement: ISAI, notary, registry, appraisal Deductions, Art. 121 fr. III Closing costs includible in basis where they qualify; Publication 523 lists transfer or stamp taxes, legal and recording fees
CFDI facturas for capital improvements, with proof of payment and dates Deductions, Art. 121 fr. II Increases to basis, each translated on its payment date
Sale escritura and seller’s closing statement, including commission The tax computation Amount realized, selling expenses and date of sale
The notario’s calculation and the receipt for the Mexican tax paid for you, with a certified translation Proof of payment Form 1116; Publication 514 asks for “a receipt for each foreign tax payment” and, where it is in a foreign language, “a certified translation”
US depreciation schedules, if the house was ever rented Nothing Unrecaptured section 1250 gain; the allowed-or-allowable rule
Statements for the account that receives the proceeds Nothing Maximum values for FBAR and Form 8938
A record of days spent in each home, if you will claim section 121 Supporting evidence if you claim Mexican tax residency The facts-and-circumstances test for your main home

Ask the notario, in writing and before signing, which document you will receive as evidence of the tax paid. Publication 514 gives you ten years from the return’s due date to claim a refund if you find you paid more foreign tax than you claimed, which is a reason to keep the file, not to defer building it.

What we could not establish

Question What we publish Why
An IRS statement that section 121 applies to a principal residence outside the United States Only that neither the statute nor Publication 523 sets a location condition No IRS guidance on foreign homes found
Whether the Article 160 tax on 25% of gross is creditable under the post-2022 regulations That the treaty treats Mexican Income Tax Law tax as an income tax, and that relief notices are in force No IRS ruling on Article 160 found
How the IRS applies the election rule in Reg. 1.901-2(e)(5)(iii)(A) to Article 160 The rule’s text and its literal reading No guidance applying it to this election found
Whether the Mexican treaty supports a credit against the NIIT Treasury’s stated view only Not researched beyond the regulation and preamble
Which document a Guanajuato notario issues as proof of the tax paid Advice to ask in writing Not sourced
How each line of a Mexican closing statement maps to US basis categories The IRS categories, not the mapping A preparer’s determination
State treatment outside California and Texas Nothing Not researched
Peso mortgages, inheritance and gifts of Mexican property Nothing Outside this page’s research

The American side of a San Miguel sale is not harder than the Mexican side. It is decided on a different calendar, in a different currency, and nobody at a Mexican closing table is responsible for it. The notario answers for Mexico. The agent is paid on the price. Your US return is yours.


This is published research, not tax or legal advice. The US rules cited are those published by the IRS and Treasury for the 2025 and 2026 tax years and retrieved on 24 September 2026; thresholds and rates change, and the worked example uses hypothetical figures throughout. Before you sign a promissory contract to sell, engage a US-licensed CPA or enrolled agent who regularly prepares returns involving Mexican property and Form 1116, and have them speak to your notario before closing rather than after. Invest In San Miguel is not a brokerage, earns no commission, and has no financial interest in whether your sale or your purchase closes.

Sources

  1. IRS Publication 54, Tax Guide for U.S. Citizens and Resident Aliens Abroad (worldwide income; investment income is not foreign earned income; treaties rarely exempt real property gains; FBAR due dates) · Publication 54 (12/2025), retrieved 24 September 2026
  2. IRS Publication 523, Selling Your Home (section 121 tests, one main home at a time, nonqualified use, depreciation carve-out, reporting on Form 8949 and Schedule D, date of sale, basis and amount realized) · Publication 523 (2025), for 2025 returns, retrieved 24 September 2026
  3. 26 U.S.C. section 121(a) and (b), exclusion of gain from sale of principal residence (statute text via Cornell Legal Information Institute) · Current text, retrieved 24 September 2026
  4. IRS Publication 551, Basis of Assets (cost basis is the amount paid; improvements increase basis) · Publication 551 (12/2025), retrieved 24 September 2026
  5. IRS Publication 544, Sales and Other Dispositions of Assets (short-term and long-term holding periods; loss on personal-use property not deductible) · Publication 544 (2025), retrieved 24 September 2026
  6. IRS Tax Topic 409, Capital gains and losses (holding-period count; short-term gains taxed as ordinary income; unrecaptured section 1250 gain at a maximum 25 per cent) · Page last reviewed 24 September 2026
  7. IRS Revenue Procedure 2025-32 (2026 capital gains rate thresholds; 37 per cent top ordinary rate made permanent) · Tax years beginning in 2026
  8. IRS, Foreign currency and currency exchange rates (translate at the rate prevailing when you receive, pay or accrue the item) · Page last reviewed 22 May 2026
  9. IRS, Yearly average currency exchange rates, Mexican peso (2021 20.284; 2022 20.110; 2023 17.733; 2024 18.330; 2025 19.212) · Page last reviewed 17 September 2026
  10. 26 U.S.C. section 988(e), personal foreign currency transactions and the 200 dollar exclusion (statute text via Cornell Legal Information Institute) · Current text, retrieved 24 September 2026
  11. IRS Publication 514, Foreign Tax Credit for Individuals (limitation formula, categories, high-taxed income, carryback and carryover, legal and actual liability, attribution requirement, exchange rate for taxes paid, records) · Publication 514 (2025), retrieved 24 September 2026
  12. IRS Instructions for Form 1116 (adjustments to foreign-source capital gains; Notices 2023-55 and 2023-80) · Instructions for Form 1116 (2025), retrieved 24 September 2026
  13. Treasury Regulation section 1.901-2(e)(5), noncompulsory payments and the effect of foreign tax law elections (eCFR) · Applies to foreign taxes paid in tax years beginning on or after 28 December 2021; text current at retrieval, 24 September 2026
  14. IRS Notice 2023-55, temporary relief on the definition of a creditable foreign income tax, Internal Revenue Bulletin 2023-32 (extended until further notice by Notice 2023-80) · Notice dated 21 July 2023
  15. United States–Mexico Income Tax Convention and Protocol, signed 18 September 1992, Articles 1, 2, 6, 13 and 24 (Treasury text published by the IRS) · In force 28 December 1993; effective 1 January 1994
  16. IRS Publication 946, How To Depreciate Property (ADS required for property used predominantly outside the United States; basis reduced by depreciation allowed or allowable) · Publication 946 (2025), retrieved 24 September 2026
  17. IRS Publication 527, Residential Rental Property (ADS recovery period for residential rental property: 30 years; 40 years if placed in service before 2018) · Publication 527 (2025), retrieved 24 September 2026
  18. IRS Tax Topic 559, Net investment income tax (3.8 per cent; thresholds; excluded home-sale gain not subject) · Page last reviewed 24 September 2026
  19. IRS, Questions and Answers on the Net Investment Income Tax (thresholds not indexed; second-home gain is net investment income) · Page last reviewed 14 September 2026
  20. Treasury Decision 9644, Net Investment Income Tax, Regulation section 1.1411-1(e) and preamble (foreign tax credit not allowed against the section 1411 tax), Internal Revenue Bulletin 2013-51 · Published 16 December 2013
  21. FinCEN, Report Foreign Bank and Financial Accounts (FBAR required where aggregate foreign account value exceeds 10,000 dollars at any time in the calendar year) · Retrieved 24 September 2026
  22. IRS, Do I need to file Form 8938, Statement of Specified Foreign Financial Assets (reporting thresholds) · Page last reviewed 20 September 2026
  23. IRS, Comparison of Form 8938 and FBAR requirements (foreign real estate held directly is reportable on neither) · Page last reviewed 19 September 2026
  24. IRS Publication 505, Tax Withholding and Estimated Tax (2026 due dates, safe harbours, annualized income installment method, NIIT in estimated tax) · Publication 505 (2026), retrieved 24 September 2026
  25. California Franchise Tax Board — Residents (taxed on all income regardless of source); Capital gains and losses (no lower rate for capital gains); 2025 Instructions for Schedule S (no other-state credit for taxes paid to a foreign country) · 2025 instructions and FTB pages retrieved 24 September 2026
  26. Texas Comptroller of Public Accounts — Taxes of Texas: A Field Guide (Texans pay federal income taxes but not state or local income taxes) · December 2025 edition
  27. Cámara de Diputados — Ley del Impuesto sobre la Renta, Artículos 93 fr. XIX, 121, 124, 126, 127 and 160 (Mexican side, summarised; full treatment on our capital gains page) · Texto vigente, última reforma DOF 1 April 2024

Common Questions

If I sell my house in Mexico, do I pay taxes in the USA?

Yes, if you are a US citizen or a US tax resident. The United States taxes citizens and resident aliens on worldwide income regardless of where they live, and the US–Mexico tax treaty preserves that right. The gain is reported on Form 8949 and Schedule D for the year of sale, measured in dollars using the exchange rate on the day you bought and the day you sold. Mexican income tax withheld by the notario is generally creditable on Form 1116, but only up to the US tax on that gain. Where the Mexican tax is higher, the regular US tax on the gain can fall to zero, while the 3.8 per cent Net Investment Income Tax, if it applies, cannot be reduced by the credit under Treasury's regulation.

Can I use the $250,000 home sale exclusion on a house in Mexico?

Only if it was your main home. Section 121 excludes up to 250,000 dollars of gain, or 500,000 on a qualifying joint return, where you owned and lived in the property as your principal residence for at least two of the five years before the sale. Neither the statute nor IRS Publication 523 sets any condition about where the home is, so a house in San Miguel de Allende faces the same test as one in Texas. The obstacle is the test itself: you have only one main home at a time, and the most important factor is where you spend the most time. A vacation home used for part of the year does not qualify.

Does Mexican capital gains tax count as a credit against US tax?

Generally yes, within limits. The US–Mexico treaty obliges the United States to credit income tax paid to Mexico, subject to the limitations of US law, and treats the tax imposed by Mexico's Income Tax Law as an income tax for that purpose. The credit is claimed on Form 1116 and cannot exceed the US tax on your foreign-source income in the same category. Only the legal and actual Mexican liability counts, and a Treasury regulation treats tax paid because you failed to use a foreign election that would have permanently lowered it as not creditable. Unused credit carries back one year and forward ten, which helps only if you have other foreign-source income.

Is the gain on a Mexican property sale calculated in pesos or in dollars for the IRS?

In dollars. The IRS requires a filer whose functional currency is the dollar to translate each foreign-currency item at the exchange rate prevailing when it is paid or received. Your basis is what you paid, translated on the purchase date; improvements are translated on the dates you paid for them; the sale price is translated on the date of sale. Mexico computes its own tax in pesos, indexed for Mexican inflation. Because the two gains are measured differently they can diverge sharply, and can carry opposite signs: a peso gain can be a dollar loss, and a peso loss can be a dollar gain.

What is the capital gains tax in Mexico for non-residents?

Under Article 160 of Mexico's income tax law, a non-resident seller pays either 25 per cent of the gross sale price with no deductions, or elects 35 per cent of the computed gain instead. The gain basis is cheaper whenever the gain is under about 71 per cent of the price, and no Mexican representative is needed to make the election where the sale is by public deed. The notario computes the tax and remits it within fifteen days of signing. For a US seller the choice also matters at home, because a Treasury regulation treats foreign tax paid by failing to use an election that would have lowered it as not creditable.

Do I have to report the Mexican bank account where my sale proceeds are paid?

Very likely. FinCEN requires an FBAR from any US person whose foreign financial accounts exceed 10,000 dollars in aggregate at any time during the calendar year, and sale proceeds will cross that line the day they land. Form 8938 applies separately at higher thresholds: for a married couple filing jointly and living in the United States, more than 100,000 dollars at year end or 150,000 at any time; for joint filers living abroad, 400,000 and 600,000. The house itself, held directly in your own name, is reportable on neither form. The FBAR is due 15 April, with an automatic extension to 15 October.

How do I avoid paying capital gains tax twice when I sell property in Mexico?

You cannot avoid the Mexican tax, which is collected at closing, but you can usually stop the same gain being taxed in full twice. Claim the Mexican income tax as a foreign tax credit on Form 1116. Elect Mexico's 35 per cent gain basis whenever it is lower than 25 per cent of gross, because an avoidable excess may not be creditable at all. Document your basis on both sides from the day you buy. And watch the calendar: a late-December closing whose Mexican payment falls in January puts the credit in a different tax year from the gain, recoverable through the one-year carryback only after the fact, unless you have elected to claim credits when taxes accrue.

Does the 3.8 per cent Net Investment Income Tax apply to selling a second home in Mexico?

Yes, if your modified adjusted gross income exceeds the thresholds: 250,000 dollars for married filing jointly, 200,000 for single filers and 125,000 for married filing separately, none of them indexed for inflation. The IRS lists gain on a second home that is not a primary residence as net investment income; gain excluded under the home-sale exclusion is not. The Treasury regulation implementing the tax states that foreign income taxes allowed as a credit under the regular rules are not allowed as a credit against it, so the Mexican tax does not reduce it, even when it wipes out the regular US tax on the same gain.

Free quarterly report · Q3 2026 edition

Every statute and fee on this site, in one document.

The SMA Wealth Intelligence Report, 80 pages, free. What homes actually closed for and how long they took, supply at 1.6 to 2 times what this market calls normal, six neighbourhoods, the full cost of buying, holding and selling, the law, and a briefing for your situation. It opens with a digest you can read in ten minutes. No commission agenda, because we do not earn one.

Free. The download starts on the next screen. We email you when a new edition is out or the numbers change, and you can tell us to stop at any time. The phone number is optional: only Diego would ever use it, and no agent or broker receives your details. Privacy notice.

Email Diego Lujan

diego@diegolujanstudio.com

Or open a new message in

Gmail Outlook Mail app

He answers every message himself, usually within two working days. You can also ask through the form.