The section 121 exclusion is the reason most homeowners who sell a house in Celebration or Baldwin Park never think about capital gains tax at all. It lets a qualifying seller exclude up to $250,000 of gain from taxable income, or $500,000 for a married couple filing jointly, without owing federal tax on that amount.
The Two-of-Five-Year Test
To qualify, the seller must have owned and used the home as their primary residence for at least two of the five years immediately before the sale date. The two years of use do not need to be continuous, so a homeowner who lived in a property, moved away temporarily, and returned before selling can still meet the test if the total adds up correctly.
Why the Amount Doubles for Joint Filers
A married couple filing a joint return can exclude up to $500,000 rather than $250,000, but both spouses need to meet the ownership requirement and at least one needs to meet the use requirement, and only one of them needs to have owned the home, though both must have lived in it as their main residence for the required period.
The Once-Every-Two-Years Limit
The exclusion generally cannot be claimed on more than one home sale within a two-year period. A homeowner who sold a previous residence and claimed the exclusion eighteen months ago, then moved into a new home in Doctor Phillips and needs to sell again soon after, would likely not qualify a second time until the two-year window has passed, absent a qualifying exception.
Partial Exclusions for Unforeseen Circumstances
A seller who has to move before meeting the full two-year test, because of a job change, a health issue, or another qualifying unforeseen circumstance, may still claim a reduced exclusion prorated to the portion of the two years actually met. That partial exclusion still requires documentation connecting the sale to the qualifying circumstance, not simply a preference to move.
What the Exclusion Does Not Cover
The exclusion applies only to a primary residence, never to a rental property, a second home used mainly for vacations, or land held separately from a residence. It also does not extend to gain attributable to a period the home was used as a rental rather than a personal residence, which is calculated separately and taxed even when the rest of the sale otherwise qualifies.
What Happens to Gain Above the Exclusion
A homeowner in an appreciating pocket of Baldwin Park or downtown Orlando who exceeds the $250,000 or $500,000 cap does not lose the benefit of the exclusion on the portion within the limit; the excess above it is simply taxed at long-term capital gains rates the same way any other gain would be. That means the exclusion and standard capital gains treatment can apply to the same sale simultaneously, one covering the amount up to the cap and the other covering whatever sits above it, rather than one rule fully replacing the other.
Owners in that position sometimes ask whether a 1031 exchange could shelter the excess, but the exchange rules require investment or business-use property, so a primary residence does not become eligible simply because its gain exceeds the exclusion cap.
Common 1031 Exchange Questions
What is the section 121 exclusion?
It is the federal provision allowing a qualifying homeowner to exclude up to $250,000 of gain from a primary residence sale, or $500,000 filing jointly, from taxable income.
Do the two years of residency have to be consecutive?
No. The two years out of the five years before the sale can be broken up, as long as the total time owning and using the home as a primary residence adds up to at least two years.
Can I claim the exclusion again if I already used it on a previous home?
Generally not within two years of the last time you claimed it. You would need to wait until that two-year window has passed before claiming it on a different home sale.
What happens if I have to sell before meeting the two-year requirement?
You may qualify for a reduced, prorated exclusion if the sale is connected to a qualifying unforeseen circumstance such as a job change or health issue, but the shortfall needs to be documented rather than simply preferred.
Does the exclusion apply if part of my home was a rental, like an accessory unit?
The portion used as your primary residence can generally still qualify, but gain attributable to a separate rental unit or a period of rental use is calculated and taxed separately from the excludable amount.




