1031 Exchange Guide: How to Defer Capital Gains on Real Estate
How a 1031 Exchange Works
The basic concept is simple: instead of selling a property, paying taxes, and buying another, you exchange one property for another. The IRS treats it as a continuation of your investment — not a sale — so taxes are deferred until you eventually sell without exchanging.
You never touch the money. A Qualified Intermediary (QI) holds the sale proceeds and transfers them directly to purchase the replacement property. If you receive cash at any point, that portion becomes taxable.
1031 Exchange Rules and Timelines
| Rule | Requirement | Details |
|---|---|---|
| Like-Kind Property | Both must be investment/business use | Any real estate for any real estate (land, apartments, commercial, etc.) |
| 45-Day Identification Period | Identify replacement within 45 days | Must be in writing to the QI |
| 180-Day Closing Period | Close on replacement within 180 days | Starts from the sale of relinquished property |
| Equal or Greater Value | Replacement must equal or exceed sale price | Otherwise, difference (“boot”) is taxable |
| Equal or Greater Debt | New mortgage ≥ old mortgage | Debt reduction counts as boot |
| Same Taxpayer | Same entity must buy and sell | Can’t sell personally and buy through an LLC |
| Qualified Intermediary | Must use a third-party QI | Cannot be your agent, attorney, or accountant |
Types of 1031 Exchanges
| Type | How It Works | Complexity |
|---|---|---|
| Delayed (Forward) Exchange | Sell first, buy replacement within 180 days | Most common, moderate |
| Simultaneous Exchange | Both properties close same day | Simple but rare |
| Reverse Exchange | Buy replacement before selling current property | Complex, expensive |
| Build-to-Suit (Improvement) | Use proceeds to improve replacement property | Most complex |
What Qualifies (and What Doesn’t)
| Property | Qualifies | Doesn’t Qualify |
|---|---|---|
| Rental Properties | Yes — any rental for any rental | — |
| Commercial Real Estate | Yes — office, retail, industrial | — |
| Vacant Land | Yes — if held for investment | If held as inventory (developer) |
| Primary Residence | — | No — must be investment use |
| Fix-and-Flip | — | No — considered dealer property |
| Stocks, Bonds, Notes | — | No — only real property qualifies |
Tax Savings Example
You bought a rental property for $200,000 and sell it for $400,000. After depreciation deductions of $50,000, your gain is $250,000. Without a 1031 exchange, you’d owe approximately $50,000 in federal capital gains tax (20%) plus $12,500 in depreciation recapture (25%) — totaling $62,500 in taxes.
With a 1031 exchange into a $500,000 replacement property, you defer that entire $62,500 tax bill. That money stays invested, compounding in your new property. Over multiple exchanges, the deferred amount can grow to hundreds of thousands of dollars.
Key Takeaways
- A 1031 exchange defers capital gains and depreciation recapture taxes when you sell investment property and buy a like-kind replacement.
- Strict timelines apply: 45 days to identify, 180 days to close. No extensions.
- A Qualified Intermediary must hold the funds — you can never touch the cash.
- The replacement property must be equal or greater in value and debt, or you’ll owe taxes on the difference (boot).
- The “swap till you drop” strategy combined with stepped-up basis at death can eliminate deferred taxes entirely.
Frequently Asked Questions
Can I do a 1031 exchange on my primary residence?
No. Section 1031 only applies to property held for investment or business use. Your primary home doesn’t qualify. However, if you convert your primary residence to a rental for at least two years, it may then qualify for a 1031 exchange. Consult a tax professional for the specific rules.
What is “boot” in a 1031 exchange?
Boot is any non-like-kind property received in the exchange — typically cash or debt reduction. If you sell for $500,000 and only reinvest $450,000, the $50,000 difference is boot and is taxable as a capital gain. To fully defer taxes, reinvest the entire net sale proceeds.
How many properties can I identify in the 45-day window?
Under the three-property rule, you can identify up to three replacement properties regardless of value. Under the 200% rule, you can identify any number of properties as long as their total value doesn’t exceed 200% of the relinquished property’s sale price. Most investors use the three-property rule for simplicity.
Can I exchange into a property in another state?
Yes. Like-kind refers to the nature of the investment, not the location. You can exchange a rental property in Texas for one in Florida, or even exchange an apartment building for vacant land. Any US real property qualifies for any other US real property.
What happens if my 1031 exchange fails?
If you miss the 45-day or 180-day deadlines, the exchange fails and you owe capital gains taxes on the full profit from the sale. The QI releases the funds to you, and you report the gain on your tax return for that year. There’s no partial deferral — it’s all or nothing.