1031 Exchanges: How to Defer Capital Gains When You Sell Investment Property
- Nate Meeker, CPA
- Jul 1
- 3 min read

Selling a rental property after years of appreciation can trigger a tax bill that catches investors off guard. Capital gains, depreciation recapture, and state taxes can combine to eat 30% or more of the profit. A 1031 exchange lets you defer all of that, but the IRS has strict rules, and missing a single deadline kills the deal.
The Basic Mechanics
A 1031 exchange (named after IRC Section 1031) lets you sell investment property and reinvest the proceeds into a like-kind replacement property without recognizing the gain. You're not eliminating the tax. You're kicking it down the road. Eventually, when you sell without doing another exchange, you'll owe it. But deferring taxes for years or decades while the capital compounds is a significant wealth-building advantage.
The property you're selling (the relinquished property) and the one you're buying (the replacement property) both need to qualify as investment or business property. Personal residences don't count. Your primary home can't be the relinquished property, and you can't use the exchange proceeds to buy a vacation home you plan to use personally.
The Deadlines That Kill Most Failed Exchanges
Once the relinquished property closes, the clock starts. You have 45 days to identify potential replacement properties, and you must do this in writing, submitted to your qualified intermediary. That sounds like plenty of time until you're in escrow on a sale and suddenly shopping for a new property in a tight market.
After identification, you have 180 days total from the original sale to close on the replacement property. The 45-day identification deadline falls within that window. You don't get 45 days plus 180 days. These are hard deadlines. No extensions for bad timing or an escrow that falls through.
The Qualified Intermediary Requirement
You can't touch the sale proceeds yourself. A qualified intermediary must hold the funds between the sale and the purchase. If proceeds hit your personal account, even briefly, the exchange is disqualified and you owe tax on the full gain. Choosing a reputable, bonded intermediary and getting them involved before the sale closes is not optional.
Boot: The Partial Gain Problem
"Boot" is any value received in the exchange that is not like-kind property: cash taken out, debt relief not replaced, or personal property mixed into the deal. Boot is taxable in the year of the exchange. Trading up to a more expensive property with no cash out and replacing the debt lets you defer the full gain. Trading down in value means you'll owe tax on the difference.
What Happens When an Exchange Fails
Sometimes the replacement property falls through and there's nothing viable to buy within the window. That's not automatically a disaster. A cost segregation study on a property you already own can sometimes generate enough loss to offset the recognized gain. It's not a perfect substitute, but it's worth analyzing before you write a large check to the IRS.
Planning Around Depreciation Recapture
If you've taken depreciation on the relinquished property, especially after a cost seg, depreciation recapture tax is part of the equation when you eventually sell. A 1031 exchange defers recapture too, but it accumulates. Understanding how recapture interacts with your long-term exit strategy matters before you structure an exchange.
Reverse Exchanges and Build-to-Suit Exchanges
Standard 1031s assume you sell first and then buy. In a reverse exchange, you acquire the replacement property before selling the relinquished one. These are more complex and more expensive, but they solve the problem of missing out on a good purchase while waiting to sell. Build-to-suit (improvement) exchanges allow exchange proceeds to fund construction improvements on the replacement property, but they require careful structuring.
Planning to Sell an Investment Property?
A successful 1031 exchange requires careful planning before the sale closes, including the right timeline, replacement-property strategy, and qualified intermediary.
Let’s map out whether a 1031 exchange makes sense for your situation.



