Glossary term
Home Sale Exclusion
The home sale exclusion is a federal income tax rule that can let a qualifying homeowner exclude up to $250,000 of gain, or up to $500,000 for many joint filers, from the sale of a main home.
Updated
Read time
What Is the Home Sale Exclusion?
The home sale exclusion is a federal income tax rule that can let a qualifying homeowner leave part or all of the gain from selling a main home out of taxable income. The common exclusion amounts are up to $250,000 of gain for an eligible single filer and up to $500,000 for many married couples filing jointly.
The exclusion applies to gain, not to the sale price. A homeowner first figures the adjusted basis in the home, subtracts selling costs and basis from the amount realized, and then applies the exclusion only if the sale meets the ownership, use, and timing rules.
Key Takeaways
- The home sale exclusion can shelter qualifying gain from the sale of a main home.
- The basic ownership and use tests generally look for at least two years of ownership and two years of use as a main home during the five-year period before the sale.
- The exclusion applies to capital gain, not to all cash received at closing.
- Depreciation, business use, rental use, divorce, death, military service, and prior home-sale exclusions can change the calculation.
- Good basis records matter because improvements and selling costs can reduce taxable gain.
How the Exclusion Works
A home sale begins with a gain or loss calculation. The seller compares the amount realized from the sale with the home's adjusted basis. Basis usually starts with purchase price and certain acquisition costs, then changes over time as the homeowner makes capital improvements, takes depreciation, receives certain credits, or has other basis adjustments.
If the result is a gain, the homeowner tests whether the gain can be excluded. The basic framework asks whether the property was the seller's main home, whether the seller owned it for enough time, whether the seller used it as a main home for enough time, and whether the seller used the exclusion on another sale too recently. The two-year ownership and use tests do not always have to be the same two years, but they usually must fall within the five years before the sale.
Married couples filing jointly can often qualify for the larger exclusion when either spouse meets the ownership test, both spouses meet the use test, and neither spouse is disqualified by a recent exclusion. Widows, divorced homeowners, military families, people who move for health or work reasons, and homeowners with destroyed or condemned homes may face special rules.
What Counts as Gain
The exclusion is easy to overstate because it is often described as a dollar amount. A person who sells a home for $700,000 does not automatically have $700,000 of taxable gain. If the home had a $420,000 adjusted basis and $45,000 of selling costs, the tentative gain is $235,000 before any exclusion. If the seller qualifies for a $250,000 exclusion, that gain may be fully excluded.
The opposite can also happen. A long-held home with a low basis, major appreciation, prior rental depreciation, or a partial business-use history can produce taxable gain even when the homeowner qualifies for the exclusion. Depreciation recapture is especially important because depreciation allowed or allowable after May 6, 1997, generally cannot be excluded under the home sale exclusion.
Where Homeowners Get Tripped Up
The most common mistake is treating the exclusion as automatic. A sale can miss the standard tests if the owner recently moved in, recently claimed the exclusion on another property, or used the property primarily as a rental or vacation home. A partial exclusion may still be possible in some work, health, or unforeseen-event situations, but that is a separate analysis.
Another mistake is ignoring records. Receipts for additions, renovations, legal fees, title costs, and selling expenses can affect basis or the amount realized. Without records, a homeowner may pay tax on gain that better documentation could have reduced.
The Bottom Line
The home sale exclusion is one of the most valuable tax rules for homeowners, but it is a gain exclusion rather than a blanket tax-free-sale rule. The practical work is to confirm eligibility, calculate basis carefully, account for business or rental use, and keep records that support the amount of gain being excluded.