You sold an investment property and made a few hundred thousand dollars. Is there a way to hold off on paying capital gains tax?
Possibly. That's what a 1031 exchange is for. But let's be clear up front: a 1031 exchange isn't permanently tax-free. It defers qualifying gain into the future. And the hardest part isn't the number of rules. It's how strict the timeline is.
What property qualifies?
Today, 1031 exchanges apply mainly to real property, and both the property you sell and the property you buy must be held for business or investment use.
- Rental homes and investment commercial property: generally may qualify
- Your primary residence: generally can't be exchanged directly
- Properties bought mainly to flip: generally don't qualify
- U.S. and foreign real property: can't be exchanged for each other
Advanced: combining Section 121 and 1031
Many people don't realize that under certain conditions, Section 121 and 1031 can be used together.
If a home was your primary residence for at least 2 of the 5 years before the sale, was then converted to a rental, and is genuinely held for investment at the time of the exchange, you may be able to:
- Exclude up to $250,000 of qualifying gain ($500,000 for married couples filing jointly) under Section 121
- Defer the remaining qualifying gain with a 1031 exchange
Order matters. Generally, living there first and renting it out afterward is cleaner than renting first and moving in later, because an earlier rental period may count as "nonqualified use" and reduce the Section 121 exclusion.
The two most important numbers: 45 and 180
The day you transfer your old property is Day 0.
- Within 45 days: you must formally identify replacement property in writing. It needs to be specific enough to identify the property. "Probably something in Irvine" doesn't count
- Within 180 days: you must acquire the replacement property. More precisely, the deadline is 180 days or the due date of your federal tax return for that year (including extensions), whichever comes first
So if your sale closes near year-end, factor in the tax filing deadline too.
How many properties can you identify? Three rules
- 3-Property Rule: identify up to three properties, regardless of value
- 200% Rule: identify more than three, as long as their total fair market value doesn't exceed 200% of the value of the property you sold
- 95% Rule: if you exceed both of the above, you generally must acquire at least 95% of the total value of everything you identified
Saving a dozen homes on Zillow isn't identification. This step has to be precise.
Aiming for full deferral
In practice, a few things matter:
- The replacement property's value shouldn't be lower than the property you sold
- Reinvest as much of your net equity as possible
- Don't take the exchange proceeds yourself, planning to put them back later
Receiving cash, other non-like-kind property, or in some cases a reduction in debt can create boot, making part of the gain taxable now. That's why the common approach is to arrange a Qualified Intermediary (QI) before you sell the old property.
One more for California owners: FTB 3840
If you exchange California property for property in another state, California may require you to file FTB Form 3840. And typically it's not just for the exchange year. You may need to keep filing every year until the California-source deferred gain is recognized.
Moving away doesn't mean California forgets about that deferred gain.
The bottom line
What really matters in a 1031 exchange isn't "swap properties and skip the tax." It's property qualification, 45 days, 180 days, the identification rules, the QI, and boot. A mistake at any step can turn gain you meant to defer into taxable income for that year.
Bring in your CPA, a QI, and if needed a tax attorney before you sell.
Want help mapping out your timeline?
If you'd like to know whether your property might qualify for a Section 121 exclusion combined with a 1031 exchange, reach out. I can help you lay out your purchase, residence, rental, and planned sale dates, then work with your CPA and QI to confirm the right structure.
Sources
- IRS: Form 8824 Instructions
- IRS: Publication 544
- IRS: Like-Kind Exchanges – Real Estate Tax Tips
- California FTB: Form 3840 Instructions
Wynn Hung | CA DRE #02249826 | eXp Realty
Discussion
Comments
Add a question or share what would be useful to cover next.

No comments yet. You can start the conversation.