How Soon Do You Have to Sell Your Home to Avoid Capital Gains Tax?

Table of Contents

Quick answer: There’s no deadline to sell your old home or to buy a new one. To exclude up to $250,000 of profit ($500,000 for married couples filing jointly) from federal capital gains tax, you need to have owned the home and lived in it as your main home for at least 2 of the 5 years before the sale. In practice, that means you generally have up to 3 years after you move out to sell and still qualify, as long as you lived there at least 2 years before moving. Nevada has no state income tax, so for most sellers in Las Vegas, Henderson, North Las Vegas and Boulder City, federal tax is the only concern.

Sold sign in front of a Southern Nevada home with tax paperwork and a calculator in the foreground
$250K

Exclusion, single filers

$500K

Married filing jointly

2 of 5

Years owned and lived in

3 years

To sell after moving out*

*If you lived in the home at least 2 years before moving out. This article is general information, not tax advice. Talk with a CPA about your situation.

Where the "Sell Within 2 Years" Myth Comes From

Many homeowners remember a rule that you had to buy a new, more expensive home within two years to avoid paying tax on a sale. That was the old “rollover” rule, and it ended with the Taxpayer Relief Act of 1997.

Today’s rule, found in Section 121 of the tax code, works differently. You don’t have to buy another home at all. You can downsize, rent, move in with family or put the money in the bank. What matters is how long you owned and lived in the home you’re selling, and how long ago you moved out.

The 2-Out-of-5-Year Rule, Explained

To claim the full exclusion, you need to pass three tests, according to IRS Publication 523:

For married couples filing jointly, only one spouse has to meet the ownership test, but both spouses must meet the residence test to claim the full $500,000. If only one qualifies, the couple may still exclude up to $250,000.

So How Soon Do You Need to Sell?

Because the IRS looks back 5 years from the date you sell, your window to sell starts shrinking the day you move out. The longer you lived in the home first, the more time you have, up to a maximum of 3 years.

Example: A couple lived in their Henderson home for 8 years, then bought a new home in Boulder City and moved in March 2026. They can sell the Henderson home any time before March 2029 and still exclude up to $500,000 of profit. If they wait until April 2029, they’ll have lived there less than 2 of the 5 years before the sale and could owe tax on the entire gain.

How to Figure Your Gain

Your taxable gain isn’t simply the sale price minus what you paid. The IRS lets you adjust both sides of the math:

This is why it pays to keep receipts for every major improvement. Many Las Vegas valley homeowners who bought years ago have seen large price gains, and documented upgrades can make the difference between owing tax and owing nothing.

What Happens if Your Gain Is Over the Limit

Any gain above your exclusion is taxed as a long-term capital gain if you owned the home more than a year. Federal long-term capital gains rates are 0%, 15% or 20%, depending on your taxable income. Higher-income sellers may also owe the 3.8% net investment income tax on the taxable portion.

The good news for Southern Nevada sellers is that Nevada doesn’t have a state income tax, so there’s no state capital gains tax on top of the federal amount. Sellers moving here from states like California often find this one of the biggest differences when they eventually sell.

Moved Before 2 Years? You May Still Get a Partial Exclusion

If you sell before meeting the 2-year tests, you may still exclude part of your gain if the main reason for selling was one of these:

The partial exclusion is based on how much of the 2 years you completed. If you lived in the home for 12 months before a qualifying job move, for example, you could generally exclude up to half the full amount: $125,000 for a single filer or $250,000 for a married couple.

Renting Out Your Old Home Before Selling

A lot of homeowners in Las Vegas, Henderson and North Las Vegas buy their next home first and rent out the old one for a while. That can work well, but it changes the tax picture:

Special Situations

Proposed Changes: The "No Tax on Home Sales Act"

You may have seen headlines about eliminating capital gains tax on home sales. The No Tax on Home Sales Act was introduced in Congress in July 2025 and would remove the tax on the sale of a primary home. As of mid-2026, it had not passed and was still in committee, so the current $250,000 and $500,000 limits still apply. It’s worth watching, but don’t plan a sale around a bill that isn’t law.

Planning Your Sale With Taxes in Mind

Inside your window

Sold within 3 years of moving out, after living there at least 2 of the last 5 years: up to $250,000 or $500,000 of gain is generally tax-free.

Outside your window

Sold after the window closes, or with too little time lived there: the gain may be fully taxable, unless a partial exclusion applies.

Frequently Asked Questions

No. That rule ended in 1997. Today you can exclude up to $250,000 or $500,000 of gain whether or not you buy another home.

At least 2 years (24 months) out of the 5 years before the sale, and you must have owned it for at least 2 of those 5 years as well.

Yes, as long as you still meet the 2-out-of-5-year tests on the date you sell. If you lived there at least 2 years, that gives you up to 3 years after moving out.

No. Nevada has no state income tax, so there’s no state capital gains tax. Federal rules still apply.

Sometimes. If you receive a Form 1099-S or have a gain you can’t fully exclude, you’ll generally need to report it. Check IRS Publication 523 or ask your tax preparer.

Not on a home you never lived in as your main residence. If you lived in it for 2 of the last 5 years, you may qualify, but rental periods and depreciation can reduce the benefit.

Thinking About Selling?

Timing a sale around the capital gains rules is easier when you know what your home is worth and how long it’s likely to take to sell. I help homeowners across Las Vegas, Henderson, North Las Vegas and Boulder City plan their sale, price it right and get to closing on schedule. Call me at (702) 497-4434, or start with a free home valuation. For the full picture, see my guide from listing to closing and tips on choosing the right seller’s agent.

This article is for general information and isn’t tax or legal advice. Tax rules change and every situation is different, so consult a qualified tax professional. Source: IRS Publication 523, Selling Your Home.

Share This: