Skip to main content
Back to Tax & Finance

Capital Gains Tax When You Sell Your Home in the U.S.: The Section 121 Exclusion Explained

Jurisdiction: United States
Practice Area: Tax & Finance
Published: August 12, 2026
Last Updated: August 12, 2026
Reading time: 6 min
Written byElena Rossi

Updated August 12, 2026

Capital Gains Tax When You Sell Your Home in the U.S.: The Section 121 Exclusion Explained

Key Takeaways

  • Up to $250,000 of gain ($500,000 married filing jointly) on the sale of a primary residence can be permanently excluded from federal capital gains tax under IRC Section 121.
  • You generally must have owned and used the home as your main residence for at least 2 of the 5 years before the sale.
  • You can't have used the exclusion on a different home sale within the two years before this one.
  • A reduced, prorated exclusion is available even if you don't meet the full 2-year test, for job changes, health reasons, or other qualifying unforeseen circumstances.
  • The $250,000/$500,000 caps are not inflation-indexed and haven't changed since 1997; bills to raise or eliminate them are pending in Congress but have not passed as of this writing.

Important: This article provides general legal information and does not constitute legal advice. Consult a licensed attorney in your jurisdiction for guidance on your specific situation.

Sources

Law Elite Network requires writers to cite primary, official sources — legislation, court decisions, and regulator or institutional publications — for the claims in this guide. Read more about our standards in the editorial process.

Frequently Asked Questions

Do I have to buy another home to avoid capital gains tax on my home sale?

No — unlike the old "rollover" rule that existed before 1997, Section 121 does not require reinvesting the proceeds in a new home. The exclusion applies based on ownership, use, and the frequency limit, regardless of what you do with the money afterward.

Can I use the exclusion if I only lived in the home for one year?

You may still qualify for a reduced, prorated exclusion if the sale was primarily due to a job change, health issue, or another qualifying unforeseen circumstance under the safe-harbor rules — otherwise, falling short of the 2-year use test generally limits you to no exclusion for that sale.

Is the $250,000/$500,000 cap about to increase?

Not yet. Bills to raise or eliminate the cap are pending in Congress as of this writing, but none has been enacted — the current $250,000/$500,000 limits remain the law until Congress actually passes a change.

Was this article helpful?

Comments