1031 Exchange vs Opportunity Zone: Which One Should You Use?
Side-by-side comparison of 1031 exchanges and Opportunity Zone investments under OZ 2.0 rules. Decision framework for investors choosing between deferral strategies.
Two federal tax structures let you defer capital gains by rolling them into new investments: the 1031 like-kind exchange and the Opportunity Zone incentive. They overlap in one useful case — real estate investment gains — and differ on almost everything else.
This guide compares them head-to-head under current rules (1031 under IRC Section 1031, OZ under Section 1400Z-2 as updated by the One Big Beautiful Bill Act). It ends with a decision framework for choosing between them.
Quick answer
-
Use a 1031 exchange if you’re selling investment real estate and plan to continue owning real estate, want indefinite deferral, and either plan to hold until death (step-up at death) or expect to keep 1031-exchanging into future properties.
-
Use an Opportunity Zone investment if you want a defined exit (the 10-year tax-free appreciation benefit), if your gain is from something other than real estate (stocks, crypto, business sale), or if you want to diversify out of direct real estate ownership into a fund structure.
-
Use both if you’re splitting a large real estate gain, using an OZ investment to soak up the boot portion of a 1031 exchange, or structuring a multi-asset strategy.
The structural differences
| Feature | 1031 Exchange | Opportunity Zone |
|---|---|---|
| Gain types eligible | Real property (investment/business use) only | Any capital gain — stocks, crypto, real estate, business sale, etc. |
| Investment target | Like-kind real property | Qualified Opportunity Fund (QOF) — real estate or operating business |
| Must reinvest full amount? | Yes, to fully defer (any boot is taxable) | Partial investment allowed; benefits prorate |
| Investment window | 45 days to identify + 180 days to close | 180 days from gain realization |
| Deferral duration | Indefinite (until you sell or die) | 5 years rolling (OZ 2.0) or through Dec 31, 2026 (OZ 1.0) |
| Basis step-up during hold | None | 10% at 5 yrs (standard QOF) or 30% at 5 yrs (rural QOF) |
| Exit tax benefit | None (unless you 1031 again, or die holding) | 100% exclusion on QOF appreciation if held 10+ years |
| Must use an intermediary? | Yes — Qualified Intermediary required | No — invest directly in QOF |
| Depreciation schedule | Stepped basis rules, can be complex | Fresh basis in QOF investment |
| IRS reporting | Form 8824 in year of exchange | Form 8997 each year; Form 8949 on recognition |
The big-picture difference: what you’re really deferring
1031 exchange: defer indefinitely, taxed eventually (or never)
A 1031 exchange rolls the gain into replacement real estate. Your tax basis in the replacement property is your basis in the relinquished property, carried over (with adjustments). As long as you keep holding real estate — either the replacement property, or subsequent 1031-exchanged properties — the gain stays deferred.
Three exits eliminate the deferred tax:
- Death. Your heirs receive a step-up to fair market value, wiping out all deferred gain.
- Primary residence conversion. Under specific conditions, a 1031-exchanged property can eventually be converted to a primary residence and benefit from the Section 121 exclusion on sale.
- Charitable gift. Donating appreciated property to a qualified charity avoids recognition of the deferred gain.
If you sell out of real estate during life without meeting one of those conditions, the full deferred gain (plus any additional appreciation) comes due at that time.
Opportunity Zone: defer for a fixed period, then excluded after 10 years
An OZ investment defers the original gain for a defined period — 5 years from investment under OZ 2.0, or until December 31, 2026 under OZ 1.0. At the end of the deferral period, the gain is recognized on your tax return, reduced by any basis step-up you’ve earned (10 percent for standard QOFs, 30 percent for rural QOFs at the 5-year mark under OZ 2.0).
After the deferred gain is recognized and paid, if you hold the QOF investment for 10 years or longer, any appreciation of the QOF investment itself is permanently excluded from federal capital gains tax. This is the key advantage of the OZ structure — not indefinite deferral, but defined exit with a tax-free exit.
When each structure wins
When a 1031 exchange is better
You want indefinite deferral and plan to hold real estate for life. The 1031 plus step-up-at-death combination can eliminate a lifetime of capital gains tax across multiple real estate transactions.
You want maximum investment control. You pick the replacement property yourself. No fund manager, no diversified QOF exposure.
You’re exchanging into a different real estate market or asset class. 1031 rules are permissive — you can exchange single-family rentals for commercial property, land for apartments, or retail for industrial, as long as all properties are held for investment or business use.
You don’t want to be locked into a 10-year hold. 1031 doesn’t require a minimum hold period (though the IRS scrutinizes short-term holds that look like dealer activity). You can keep exchanging as often as you want.
Your gain is from real estate and you want to stay in real estate. This is the core use case 1031 was designed for.
When an Opportunity Zone investment is better
Your gain is from something other than real estate. Stocks, crypto, a business sale, collectibles, partnership interests — OZ accepts all capital gains. 1031 only works for real estate held for investment or business use.
You want a defined exit with a tax-free appreciation benefit. The 10-year exclusion is unique to OZ. No equivalent exists under 1031 (outside of death or charitable gift).
You want to diversify out of direct real estate. QOFs come in many flavors — single-asset deals, multi-asset diversified funds, operating business QOZBs. You can move from landlord responsibilities into a passive fund position.
You want to invest in a specific geography or mission. OZs are explicitly located in designated low-income census tracts. If you want your capital deployed in place-based development — whether real estate, workforce housing, small businesses, or rural deals — OZ aligns that mission with federal tax benefits.
You’re selling an S corp or partnership interest. Gains passed through on K-1s qualify for OZ. Business interests generally don’t fit 1031 requirements.
You want to invest in a rural QOF. Under OZ 2.0, rural QOFs receive an enhanced 30 percent basis step-up. No 1031 equivalent.
When both are worth considering together
Large gain, partial reinvestment strategy. You sell a $3M investment property but want to redeploy into a $2M replacement. The $2M goes into a 1031 exchange; the $1M boot can be invested in a QOF within the 180-day window to defer the boot’s gain.
Timing constraints. If you can’t identify suitable 1031 replacement property within 45 days, an OZ investment gives you a full 180 days and broader investment targets (including non-real-estate).
Diversification without leaving real estate. A 1031 into a Delaware Statutory Trust (DST) or Tenant-in-Common (TIC) structure, plus OZ investments in separate tracts, can diversify without triggering gain.
The depreciation recapture question
One wrinkle often overlooked: depreciation recapture. When you sell a rental or commercial property, a portion of the gain is taxed as depreciation recapture — typically at 25 percent for Section 1250 property (real estate) or at ordinary rates for Section 1245 property (equipment, personal property).
1031 treatment: Depreciation recapture rolls into the replacement property along with the rest of the gain. You carry over the basis and the recapture obligation; it’s deferred, not extinguished.
OZ treatment: Depreciation recapture taxed at ordinary rates does not qualify as capital gain for OZ purposes. Only the long-term capital gain portion of a real estate sale can be invested in a QOF. If you have significant depreciation recapture, OZ won’t shelter it.
This is a common gotcha for long-held real estate sales and often swings the analysis toward 1031.
State tax conformity
Both 1031 and OZ rules are federal. State treatment varies.
- Most states conform to 1031. You defer the gain federally and for state purposes.
- Some states decouple from 1031 on intrastate exchanges. You must buy replacement property within the same state to get state-level deferral.
- Most states conform to OZ. But some — notably California, North Carolina, Mississippi (at various times) — have decoupled from all or part of the OZ rules.
If you’re in a high-tax state, state conformity often drives the decision. A California resident with a $1M gain may find that OZ saves less at the state level than expected, while a 1031 keeps both federal and state deferral intact.
Can you combine them?
Yes, in specific structures. The most common combined strategy:
Split the gain. You sell a $3M rental property. You execute a 1031 exchange into a $2M replacement property, and take the $1M boot. Within 180 days, you invest the $1M boot into a QOF to defer and ultimately potentially exclude the boot-related gain.
Exchange into a QOF-held property (rare). A 1031 exchange technically requires like-kind real property. A QOF interest is not real property for 1031 purposes, so you cannot 1031 into a QOF. But if the QOF owns property in a single-member LLC (a disregarded entity), there may be specialized structures that combine elements of both — these require careful counsel.
Our 1031 Exchange into Opportunity Zone guide walks through the mechanics in detail.
Decision framework
Ask these questions in order:
-
What kind of gain is it?
- Not real estate → Opportunity Zone (1031 doesn’t apply)
- Real estate held for investment → continue
-
What’s your exit plan?
- Hold real estate for life / transfer at death → 1031
- Want a defined 10-year exit → Opportunity Zone
-
Do you want direct real estate ownership?
- Yes, control the property → 1031
- No, prefer passive fund exposure → Opportunity Zone
-
What’s your state tax position?
- High-tax state that decouples from OZ → 1031 for state benefits
- State conforms to both → return to exit-plan question
-
Is there significant depreciation recapture?
- Yes and it’s material → 1031 rolls recapture forward; OZ doesn’t shelter it
- Minimal recapture → return to exit-plan question
-
Do you care about geographic placement of the investment?
- Yes, want capital deployed in OZ communities → Opportunity Zone
- No, want best available deal regardless → 1031 offers more flexibility
The honest answer for most sophisticated investors with real estate gains: run the after-tax math both ways before deciding. Our Capital Gains Calculator models both scenarios side-by-side.
Bottom line
1031 and OZ solve different problems. 1031 is a real-estate-only tool for investors who want indefinite deferral and plan to stay in real estate. OZ is a flexible tool that accepts any capital gain, rewards a 10-year hold with tax-free appreciation, and now (under OZ 2.0) offers an enhanced rural bonus.
For a real estate gain where the investor wants to continue holding real estate, 1031 is usually the better tool — especially if there’s significant depreciation recapture or the investor plans to hold until death.
For a non-real-estate gain, OZ is the only federal deferral option.
For investors who want a defined 10-year exit with tax-free appreciation, OZ is structurally unique.
Most meaningful investment decisions involve running both scenarios through an advisor before committing.
Sources: IRC § 1031; IRC § 1400Z-2; IRS 1031 Exchange Overview; IRS Opportunity Zones; Plante Moran: The OBBB and Opportunity Zones 2.0. Not tax advice. Consult a qualified CPA or tax attorney before making any investment decision.
Frequently asked questions
Can I use both a 1031 exchange and an Opportunity Zone investment together?
Which is better for a $1M real estate gain?
Do I have to invest in real estate for an Opportunity Zone?
What's the time window to identify a replacement property for a 1031 exchange?
Can I use a 1031 exchange for stocks or crypto gains?
Get the OZ 2.0 Investor Guide
One email when major OZ 2.0 events happen — Treasury guidance, state filings, rule changes. Unsubscribe anytime.