The Section 121 Home Sale Exclusion Nonqualified use trap.
- May 15
- 3 min read

Recently, I received a distressing call from a taxpayer seeking a second opinion. Her tax preparer had initially told her that the sale of her home would qualify for the Section 121 exclusion. However, once the return was prepared, it turned out her home did not qualify for the exclusion. Had the taxpayer known the sale would result in taxable gains, she likely would have held onto the property or pursued other means to defer the taxable gains.
For those unfamiliar with Section 121, it allows taxpayers to exclude up to $250,000, or $500,000 if married filing jointly, of capital gains on the sale of a principal residence. To qualify, taxpayers generally must meet two key tests.
Ownership test. You must have owned the home for at least 2 out of the last 5 years.
Use test. You must have lived in the home as your primary residence for at least 2 out of the last 5 years.
In most cases, taxpayers meet these two requirements, which is why many tax preparers are comfortable in normal circumstances advising taxpayers that their potential gains will likely be excluded from taxable income. However, Section 121 has some nuance to be mindful of.
Common Section 121 traps
Nonqualified use:
This is where many taxpayers and even tax practitioners get tripped up.
If you first live in a home and later convert it into a rental property, you can still qualify for the homeowner exclusion as long as you sell the property within the five year lookback period and meet the two year use test. In simple terms, if you lived in the home for at least 2 out of the last 5 years before the sale, you will generally qualify for the exclusion.
However, there is an important trap many people overlook. If the property was first used as a rental or investment property and later converted into your primary residence, you can no longer simply rely on the “2 out of 5 year” rule alone. Instead, another rule called the nonqualified use rule may apply.
This rule was added as part of the Housing and Economic Recovery Act of 2008 to prevent taxpayers from converting investment properties into personal residences solely to avoid capital gains taxes. Under this rule, if a property started out as a rental and was later converted into a primary residence, part of the gain must be allocated to the period the property was not used as a primary residence. That portion of the gain does not qualify for the homeowner exclusion. It is also important to remember that any depreciation claimed on the property after it was converted to a rental generally must still be recaptured and taxed, even if the remaining gain qualifies for the Section 121 homeowner exclusion.
This is exactly what happened to the taxpayer who recently called me for a second opinion. She originally purchased the property as an investment property and later converted it into her primary residence. Because the property had previously been used as a rental, the nonqualified use rule applied. Unfortunately, this rule had been overlooked when she originally asked her advisor whether the gain from the sale of her home would qualify for the Section 121 exclusion.
Even though she met both the ownership and use tests, she later discovered that part of the gain from the sale was still subject to capital gains tax because of the nonqualified use rule.
In her case, the property was used as a rental for 3 years and then used as her primary residence for another 3 years before being sold. That meant 50% of the time she owned the property was considered nonqualified use.
As a result, she was not able to exclude the full $500,000 gain available to married taxpayers. Instead, the exclusion had to be reduced based on the percentage of nonqualified use. Since half of her ownership period was nonqualified use, only 50% of the gain qualified for the exclusion.
Had she been advised correctly from the beginning, she stated she likely would have either kept the property longer instead of selling it or explored other tax planning opportunities before the sale.
The takeaway
Do not automatically assume your home sale will be tax free. Section 121 is extremely valuable, but it is also more complex than it appears. Before selling a home, especially one with a mixed use history, it is critical to complete a full tax analysis to understand how these rules apply to your specific situation. A little planning upfront can prevent a very unpleasant surprise later.
Disclaimer: This post is for informational purposes only and should not be considered tax, legal, or financial advice. Every individual's financial situation is unique, and tax laws are complex and frequently change. Please consult a qualified tax advisor or attorney for guidance tailored to your specific circumstances.


