1031 Exchange vs. Opportunity Zone: Two Tax Strategies Compared
14 min read · Compare Options · Last updated
Key Takeaways
A 1031 exchange defers taxes by reinvesting in real estate, while an opportunity zone may eliminate taxes on future appreciation but requires investing eligible gains in a QOF within 180 days, with deferred gain recognized by December 31, 2026, and a ten-year hold for the appreciation benefit. The best choice depends on your property type, timeline, and whether you want deferral or elimination.
How These Two Strategies Differ
A 1031 exchange and an Opportunity Zone (OZ) investment both involve deferring capital gains taxes, but they operate through different mechanisms, apply to different types of gains, and produce different long-term outcomes. Choosing between them — or understanding when each applies — requires clarity on what has changed since the OZ program launched in 2017 and what remains available today.
This comparison reflects the rules as of early 2026. Several OZ benefits that were available in earlier years have expired. Where a benefit has sunset, this page says so directly.
The Core Mechanism
1031 exchange. You sell investment real estate, reinvest the proceeds into other investment real estate through a qualified intermediary, and defer the capital gains tax. The deferral lasts as long as you continue exchanging. If you hold until death, your heirs receive a stepped-up basis, and the deferred gain may be eliminated entirely. The program has existed since 1921 and applies only to real property.
Opportunity Zone. You take a capital gain from any source — stocks, a business sale, cryptocurrency, or real estate — and invest it into a Qualified Opportunity Fund (QOF) that deploys capital in a federally designated Opportunity Zone. You defer the original gain until December 31, 2026 (or earlier disposition). If you hold the QOF investment for at least 10 years, appreciation inside the fund may be excluded from tax. The program was created in the Tax Cuts and Jobs Act of 2017.
Comparison Table
| Factor | 1031 Exchange | Opportunity Zone |
|---|---|---|
| Eligible gain types | Real estate only | Any capital gain (stocks, business, crypto, real estate) |
| Gain deferral | Indefinite (as long as you keep exchanging) | Until Dec 31, 2026, regardless of investment date |
| Basis step-up on original gain (5-yr) | N/A | Expired — was 10%, required investment by Dec 2021 |
| Basis step-up on original gain (7-yr) | N/A | Expired — was 15%, required investment by Dec 2019 |
| Elimination of gain on appreciation | Via stepped-up basis at death | After 10-year hold, appreciation in the fund may be tax-free |
| Investment flexibility | Any like-kind real property, anywhere in the U.S. | Must invest in a QOF operating in a designated zone |
| Holding requirement | No minimum (but must close within 180 days) | 10 years for appreciation benefit |
| State tax treatment | Generally deferred at both federal and state levels | Federal only; state treatment varies |
| Liquidity | Can sell and exchange again at any time | Locked for 10 years to capture full benefit |
| Investment window | 45 days to identify, 180 days to close | 180 days from the date of the gain event |
| Stepped-up basis at death | Yes — eliminates deferred gain | No equivalent provision for OZ investments |
What OZ Benefits Have Expired
The original OZ program offered three benefits. Two have sunset:
15% basis step-up (expired). Investors who placed capital gains into a QOF by December 31, 2019, and held for seven years could reduce the taxable amount of the deferred gain by 15%. That window closed.
10% basis step-up (expired December 31, 2025). Investors who invested by December 31, 2021, and held for five years could reduce the deferred gain by 10%. That deadline has now passed.
What remains: the 10-year appreciation exclusion. If you invest in a QOF and hold for at least 10 years, appreciation generated inside the fund — not the original deferred gain — may be excluded from federal income tax when you sell. This benefit is still available for new investments, but the deferred gain itself is recognized no later than December 31, 2026.
This matters. In the program's early years, OZ offered a partial reduction of the original gain plus elimination of future appreciation. Now, it offers only elimination of future appreciation. The original gain is fully taxed on December 31, 2026.
Who Each Strategy Serves
1031 exchange is the stronger choice when you:
- Sold investment real estate and want to reinvest in real estate
- Want indefinite deferral rather than a fixed recognition date
- Plan serial exchanges over your investment lifetime
- Intend to hold until death for the stepped-up basis benefit
- Want both federal and state tax deferral
Opportunity Zone may be the better fit when you:
- Have capital gains from stocks, a business sale, cryptocurrency, or other non-real-estate sources (1031 is not available for these)
- Want to invest in a specific geographic area that is a designated Opportunity Zone
- Can commit capital for 10 years and believe the fund will appreciate meaningfully
- Are comfortable recognizing the original deferred gain on December 31, 2026
- Have mission-alignment goals — the OZ program was designed to drive investment into economically distressed communities
How Liquidity Differs
A 1031 exchange imposes a tight front-end timeline (45 days to identify, 180 days to close) but is flexible on the back end. Once you own the replacement property, you can hold it for a year, a decade, or a lifetime. You can sell and exchange again whenever it makes sense.
An OZ investment has a more flexible entry window (180 days from the gain event) but a rigid back end. To capture the appreciation exclusion, you must hold for 10 years. Exiting before 10 years means you lose the appreciation benefit and recognize the original deferred gain.
For investors who value the ability to adjust their portfolio, 1031 provides more flexibility. For investors comfortable locking capital into a long-term position, the OZ structure may be acceptable.
How Timelines Work
1031 exchange timeline:
- Day 0: Close the sale of your relinquished property
- Day 45: Deadline to identify replacement property
- Day 180: Deadline to close on replacement property
- After closing: Hold indefinitely, exchange again, or sell and recognize gain
Opportunity Zone timeline:
- Day 0: Realize a capital gain from any source
- Day 180: Deadline to invest the gain into a QOF
- December 31, 2026: Deferred gain is recognized regardless of when you invested
- Year 10+: Sell QOF investment; appreciation may be excluded from tax
The December 31, 2026, recognition date is fixed by statute. It does not reset based on when you invested. An investor who placed gains into a QOF in January 2024 and an investor who invested in January 2026 both recognize the deferred gain on December 31, 2026.
Gain Types: The Decisive Factor
For many investors, the choice is determined by what they sold.
If you sold real estate, 1031 is almost always the better path. It provides indefinite deferral (vs. recognition by December 31, 2026), broader reinvestment flexibility (any like-kind real property vs. designated zones only), and the stepped-up basis benefit at death.
If you sold stocks, a business, cryptocurrency, or another non-real-estate asset, 1031 is not available. In that case, OZ is one of the few remaining tools that offers any form of gain deferral. For investors with large non-real-estate gains who want to deploy capital into real estate development in qualifying areas, OZ fills a gap that no other program addresses.
Can You Combine Both?
Not in a single transaction. A 1031 exchange reinvests real estate proceeds into real estate. An OZ investment places capital gains into a QOF. These are separate paths governed by separate code sections.
However, over a lifetime, an investor can use both strategies at different times. You might execute 1031 exchanges on your real estate portfolio while separately investing stock gains into an Opportunity Zone fund. The strategies are not mutually exclusive across your investment career — they simply address different types of gains.
State Tax Treatment
1031 exchanges generally defer both federal and state capital gains taxes, though states like California track the deferred gain through a clawback provision if you exchange into out-of-state property.
Opportunity Zones are a federal program. State tax treatment varies. Some states conform to the federal OZ provisions; others do not. In states that do not conform, you may owe state tax on the gain immediately, even though you have deferred it federally. Check your state's position before assuming full deferral.
Decision Framework
Work through these questions in order:
-
What did you sell? If real estate, start with 1031. If stocks, business, or crypto, OZ may be your only deferral option.
-
Do you want to stay in real estate? If yes and you sold real estate, 1031 is the stronger tool. If you want to invest in a specific OZ community, that alignment may matter to you.
-
Can you commit capital for 10 years? The OZ appreciation exclusion requires a decade-long hold. If you need flexibility, 1031 is more accommodating.
-
Is estate planning a priority? The stepped-up basis at death makes 1031 uniquely powerful for multigenerational wealth transfer. OZ does not offer an equivalent benefit.
-
Are you comfortable with a fixed recognition date? OZ requires you to pay tax on the deferred gain by December 31, 2026. If that creates a cash flow problem, factor it into your planning.
When in doubt, consult a tax professional who can model both strategies against your specific gains, timelines, and goals.
The Bottom Line
Choose a 1031 exchange if you own real estate, want immediate tax deferral, and plan to stay in real estate investing. Choose an opportunity zone if you have gains from stocks, businesses, or other sources, want potential tax elimination, and can commit to a long hold period. Many investors can use both strategies at different times.
Frequently Asked Questions
Related Articles
1031 Exchange Costs and Fees: What to Expect
A 1031 exchange involves costs beyond just the property sale and purchase. Understanding the full cost landscape helps you budget appropriately and compare the true cost of different exchange structures.
Can You 1031 Exchange Into a REIT? (Usually No)
REITs are popular investments, and many investors ask if they can 1031 exchange into REIT shares. The answer is no. REIT shares are securities, not real property, and therefore don't qualify as like-kind property.
Can You Exchange U.S. Property for Foreign Property? The Geographic Limits of 1031
If you own real estate in the U.S. and want international exposure, a 1031 exchange with foreign property won't work. Here's why the law draws this line and what alternatives exist.