Guides
1031 Exchange vs Opportunity Zone: Which Defers More
A 1031 exchange defers more of your original gain, because it can postpone tax indefinitely and erase it entirely at death through a stepped-up basis. An Opportunity Zone defers less of the original gain (post-2027 investments recognize it after five years) but can forgive more future gain, since appreciation in a Qualified Opportunity Fund held 10 years becomes permanently tax-free. The right tool depends on whether your priority is deferring today’s gain or eliminating tomorrow’s.
Both are capital gains tax strategies built on reinvestment, but they solve different problems. Section 1031 rolls one investment property into another with no immediate tax. The Opportunity Zone program, made permanent by the One Big Beautiful Bill Act (OBBBA), trades a shorter deferral for a shot at zero tax on the growth. Below is a side-by-side breakdown of deferral length, eligible assets, timelines, and basis mechanics as they stand in 2026.
Quick comparison: 1031 exchange vs Opportunity Zone
At a glance, a 1031 exchange wins on deferral duration and works only for real property, while an Opportunity Zone accepts any capital gain and rewards a long hold with tax-free appreciation. The table shows where each rule diverges.
| Feature | 1031 Exchange (Section 1031) | Opportunity Zone (Section 1400Z) |
|---|---|---|
| Eligible gain source | Real property held for business/investment only | Any capital gain: stocks, crypto, business sale, real estate |
| What you reinvest | Full sale proceeds (plus replace debt) | Only the capital gain, not the full proceeds |
| Deferral length | Indefinite; can roll forever | Legacy: to Dec 31, 2026. Post-2027: 5 years from investment date |
| Original gain outcome | Deferred; erased at death via step-up | Deferred, then taxed (less 10% step-up at 5 years) |
| New appreciation | Fully taxable on sale (unless rolled again) | Tax-free after a 10-year hold |
| Basis step-up | Carryover basis; heirs get FMV at death | 10% at 5 years (30% for rural funds); FMV election after 10 years |
| Reinvestment window | 45 days to identify, 180 days to close | 180 days from the gain event |
| Intermediary required | Yes, a Qualified Intermediary (QI) | No; invest directly into a QOF |
| Depreciation recapture | Deferred with the exchange | Recognized at the 5-year/2026 inclusion date |
Deferral vs partial forgiveness: the core difference
The two programs answer different questions. A 1031 exchange defers the entire realized gain and keeps deferring it as long as you keep exchanging. An Opportunity Zone defers a slice of the original gain for a fixed period, then forgives all appreciation on the fund itself if you hold 10 years. One postpones an old tax bill; the other cancels a future one.
With a 1031 exchange, the deferred gain follows a carryover basis into each replacement property. Keep exchanging until death, and the Section 1014 step-up in basis gives your heirs a basis stepped up to fair market value, which can wipe out the deferred tax permanently.
With an Opportunity Zone, the original deferred gain does not disappear. Under the legacy rules it becomes taxable on December 31, 2026. Under the permanent post-2027 regime it becomes taxable five years after you invest. The reward is on the back end: appreciation inside the Qualified Opportunity Fund (QOF) held at least 10 years is excluded from tax entirely.
So “which defers more” has a two-part answer. For the original gain, the 1031 exchange defers more, often forever. For the growth on the new investment, the Opportunity Zone forgives more, because that appreciation can be fully tax-free.
The permanent Opportunity Zone program under OBBBA
The One Big Beautiful Bill Act turned Opportunity Zones from a one-time 2018 map into a permanent, recurring program with a decennial designation cycle. The first new cycle uses a July 1, 2026 determination date, and tracts certified in 2026 carry a designation period from January 1, 2027 through December 31, 2036. Previously designated zones expire December 31, 2028 (December 31, 2027 for Puerto Rico tracts).
For investments made after December 31, 2026, OBBBA replaced the old fixed 2026 cliff with a rolling five-year deferral. Each investment starts its own clock: put money in on March 1, 2027, and the deferred gain is recognized on March 1, 2032, unless an earlier sale or inclusion event triggers it first.
The basis rules also changed. Post-2027 investments earn a 10% basis step-up at the five-year mark, which permanently removes 10% of the deferred gain from tax. Qualified rural opportunity funds get a more generous 30% step-up. OBBBA eliminated the old additional seven-year step-up.
The 10-year exclusion survives, with one new ceiling. For post-2026 investments, the fair market value basis election is capped at the fund’s value on the 30th anniversary. Appreciation beyond year 30 is no longer sheltered. IRS Notice 2026-40 supplies the transition mechanics, including working capital safe harbor conditions and rules distinguishing qualifying modernization from non-qualifying expansion.
One trap for legacy investors: a pre-2027 QOF position held through December 31, 2026 must include its remaining deferred gain in income that year, and that inclusion cannot be re-deferred into another fund.
Asset types: what actually qualifies
A 1031 exchange is limited to real property held for productive use in a trade or business or for investment. An Opportunity Zone accepts capital gains from almost any source, which makes it the only reinvestment shelter available to sellers of stock, crypto, or an operating business.
Since the Tax Cuts and Jobs Act, Section 1031 no longer covers personal property, equipment, vehicles, or intangibles. It is real estate for real estate: an apartment building for raw land, a retail strip for a warehouse. The properties must be “like-kind,” a standard that is broad within U.S. real property but excludes a primary residence and property held mainly for resale (dealer inventory).
Opportunity Zones do not care where the gain came from. A founder selling company shares, a trader with a large crypto gain, or a landlord selling a building can all roll the gain into a QOF. The catch is geographic and operational: the fund must invest in businesses or property located in a designated zone, and it must meet the 90% asset test and substantial improvement requirements.
This difference drives the choice. A real estate investor who wants to stay in real estate and keep deferring often prefers a 1031 exchange. A seller of appreciated stock or a business has no 1031 option and turns to an Opportunity Zone. For a deeper look at the real-property mechanics, see our guide to the Section 1031 like-kind exchange in 2026.
Timelines: the clocks that can break each deal
Both strategies run on strict deadlines, and missing one usually means the gain becomes taxable. A 1031 exchange gives you 45 days to identify replacements and 180 days to close. An Opportunity Zone gives you 180 days from the gain event to invest the gain into a QOF.
The 1031 timeline is unforgiving. From the day you sell the relinquished property, you have 45 calendar days to formally identify replacement candidates and a total of 180 days to complete the purchase. There are no extensions for weekends or holidays. You must also use a Qualified Intermediary; touching the sale proceeds yourself disqualifies the exchange.
The Opportunity Zone timeline is simpler because you reinvest only the gain, not the whole proceeds, and you can hold the rest as cash. You have 180 days from the transaction that generated the capital gain to place that gain into a QOF. For gains flowing through a partnership or S corporation, the 180-day window can start at the entity’s year-end, which adds flexibility.
Basis mechanics and the step-up question
Basis treatment is where the long-term outcomes separate. A 1031 exchange uses carryover basis, so the deferred gain rides along until a taxable sale or a step-up at death. An Opportunity Zone offers a partial step-up at five years and a full fair market value election after 10 years.
In a 1031 exchange, your basis in the replacement property equals your old basis plus any additional cash invested, minus the deferred gain. Depreciation recapture is deferred alongside the capital gain. If you hold until death, Section 1014 resets basis to fair market value, and the deferred gain, including recapture, generally disappears for your heirs.
In an Opportunity Zone, the deferred gain gets a 10% basis step-up if held five years (30% in a rural fund), reducing the eventual tax on the original gain. The larger benefit is the 10-year election: hold the QOF interest at least 10 years and you can elect to step basis up to fair market value on sale, making the fund’s appreciation tax-free, now capped at the value on the 30th anniversary.
Neither strategy avoids the 3.8% net investment income tax automatically; that depends on income and holding structure. See our explainer on the net investment income tax and the fundamentals of cost basis for how these interact.
FAQ
Can you use a 1031 exchange and an Opportunity Zone together?
Not on the same dollars. A 1031 exchange requires reinvesting the proceeds into like-kind real property, while an Opportunity Zone requires investing the gain into a QOF. You cannot defer the same gain twice. Some investors do a 1031 exchange on one property and separately route a different capital gain into a QOF, but each gain follows one path.
Which saves more tax overall in 2026?
It depends on your horizon. A 1031 exchange can defer 100% of the gain indefinitely and erase it at death, which often saves more for investors planning to hold or exchange until they die. An Opportunity Zone can eliminate all appreciation after 10 years, which may save more for investors expecting large growth and willing to pay tax on the original gain at the five-year mark.
Do I have to reinvest all my proceeds in an Opportunity Zone?
No. You reinvest only the capital gain portion, not the full sale proceeds, and you can keep the return-of-basis amount as cash. This is a key difference from a 1031 exchange, which requires reinvesting the entire proceeds and replacing any debt to fully defer the gain. The QOF flexibility lets you take some liquidity off the table.
When does the deferred Opportunity Zone gain become taxable?
Under legacy rules, deferred gains from pre-2027 investments are recognized on December 31, 2026. Under the permanent post-OBBBA regime, deferred gains from investments made after December 31, 2026 are recognized five years from the investment date, or earlier if you sell. A 10% basis step-up at five years (30% for rural funds) reduces the amount taxed.
Does a 1031 exchange work for stocks or crypto?
No. Section 1031 covers only real property held for business or investment use. Gains from stocks, crypto, partnership interests, or a business sale do not qualify. The Opportunity Zone program is the reinvestment shelter available for those gains, since it accepts capital gains from any source as long as you invest within 180 days.
What happens to depreciation recapture in each strategy?
In a 1031 exchange, depreciation recapture is deferred along with the capital gain and can be eliminated by a step-up at death. In an Opportunity Zone, recapture attributable to the original property is generally recognized at the inclusion date (December 31, 2026 for legacy investments, or the five-year mark for post-2027 investments), not sheltered by the 10-year exclusion.
Reviewed by The Ledgerism Editorial Team. Last reviewed: July 2026.