Section 1031 of the Internal Revenue Code allows you to sell real property you hold for investment or for use in a business, buy other real property of the same kind, and postpone the tax on your gain. The gain does not disappear. It carries over into the new property and comes due when you eventually sell without exchanging. Until then, the dollars you would have sent to the Treasury keep working for you in the replacement property.
Two things make an exchange different from an ordinary sale and purchase. First, you never take possession of the sale proceeds; a qualified intermediary holds them between closings. Second, the purchase must fit inside strict deadlines: 45 days to identify what you will buy and 180 days to close. Those two features, more than anything else, are what the rest of these guides are about.
What qualifies as like-kind
Since the Tax Cuts and Jobs Act of 2017, section 1031 applies only to real property. Equipment, vehicles, artwork, and other personal property no longer qualify. Within real property the like-kind standard is broad: it looks at the nature of the property, not its grade or quality. Raw land, an apartment building, a warehouse, farmland, and a single-tenant net-lease retail building are all like-kind to one another. You can sell a duplex and buy a medical clinic leased to a credit tenant. Real property in the United States is not like-kind to real property outside the United States.
The property on both sides must be held for investment or for productive use in a trade or business. That requirement, not the type of building, is where most disqualifications happen:
- Your primary residence is personal-use property. It has its own rules under section 121; it does not qualify for section 1031.
- Flips and dealer property. Property you bought to renovate and resell, or that you hold as inventory in a real estate business, is held for sale rather than for investment. The IRS looks at your intent and your pattern of activity, not the label on the deed.
- Vacation homes can qualify if they are genuinely rental property. Revenue Procedure 2008-16 provides a safe harbor: if you owned the home for at least 24 months before the exchange, rented it at a fair rental for at least 14 days in each of the two 12-month periods before the sale, and kept personal use under the greater of 14 days or 10 percent of the rental days in each period, the IRS will not challenge the investment-holding requirement. Property outside the safe harbor may still qualify, but you carry the burden of proof.
Who an exchange suits
An exchange is most useful when you have substantial appreciation, prior depreciation that would be recaptured, and a reason to stay invested in real estate. Common situations:
- An owner of management-intensive property (apartments, a multi-tenant retail center, a business location you no longer operate from) who wants income without day-to-day management.
- A family office consolidating several smaller holdings into fewer, larger, more passive assets, or doing the reverse to spread tenant risk.
- An owner moving equity from one market to another, or from land that produces no income into leased property that does.
- An owner who intends to hold for life, so that heirs receive a stepped-up basis and the deferred gain is never taxed.
An exchange is less useful when the gain is small, when you need the cash for something other than real estate, or when you expect to sell the replacement property quickly anyway.
The benefits and the trade-offs
Four benefits account for most of the interest in section 1031:
- Deferral of federal capital gains tax, which at the top rate is 20 percent of the gain.
- Deferral of depreciation recapture, taxed at up to 25 percent on the straight-line depreciation you have taken.
- Deferral of the 3.8 percent net investment income tax that applies to higher-income taxpayers.
- Deferral of state income tax in the states that conform to section 1031, which is nearly all of them.
Together these can mean a third or more of your gain stays invested instead of being paid out at closing. The trade-offs are real and worth weighing with your advisers:
- Carryover basis. Your low basis in the old property follows you into the new one. Depreciation deductions on the replacement property are smaller than they would be on a fresh purchase, and the deferred gain is still there when you sell.
- Concentration. Exchanging requires buying real estate, and often one or two assets of significant size. You cannot diversify into other asset classes without ending the deferral.
- Deadlines. Forty-five days is not long. Investors who begin shopping only after they close often end up choosing from whatever is available rather than what they want.
Where section 1031 stands in 2026
No enacted legislation in 2025 or 2026 changed section 1031. The One Big Beautiful Bill Act, signed July 4, 2025, left like-kind exchanges as they were; the last substantive change remains the 2017 limitation to real property. Earlier federal budget proposals (most recently in the fiscal 2022 through 2025 Treasury Green Books) suggested capping the gain that could be deferred each year, but none of those proposals was enacted. As always, your CPA will know whether anything has changed by the time you close.
This guide is educational and is not tax, legal, or investment advice. Your qualified intermediary, CPA, and attorney make the determinations for your exchange.
This article is educational and is not tax, legal or investment advice. Your qualified intermediary, CPA and attorney should confirm how any rule applies to you.