How long do I have to own or live in my home to qualify for the capital gains tax exclusion when I sell?

Keith Gumbinger

Q: After renting it out for 11 years, we're re-taking possession of our home. How long must we live there to qualify for the $500,000 capital gains exclusion when we sell?

A: The IRS covers the ownership and use requirements in Topic Number 701 - Sale of Your Home

In general, to qualify for the [tax code] Section 121 exclusion, you must meet both and ownership test and a use test. You're eligible for the exclusion if you have owned and used your home as your main home for a period aggregating at least two years out of the five years prior to its date of sale.

In Publication 523, the IRS notes that the 2-year residency requirement doesn't have to be a single block of time. All that is required is a total of 24 months (730 days) of residence during the 5-year period.

You can meet the ownership and use tests during different 2-year periods. However, you must meet both tests during the 5-year period ending on the date of the sale.

Generally, you're not eligible for the exclusion if you excluded the gain from the sale of another home during the two-year period prior to the sale of your home.

Refer to Publication 523 - Selling your Home for the complete eligibility requirements, limitations on the exclusion amount, and exceptions to the two-year rule.

Some flexibility in the 5-year/2-year ownership and use periods may be available if you or your spouse are on qualified official extended duty in the Uniformed Services, the Foreign Service or the intelligence community.

As with all tax matters, it's best to engage a tax professional to see how these items apply to your situation.

Ask the expert
Keith Gumbinger
Keith Gumbinger
Mortgage Expert
Vice President, HSH.com
About Keith: Mortgage market observer and analyst with 35 years experience... (more)
Please enter a question.
Please enter name.
Please enter email.
Captcha code invalid
Q: How best to consolidate credit card debt?
SEP 24, 2024
A:

A lower-cost alternative might be to obtain a home equity line of credit or even an HECM.

Read More
Q: The index which governs my ARM disappeared. What happens now?
SEP 09, 2024
A:

When an index disappears, it will be replaced with another indicator.

Read More
Q: How should I pay my mortgage closing costs?
SEP 04, 2024
A:

Generally, there are three ways to approach the issue. Each option has different effects on your mortgage cost over time.

Read More
Add to Homescreen?
X
X
Install this web app on your phone :tap and then Add to homescreen