What Is a 1031 Exchange? The Complete Guide
18 min read · The Basics · Last updated
Reviewed by
Key Takeaways
A 1031 exchange lets you sell business or investment real property and defer capital gains tax by reinvesting the proceeds into like-kind replacement property. You keep more money working for you, but you must follow strict deadlines and rules.
A 1031 exchange lets you sell investment real estate and reinvest the proceeds into another property while deferring all capital gains taxes on the sale. It is named after Section 1031 of the Internal Revenue Code, which has existed in some form since 1921 and, since the Tax Cuts and Jobs Act of 2017, applies exclusively to real property.
This page is the canonical overview. It covers what a 1031 exchange is, who it is for, who it is not for, how the process works at a high level, and where to go for deeper detail.
Who a 1031 exchange is for
A 1031 exchange is designed for owners of real property held for investment or productive use in a trade or business. That includes rental houses, apartment buildings, commercial offices, industrial warehouses, retail centers, farmland, and vacant land held for appreciation.
The typical candidate is an investor facing a significant capital gains tax bill on a property sale who wants to keep the full amount of equity working in real estate rather than paying 25-40% of the gain to federal and state tax authorities.
Who a 1031 exchange is not for
- Primary-residence sellers. Your home does not qualify unless you first convert it to a genuine rental property and hold it long enough to establish investment intent.
- Fix-and-flip operators. Property held primarily for resale (dealer property) is excluded.
- Investors who want out of real estate entirely. The exchange requires reinvestment into like-kind real property; you cannot exchange into stocks, bonds, or cash.
- Small-gain sellers. If the tax you would defer is modest relative to the constraints and costs, the exchange may not be worth the effort. Run the calculator with your actual numbers to decide.
How deferral works
When you sell an investment property at a profit, you owe a stack of taxes:
| Tax | Rate | Notes |
|---|---|---|
| Federal long-term capital gains | 0%, 15%, or 20% | Rate depends on taxable income |
| Depreciation recapture | 25% | Applies to depreciation deductions claimed over the holding period |
| Net investment income tax (NIIT) | 3.8% | Applies above $200K single / $250K married AGI |
| State income tax | 0-13.3% | Varies by state; California taxes gains as ordinary income |
A 1031 exchange defers all four layers. On a $400,000 gain in a high-tax state, that can keep $120,000-$160,000 invested instead of going to the IRS and state tax authority.
The key word is "defer." You are not eliminating the tax permanently. You are pushing it forward. But many investors exchange repeatedly over decades, rolling gains from property to property. If the property eventually passes to heirs, those heirs may receive a stepped-up basis under current law, potentially eliminating the deferred gain entirely.
The like-kind requirement
Both the property you sell (the relinquished property) and the property you buy (the replacement property) must be real property, but "like-kind" is interpreted broadly. You can sell a single-family rental and buy a warehouse. You can sell farmland and buy an apartment building. The requirement refers to the nature of the asset (real estate for real estate), not its type, quality, or location within the United States.
Foreign real property exchanged for domestic property does not qualify.
The same-taxpayer rule
The same taxpayer that sells must buy. If your LLC sells a property, the same LLC must acquire the replacement, not you personally and not a different entity. For single-member LLCs (which are disregarded for tax purposes), the individual owner is the taxpayer. For multi-member LLCs and partnerships, the entity itself is the taxpayer. See the LLC and partnership guide for details.
How a deferred exchange works: five steps
The most common form is a deferred exchange: sell first, then buy the replacement within a specific time window.
Step 1 — Prepare. Before listing the property, engage a qualified intermediary, consult a CPA, and begin scouting replacement properties. Your QI must be contracted before the sale closes.
Step 2 — Close on the sale (Day 0). Proceeds go directly to your QI, not to you. Both the 45-day and 180-day clocks start.
Step 3 — Identify replacement property (by Day 45). You have exactly 45 calendar days to formally identify potential replacements in writing to your QI. No extensions. The most common approach is the 3-Property Rule (identify up to three properties of any value). Alternatives include the 200% Rule and the 95% Rule. See identification rules explained for details.
Step 4 — Close on the replacement (by Day 180). You must receive the replacement property within 180 days of the sale, or by the due date of your tax return (including extensions), whichever comes first. Your QI releases the held funds to complete the purchase.
Step 5 — File and report. Report the exchange on IRS Form 8824 with your federal tax return. Some states have additional reporting requirements.
For a detailed day-by-day breakdown, see the 1031 exchange timeline.
Full deferral requirements
To defer your entire gain, you generally must satisfy two conditions:
- Reinvest all equity. The replacement property's total acquisition cost must equal or exceed the net sale price of the relinquished property.
- Replace all debt. The mortgage on the replacement must equal or exceed the mortgage on the relinquished property, or you must offset the difference with additional cash.
If you buy less expensive property or reduce your debt, the difference is called boot and is taxable.
Common points of failure
| Failure | Why it happens |
|---|---|
| Missing the 45-day deadline | Investors sell before building a replacement pipeline |
| Constructive receipt | Sale proceeds touch the investor's hands instead of going to the QI |
| Entity mismatch | Selling from one entity and buying through another |
| Identification not in writing | A verbal conversation does not satisfy the regulations |
| Financing delays | Lender cannot close before Day 180; filing Form 4868 for a tax extension can protect the full window |
What a 1031 exchange costs
QI fees for a standard deferred exchange typically run $750-$1,500. Reverse and improvement exchanges cost more. There is no exchange fee paid to the IRS. The remaining costs are the normal transaction costs of buying and selling real estate (commissions, title insurance, escrow, inspections, financing). See the closing costs guide for a line-by-line breakdown.
When a 1031 exchange might not make sense
Consider skipping the exchange if:
- The gain is small and the tax bill is manageable relative to the constraints
- You want out of real estate entirely and value liquidity more than deferral
- You cannot realistically find replacement property in the 45-day window
- The exchange constraints create more risk than the tax savings justify
- Your basis is already high and there is minimal gain to defer
The answer is always in the numbers. Run the calculator with your actual property details. If the tax you would defer is $15,000, the exchange may not be worth the constraints. If it is $150,000, it almost certainly is.
The Bottom Line
A 1031 exchange is one of the most powerful tax deferral tools available to real estate investors. When executed properly, it allows you to keep your capital fully invested and growing instead of paying a significant portion to taxes. The key is understanding the rules, meeting the deadlines, and working with qualified professionals.
Frequently Asked Questions
Related Articles
1031 Exchange for Beginners: A Plain-English Starting Point
If you sell a rental or investment property at a profit, the IRS lets you skip the tax bill - as long as you reinvest the proceeds into another property of equal or greater value within a set timeframe.
1031 Exchange Examples: 6 Real-World Scenarios
**The investor:** Maria, a W-2 employee in Colorado, bought a single-family rental in Denver for $300,000 eight years ago. It's now worth $480,000. She wants to scale up to a duplex for more cash flow.
1031 Exchange Depreciation Recapture Explained
When you own a rental or investment property, the IRS lets you deduct a portion of the building's cost each year as depreciation. For residential rental property, you spread the cost over 27.5 years. For commercial property, 39 years. These deductions reduce your taxable rental income every year...