In short
- You can exclude up to US$250,000 of gain (US$500,000 on a joint return) if you owned the home and lived in it as your main home for at least two of the five years before the sale.
- Living in Chile does not cancel the exclusion, but it starts a clock: sell within about three years of moving out and you still meet the two-of-five-year test.
- Renting the house out after you move does not reduce the exclusion, but depreciation taken or allowable while it was rented is taxed when you sell.
- Your former state can tax the gain on a home located there, even after you leave, and not every state follows the federal rules the same way.
- If you are not a U.S. citizen or green card holder when you sell, the buyer generally must withhold 15% of the price under FIRPTA, unless an exception or an IRS withholding certificate applies.
The exclusion and its two-of-five-year test
Section 121 of the tax code lets you leave out of income up to US$250,000 of gain on the sale of your main home, or US$500,000 on a joint return. To qualify you must have:
- Owned the home for at least two years of the five years before the sale, and
- Lived in it as your main home for at least two years of those same five years. The two years do not have to be continuous.
For the US$500,000 limit on a joint return, either spouse can meet the ownership test, but both must meet the two-year use test. You can use the exclusion only once every two years.
Gain is the sale price minus selling costs, minus your basis: what you paid plus improvements, less any depreciation.
The clock that starts when you move
Living in Chile does not take the exclusion away. U.S. citizens and green card holders get it wherever they live. What changes is the five-year window. Each month you live in Chile is a month that does not count as use, so if you lived in the home for many years before moving, you generally have about three years after moving out to sell and still show two years of use within the last five.
Wait longer and the exclusion can disappear entirely, not just shrink. If you are undecided about selling, write down the date you moved out and the last date that still keeps two years of use inside the window.
Renting the house before you sell
Many people rent the house for a while after moving to Chile. That is generally compatible with the exclusion:
- The rental period after you move out does not reduce the exclusion. The rule that cuts the exclusion for "nonqualified use" does not count time within the five-year window after the last day you lived there.
- Depreciation is taxed anyway. Depreciation you took, or could have taken, while the house was rented cannot be excluded. It is taxed at up to 25% when you sell.
- Rent is U.S. income every year it is rented, on Schedule E, and usually taxable by the state where the house is.
State tax on the sale
A home is taxed by the state where it is located, even if you sold it years after moving away. Most states with an income tax start from the federal result, but not all treat the gain the same way. California, for example, allows the same exclusion but taxes any gain above it as ordinary income, without a lower capital gains rate.
The year you move is usually a part-year return for your old state. Our state residency guide and California residency guide cover how to close that door cleanly.
Plan the U.S. payment
When the gain is larger than the exclusion, nobody withholds federal tax for a U.S. citizen seller. Pay estimated tax for the quarter of the sale, or by January 15 for a sale late in the year, to avoid underpayment penalties. The excess gain is a long-term capital gain and may also carry the 3.8% net investment income tax.
Even when the whole gain is excluded, report the sale if you receive a Form 1099-S from the closing.
If you are not a U.S. citizen or green card holder
A Chilean who owned a U.S. home, or a former green card holder who has given up the card, is a foreign person under FIRPTA when selling:
- The buyer generally must withhold 15% of the sale price, not of the gain, and send it to the IRS.
- There is no withholding when the price is US$300,000 or less and the buyer will live in the house, and reduced withholding up to US$1 million in that case.
- If the real tax will be lower, for example because most of the gain is excluded, you can apply for a withholding certificate on Form 8288-B before closing. The IRS normally acts within 90 days.
- Any withholding above the real tax comes back by filing a U.S. return, Form 1040-NR, for the year of the sale.
A former long-term green card holder may also face the exit tax rules when giving up the card. See our exit tax guide.
What Chile sees
Under the U.S.–Chile treaty, the United States can tax the gain on U.S. real estate. Whether Chile also taxes it depends on your Chilean status at the time of the sale. Foreigners in their first three years of Chilean residence are generally taxed in Chile only on Chilean-source income (see Living in Chile). After that, Chile taxes worldwide income and credits foreign tax under the treaty. Bring the closing statement and your U.S. return to your contador, and keep records of the sale proceeds you transfer to Chile.
Common questions
I moved to Chile two years ago. Can I still sell tax-free?
Usually yes, if you lived in the home for at least two of the five years before the sale. Many people who lived in the house for years before moving have about three years after moving out to sell and still qualify.
Does renting the house after I move cost me the exclusion?
No, not by itself. Time after you move out, within the five-year window, does not reduce the exclusion. Depreciation from the rental years is taxed when you sell.
Will the buyer withhold tax from my sale?
Not if you are a U.S. citizen or green card holder. If you are a foreign person, the buyer generally withholds 15% of the price under FIRPTA unless an exception or a withholding certificate applies.
Do I owe state tax if I already left the state?
Usually yes, on gain above any exclusion, because the house is located there. How the gain is taxed depends on that state's rules.
Does Chile tax the sale of my U.S. house?
It depends on your Chilean status when you sell. In your first three years of Chilean residence, foreign-source income is generally not taxed in Chile. After that, Chile can tax it and credit the U.S. tax under the treaty.
General information, not individual U.S. or Chilean tax advice. Rules, thresholds and deadlines change; confirm them for your situation. Chile US Tax is an independent practice, not a government office.