You bought a rental years ago, it climbed in value, and now you want to sell and buy something bigger. Then you run the numbers and notice the problem: the moment you sell, you owe tax on every dollar of gain. That bill can swallow a huge chunk of what you'd reinvest.
A 1031 exchange exists for exactly this moment. Named after Section 1031 of the tax code, it lets you sell one investment property and buy another "like-kind" property while deferring the capital gains tax you'd normally pay. The gain doesn't disappear — it rolls forward into the new property until you eventually sell for cash.
What "like-kind" actually means
The phrase sounds restrictive, but for real estate it's broad. You don't have to swap a duplex for a duplex. Almost any real property held for investment or business use qualifies as like-kind to almost any other. You can trade a rental house for a small apartment building, raw land for a retail space, or one commercial unit for several smaller ones.
The key word is investment. Your primary home doesn't qualify. This is a tool for property you hold to make money, not the house you live in.
The two deadlines that make or break it
This is where most exchanges fall apart. The IRS gives you two hard clocks that start the day you sell:
- 45 days to identify your replacement property in writing. Not to buy it — just to formally name your candidates.
- 180 days to close on the new property.
These deadlines are strict. Miss them and the exchange collapses into a regular taxable sale.
You also can't touch the money in between. The sale proceeds must go to a neutral third party called a qualified intermediary. If the cash hits your bank account, the exchange is dead.
A simple example
Say you sell a rental for $500,000 and have a $200,000 gain. In a normal sale, you might owe tens of thousands in federal and state tax, plus depreciation recapture. In a 1031 exchange, you move the full proceeds through a qualified intermediary into a $600,000 property. You defer the entire tax bill and put the money that would have gone to taxes to work in a larger asset.
Do this repeatedly and you can keep trading up for decades without paying along the way. Some investors hold their final property until death, when heirs may receive a stepped-up basis — though that's a planning conversation for a professional, not a guarantee.
Where people get tripped up
The rules reward precision and punish improvisation. The most common mistakes: taking the cash even briefly, missing the 45-day window, trying to exchange a property that isn't truly held for investment, or pulling cash out of the deal (that portion, called "boot," gets taxed).
A 1031 exchange isn't a loophole — it's a deliberate part of the tax code, and it's powerful when used correctly. But the timeline is unforgiving and the paperwork matters. If you're considering one, line up a qualified intermediary before you list, and talk to a tax professional early. This is general education, not tax advice — your specific situation can change everything.
Want insights like this in your inbox?
Short, practical, no fluff. Join the Capital Decoded newsletter.
Subscribe Free