The basics
Section 1031 of the Internal Revenue Code says that when you exchange real property held for investment or business use for other real property of a "like kind," you don't recognize a gain or loss on the transaction. In practice, that means the capital gains tax — and depreciation recapture — you would normally owe on a sale is deferred and carried forward into your new property.
You'll also hear it called a like-kind exchange, a tax-deferred exchange, or a Starker exchange (after a 1979 court case that allowed the sale and purchase to happen at different times).
Deferred, not forgiven
A 1031 exchange postpones tax; it doesn't erase it. Your original cost basis carries over to the replacement property, and the deferred gain becomes taxable when you eventually sell without exchanging again.
Why investors use it
Keep more money working
Money that would have gone to taxes stays invested, so you can buy a larger or better property.
Upgrade or reposition
Trade a management-heavy rental for a newer building, a different market, or a passive investment.
Diversify or consolidate
Exchange one property into several — or several into one — to change your risk profile.
Estate planning
Under current law, heirs generally receive a "stepped-up" basis at death, which can eliminate gains deferred through a lifetime of exchanges.
What qualifies — and what doesn't
Both the property you sell (the relinquished property) and the property you buy (the replacement property) must be held for productive use in a trade or business or for investment. "Like-kind" is broad for real estate: almost any U.S. investment real estate can be exchanged for any other.
Rental homes and apartment buildings · Office, retail and industrial property · Raw land · Farmland and ranches · Long-term ground leases (generally 30+ years) · Interests in a Delaware Statutory Trust (DST)
Your primary residence · Fix-and-flip or other property held primarily for sale · Stocks, bonds and notes · Partnership or LLC interests · Personal property (since 2018) · U.S. property exchanged for foreign property
The 45/180-day timeline
Most exchanges are delayed exchanges: you sell first, then buy. Two deadlines start the day you close on the sale, and they run at the same time — not one after the other.
- 01 · Day 0Sell your property
Sale proceeds go straight to a qualified intermediary, never to you.
- 02 · By day 45Identify replacements
Deliver a signed, written list to your intermediary by midnight of day 45.
- 03 · By day 180Close on the purchase
Or by your tax-return due date (with extensions) if that comes first.
No extensions for weekends or holidays
Both deadlines are calendar days. If day 45 falls on a Sunday, it's still day 45. The IRS generally only extends these deadlines for federally declared disasters. If you sell late in the year, file a tax-return extension so the April deadline doesn't cut your 180 days short.
Identification rules
Your 45-day identification must follow one of three rules:
| Rule | What you can identify | Best for |
|---|---|---|
| 3-property rule | Up to three properties of any value | Most investors — simple and common |
| 200% rule | Any number of properties, as long as their combined value is no more than 200% of what you sold | Spreading into several smaller properties |
| 95% rule | Any number and value — but you must actually buy at least 95% of the total value you identified | Rarely used; very little margin for error |
Many investors list a backup property in case the first deal falls through. DST interests are often used as backups because they can typically close quickly.
Qualified intermediaries
You can't touch the sale proceeds. If you receive the money — or even have the right to it — the exchange fails. That's why a qualified intermediary (QI, also called an exchange accommodator) holds the funds between sale and purchase and handles the exchange documents.
- Engage the QI before you close on your sale. You can't add one after the fact.
- Some people can't serve as your QI, including anyone who has acted as your agent in the past two years — such as your attorney, accountant, real estate broker or employee (with limited exceptions).
- Ask how funds are protected: separate accounts, fidelity bonds, errors & omissions insurance, and who keeps the interest. QIs are lightly regulated in most states.
See what qualified intermediaries typically charge →
Boot and full deferral
Boot is anything you receive in an exchange that isn't like-kind property. Boot is taxable (up to the amount of your gain), but it doesn't disqualify the rest of the exchange. The two most common kinds:
- Cash boot — sale proceeds you keep or don't reinvest.
- Mortgage boot — taking on less debt on the new property than you paid off on the old one, without adding cash to make up the difference.
The rule of thumb for deferring 100%
Buy replacement property worth the same or more than the net sale price, reinvest all of your net proceeds, and replace any debt you paid off with new debt or additional cash.
The same taxpayer that sells must buy. If your LLC sells, your LLC (not you personally) should take title to the replacement property, with some exceptions for single-member LLCs that are disregarded for tax purposes.
Types of exchanges
Delayed exchange
Sell first, buy within 180 days. The standard structure described above.
Reverse exchange
An "exchange accommodation titleholder" parks the new property while you sell the old one within 180 days. More complex and more expensive.
Improvement exchange
Exchange funds pay for improvements to the replacement property, which must be completed (to the extent counted) within 180 days.
Simultaneous exchange
Both closings happen on the same day. Rare today, but still possible.
A worked example
Maria bought a fourplex for $600,000 years ago and has taken $150,000 of depreciation, so her adjusted basis is $450,000. She sells for $1,200,000 and pays $60,000 in selling costs.
| Taxable sale | 1031 exchange | |
|---|---|---|
| Gain on sale | $690,000 | $690,000 |
| Depreciation recapture (25%) | $37,500 | $0 today |
| Federal capital gains (20%) | $108,000 | $0 today |
| Net investment income tax (3.8%) | $26,220 | $0 today |
| State tax (e.g., 9.3%) | $64,170 | $0 today |
| Estimated tax due now | $235,890 | $0 |
| Equity available to reinvest | ≈ $904,000 | ≈ $1,140,000 |
Simplified illustration assuming no mortgage, the top federal brackets, and the full recapture rate; it ignores alternative minimum tax and other details. Unrecaptured Section 1250 gain is taxed at a maximum of 25%. Actual taxes depend on your situation — run your own numbers with our calculator and confirm with a tax professional.
Common mistakes
- Hiring a QI after closing. Once you receive the proceeds, it's too late.
- Missing day 45. Start shopping before you sell, and identify backups.
- Accidentally creating boot. Using exchange funds for non-exchange costs (like loan fees, security deposits or prorated rents) can create taxable boot.
- Changing the taxpayer. Selling in an LLC and buying in your personal name — or vice versa — can break the exchange.
- Buying from a related party without understanding the special two-year holding rules.
- Exchanging a flip. Property bought to resell quickly is generally not "held for investment."
- Forgetting Form 8824. Every exchange must be reported on IRS Form 8824 for the year of the sale.
Frequently asked questions
Can I do a 1031 exchange on my primary residence?
No. A 1031 exchange only applies to property held for investment or business use. Your home may qualify for a separate exclusion of up to $250,000 of gain ($500,000 for married couples) under Section 121. Some properties — like a home you've converted to a rental — can involve both rules.
What happens if I miss the 45-day deadline?
The exchange generally fails and the sale is treated as an ordinary taxable sale. Your QI will typically release your funds after day 45 (or after day 180, depending on your agreement and whether properties were identified).
Do I have to buy a more expensive property?
To defer all the tax, you generally need to buy equal or greater value and reinvest all net proceeds. Buying less creates taxable boot, but the remaining gain can still be deferred — a partial exchange.
Can I exchange one property for several?
Yes. You can sell one and buy several (or the reverse), as long as you follow the identification rules and timelines.
Can I move into the replacement property later?
Possibly, but you must first genuinely hold it as an investment. The IRS provides a safe harbor for dwelling units (Rev. Proc. 2008-16), and special rules can limit the home-sale exclusion on property acquired in an exchange within the previous five years.
Can I exchange into a Delaware Statutory Trust (DST)?
Yes. Under Revenue Ruling 2004-86, an interest in a properly structured DST is treated as a direct interest in real estate. DSTs are passive, fractional investments — learn more in our companion DST guide.
Is a 1031 exchange tax-free?
No — it's tax-deferred. However, if you hold exchanged property until death, current law generally gives your heirs a stepped-up basis, which can eliminate the deferred gain.
Do state taxes follow the federal rules?
Most states follow federal 1031 treatment, but some (such as California) track deferred gains when you exchange into out-of-state property and require annual filings. Check your state's rules.
Expert review pending. This page will be reviewed by a licensed CPA or tax attorney before publication. [Placeholder: reviewer name, credentials and bio link.]
Sources
- 26 U.S. Code § 1031 — Exchange of real property held for productive use or investment
- IRS — Like-kind exchanges: real estate tax tips
- IRS — About Form 8824, Like-Kind Exchanges
- Treas. Reg. § 1.1031(k)-1 — Deferred exchanges
- IRS Revenue Procedure 2000-37 (reverse exchanges) · Revenue Procedure 2008-16 (dwelling units) · Revenue Ruling 2004-86 (DSTs)
See what you could defer
Plug in your sale price and basis to estimate the tax a 1031 exchange could postpone.
