Capital Gains Exclusion (Section 121)
The ownership and use test
To qualify, a seller generally must have owned and used the home as their primary residence for at least 2 of the 5 years before the sale. Meeting this test allows up to $250,000 in gains to be excluded for a single filer, or $500,000 for a married couple filing jointly.
What counts as gain
The taxable gain is calculated based on the sale price minus the adjusted cost basis, which includes the original purchase price plus qualifying capital improvements -- not routine maintenance. This is part of why keeping records of major renovations matters well beyond the sale itself.
- Confirm you meet the 2-of-5-year ownership and use test
- Gather records of qualifying capital improvements to establish your cost basis
- Calculate your estimated gain against the $250K/$500K exclusion limits
- Talk to a tax professional if you're unsure whether you fully qualify