Do You Have to Buy Another House to Avoid Capital Gains Tax?
2 min read · Last updated 2026-08-05 · Reviewed by Camilo Palacio, Licensed Florida Real Estate Professional (License #3280644, REALTOR®)
No. That rule, once called the rollover rule under Section 1034, was repealed by Congress in 1997. Today, most home sellers avoid capital gains tax through the Section 121 exclusion instead: up to $250,000 of gain for single filers or $500,000 for married couples filing jointly, with no requirement to buy anything with the money afterward.
| Factor | Traditional Route | Cash Flow Deals |
|---|---|---|
| Closing timeline control | Buyer financing can drag 30 to 60 days and slip further, hard to control which tax year the sale lands in | The closing date is set in advance, which matters if you're timing gain into a specific tax year |
| Certainty of net proceeds | Repair credits and last-minute negotiation can change what you actually walk away with | Net proceeds are known before you sign, easier to run the exclusion math ahead of time |
| Repairs before selling | Financed buyers often require repairs done before they'll close | Sold as-is, nothing to fix or negotiate before closing |
The old rule everyone still half-remembers
For decades, Section 1034 let homeowners defer capital gains tax only if they reinvested the sale proceeds into a new home of equal or greater value within two years. That rule is where the myth comes from, and a lot of people still repeat it as if it's current law. It isn't. It was repealed by the Taxpayer Relief Act of 1997.
The rule that actually applies today
Section 121 replaced it. If you owned and used the home as your main home for at least two of the five years before the sale, you can exclude up to $250,000 of gain if you're single, or up to $500,000 if you're married filing jointly. You can spend the proceeds on anything, or nothing at all. There's no reinvestment requirement.
What still requires reinvestment: 1031 exchanges
The confusion usually comes from mixing this up with a 1031 exchange, which is a real thing but applies to investment or business property, not the home you live in. A 1031 exchange requires identifying a replacement property within 45 days and closing within 180 days, run through a qualified intermediary. It has nothing to do with selling your personal residence.
How much gain is actually excluded
The exclusion amount is set by filing status: $250,000 single, $500,000 married filing jointly, applied to the gain, meaning sale price minus your basis and eligible selling costs. If your gain falls under that number, you may owe nothing at all on the sale.
What happens to gain above the exclusion
Any gain over the exclusion amount gets taxed as a long-term capital gain if you held the property more than a year, at capital gains rates rather than ordinary income rates. That's a separate calculation from whether you buy another house.
What if you don't meet the full ownership and use test
If you're selling early because of a job change, health issue, or other unforeseen circumstance, you may still qualify for a partial exclusion, prorated based on how much of the two-year requirement you actually met.
Common questions
Do I have to buy a new house within any deadline to avoid capital gains tax?
No. Under current law there is no reinvestment deadline or requirement at all. That rule was repealed in 1997.
What if I don't meet the two-of-five-year ownership and use test?
You may still qualify for a partial exclusion if the sale is tied to a job change, health issue, or other qualifying unforeseen circumstance.
Does a 1031 exchange apply to my personal home?
No. A 1031 exchange applies only to investment or business property, not the house you live in.
Can I use the home sale exclusion more than once?
Yes, but generally not more than once every two years, and only for a property that meets the ownership and use test each time.
What if my gain is bigger than the exclusion amount?
The amount above the exclusion is taxed as a capital gain, separate from whether or how you spend the sale proceeds.
