Opportunity Zone vs 1031 Exchange
Both strategies defer capital gains tax — but they work differently, require different reinvestment amounts, and produce different long-term outcomes. If you are selling appreciated investment real estate in 2026 or planning ahead for 2027, here is the full comparison, including the OBBBA's Opportunity Zone 2.0 overhaul that took effect July 4, 2025.
At a Glance: Six Key Differences
| Feature | 1031 Exchange | QOZ Investment (OZ 2.0, post-2026) |
|---|---|---|
| Eligible assets | Real estate only — like-kind investment property | Any capital gain: real estate, stock, business interests, cryptocurrency |
| How much must be reinvested | Full net proceeds — equity and debt replacement | Only the gain amount — principal is free to use for anything |
| Deferral period | Indefinite — eliminated entirely via §1014 step-up at death | 5 years from investment date (rolling deferral under OZ 2.0) |
| Long-term upside | No tax on appreciation if held until death (step-up in basis) | Appreciation inside the QOF excluded from income if held 10+ years |
| Investment type | Direct real estate ownership (or DST/TIC) | Passive fund investment — Qualified Opportunity Fund (partnership or corp) |
| Clock from gain event | 45 days to identify replacement, 180 days to close | 180 days to invest gain in a QOF — no QI required |
| Debt replacement required | Yes — boot is recognized if new debt is less than old | No — no debt replacement requirement |
| Geographic restriction | Like-kind real estate, any US location | Must invest in a designated Opportunity Zone census tract |
How a 1031 Exchange Works
A 1031 exchange under IRC § 1031 allows a real estate investor to sell investment property and defer all capital gains tax by reinvesting the sale proceeds into like-kind replacement property within strict time limits. The deferred gain is not eliminated — it carries forward in a reduced basis on the replacement property. But if the investor holds replacement property until death, the heirs receive a stepped-up basis under IRC § 1014, and the entire deferred gain disappears.1
The key requirements:
- Both properties must be held for investment or productive business use — not personal use or held primarily for sale
- A Qualified Intermediary must hold the sale proceeds — the exchanger cannot receive them directly
- 45 days from closing to identify replacement property candidates in writing
- 180 days from closing to close on the replacement property
- The replacement property must be equal or greater in value and equity, and the exchanger must replace all debt from the relinquished property (or substitute cash equity)
For a detailed breakdown of exchange mechanics, see the 1031 exchange planning checklist, the replacement property calculator, and the 45-day identification rules guide.
How a Qualified Opportunity Zone Investment Works
Opportunity Zones are designated low-income census tracts where Congress created tax incentives to attract investment. The governing statute is IRC § 1400Z-2, enacted as part of the Tax Cuts and Jobs Act in 2017. To participate, an investor who has realized a capital gain invests that gain into a Qualified Opportunity Fund (QOF) — a partnership or corporation that deploys at least 90% of its assets into Qualified Opportunity Zone Businesses or property located in designated zones.2
Three things happen when you invest in a QOF:
- Your original gain is deferred. The tax you owe on the gain you rolled into the QOF is not paid until the earlier of your QOF disposition or the applicable deferral deadline (see below).
- Only the gain must be invested. If you sold a property for $2.5M and your gain was $1.9M, you invest $1.9M in the QOF. The remaining $600K of cost basis can go into your bank account, pay down other debt, fund living expenses — no restrictions.
- After 10 years, QOF appreciation is excluded. If your $1.9M QOF investment grows to $3.4M over 10 years, the $1.5M of appreciation is excluded from income entirely when you sell the QOF interest. The original deferred $1.9M gain is recognized when the deferral period ends — but the fund's growth is permanently tax-free.
Unlike a 1031 exchange, no Qualified Intermediary is required. The investor sells the asset, receives the proceeds, then invests the gain amount in a QOF within 180 days. (For §1231 gains — gains from business real estate — the 180-day clock starts from the last day of the tax year in which the §1231 gain is recognized, not from the date of sale.)
OZ 2.0: What OBBBA Changed (Effective July 4, 2025)
The original Opportunity Zone program had a hard deferral deadline of December 31, 2026: any gain deferred into a QOF before that date had to be recognized by then, no matter how long you held the QOF investment. The One Big Beautiful Bill Act (OBBBA), signed July 4, 2025, overhauled the program — commonly called OZ 2.0.3
Rolling 5-year deferral
For QOF investments made after December 31, 2026, the deferred gain is recognized 5 years after the investment date (or upon earlier QOF disposition) — not at a fixed 2026 deadline. Invest in 2027, recognize gain in 2032. Invest in 2028, recognize gain in 2033.
New zone designations
New Opportunity Zone census tracts were designated effective January 1, 2027. Existing zones remain valid through December 31, 2028 (overlap period). Zones designated in 2018 expired under the original program; OZ 2.0 refreshed the census-tract map.
50% substantial improvement
OBBBA codified a 50% substantial improvement requirement for existing structures in opportunity zones — the 100% alternative test is eliminated for most property. This tightens which real estate projects qualify inside QOFs for post-OBBBA investments.
10-year appreciation exclusion preserved
The most valuable OZ benefit — the exclusion of all QOF appreciation from income after a 10-year hold — was preserved under OZ 2.0. Investors who hold QOF interests for at least 10 years still elect to have a basis step-up to fair market value on disposition, making the appreciation permanently tax-free.
Worked Example: $2.5M Apartment Sale
An investor sells a commercial apartment building held 18 years. Sale price: $2.5M. Selling costs: $150K. Original cost: $750K (land $150K, building $600K). Accumulated depreciation (39-year commercial schedule): $277K. Adjusted basis: $750K − $277K = $473K. Amount realized: $2.35M.
| Tax layer | Amount | Rate | Federal tax |
|---|---|---|---|
| §1250 unrecaptured depreciation | $277,000 | 25% | $69,250 |
| Long-term capital gain | $1,600,000 | 20% | $320,000 |
| Net Investment Income Tax | $1,877,000 | 3.8% | $71,326 |
| Total federal tax (taxable sale) | $1,877,000 gain | — | ~$460,576 |
Path A: 1031 Exchange
To fully defer the $460K federal tax, the investor must reinvest the full $2.35M in like-kind property within 180 days and replace any existing debt. (If the old property had a $600K mortgage, the new property must carry at least $600K in new debt or the investor must add cash equity to compensate.) The deferred tax carries in the replacement property's reduced basis until a taxable sale or death. Step-up at death eliminates the entire $460K liability permanently.
Path B: QOZ Investment (OZ 2.0, new investment in 2027)
The investor invests only the $1.877M gain in a QOF within 180 days of the §1231 gain recognition date. The remaining $473K of cost basis is kept as cash — no reinvestment requirement. The deferred gain ($1.877M) is recognized 5 years from investment (rolling deferral under OZ 2.0), generating approximately $460K in tax due at that time. However, if the QOF is held for 10 years and the fund's value has grown from $1.877M to, say, $3.4M, the $1.523M appreciation is excluded from income entirely at exit.
| 1031 Exchange | QOZ (OZ 2.0) | |
|---|---|---|
| Amount you must reinvest | $2,350,000 (full net proceeds) | $1,877,000 (gain only) |
| Cash kept free | $0 | $473,000 |
| Deferred tax | ~$460,576 (indefinitely) | ~$460,576 (for 5 years) |
| Tax-free appreciation potential | Via §1014 step-up at death only | All QOF appreciation after 10-year hold |
| Investment type | Direct real estate you choose | Passive QOF fund |
| Debt replacement required | Yes | No |
| Intermediary required | Yes (QI) | No |
When the 1031 Exchange Wins
- You want to stay in real estate and retain control. A 1031 exchange puts you in a specific property you select. A QOF investment is a passive fund managed by someone else — you have no say in which properties it holds, when it sells, or how it's operated.
- Your estate plan depends on the step-up at death. The 1031's deferred gain disappears entirely at death under IRC § 1014. If you intend to hold investment real estate for life and pass it to heirs, the step-up eliminates the tax permanently — no 10-year fund hold required, no fund manager dependency, no OZ zone geography requirement.
- You are heavily leveraged and need debt replacement math to work. A 1031 requires you to carry equivalent debt in the replacement property — which is actually an advantage when leverage is part of your return model. A QOF has no leverage requirement; the debt structure of the QOF is the fund's decision, not yours.
- You want a specific property type, location, or DST structure. 1031 replacement options include direct real estate across all US markets, Delaware Statutory Trusts, and TIC structures. QOZ investments are limited to designated census tracts, and the property within the fund must meet the 50% substantial improvement test under OBBBA.
- The gain is §1250 recapture. Depreciation recapture (taxed at 25%) is eligible for QOZ deferral, but the step-up at death is still the most efficient way to eliminate it if holding until death is the plan.
When the QOZ Investment Wins
- The gain is from a non-real-estate asset. A 1031 exchange is limited to like-kind real property. A QOF can receive gain from any capital asset: appreciated stock, a sold business, cryptocurrency, or partnership interests. If your gain comes from selling a business or a stock portfolio alongside a real estate sale, a QOF can defer all of it; a 1031 can only capture the real estate piece.
- You want to diversify away from real estate. QOFs are typically real-estate-focused in practice (because that is where the development opportunities are in designated zones), but the QOF is a fund — the investor gets a fund interest, not a deed. This allows a real estate investor to exit the active landlord role while still deferring tax.
- You have strong liquidity needs from the principal. Because only the gain must be invested in a QOF, an investor who sells a $2.5M property with $473K of basis keeps $473K in cash immediately. A 1031 exchange reinvests the entire $2.35M — the investor's liquidity comes from the replacement property's cash flow, not from retained sale proceeds.
- The 10-year appreciation exclusion fits your investment horizon. A QOF investment held for 10+ years generates tax-free appreciation — not just deferral. If you believe the opportunity zone fund will produce strong returns over a decade, the appreciation exclusion is potentially more valuable than the deferral benefit alone.
- The 45-day identification clock is infeasible. A 1031 exchange requires identifying replacement property in writing within 45 days of closing — which is often the hardest constraint in a rising or tight market. A QOF investment requires only that the gain be invested in the fund within 180 days. There is no property-identification deadline, no intermediary hold, and no forced-acquisition pressure.
Can You Combine Both Strategies?
Yes — and this is one of the more sophisticated structures available to investors with large gains.
Suppose the same investor sells a $2.5M property and completes a 1031 exchange into a $1.8M replacement property (spending $1.8M, taking $550K as boot). The $550K of boot is a recognized gain — triggering partial tax. But that recognized gain is also eligible for QOZ investment: invest the $550K boot gain in a QOF within 180 days, and the boot tax is deferred for another 5 years under OZ 2.0, with the potential for a 10-year appreciation exclusion.
This structure lets the investor:
- Use the 1031 to shelter the majority of the gain in a specific replacement property they want
- Use the QOF to defer the boot gain that would otherwise be taxable immediately
- Retain some flexibility on the QOF side while keeping the primary real estate investment under direct control
The same logic applies to debt reduction boot: if the new property's mortgage is lower than the old property's mortgage, the difference (mortgage relief boot) is a recognized gain that can be invested in a QOF.
Key Risks to Weigh Before Deciding
1031: Replacement property risk
The 45-day clock and 180-day completion deadline create pressure to buy. Investors who rush into a weak replacement property to beat the clock can lock themselves into years of underperforming real estate. A reverse exchange can help if the right property exists before the sale — but at significant added cost. See the reverse 1031 exchange guide.
1031: Concentration risk
Exchanging into a single replacement property can increase geographic and sector concentration. DSTs and UPREITs can add diversification, but they add fund-level risk and fees. See the DST guide and UPREIT vs DST comparison.
QOZ: Zone quality risk
Opportunity Zones are designated in lower-income census tracts by definition. Not all zones are equal. Some zones in transitional urban neighborhoods have genuine development potential; others remain distressed for the full 10-year hold. Due diligence on the specific QOF's portfolio, manager track record, and zone selection is the investor's responsibility.
QOZ: Illiquidity risk
A QOF investment is a passive fund stake with no public market. Most QOFs require a 10-year hold to access the appreciation exclusion, and early exit typically forfeits the tax benefit and may trigger the deferred gain recognition. Investors who may need capital within a decade should model this carefully.
QOZ: Manager and structure risk
Unlike owning a specific building, a QOF investor is dependent on the fund manager's execution. The 90% asset test, the QOZB operating requirements, and the substantial improvement rules (50% threshold under OBBBA) must all be met by the fund — the investor cannot independently control compliance.
Both: State tax exposure
California, Oregon, Montana, Massachusetts, and Idaho have clawback rules on deferred state gains from 1031 exchanges. State treatment of QOZ investments also varies — California does not conform to federal QOZ deferral and taxes the gain in the year it is deferred at the federal level. See the state tax guide.
What a Financial Advisor Models When Comparing These Strategies
The difference between a 1031 exchange and a QOZ investment is not just about taxes — it is about liquidity, control, estate planning, geographic flexibility, and a 10-year investment view. A fee-only financial advisor who works with real estate investors on liquidity events can:
- Build a side-by-side after-tax cash flow comparison across a 10- and 20-year holding period, including the deferred gain recognition date under OZ 2.0 and the step-up probability under a 1031 hold-until-death strategy
- Model the combination structure — 1031 for most of the gain, QOF for the boot — showing whether it improves the outcome versus either pure strategy
- Evaluate which QOF managers are operating in zones with genuine development fundamentals, and how their track record compares to a direct real estate acquisition in the same capital range
- Analyze California nonconformance: a California resident investing in a QOF will still owe California income tax on the deferred gain in the year of investment — not in 2032 — which materially changes the net benefit of the QOZ strategy for California taxpayers
- Coordinate the QI on the 1031 side and the QOF on the OZ side so the overlapping 180-day clocks do not conflict with the closing and funding schedule
See the financial advisor for 1031 exchange guide for timing, credentials, and the eight questions to ask before hiring.
Sources
- IRC § 1031 — Like-Kind Exchanges of Real Property Held for Productive Use or Investment. law.cornell.edu/uscode/text/26/1031
- IRC § 1400Z-2 — Special Rules for Capital Gains Invested in Opportunity Zones. IRS Opportunity Zones FAQs. irs.gov — Opportunity Zones FAQ
- One Big Beautiful Bill Act (OBBBA), signed July 4, 2025 — OZ 2.0 provisions: rolling 5-year deferral for post-2026 QOF investments, new zone designations effective January 1, 2027, 50% substantial improvement requirement. See Thomson Reuters Tax — OBBBA Changes to Opportunity Zones; Adams & Reese — Key Changes to OZ Program in OBBBA
- PKF O'Connor Davies — Preparing for the 2026 Qualified Opportunity Zone Gain Recognition (original-program Dec 31, 2026 deadline mechanics). pkfod.com
- IRC § 1014 — Basis of Property Acquired From a Decedent (step-up in basis at death). law.cornell.edu/uscode/text/26/1014
Tax rates used: §1250 unrecaptured gain 25%, long-term capital gains 20%, Net Investment Income Tax 3.8% — all per 2026 federal tax law. QOZ deferral mechanics reflect IRC §1400Z-2 as amended by OBBBA (OZ 2.0). California does not conform to federal QOZ deferral; California investors owe state income tax on the deferred gain in the year of investment. OZ 2.0 zone designations are effective January 1, 2027; original zones overlap through December 31, 2028. Values current as of June 2026 — consult a fee-only financial advisor, CPA, and attorney before making any irreversible decision.
Get matched with a specialist financial advisor
Deciding between a 1031 exchange, a Qualified Opportunity Fund, or a combination of both is a seven-figure tax decision. Tell us about your situation and we will match you with a fee-only advisor who can model both paths before your 180-day clock expires.