Guide

Can You Combine a 1031 Exchange with an Opportunity Zone Investment?

Yes — and here's how. The mechanics of combining a 1031 like-kind exchange with a Qualified Opportunity Fund investment, including the boot strategy, timing rules, and common pitfalls under OZ 2.0.

Updated April 16, 2026

A common question from real estate investors holding appreciated property: can I use both a 1031 exchange and an Opportunity Zone investment to defer the same gain? The short answer is yes, in specific structures. The longer answer involves the mechanics of boot, timing windows, and a couple of traps the IRS has flagged.

This guide explains how the two structures can work together under OZ 2.0 rules (effective January 1, 2027) and OZ 1.0 rules (for investments through December 31, 2026).

The structural constraint

You cannot 1031 directly into a QOF.

IRC Section 1031 requires an exchange of like-kind real property held for investment or business use. A Qualified Opportunity Fund interest is a partnership or corporate interest — not real property. So a direct 1031 into a QOF fails.

What you can do is use the two structures in parallel, on different portions of the same gain. This works because 1031 and OZ treat different components of a real estate sale differently, and the “boot” portion of a 1031 exchange becomes eligible for OZ treatment.

The boot strategy

Here’s the most common combined-strategy framework.

You sell an appreciated investment property for $3 million. Your adjusted basis is $1 million. Your realized gain is $2 million (ignoring depreciation recapture for simplicity).

You want to redeploy into a smaller replacement property — say, $2 million — and keep the rest of the capital. Without any tax planning, the full $2 million gain is taxable in the year of the sale.

With a partial 1031 exchange:

  • You exchange into a $2 million replacement property using $2 million of the proceeds.
  • You receive $1 million in cash — the “boot.”
  • The 1031 defers the gain attributable to the $2M reinvested; the $1M boot is taxable in the year of the sale as capital gain.

With a combined 1031 + OZ structure:

  • Same partial 1031 exchange, but within 180 days of recognizing the boot gain, you invest the $1M boot into a QOF.
  • The $2M reinvested portion is deferred under 1031 rules (indefinite deferral, carryover basis).
  • The $1M boot is deferred under OZ rules (5-year rolling deferral, 10% basis step-up at 5 years, 100% exclusion on QOF appreciation if held 10+ years).

You’ve used both tools to shelter 100 percent of the original $2M gain, plus positioned the boot portion for a potentially tax-free 10-year exit.

Why this works

The boot portion of a 1031 exchange is taxable as capital gain in the year of the exchange. Capital gains — regardless of whether they’re ordinary capital gain from stock sales or 1031 boot from real estate — qualify for OZ deferral treatment as long as they’re invested into a QOF within 180 days.

The IRS has been reasonably accommodating on this point. Rev. Proc. 2018-16 and subsequent guidance confirm that recognized capital gain from any source, including 1031 boot, is eligible for Section 1400Z-2 treatment.

The depreciation recapture carve-out

Depreciation recapture is where this gets complicated.

When you sell an investment property, a portion of the gain attributable to previously claimed depreciation is taxed as recapture — typically at a 25 percent federal rate for Section 1250 property (real estate). Recapture is not treated as long-term capital gain, and therefore does not qualify for OZ deferral.

If your 1031 exchange generates boot, and the boot includes recapture, the recapture portion must be taxed immediately. Only the long-term capital gain portion of the boot can be invested into a QOF.

Example: sale price $3M, basis $1M, of which $400K is depreciation recapture. Your gain is $2M, of which $400K is recapture and $1.6M is long-term capital gain. If you 1031 into $2M of replacement property and take $1M of boot, the boot allocation is usually computed proportionally — but the recapture portion of the boot remains ordinary and can’t be deferred into a QOF.

This is why real estate investors with heavily depreciated properties often find that OZ shelters less of their gain than expected. The 1031 portion defers everything (including recapture). The OZ portion shelters only long-term capital gain.

The timing puzzle

Both structures have strict deadlines. Running them concurrently requires coordination.

1031 timing:

  • 45 days from relinquished property sale to identify replacement property
  • 180 days from relinquished property sale to close on replacement property

OZ timing:

  • 180 days from the date the capital gain is recognized to invest in a QOF

If you sell the relinquished property and take immediate boot, your OZ 180-day window starts that day and runs in parallel with the 1031 window. You have up to 180 days to complete both — identify the 1031 replacement property within 45 days, close the 1031 within 180, and invest the boot into a QOF within 180 days of the boot recognition.

If your 1031 exchange ultimately fails (you couldn’t find a replacement property within 45 days, or couldn’t close within 180), the entire gain becomes taxable in the year of the original sale. At that point, you have 180 days from that sale date to invest the now-recognized gain into a QOF — so a failed 1031 can be salvaged by pivoting to a pure OZ strategy, as long as you’re still within the 180-day OZ window.

Work with a Qualified Intermediary who understands both structures. Timing errors here are expensive and usually irreversible.

The installment sale variation

Another variation worth knowing. When you sell a property on an installment sale (seller financing), each payment installment generates capital gain in the year received.

Each year’s installment-sale gain has its own 180-day OZ investment window. You can invest Year 1’s gain into a QOF, Year 2’s gain into a different QOF, and so on — each receives its own deferral clock and 10-year exclusion horizon.

Combined with a 1031, this creates layered planning: the non-installment portion of a sale can go through a 1031 exchange, while each year’s installment gain can independently be invested into a QOF.

Combined strategy examples

Example 1: full OZ, no 1031

Setup: $1M long-term capital gain from the sale of a rental property, minimal depreciation recapture.

Strategy: Invest the full $1M in a QOF within 180 days.

Outcome: Full deferral until 5 years from investment under OZ 2.0, 10% basis step-up at year 5, 100% exclusion on QOF appreciation if held 10+ years. This is simple and avoids the 45/180-day pressure of a 1031.

