Skip to main content
Visual Finances

1031 exchanges explained ("swap till you drop") (2026)

How real estate investors defer capital gains and depreciation recapture by trading property for property under IRC §1031 — the 45- and 180-day rules, boot, qualified intermediaries, and why the deferred tax disappears at death.

By 8 min read
Educational content only — not financial, tax, or legal advice. How we check our numbers.

Part of How the Wealthy Pay Less Tax — tax year 2026 explainers and calculators.

Rules current for tax year 2026. Federal tax only. Educational, not tax or legal advice — see our disclaimer.

Most investors pay tax every time they sell a winner. Real estate investors don’t have to. Section 1031 of the Internal Revenue Code lets them sell one property and buy another without paying tax on the gain — as many times as they like. Done for a lifetime and finished with a step-up in basis at death, the tax is never paid at all. Investors call it “swap till you drop.”

How a 1031 exchange works

When you sell real property held for business or investment and reinvest the proceeds in other real property held for business or investment, IRC §1031 defers the gain. The rules that matter:

  • Like-kind is broad. Any real property for any other real property: an apartment building for raw land, a warehouse for a strip mall. Since 2018, only real property qualifies — equipment, art and other personal property no longer do.
  • No personal residences. Your home doesn’t qualify (it has its own exclusion, IRC §121). Vacation homes qualify only under narrow conditions.
  • 45 days to identify. You must identify replacement property in writing within 45 days of closing the sale.
  • 180 days to close. You must acquire it within 180 days of the sale (or by your tax return due date, if earlier).
  • Use a qualified intermediary. The sale proceeds must go to an independent intermediary, not to you. If you touch the cash, the exchange fails.
  • Boot is taxable. Cash you take out, or debt relief you don’t replace, is “boot” and taxed up to the amount of the gain. Trade equal or up to defer everything.

What gets deferred

On a normal sale of a rental property, three taxes can apply:

  1. Depreciation recapture — the depreciation you deducted, taxed at up to 25%.
  2. Long-term capital gain on the rest, at 0%, 15% or 20%.
  3. The 3.8% net investment income tax for higher earners.

A 1031 exchange defers all three. The replacement property takes over your old basis — reduced by the deferred gain — so the tax isn’t forgiven, only postponed.

Swap till you drop

Postponed can become never. Every time you exchange, the deferred gain rolls into the next property and keeps growing. Hold the last property until death, and under IRC §1014 your heirs receive it with a basis equal to its market value. The deferred gain and depreciation recapture of an entire investing career disappear.

In our 1031 exchange calculator, a $2 million rental with a $700,000 adjusted basis (including $300,000 of depreciation) would owe about $324,000 of federal tax if sold today. Exchanged instead — trading up every seven years, at 4% appreciation, until death 21 years later:

Sell & pay tax each time1031 exchange each time
Tax paid along the way$607,000$0
Portfolio value at death$3.39M$4.56M
Deferred tax at death—$933,000 — erased by the step-up

The heirs end up with about $1.16 million more. Even if the exchanger sold at the end and paid everything, they’d be about $424,000 ahead: the deferred tax worked like an interest-free loan from the government, invested in more property.

Variations

  • Delaware statutory trusts (DSTs). Fractional interests in large, professionally managed properties that qualify as replacement property — popular with investors who want to stop being landlords without triggering tax.
  • Reverse exchanges. Buy the replacement first, then sell the old property, using an exchange accommodation titleholder to park one of them.
  • Improvement exchanges. Use exchange proceeds to build on or improve the replacement property within the 180 days.
  • Related parties. Exchanges with family members or related entities are allowed, but both sides generally have to hold the properties for two years.

Combined with depreciation

The 1031 exchange is what makes aggressive depreciation a long-term strategy rather than just a timing trick. Cost segregation and bonus depreciation produce big deductions now that would normally be recaptured at sale; exchanging instead of selling postpones recapture indefinitely, and death erases it. See real estate depreciation and cost segregation.

The debate

Supporters argue that exchanges keep capital invested in real estate, support transaction volume and housing supply, and shouldn’t be taxed because the investor hasn’t cashed out. Critics point out that the benefit flows overwhelmingly to large real estate investors, and that combined with depreciation and the step-up it lets real estate income escape tax for good. Proposals to cap annual deferral have been made but not enacted.

Try it

Model your own exchange plan in the 1031 exchange calculator, and see how it fits with other strategies in how the ultra-wealthy legally avoid taxes.

Sources

This article is educational, not financial, tax, or legal advice. Talk to a licensed professional before acting on anything you read here.