Section 121 home-sale exclusion
Intro
For most people, their home is their largest asset, and when they sell it, a special rule lets them exclude a large chunk of the gain from tax entirely. The Section 121 exclusion lets a homeowner avoid tax on up to 250,000 dollars of gain, or 500,000 dollars for a married couple, on the sale of their primary residence. It is one of the most valuable and widely-used tax breaks, and understanding its requirements and limits is important for anyone selling a home.
In plain terms, Section 121 lets you exclude from income up to 250,000 dollars of gain (500,000 dollars for married filing jointly) on the sale of your main home, provided you owned and used it as your primary residence for at least two of the five years before the sale (IRC §121). The exclusion can generally be used repeatedly, but not more than once every two years.
Our stance: the Section 121 exclusion is a large, valuable break that makes most home sales tax-free, and the essentials are the two-of-five-years ownership and use test, the 250,000/500,000 dollar limits, and the once-every-two-years frequency rule. Gain above the exclusion is taxable, and the exclusion does not shelter gain attributable to depreciation on business or rental use of the home.
Body
The basic exclusion
Section 121 allows a homeowner to exclude a substantial amount of gain on the sale of their primary residence from taxable income. A single filer can exclude up to 250,000 dollars of gain, and a married couple filing jointly can exclude up to 500,000 dollars, so a large portion, often all, of the gain on a typical home sale escapes tax (§121). This makes most home sales entirely tax-free, which is a major benefit for homeowners.
The exclusion applies to the gain, the difference between the sale price and the home's basis (original cost plus improvements). For many homeowners, especially those who have not owned the home long enough for it to appreciate beyond the exclusion, the entire gain falls within the 250,000 or 500,000 dollar limit and is excluded. The exclusion is a true exclusion, meaning the excluded gain is simply not taxed, not merely deferred.
These dollar limits are fixed by statute and are not indexed for inflation, so over time, in high-appreciation areas, more homeowners find their gain exceeding the limits. While the exclusion covers most home sales, a long-held home in an appreciating market can generate gain above 250,000 or 500,000 dollars, and the excess is taxable. The fixed limits mean the exclusion's coverage effectively shrinks over time as home values rise.
The ownership and use test
To qualify for the exclusion, the homeowner must meet an ownership and use test: they must have owned the home and used it as their primary residence for at least two of the five years immediately before the sale. The two years of ownership and two years of use do not have to be continuous or the same two years, but both the ownership and use requirements must be satisfied within the five-year window (§121).
This test ensures the exclusion applies to genuine primary residences, not to investment or vacation properties. The home must have been the taxpayer's main home, where they actually lived, for the required period, which distinguishes it from a second home or a property held for investment. A vacation home or rental that was never the taxpayer's primary residence does not qualify for the exclusion.
For married couples using the 500,000 dollar exclusion, both spouses must meet the use test (both must have used the home as their primary residence for two of the five years), and at least one must meet the ownership test, with neither having used the exclusion in the prior two years. These conditions ensure the larger joint exclusion applies to a home that was genuinely the couple's primary residence. Partial exclusions may be available in certain circumstances, like a move for work or health reasons, even if the full two-year test is not met.
The frequency limit and taxable excess
The exclusion can be used repeatedly over a lifetime, but not too frequently: it generally cannot be claimed more than once every two years. So a homeowner can exclude gain on multiple home sales over their life, as long as the sales are at least two years apart and each home meets the ownership and use test. This frequency limit prevents using the exclusion on rapid successive sales.
Gain above the exclusion amount is taxable. If a home sale produces gain exceeding 250,000 or 500,000 dollars, the excess is taxable as capital gain, generally at long-term capital gains rates given the required holding period. So the exclusion shelters a large amount but not unlimited gain, and homeowners with highly appreciated homes should expect to pay tax on the portion above the exclusion. Keeping records of improvements, which increase basis and reduce gain, can help minimize the taxable excess.
Importantly, the exclusion does not shelter gain attributable to depreciation taken on the home for business or rental use. If a homeowner used part of the home as a home office or rented it out and claimed depreciation, the gain attributable to that depreciation is not excluded and is subject to depreciation recapture. So a home that was partly used for business or rental has a portion of its gain outside the Section 121 exclusion, which is a common complication for home-office and former-rental situations.
Why it matters
The Section 121 exclusion matters because it makes most home sales tax-free, sheltering up to 250,000 or 500,000 dollars of gain, which is a large and valuable benefit for the typical homeowner. For most people selling their primary residence, the exclusion means the gain, often their largest single investment return, escapes tax entirely, which is a significant advantage of homeownership.
The essentials, the two-of-five-years ownership and use test, the dollar limits, the once-every-two-years frequency rule, and the exceptions for depreciation and gain above the limits, shape how the exclusion applies. Homeowners should ensure they meet the ownership and use test, be aware that gain above the limits and depreciation-related gain are taxable, and plan sales to satisfy the frequency rule, to maximize the exclusion's benefit.
The practical guidance is for homeowners to understand that selling a primary residence they owned and used for two of the prior five years generally lets them exclude up to 250,000 dollars (500,000 dollars married) of gain, to track improvements that raise basis and reduce taxable gain, and to recognize that gain above the limit and gain from business or rental depreciation remain taxable. For those with highly appreciated homes or prior business use, planning around these limits is worthwhile. The Section 121 exclusion is one of the most valuable everyday tax breaks, and using it well is important for anyone selling a home.
Summary
Section 121 lets a homeowner exclude up to 250,000 dollars of gain (500,000 dollars for married filing jointly) on the sale of their primary residence, provided they owned and used it as their main home for at least two of the five years before the sale (IRC §121). This makes most home sales entirely tax-free. The dollar limits are fixed and not indexed, so in high-appreciation areas more homeowners exceed them over time, with the excess taxable as capital gain. The exclusion can be used repeatedly but generally not more than once every two years. It does not shelter gain attributable to depreciation taken for business or rental use of the home, which remains subject to recapture. Homeowners should meet the ownership and use test, track improvements to raise basis, and plan around the frequency rule and the taxable excess. The Section 121 exclusion is a large, valuable break that makes the gain on most home sales tax-free.
Sources
Related articles
More in Real estate & property
- Depreciating real propertythe 27.5 and 39-year schedules
- Cost segregation studiesaccelerating building depreciation
- Passive activity loss rules (§469)why rental losses get trapped
Related prompts & skills
Put this to work
5 free prompts and skills from the library, matched to this article.