The 1031 Exchange: How US Real Estate Investors Defer Capital Gains Tax
A 1031 exchange — named after Section 1031 of the Internal Revenue Code — lets a US real estate investor sell an investment property and roll the proceeds into another one without paying capital gains tax at the time of sale. The tax is deferred, not forgiven: it carries forward into the replacement property and comes due when you eventually sell without exchanging. Done right, it is one of the most powerful wealth-compounding tools in US real estate. Done sloppily, the exchange fails and the full tax bill lands immediately.
What qualifies: like-kind real property
Since the Tax Cuts and Jobs Act of 2017, Section 1031 applies only to real property. Exchanges of personal property — equipment, vehicles, art, crypto — no longer qualify.
Both the property you sell (the "relinquished property") and the property you buy (the "replacement property") must be:
- Real property — land, buildings, and interests in real property.
- Held for productive use in a trade or business, or for investment. A rental property, a commercial building, or raw land held for appreciation qualifies. Your personal residence and a property you flip quickly generally do not.
- "Like-kind." In real estate, like-kind is interpreted very broadly: an apartment building can be exchanged for raw land, a retail strip for a duplex, a commercial lot for a rental house. The uses do not need to match — only that both are US real property held for investment or business use.
The two deadlines that kill most exchanges
The IRS gives you two strict, concurrent deadlines. Both start on the day you close the sale of the relinquished property:
45-day identification period. Within 45 calendar days, you must identify potential replacement properties in a signed written notice delivered to your qualified intermediary (or the seller). Identification rules give you three options:
- Three-property rule: identify up to three properties, regardless of value.
- 200% rule: identify any number of properties, as long as their combined fair market value does not exceed 200% of the relinquished property's value.
- 95% rule: if you exceed the 200% cap, you must actually close on at least 95% of the total value you identified.
Miss day 45 — even if it falls on a weekend — and the exchange fails.
180-day exchange period. You must close on the replacement property within 180 calendar days of selling the relinquished property, or by the due date of your tax return (with extensions) for the year of the sale, whichever is earlier. The 180 days run concurrently with the 45 — you do not get 45 plus 180. If you sell late in the year, file a tax return extension to preserve the full 180 days.
Calendar days, not business days. No extensions except federally declared disaster relief.
The qualified intermediary: never touch the money
You cannot do a 1031 exchange by selling, pocketing the cash, and buying later. The proceeds must go to an independent qualified intermediary (QI) who holds the funds between the sale and the purchase. If you receive the cash — even briefly — it is "constructive receipt" and the exchange is dead.
Choose a QI before you list the property, and get the exchange agreement signed before closing. The QI cannot be your agent, attorney, accountant, or anyone who has served you in the past two years.
Full deferral requires equal-or-up value
To defer all tax, the replacement property must be worth at least as much as the relinquished property, and you must reinvest all of the equity. Any cash you keep, debt you shed, or non-like-kind property you receive is called "boot" — and boot is taxable in the year of the exchange. Partial exchanges are allowed: you defer tax on the portion reinvested and pay tax on the boot.
Two more tax wrinkles to know about:
- Depreciation recapture. If you claimed depreciation on the relinquished property, part of your gain may be taxed at the 25% unrecaptured Section 1250 rate even in an exchange — the exchange defers it into the replacement property's basis, but it does not erase it.
- Related-party exchanges face extra scrutiny and a two-year holding rule.
Reverse and improvement exchanges
- Reverse exchange: you buy the replacement property before selling the old one, using an exchange accommodation titleholder. More expensive and complex, but useful in hot markets.
- Improvement (construction) exchange: exchange proceeds fund improvements on the replacement property within the 180-day window. Strict rules apply.
Who it suits — and who should skip it
A 1031 fits buy-and-hold investors who want to upgrade, consolidate, or relocate their portfolio without triggering a tax bill — for example, trading several small rentals for one larger property, or moving capital from a flat market to a growing one. It suits investors with a long horizon who can handle the deadline pressure and the QI fees.
Skip it (or think twice) if you need the cash, if the replacement property would be a personal-use home, if the numbers only work with a perfect identification, or if you are close to death — because heirs generally receive a stepped-up basis that wipes out the deferred gain anyway, making a lifetime of exchanges end tax-free at death.
Frequently asked questions
Can I 1031 my primary residence?
No. Property held for personal use does not qualify. There is a narrow exception for a residence converted to a rental and held as an investment for a meaningful period — check current IRS guidance and get advice before relying on it.
Can I exchange into property in another state?
Yes. Like-kind has no geographic restriction within the US. A California duplex can be exchanged for a Texas apartment building.
What happens if I can't identify a property in 45 days?
The exchange fails. The sale becomes an ordinary taxable sale and you owe capital gains tax for that year. This is why many investors line up candidate properties before closing the sale.
Do I pay any tax at all in a successful exchange?
You pay tax on boot — cash retained, debt relief, or non-like-kind property received. A fully reinvested, equal-or-greater-value exchange with no boot defers the entire gain.
Can foreign investors use 1031 exchanges?
US real property held by a foreign investor can qualify, but FIRPTA withholding rules and the foreign investor's home-country tax treatment add layers of complexity. Get cross-border tax advice.
Is the deferred tax ever forgiven?
Generally no — it reduces your basis in the replacement property, so the gain reappears when you sell. The main exceptions are death (stepped-up basis for heirs) and certain charitable or like-kind strategies layered on top.
Sources
- IRS, Like-Kind Exchanges Under IRC Code Section 1031: https://www.irs.gov/newsroom/like-kind-exchanges-under-irc-code-section-1031
- IPX1031, What is a 1031 Exchange? Overview & Rules Guide: https://www.ipx1031.com/what-is-a-1031-exchange/
- The Tax Adviser, Like-kind exchanges of real estate: Building on the basics: https://www.thetaxadviser.com/issues/2025/sep/like-kind-exchanges-of-real-estate-building-on-the-basics/
This article is general information about US tax rules, not tax advice. 1031 exchanges are deadline-driven and fact-specific — consult a qualified CPA or tax attorney before structuring one.