A 1031 exchange lets real estate investors sell an investment property and roll the gain into a replacement property without paying capital gains tax at the time of the sale โ€” one of the most powerful tools in real estate tax planning, and also one of the most procedurally unforgiving, since missing a deadline by even a day can blow up the entire exchange.

Deferred, Not Eliminated

The core mechanic: if you sell investment or business real estate and reinvest the proceeds into "like-kind" replacement real estate following the specific procedural rules below, you don't recognize the capital gain at the time of the sale. The tax isn't gone โ€” your cost basis in the old property carries over to the new one, meaning the deferred gain will eventually be taxed when you sell the replacement property in a fully taxable sale (unless you do another 1031 exchange at that point too, which many investors do repeatedly for decades, sometimes only recognizing the accumulated gain when the property is eventually inherited, at which point heirs may get a stepped-up basis that erases the deferred gain entirely).

Real Property Only Since 2018

Before the Tax Cuts and Jobs Act, 1031 exchanges could apply to a wide range of property types, including certain business equipment and other tangible personal property. Since 2018, 1031 treatment is limited to real property โ€” land and buildings โ€” held for investment or productive use in a trade or business. Your personal residence doesn't qualify (though the separate home-sale exclusion may help there instead), and neither does property held primarily for resale, like a house flipper's inventory.

"Like-kind" is interpreted broadly for real estate โ€” a rental apartment building can be exchanged for raw land, a commercial office building, or an industrial warehouse, as long as both properties are real property held for investment or business use. You don't need to trade a similar type of property for a similar type; the like-kind standard for real estate is much more flexible than it sounds.

The Two Critical Deadlines

Both deadlines run concurrently, not sequentially, and there are no extensions for ordinary circumstances โ€” a deal that falls through on day 178 generally cannot be salvaged by finding a new property, since there's no time left in the 180-day window.

The Qualified Intermediary Requirement

You cannot simply sell your property, hold the proceeds yourself, and buy a new one later โ€” that would constitute actual or constructive receipt of the funds, disqualifying the exchange entirely. Instead, a qualified intermediary (an independent third party, not your attorney, accountant, or anyone else who's acted as your agent in the prior two years) holds the sale proceeds in escrow between the two closings and facilitates the property transfers. Setting this up needs to happen before the original sale closes โ€” it cannot be arranged after the fact once you already have access to the funds.

Boot and Partial Exchanges

If you don't reinvest 100% of your proceeds into the replacement property (or the replacement property has a lower mortgage balance than the one you sold, freeing up cash), the difference is called "boot" and is taxable in the year of the exchange, even though the rest of the transaction is tax-deferred. A fully tax-deferred exchange generally requires buying a replacement property of equal or greater value, with equal or greater debt, and reinvesting all the cash proceeds.

Depreciation Recapture Still Applies

Even in a fully deferred 1031 exchange, any depreciation you claimed on the original property doesn't simply vanish โ€” it carries forward as part of the deferred gain and will eventually be taxed as depreciation recapture (generally up to 25%) whenever the property (or its eventual replacement, if you keep exchanging) is finally sold in a taxable transaction rather than exchanged again.

A Worked Example

An investor sells a rental property for $500,000 with a $200,000 cost basis โ€” a $300,000 gain that would otherwise be taxable. Within 45 days, they identify a replacement property; within 180 days, they close on it for $520,000, reinvesting all $500,000 in proceeds plus $20,000 of additional cash. Because they reinvested at least as much as they received and increased rather than decreased their investment, the entire $300,000 gain is deferred โ€” no capital gains tax is due this year, though the deferred gain and carried-over basis will matter whenever this replacement property is eventually sold outright.

Common Questions

Can I 1031-exchange a property in one state for a property in a different state? Yes โ€” the location of the properties within the U.S. doesn't affect eligibility, though check whether your states involved have their own separate state-level tax treatment of the exchange.

Can I do a partial 1031 exchange and take some cash out? Yes, but the cash you take out ("boot") is taxable in that year โ€” you can structure a partial exchange deliberately if you want some liquidity now while still deferring tax on the reinvested portion.

Does a 1031 exchange work for a vacation home? Only if the property was genuinely held for investment or business use, not primarily for personal enjoyment โ€” a vacation home used mostly by the owner personally generally doesn't qualify, though specific safe-harbor rules exist for properties with limited personal use.

๐Ÿ’ก Once you've calculated a taxable gain (from boot, or from an eventual non-exchanged sale), run it through the Capital Gains preset to see which bracket it falls into.