A 1031 exchange defers tax by reinvesting real estate proceeds into more real estate. An Opportunity Zone can eliminate tax on future appreciation if you invest eligible gains in a QOF within 180 days, hold for 10 years, and accept that the original deferred gain is recognized by December 31, 2026. Which one fits depends on what you sold, your timeline, and whether you want deferral or elimination.
How the Two Strategies Differ
A 1031 exchange has let real estate investors defer capital gains tax since 1921. The Opportunity Zone (OZ) program arrived in 2017, and it has already lost two of the three benefits it launched with.
Both let you postpone a capital gains tax bill by reinvesting. But they run on different mechanisms, apply to different kinds of gains, and end in different places. This comparison reflects the rules as of early 2026. Where an OZ benefit has expired, it says so.
How Each One Works
1031 exchange. You sell investment real estate and reinvest the proceeds into other investment real estate through a qualified intermediary, a third party that holds the cash between the sale and the purchase so it never lands in your hands. The capital gains tax is deferred, and the deferral lasts as long as you keep exchanging. Hold until death and your heirs receive a stepped-up basis - the asset's cost basis resets to its market value on the date of death - and the deferred gain may be eliminated entirely. The rule dates to 1921 and covers real property only.
Opportunity Zone. You take a capital gain from any source - stocks, a business sale, cryptocurrency, real estate - and invest it in a Qualified Opportunity Fund (QOF), an investment vehicle that deploys capital in a federally designated Opportunity Zone. You defer that original gain until December 31, 2026, or until you sell the QOF stake, whichever comes first. Hold the QOF investment at least 10 years and the appreciation inside the fund may be excluded from tax. The program came out of the Tax Cuts and Jobs Act of 2017.
The Two Side by Side
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 are gone.
15% basis step-up (expired). Investors who put gains into a QOF by December 31, 2019, and held for seven years could cut the taxable amount of the deferred gain by 15%. That window has closed.
10% basis step-up (expired December 31, 2025). Investors who invested by December 31, 2021, and held for five years could cut the deferred gain by 10%. That deadline has passed.
The 10-year appreciation exclusion (still available). Invest in a QOF and hold for at least 10 years, and the appreciation the fund generates - not the original deferred gain - may be excluded from federal income tax when you sell. This benefit is still open to new investments. But the deferred gain itself is recognized no later than December 31, 2026.
The shift is worth sitting with. In the program's early years, OZ reduced part of your original gain and erased future appreciation. Now it only erases future appreciation, and the original gain is taxed in full on December 31, 2026.
The Clocks on Each One
A 1031 exchange runs on a tight front end and a loose back end.
- Day 0: Close the sale of the property you're relinquishing.
- Day 45: Deadline to identify the replacement property.
- Day 180: Deadline to close on it.
- After that: Hold indefinitely, exchange again, or sell and recognize the gain.
Once you own the replacement, the clock stops mattering. You can hold for a year, a decade, or a lifetime, and exchange again whenever it makes sense.
An OZ investment flips that shape: a more forgiving entry, a rigid exit.
- Day 0: Realize a capital gain from any source.
- Day 180: Deadline to invest the gain into a QOF.
- December 31, 2026: The deferred gain is recognized, no matter when you invested.
- Year 10 and beyond: Sell the QOF stake; the appreciation may be excluded from tax.
Capturing the appreciation exclusion means holding for 10 years. Leave early and you forfeit it and still recognize the original deferred gain. And the 2026 recognition date is fixed by statute - it does not reset based on when you invested. Someone who funded a QOF in January 2024 and someone who funded one in January 2026 both recognize the deferred gain on December 31, 2026.
Gain Types Often Decide It
For many investors, the choice comes down to what they sold.
If you sold real estate, 1031 is the tool built for it: indefinite deferral instead of recognition by December 31, 2026, reinvestment across any like-kind real property instead of designated zones only, and the stepped-up basis at death.
If you sold stocks, a business, cryptocurrency, or another non-real-estate asset, 1031 isn't available, because it covers real property only. There's a wrinkle for real estate sellers weighing OZ, too: only the capital gain portion of a real estate sale qualifies for OZ deferral. Depreciation recapture - the part of the gain tied to depreciation you deducted over the years - is taxed as ordinary income and can't be deferred through an OZ investment. For gains that 1031 can't reach, OZ is one of the few tools left that defers anything at all, and for a large non-real-estate gain an investor wants to put into real estate development in a qualifying area, it fills a gap no other program covers.
Can You Combine Both?
Not in a single transaction. A 1031 exchange moves real estate proceeds into real estate; an OZ investment moves capital gains into a QOF. Separate paths, separate code sections.
Over a lifetime, though, you can use both. You might run 1031 exchanges on your real estate holdings while separately steering stock gains into an Opportunity Zone fund. They aren't mutually exclusive across an investing career; they simply answer different kinds of gains.
State Tax Treatment
A 1031 exchange generally defers capital gains tax at both the federal and state levels, though some states add friction. California, for instance, tracks the deferred gain through a clawback provision - a rule that lets the state collect the tax later - if you exchange into out-of-state property.
Opportunity Zones are a federal program, so state treatment varies. Some states conform to the federal OZ provisions; others don't. In a state that doesn't conform, you may owe state tax on the gain immediately even though you've deferred it federally. Confirm your state's position before you count on full deferral.
Five Questions to Work Through
- What did you sell? If it was real estate, 1031 is built for that gain. If it was stocks, a business, or crypto, OZ may be the only deferral tool open to you.
- Do you want to stay in real estate? A 1031 exchange keeps you there. The OZ program was designed to channel capital into economically distressed communities, so if a specific zone matters to you, that becomes part of the calculus.
- Can you commit capital for 10 years? The OZ appreciation exclusion requires a decade-long hold; 1031 leaves your exit timing open.
- Is estate planning a priority? The stepped-up basis at death is a 1031 feature with no OZ equivalent, which is what makes it powerful for passing wealth across generations.
- Are you comfortable with a fixed recognition date? OZ requires paying 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.
A 1031 exchange fits real estate owners who want immediate deferral and plan to keep investing in real estate. An Opportunity Zone fits investors with gains from stocks, a business, or other sources who want the chance at tax elimination and can commit to a long hold. The two aren't mutually exclusive - many investors use both at different points.
Frequently asked questions
Can I do both a 1031 exchange and an opportunity zone strategy simultaneously?
Not in a single transaction. Sell real estate and roll it into replacement property, and you're using 1031 rules. Take gains from stocks or a business and invest them in an opportunity zone, and that's a separate path. You can use both at different points in your investing life, but they don't combine in one deal.
What if I sell real estate and the opportunity zone fund invests in real estate?
Eligible gains for an opportunity zone are limited to capital gains, and real estate gains typically flow into 1031 exchanges rather than opportunity zones. Even when a QOF itself invests in real estate, that doesn't change how your own gain is treated. Opportunity zones primarily capture gains from stocks, a business, or other non-real-estate sources.
Does the opportunity zone offer state tax deferral like 1031 does?
No. Opportunity zones are a federal-only incentive, so your state may still tax the gain immediately, depending on its laws. A 1031 exchange generally defers both federal and state tax, which matters most in high-tax states.
How much can I gain from the opportunity zone's potential tax elimination?
The exclusion applies only to appreciation generated inside the fund after you invest, not to your original gain. Invest $500,000, watch the fund grow to $600,000, and that $100,000 of in-fund gain may be tax-free. But the original gain that triggered the investment is still taxed even after the ten-year hold. Run the numbers for your own situation.