Real Estate & Taxes · Video Insights
Lived there 2 of the last 5 years? You may be able to exclude the gain.
Three Peaks Advisors · Cedar City, Utah · October 26, 2026
Thinking about selling your home? In this short video, we point to Section 121 of the Internal Revenue Code: if the home is your primary residence and you’ve lived there two of the last five years, you may be able to exclude up to half a million dollars of capital gains. Here’s what the IRS says about how it works.
Watch: Selling Your Home and Saving on Taxes (Three Peaks Advisors on YouTube)
$250,000 or $500,000
According to IRS Topic 701, Sale of Your Home, if you have a capital gain from selling your main home, you may qualify to exclude up to $250,000 of that gain from your income, or up to $500,000 if you file a joint return with your spouse.
The ownership and use tests
- Ownership: you owned the home for at least 24 months (2 years) of the 5 years before the sale.
- Use: you lived in the home as your residence for at least 24 months of those 5 years.
The IRS says you can meet the two tests during different 2-year periods, but both must fall within the 5-year period ending on the sale date. If you file jointly, either spouse can meet the ownership test, but both spouses must meet the use test.
Generally, you’re not eligible if you excluded gain from the sale of another home during the 2 years before this sale.
Don’t skip the reporting
Even if your gain is fully excludable, the IRS says you must report the sale if you receive Form 1099-S, Proceeds From Real Estate Transactions. You also have to report it if you can’t exclude all of the gain. Publication 523, Selling Your Home has the full rules and worksheets.
Special situations
Topic 701 notes that members of the Uniformed Services, the Foreign Service or the intelligence community on qualified official extended duty may elect to suspend the 5-year test period for up to 10 years. Publication 523 covers limits on the exclusion amount and exceptions to the 2-year rule.
A home sale is often part of a bigger picture that includes how you hold property and what you leave to your family. See do I need an estate plan? and why every business owner needs a tax plan.
If you’re not sure how the rules apply to you, or you want a professional to handle it, our accounting and tax team can help.
Educational information only. This article summarizes a Three Peaks Advisors video and public government sources. It is general information, not legal, tax, or financial advice for your situation. Rules change and every situation is different, so talk with a qualified professional before acting.
Planning to sell your home?
Talk with Three Peaks Advisors before you list, so you know how the exclusion may apply.

