1031 Exchanges Explained: How Investors Defer Capital Gains on Real Estate
A like-kind exchange lets real estate investors defer, not eliminate, federal capital gains tax on investment property—if they follow strict IRS timelines and rules.

The short answer
- A Section 1031 exchange defers federal capital gains and depreciation-recapture tax when investment or business real estate is swapped for other "like-kind" real estate.
- Since 2018, Section 1031 applies only to real property; personal property and most other assets no longer qualify.
- Investors must identify replacement property within 45 days and close within 180 days of selling the original property, using a qualified intermediary to hold sale proceeds.
- Tax is deferred, not forgiven—it typically comes due when the replacement property is eventually sold without another exchange, unless the owner dies holding it and heirs get a stepped-up basis.
- Missing a deadline, touching the sale proceeds directly, or exchanging into non-like-kind property can disqualify the entire transaction.
For decades, real estate investors have used Section 1031 of the Internal Revenue Code to sell an investment property and roll the proceeds into another one without immediately paying federal capital gains tax. The tool is legal, common among landlords, developers, and even small investors selling a single rental house, and it is frequently misunderstood. Here is how it actually works, and where the pitfalls lie.
What Section 1031 Does—and Doesn't—Do
A 1031 exchange defers tax; it does not erase it. When an investor sells appreciated property, the IRS normally taxes the gain, plus any "depreciation recapture" on the building, in the year of sale. Under Section 1031, if the seller reinvests in qualifying like-kind real property following the rules, that tax bill is postponed. The deferred gain is carried forward into the replacement property's tax basis, so if that property is later sold outright, the original gain—along with any new appreciation—is generally taxed then, per the IRS's own guidance on like-kind exchanges (irs.gov/newsroom, Form 8824 instructions).
Since the Tax Cuts and Jobs Act took effect in 2018, Section 1031 has applied only to real property held for investment or business use, such as rental homes, apartment buildings, farmland, or commercial space. Personal property—equipment, vehicles, artwork, and similar assets—no longer qualifies, a significant narrowing from prior law, according to the IRS.
The Core Rules Investors Must Follow
- Like-kind, broadly defined: Almost any U.S. real property held for investment or business qualifies as like-kind to almost any other, so an investor can exchange a rental duplex for raw land or a retail strip center. Property must generally be located within the United States to exchange with other U.S. property.
- Qualified intermediary required: The seller cannot receive or control the sale proceeds. A neutral third party, known as a qualified intermediary, holds the funds between the sale and the purchase of the replacement property.
- 45-day identification window: The investor must formally identify potential replacement properties in writing within 45 calendar days of closing the sale.
- 180-day closing window: The purchase of the replacement property must close within 180 days of the original sale, or by the investor's tax return due date for that year, whichever is earlier.
- Equal or greater value: To defer all gain, the replacement property's purchase price and the debt on it should generally be equal to or greater than what was sold; any cash or reduction in debt taken out (called "boot") is typically taxable.
- Investment-use requirement: Both the property sold and the property acquired must be held for investment or business use—not a primary residence or property held mainly for resale, such as a house flip.
Common Variations and Traps
Investors sometimes use a "reverse exchange," where the replacement property is acquired before the original property is sold, or a "build-to-suit exchange," where exchange funds finance improvements on the replacement property. Both require specialized structuring, typically through an exchange accommodation titleholder, and carry the same strict deadlines.
The most frequent mistakes are procedural: missing the 45-day identification deadline, having sale proceeds pass through the investor's own bank account instead of the intermediary, or unknowingly acquiring property that doesn't qualify as held for investment. Any of these can retroactively disqualify the exchange, triggering the full tax bill in the year of the original sale.
Why Investors Use It—and the Long-Term Trade-off
Deferring tax preserves more capital to reinvest, which can help investors scale into larger properties over time, a strategy sometimes called "swap until you drop." If an investor holds the final replacement property until death, heirs typically receive a stepped-up basis under current tax law, potentially eliminating the deferred gain entirely for income tax purposes—though estate tax rules may still apply. Investors who instead sell without exchanging will owe the accumulated deferred gain, plus recapture, in that final sale year.
Sources
- Like-Kind Exchanges Under IRC Section 1031 — Internal Revenue Service
- Instructions for Form 8824, Like-Kind Exchanges — Internal Revenue Service
- Tax Cuts and Jobs Act, Provision 13303 (Limitation of Like-Kind Exchanges to Real Property) — U.S. Congress
Spotted an error? Tell our corrections desk.