Example 2: full 1031, no OZ

Setup: $1M gain from sale of a rental property, investor wants to continue direct real estate ownership.

Strategy: 1031 into a $1M or larger replacement property. Keep holding real estate indefinitely.

Outcome: Full deferral until sale (or never, if held until death). No OZ involvement. This is the classic “lifetime real estate” strategy for investors who want direct real estate control and plan to pass properties to heirs with stepped-up basis.

Example 3: split 1031 + OZ

Setup: $3M gain from sale of a $5M rental property. Investor wants to redeploy $3M into a replacement property and take $2M in cash for diversification.

Strategy: 1031 exchange into $3M replacement property. Take $2M boot (taxable, proportional allocation of recapture vs gain). Invest the long-term gain portion of the boot into a QOF within 180 days.

Outcome: 1031 defers the rollover portion indefinitely. OZ defers and potentially excludes the boot portion. Recapture within the boot is taxable immediately.

Example 4: failed 1031 → rescue with OZ

Setup: $2M gain from sale. Investor intended a 1031 exchange but can’t identify replacement property within 45 days.

Strategy: Acknowledge the 1031 failure. Within the 180-day window from the original sale, invest the full $2M gain into a QOF.

Outcome: Full OZ deferral and 10-year exclusion on QOF appreciation. No 1031 benefit, but the gain is preserved for deferral.

Example 5: installment sale with layered OZ investments

Setup: $5M seller-financed sale over 5 years, $1M gain recognized each year.

Strategy: Each year’s $1M gain is invested into a QOF within that year’s 180-day window. Five separate QOF investments, each with its own 5-year deferral clock and 10-year exclusion horizon.

Outcome: Gain is spread across five years with five independent OZ hold clocks. Maximum flexibility and exposure diversification.

Practical pitfalls

Allocating boot correctly between capital gain and recapture. Use a tax advisor to compute the proportional allocation. Getting this wrong risks IRS disallowance of part of the OZ deferral.

Missing the 180-day OZ window. If your 1031 drags out to day 175 and you suddenly realize you have boot, you may not have enough time to invest the boot into a QOF. Plan the OZ investment in parallel, not as an afterthought.

State tax conformity. Some states (notably California in certain years) don’t fully conform to either 1031 or OZ rules. A structure that works federally may create state-level tax exposure.

Related-party rules. Both 1031 and OZ have specific related-party restrictions. Don’t use family members or entities you control for either replacement property or QOF investment without specialized counsel.

The 1031 exchange intermediary must not hold boot earmarked for a QOF. To preserve OZ eligibility, the boot must be distributed to you (triggering recognition) before being invested into the QOF. Don’t have the intermediary directly forward boot funds to the QOF — that can disrupt both structures.

When to use the combined strategy

Combined 1031 + OZ is most valuable when:

  • You’re selling a large real estate asset and want to redeploy most into replacement real estate
  • You want to diversify a portion of the gain out of direct real estate into a QOF
  • You’re approaching a major sale and can plan the boot strategy deliberately
  • You have a long time horizon (10+ years) to capture the OZ 10-year exclusion on the boot portion

It’s less compelling when:

  • The gain is small and the 1031 alone fully defers it
  • Depreciation recapture is a large portion of the gain (OZ won’t shelter recapture)
  • You’re in a state that decouples from OZ rules
  • The 45-day identification pressure of a 1031 doesn’t leave time to structure the OZ side carefully

Bottom line

You cannot 1031 directly into a QOF. But you can use both structures in parallel on the same sale, sheltering the reinvested portion with 1031 and the boot portion with OZ. The result can be a layered deferral strategy that’s stronger than either tool alone.

The mechanics are precise. The depreciation recapture carve-out, the parallel timing windows, and the state conformity issues all require careful planning. Don’t try this without a tax advisor who understands both structures.

For a broader comparison of when each structure is appropriate, see our 1031 Exchange vs Opportunity Zone guide. For the math on a standalone OZ investment, use our Capital Gains Calculator.


Sources: IRC § 1031; IRC § 1400Z-2; IRS Rev. Proc. 2018-16; IRS Opportunity Zones; Plante Moran: The OBBB and Opportunity Zones 2.0. Not tax advice. Consult a qualified CPA or tax attorney before attempting a combined 1031 + OZ structure.

Frequently asked questions

Can I 1031 exchange directly into a Qualified Opportunity Fund?
No. A QOF interest is not considered 'like-kind' real property under IRC Section 1031. You cannot 1031 exchange from real property directly into a QOF.
What is 'boot' in a 1031 exchange?
Boot is the portion of a 1031 exchange where you don't fully reinvest — typically cash pulled out, or a debt reduction. Boot is taxable in the year of the exchange as capital gain.
Can I invest 1031 boot into a QOF?
Yes. Boot that qualifies as capital gain can be reinvested into a Qualified Opportunity Fund within 180 days and receive OZ tax benefits. This is the most common combined 1031 + OZ strategy.
What's the timing if I combine a 1031 and OZ investment?
The 1031 has a 45-day identification period and 180-day closing window from the original sale. The OZ investment has 180 days from the realization of the gain. If your 1031 exchange creates taxable boot, the 180-day OZ window generally starts when the boot is recognized — at the closing of the 1031 exchange.
Can a single capital gain be split between a 1031 and an OZ investment?
Yes, in effect. You can execute a 1031 exchange that reinvests part of the gain (the rollover portion) and take the rest as boot, then invest the boot portion into a QOF within the 180-day window. Each portion operates under its own tax rules.

Get the OZ 2.0 Investor Guide

One email when major OZ 2.0 events happen — Treasury guidance, state filings, rule changes. Unsubscribe anytime.