Section 121 of the tax code is the reason most Detroit-area homeowners who sell a house they have lived in owe little or no federal capital gains tax on the sale. It excludes up to $250,000 of gain for a single filer, or $500,000 filing jointly, provided the ownership and use tests are met. It is one of the more generous provisions in the tax code for an individual seller, but it has real edges that trip people up.
The Ownership and Use Tests
To qualify, the seller generally must have owned the home and used it as a primary residence for at least two of the five years immediately before the sale, and the two years do not need to be continuous. An owner who lived in a Livonia house for eighteen months, rented it out for a year, and moved back in for another year could still meet the two-year use test within the five-year window, though the rental period itself can affect the calculation separately.
The Exclusion Can Only Be Used Once Every Two Years
An owner generally cannot claim the Section 121 exclusion on a second home sale within two years of using it on a prior sale, which matters for anyone who sells and buys frequently, such as an owner-occupant who renovates and moves every couple of years. Planning a sale timeline around this limit is worth doing deliberately rather than discovering the exclusion is unavailable after a sale has already closed.
Partial Exclusions for a Sale Before Two Years
A seller who has to sell before meeting the full two-year test, due to a job change, health issue, or other qualifying unforeseen circumstance, may still be eligible for a reduced exclusion prorated based on how much of the two-year period was actually met. This is a narrower path than the full exclusion and depends on the specific facts qualifying under IRS guidance, so it should be confirmed with a tax advisor rather than assumed.
Where Rental Use Reduces the Exclusion
Periods of nonqualified use, generally meaning time the property was rented out or otherwise not used as a primary residence after 2008, reduce the exclusion on a pro-rata basis, and any depreciation claimed during rental periods is recaptured separately regardless of the exclusion. A Bloomfield Hills owner who converted a former rental into a primary residence should expect this reduction to apply rather than assuming the full $250,000 or $500,000 exclusion carries over untouched.
When Section 121 Does Not Apply and a 1031 Exchange Might
Section 121 only covers a primary residence; it does not apply to a rental, a second home, or property held for investment. For that category of property, a 1031 exchange can defer, though not eliminate, the capital gain and any recapture by rolling proceeds into replacement investment property through a qualified intermediary under IRS timing rules. The two provisions serve different kinds of sellers and are worth understanding as separate tools rather than interchangeable ones.
Common 1031 Exchange Questions
How much gain can Section 121 actually exclude?
Up to $250,000 for a single filer or $500,000 for a married couple filing jointly, provided the ownership and use tests are met. Gain above those amounts is still taxable.
Do the two years of use have to be consecutive?
No, the two years of primary-residence use within the five-year window before sale do not need to run back to back. They just need to add up to two years total within that period.
Can I use Section 121 again if I already used it two years ago?
Generally no, the exclusion is limited to once every two years per seller, measured from the date of a prior sale where it was used. Selling again sooner than that typically forfeits the exclusion on the second sale.
Does renting my house out before selling ruin my Section 121 exclusion?
It does not eliminate it, but nonqualified-use periods tied to rental time generally reduce the exclusion on a pro-rata basis, and depreciation claimed is recaptured separately. The exclusion still applies to the portion tied to qualifying primary-residence use.
Can I combine Section 121 with a 1031 exchange on the same property?
In limited situations involving a property with both personal and rental history, the personal-use portion may qualify for Section 121 while the investment-use portion could be eligible for exchange treatment. This is a complex allocation that should be worked through with a CPA before the sale closes.




