Skip to content
Sun AccountingLLC · CPA

Selling Your Home: The $250,000 / $500,000 Exclusion (Section 121)

Tax year 2026Sun Accounting Tax TeamCPA reviewed on 2026-11-23

Up to $250,000 of gain on selling your main home ($500,000 for married couples filing jointly) is tax-free if you owned and lived in it for two of the past five years. Former rentals, homes abroad and early sales have special rules.

Key points

  • Exclusion: $250,000 single, $500,000 married filing jointly.
  • Requirements: in the five years before the sale, you owned the home for two years and lived in it as your main home for two years (they needn't overlap), and you haven't used the exclusion in the past two years.
  • A partial exclusion may apply if you sell early because of a job change, health or certain unforeseen events.
  • Depreciation taken (or allowable) while the home was rented isn't excluded and is taxed at up to 25%.
  • It applies to a main home abroad too, and U.S. tax residents must report the sale of a home overseas.

01 Who this applies to

Anyone who sold or plans to sell their main home, including homes once rented out, homes sold early because of a move, and homes in China or elsewhere abroad.

02 Key rules

Item Rule
Exclusion $250,000 single; $500,000 married filing jointly
Ownership 2 years within the 5 years before the sale
Use as main home 2 years within the same 5 years
Frequency Once every 2 years
Depreciation from rental years Not excludable; taxed at up to 25%

03 Figuring your gain

Gain = sale price − selling costs − adjusted basis

  • Selling costs: agent commissions, closing fees, legal fees.
  • Adjusted basis: original price + purchase costs + improvements (additions, a new roof, a new kitchen, new HVAC, anything that adds value or extends the home’s life) − depreciation. Routine repairs don’t count.

Partial exclusion: if you fall short of two years but sell because of a job change (the new workplace is at least 50 miles farther from the old home), health, or certain unforeseen circumstances, you can exclude a fraction: months you qualified ÷ 24.

Example: A married couple bought a home for $300,000 in 2015 and spent $60,000 on a new kitchen and roof in 2020. They sell in 2026 for $950,000, paying $55,000 in commissions and closing costs. Gain = $950,000 − $55,000 − ($300,000 + $60,000) = $535,000. Filing jointly they exclude $500,000, and $35,000 is taxed as long-term capital gain.

04 Common mistakes

  • “Buying a new home makes it tax-free.” That rule was repealed long ago. Only the Section 121 tests matter.
  • “All renovation costs add to basis.” Only improvements do; painting and fixing a leak don’t. Keep receipts.
  • “A former rental is fully excluded.” Depreciation is always taxed, and it’s based on what was allowable even if you never claimed it.
  • “A home abroad isn’t the IRS’s concern.” U.S. tax residents must report it, with careful currency conversion.

05 When to talk to a professional

  • Your gain exceeds the exclusion and you want to know the tax.
  • The home was once a rental, had a home office, or came through divorce or inheritance.
  • You’re selling a home in China or another country, with currency conversion, foreign tax credits, and possibly FBAR or Form 3520 reporting when the money comes to the U.S.

FAQ

For the $500,000 exclusion, do we both need two years?

At least one spouse must meet the ownership test, both must meet the two-year use test, and neither can have used the exclusion in the past two years. If only one spouse qualifies, you can generally exclude $250,000.

If my gain is under the exclusion, do I report the sale?

Not if the entire gain is excluded and you didn't receive Form 1099-S. If you got a 1099-S, report the sale even if no tax is due.

I rented the home before moving in. Can I still use the exclusion?

Yes, but rental periods after 2008 may count as "nonqualified use," making part of the gain taxable, and depreciation from the rental years is taxed.

Do I owe U.S. tax on selling my home in China?

U.S. tax residents report worldwide income. If it was your main home and you qualify, the exclusion applies; any excess is taxed as capital gain, and Chinese tax paid can usually be credited. Convert the purchase and sale amounts to dollars at the rates for each date.

Official sources

This article is general information, not tax, legal, or financial advice. Tax law changes often; always check current IRS and state guidance.