Selling your home is an exciting time, but once tax season rolls around, you could be taxed for the capital gains on your sale. There are some exceptions, and it can get a little confusing, so let’s clear up what capital gains taxes are and how you can avoid them when selling your home.
Who qualifies for the home sale capital gains tax exclusion?
If you sell a house, all of the points below must be true; otherwise, you may owe capital gains taxes on the entire gain from the sale. The list is not exhaustive, as the rules for this exclusion can be complex. If you have questions, consider reviewing Publication 523 or speaking with a tax advisor.
1. The home must be your principal residence
The IRS defines "home" broadly—your home could be a condo, a co-op, a mobile home, or even a houseboat. The key to being eligible for the home sale capital gains tax exclusion is that it must be your primary (what the IRS calls "principal") home, meaning the place where you spend most of your time.
Details that strengthen your home's status as primary include that the home's address is used in your official documents (tax returns, driver's license, voting registration, and with the Postal Service) and that the residence is close by to certain day-to-day needs, such as your bank, your workplace, or any types of organizations you are part of
If you own more than one home, you should conduct a "facts and circumstances" test to make sure the home you're selling will be recognized as a principal residence by the IRS.
2. You must have owned the home for at least two years
The agency requires that you must have owned the home for at least two years in the five-year period before you sold it. You may catch a break here if you're married and filing jointly — only one of the spouses is required to meet this test
3. You must have lived in the house for at least two years in the five-year period before you sold it
Owning the home isn't enough to avoid capital gains on the sale—the IRS also wants to make sure that you actually intended to live in the house, at least for a certain period of time. Living in the home for at least two of the five years helps to establish this. The IRS is flexible here—the 24 months don't have to be consecutive, and temporary absences, such as vacations, also don't count as being "away."
People who are disabled or need outpatient care, as well as people in the military, foreign service, or intelligence community, may also be exempt from this rule. See IRS Publication 523 for details
4. You cannot have claimed the home sale capital gains exclusion recently
You can't claim the exclusion if you already took it for another home in the two-year period before the sale of this home.
5. You cannot have bought the house through a like-kind exchange
Your home is not qualified for the exclusion if you purchased it through a like-kind exchange, also sometimes called a 1031 exchange, in the past five years. This kind of purchase basically means swapping one investment property for another.
6. You cannot be subject to expatriate tax
The expatriate tax is a fee levied by the IRS on certain people who have given up their citizenship or who have given up their U.S. residency status as a result of living abroad for an extended period of time. If you are subject to this tax, you can't take the exclusion.






.png)