Guide

Combining a 1031 Exchange and an Opportunity Zone Investment: The Rules Side by Side, and How to Use Both

Combining 1031 and opportunity zone deferral in one sale: the boot strategy, timing, recapture and examples, plus the 1031 vs OZ rules side by side.

Updated October 19, 2026

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 is the investor-level guide to the 1031 opportunity zone question: the rules side by side, and the mechanics of combining a 1031 exchange and an Opportunity Zone investment in one sale. If you’re an agent who needs the short version for a client conversation, see can you 1031 into an Opportunity Zone? What to tell clients.

This guide compares a 1031 exchange vs an opportunity zone investment under current rules (1031 under IRC §1031 and Treas. Reg. §1.1031(k)-1; OZ under IRC §1400Z-2 and Treas. Reg. §1.1400Z2(a)-1, as amended by Public Law 119-21), shows how combining 1031 and opportunity zone deferral works, and ends with a decision framework. Want numbers first? The 1031 vs DST vs Opportunity Zone calculator runs the math on your own sale.

Can you 1031 into an opportunity zone? Not directly. A QOF interest is stock or a partnership interest, not like-kind real property, so it can’t be 1031 replacement property. What you can do is invest gain you recognize, such as 1031 boot or the gain from a failed exchange, in a qualified opportunity fund within 180 days. Details are in combining a 1031 exchange and an opportunity zone investment.

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.

1031 vs OZ calculator

Compare paying the tax now, a 1031 exchange, and an OZ 2.0 investment on the same gain. It uses the same tax math and step-up constants as our OZ calculator; the assumptions are listed under the results.

Your gain
After-tax value, year 10
PathAfter-tax value, year 10
Pay the tax now, invest the rest
Tax on the gain today; after-tax amount grows; tax on appreciation at sale.
$661,785
1031 exchange (sold in year 10)
Full deferral; deferred gain and appreciation taxed when you sell in year 10.
$749,485
OZ 2.0 investment (standard QOF, 10% step-up) · highest
Deferred gain taxed in year 5 after the step-up; QOF appreciation excluded after 10 years.
$876,476
Assumptions (read before relying on this)
  • Models the gain only for every path, so the paths are comparable. A real 1031 requires reinvesting the full sale proceeds into like-kind real property; a QOF needs only the gain.
  • Tax on the gain today: 23.8% (20% federal long-term + 3.8% NIIT + 0.00% simplified state rate; state conformity to OZ rules varies).
  • OZ 2.0: rolling 5-year deferral with a 10% basis step-up (30% for a qualified rural fund), per IRS Notice 2026-55; appreciation excluded after a 10-year hold. A sale before 10 years is taxed on all the QOF's appreciation (basis is the deferred gain once it's included), and a sale before year 5 is itself the inclusion event, with no step-up (IRC §1400Z-2(b)–(c)). The OZ 2.0 row uses the same math as the homepage calculator: the year-5 tax is subtracted once, with no return lost on the cash used to pay it.
  • 1031: the property is sold in year 10, recognizing the deferred gain and the appreciation. It ignores further exchanges, a step-up at death, depreciation and recapture, leverage, fees, and the time value of the year-5 OZ tax payment.
  • Same pre-tax annual return on every path. Illustrative only; not tax advice.

Adding a DST to the comparison, or checking how much boot can go into a QOF? Use the 1031 vs DST vs Opportunity Zone tool.

1031 exchange vs opportunity zone: side by side

1031 exchangeOpportunity Zone (QOF)
What gains qualifyGain on real property held for investment or for use in a trade or business, exchanged for like-kind real property. Since 2018 only real property qualifies (§1031(a)).Any “eligible gain”: capital gain or qualified §1231 gain from almost any asset (stock, crypto, a business, real estate), not from a sale to a related person and not ordinary-income recapture (Treas. Reg. §1.1400Z2(a)-1(b)(11)).
What you reinvestThe whole value: to defer all the gain, buy replacement property of equal or greater value, reinvest all net proceeds and replace any debt paid off. Cash or debt relief you keep is boot and is taxed (§1031(b); §1.1031(d)-2).Only the gain. Invest as much of the gain as you want to defer; your original basis comes back to you tax-free. Partial investments defer part of the gain (§1400Z-2(a)(1)).
Timeline45 days to identify replacement property in writing; receive it by the earlier of 180 days or your return due date (with extensions). Both clocks start when you transfer the relinquished property (§1031(a)(3); §1.1031(k)-1(b)(2)).180 days to invest in a QOF, starting the day the gain would be recognized (K-1, installment and REIT gains have other start dates) (§1.1400Z2(a)-1(b)(7)). Check yours with the 180-day deadline calculator.
Deferral or exclusionDeferral only, for as long as you keep exchanging. The gain is taxed when you sell without exchanging, unless you hold until death (§1014).Deferral, then exclusion. OZ 2.0 (invested after Dec 31, 2026): deferred gain is included after 5 years. OZ 1.0 (invested in 2026): included on Dec 31, 2026. After 10 years, appreciation on the QOF investment can be excluded (§1400Z-2(b), (c)).
BasisCarryover: the replacement property takes your old basis, adjusted for boot and added cash (§1031(d)).Starts at zero. Plus 10% of the deferred gain after 5 years (30% in a rural QOF under OZ 2.0). After a 10-year hold, an election steps basis up to fair market value when sold (OZ 2.0 caps it at the value 30 years after investing) (§1400Z-2(b)(2), (c)).
What you buyLike-kind real property that you own (directly, or through a DST).An equity interest in a qualified opportunity fund that invests in OZ real estate or businesses.
MiddlemanIn practice a qualified intermediary holds the cash so you never receive it (safe harbor in §1.1031(k)-1(g)(4)).None. You invest directly in the QOF.
IRS formsForm 8824 for the year of the exchange.Form 8949 to elect deferral; Form 8997 every year you hold the QOF investment.

1031 exchange rules in brief

The core 1031 exchange rules, from the statute and Treas. Reg. §1.1031(k)-1:

  • Real property only. Since January 1, 2018, only real property held for productive use in a trade or business or for investment qualifies, exchanged for real property of like kind. Property held mainly for sale (dealer property) is excluded (§1031(a)).
  • 45-day identification. Identify replacement property in a signed written document delivered by midnight of day 45 to the person obligated to transfer it to you or another party to the exchange who isn’t a disqualified person, such as your qualified intermediary (§1.1031(k)-1(b)(2)(i), (c)).
  • How many properties. Up to three properties of any value (the 3-property rule), or any number whose total value doesn’t exceed 200% of what you sold (the 200-percent rule), or more than that if you actually acquire at least 95% of the identified value (the 95-percent rule) (§1.1031(k)-1(c)(4)).
  • 180-day exchange period. Receive the replacement property by the earlier of day 180 or your return due date, including extensions (§1.1031(k)-1(b)(2)(ii)).
  • Boot is taxed. Cash or other property you receive, including net debt relief, makes gain taxable up to that amount (§1031(b)).
  • Related parties. If you exchange with a related person and either side disposes of the property within 2 years, the deferral is generally lost (§1031(f)).

Real estate agents: identification mechanics and your role are in the 1031 exchange 45-day rule.

Worked example: same sale, three choices

You sell a rental for $1,000,000. Your adjusted basis is $600,000 and the mortgage paid off at closing is $300,000, so you have a $400,000 gain and $700,000 of net cash. Assume it’s all eligible §1231/capital gain (no depreciation recapture) and any QOF investment is made in 2027 under OZ 2.0. These are gain amounts, not tax dollars; your rate depends on your situation.

Pay tax now1031 exchangeOpportunity Zone
What you reinvestNothing requiredAll $700,000 of cash into replacement property worth $1,000,000 or more (new debt or added cash replaces the $300,000 mortgage)$400,000 (the gain) in a QOF within 180 days; you keep the other $300,000 of cash
Gain taxed in 2027$400,000$0$0
Gain taxed laternone$400,000 plus later appreciation when you sell without exchanging (or none if held until death)$360,000 in year 5 (the $400,000 less the 10% step-up; $280,000 in a rural QOF)
After 10+ yearsn/aStill deferred; basis carries overAppreciation on the $400,000 QOF investment can be excluded with the §1400Z-2(c) election

If you took $100,000 of the cash out of the 1031 instead, that $100,000 would be boot and taxable now, and you could invest the eligible part of it in a QOF within its own 180-day period. That is the combined strategy below. Run your own numbers in the calculator above.

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:

  1. Death. Your heirs generally take a basis equal to fair market value at death (IRC §1014), so the deferred gain is never taxed.
  2. 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.
  3. 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 and make the election under §1400Z-2(c), the investment’s basis becomes its fair market value when you sell, so its appreciation is excluded from federal income tax. For OZ 2.0 investments the basis is capped at the fair market value 30 years after the investment date (P.L. 119-21 §70421(c)(3); IRS Notice 2026-55). This is the key advantage of the OZ structure.

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. Opportunity Zones are low-income census tracts chosen by each state and certified by Treasury (§1400Z-1). 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. When you sell a rental or commercial property, gain attributable to depreciation is taxed either as ordinary-income recapture (for example §1245 property such as equipment or cost-segregated components) or, for straight-line real estate depreciation, as “unrecaptured §1250 gain” at up to 25 percent.

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: Gain treated as ordinary income under §1245 or §1250 is not eligible gain (Treas. Reg. §1.1400Z2(a)-1(b)(11)(iii)). The remaining §1231 gain, including unrecaptured §1250 gain, can be. If much of your gain is ordinary-income recapture, OZ won’t shelter that part. The depreciation recapture calculator splits a sale into §1245 recapture, unrecaptured §1250 gain and the rest of the §1231 gain, and shows what a QOF could defer.

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 follow the federal OZ rules, but not all. California, for example, does not follow the federal OZ deferral and exclusion, so the gain stays taxable for California purposes. Check your state tax agency’s guidance.

If you’re in a high-tax state, state conformity often drives the decision: a 1031 can keep both federal and state deferral intact where a state doesn’t follow the OZ rules.

Combining a 1031 exchange and an Opportunity Zone investment

You can’t 1031 directly into a QOF, but opportunity zones and 1031 exchanges can apply to different parts of the same sale. The usual pattern: exchange part of the value into replacement real property and invest the gain recognized on the cash you take out (the “boot”) in a QOF within 180 days.

The OZ rules below are the OZ 2.0 rules for amounts invested in a QOF after December 31, 2026, as summarized in IRS Notice 2026-55 (page 3): deferred gain is included in income no later than five years after the investment; a five-year hold adds a basis step-up of 10% of the deferred gain (30% for a qualified rural opportunity fund); and for an investment held at least 10 years, an election under §1400Z-2(c) sets basis to fair market value when sold, capped at the value 30 years after the investment date. Investments made in 2026 fall under the original (OZ 1.0) rules.

Combining 1031 and Opportunity Zone deferral, step by step

  1. Decide the split. How much value goes into like-kind replacement real property, and how much comes out as cash (boot).
  2. Run the exchange. Use a qualified intermediary, identify replacement property within 45 days, and close within 180 days (IRC §1031(a)(3)). See the 1031 exchange 45-day rule.
  3. Measure the recognized gain. Gain is recognized up to the boot (§1031(b)). Split it into recapture (ordinary income, not eligible) and capital or §1231 gain (eligible).
  4. Invest the eligible gain in a QOF within its 180-day period (when that period starts is covered in the timing puzzle below), and make the deferral election on Form 8997. Our 180-day rule calculator gives the date.
  5. Track both. The replacement property carries the deferred 1031 gain in its basis; the QOF investment carries the deferred OZ gain until it’s included.

The sections below explain each step and its limits.

The structural constraint

Since 2018, IRC §1031(a) applies only to exchanges of real property held for productive use in a trade or business or for investment, for real property of like kind. An interest in a QOF is stock or a partnership interest (§1400Z-2(d)(1)), not real property, so it can’t be the replacement property in a 1031 exchange.

The boot strategy

Under §1031(b), if you receive cash or other non-like-kind property in an otherwise qualifying exchange, you recognize your gain up to the amount of that boot. The rest of the gain stays deferred.

An illustration (ignoring depreciation and closing costs):

  • You sell an investment property for $3 million with a $1 million adjusted basis: a $2 million realized gain.
  • You exchange into a $2 million replacement property and take $1 million in cash.
  • Under §1031(b) you recognize $1 million of gain (the boot). The other $1 million of gain is deferred in the replacement property’s carryover basis.
  • If the recognized gain is eligible gain (next section), you can invest up to $1 million in a QOF within the 180-day period and elect to defer it under §1400Z-2.

Together, the two elections can defer all $2 million of the realized gain, through different mechanisms with different rules.

Why the boot can qualify

Under the final OZ regulations, gain is “eligible gain” if it is treated as capital gain or is a “qualified 1231 gain” and doesn’t come from a sale to a related person (Treas. Reg. §1.1400Z2(a)-1(b)(11)(i)). Nothing in that definition excludes gain recognized because of 1031 boot, so recognized boot gain is eligible to the extent it has that character.

Depreciation recapture

Character matters. A qualified 1231 gain counts only to the extent it exceeds any amount treated as ordinary income under §1245 or §1250 (§1.1400Z2(a)-1(b)(11)(iii)(A)). So:

  • Ordinary-income recapture (for example §1245 recapture on personal-property components from a cost segregation study) is not eligible and can’t be deferred in a QOF.
  • The rest of the §1231 gain, including the part taxed at up to 25% as “unrecaptured §1250 gain” on straight-line real estate depreciation, is still §1231 gain rather than ordinary income, so it isn’t excluded by that rule.

How recognized boot gain is split between ordinary and capital character depends on your facts; that allocation is a question for your tax advisor.

The timing puzzle

1031 timing (§1031(a)(3)): identify replacement property within 45 days of transferring the relinquished property, and receive it by the earlier of 180 days after the transfer or your return due date (with extensions) for that year.

OZ timing: the 180-day period begins on the day the gain would be recognized for federal income tax purposes without the OZ election (§1.1400Z2(a)-1(b)(7)(i)). For gain reported on the installment method, you may instead treat the date each payment is received, or the last day of that tax year, as the start (§1.1400Z2(a)-1(b)(11)(viii)(B)).

In a deferred exchange through a qualified intermediary, cash released to you at the end of the exchange can be treated as an installment payment under Treas. Reg. §1.1031(k)-1(j)(2) and §453, which affects when boot gain is recognized and therefore when its 180-day period starts. Map out both clocks with your advisor and intermediary before you close.

If the 1031 fails, the gain is generally recognized, and you can still use a QOF if you invest within the applicable 180-day period. Depending on when the gain is treated as recognized, part of that window may already have run, so don’t wait until the exchange period ends to plan the OZ side.

Installment sales

The final regulations treat gain recognized under the installment method as eligible gain (§1.1400Z2(a)-1(b)(11)(viii)(A)). Each payment’s gain can have its own 180-day period, so you can invest in one or more QOFs as payments arrive. Each investment carries its own five-year and ten-year clocks.

Combined strategy examples

These are simplified illustrations, not recommendations. Each assumes the gain is eligible gain and the investment is made after December 31, 2026.

Example 1: OZ only

Setup: $1M of eligible gain from the sale of a rental property.

Strategy: Invest $1M in a QOF within the 180-day period.

Outcome: The gain is deferred until year 5 at the latest, when 90% of it is included (100% minus the 10% step-up), or 70% in a rural QROF. If the investment is held 10 years and you make the §1400Z-2(c) election, the QOF investment’s appreciation is excluded, up to the 30-year cap.

Example 2: 1031 only

Setup: $1M gain from the sale of a rental property; you want to keep owning real estate directly.

Strategy: Exchange into equal-or-greater-value replacement real property with no boot.

Outcome: No gain recognized now; basis carries over. If you hold the property until death, your heirs generally take a basis equal to fair market value at death (IRC §1014).

Example 3: split 1031 + OZ

Setup: $5M sale, $2M adjusted basis ($3M realized gain). You exchange into a $3M replacement property and take $2M in cash.

Strategy: §1031(b) recognizes $2M of gain (the boot); $1M stays deferred in the replacement property. Invest the eligible portion of the $2M recognized gain in a QOF within its 180-day period.

Outcome: Any ordinary-income recapture in the recognized gain is taxed currently; the eligible portion follows the OZ rules above.

Example 4: failed 1031, then OZ

Setup: You meant to exchange, but no replacement property was identified within 45 days.

Strategy: Invest the eligible gain in a QOF within the 180-day period that applies to that gain.

Outcome: OZ deferral and, after 10 years, the §1400Z-2(c) election in place of the 1031 deferral.

Example 5: installment sale with layered QOF investments

Setup: A seller-financed sale paid over five years, with eligible gain recognized each year.

Strategy: Invest each payment’s gain in a QOF within its own 180-day period.

Outcome: Separate investments, each with its own five-year inclusion date and 10-year clock.

Practical pitfalls

Character of the recognized gain. Ordinary-income recapture isn’t eligible gain (§1.1400Z2(a)-1(b)(11)(iii)(A)); get the split right before you size the QOF investment.

Missing a 180-day window. The OZ clock is tied to when gain is recognized, not to when your exchange wraps up. Plan both in parallel.

Related parties. Gain from a sale to a related person (as defined in §1400Z-2(e)(2)) isn’t eligible for OZ deferral, and §1031(f) has its own related-party rules for exchanges.

Cash held by the intermediary. For the qualified-intermediary safe harbor, your exchange agreement must limit your right to receive or benefit from exchange funds before the exchange period ends (§1.1031(k)-1(g)(6)). Plan the QOF investment around when funds can actually be released to you.

State taxes. State conformity to the federal 1031 and OZ rules varies; check your state’s rules separately.

When the combined strategy fits

It’s most useful when you’re selling a large real estate asset, want to keep most of the value in replacement real estate, want to move part of it into a QOF, and have a 10-year-plus horizon for the QOF portion. It’s less compelling when a full exchange already defers everything you need, when much of the gain is ordinary-income recapture, or when the 45-day identification deadline leaves no room to plan the QOF side.

Decision framework

Ask these questions in order:

  1. What kind of gain is it?

    • Not real estate → Opportunity Zone (1031 doesn’t apply)
    • Real estate held for investment → continue
  2. What’s your exit plan?

    • Hold real estate for life / transfer at death → 1031
    • Want a defined 10-year exit → Opportunity Zone
  3. Do you want direct real estate ownership?

    • Yes, control the property → 1031
    • No, prefer passive fund exposure → Opportunity Zone
  4. 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
  5. Is there significant depreciation recapture?

    • Yes and it’s material → 1031 rolls it forward; OZ doesn’t shelter ordinary-income recapture
    • Minimal recapture → return to exit-plan question
  6. Do you care about geographic placement of the investment?

    • Yes, want capital deployed in OZ communities → Opportunity Zone
    • No, location doesn’t matter → 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 OZ tax calculator models the OZ side, and the 1031 vs DST vs Opportunity Zone calculator puts all three side by side, including how much 1031 boot can go into a QOF.

For how a landlord’s gain is figured before choosing either path, see capital gains tax on rental property.

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 almost 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; IRC §1400Z-1; Treas. Reg. §1.1031(k)-1; Treas. Reg. §1.1031(d)-2; Treas. Reg. §1.1400Z2(a)-1; IRS Notice 2026-55 (OZ 2.0 rules under Public Law 119-21, §70421); IRC §1014; IRC §453; IRS: like-kind exchanges; IRS: Opportunity Zones. Not tax advice. Consult a qualified CPA or tax attorney before making any investment decision or attempting a combined 1031 + OZ structure.

Not tax advice.

Frequently asked questions

How do you combine a 1031 exchange and an opportunity zone investment?
Use each for a different part of the gain. Exchange part of the sale into like-kind replacement real property, and invest the gain you recognize on the rest (the boot), or on a failed exchange, in a qualified opportunity fund within 180 days. The 1031 part follows §1031; the QOF part follows §1400Z-2.
What is the difference between a 1031 exchange and an opportunity zone investment?
A 1031 exchange defers gain on investment or business real property by swapping it for like-kind real property; you must identify replacements within 45 days and receive them within 180 days, and the deferral lasts until you sell without exchanging again (IRC §1031; Treas. Reg. §1.1031(k)-1(b)(2)). An opportunity zone investment defers an eligible capital gain from almost any asset when you invest the gain (not the whole sale price) in a qualified opportunity fund within 180 days. Under OZ 2.0 the deferred gain is taxed after five years, less a 10% (30% rural) step-up, and appreciation on a QOF investment held 10 years or more can be excluded (IRC §1400Z-2).
Do I have to reinvest the whole sale price?
For a 1031, yes to defer all of the gain: you generally need to reinvest all the net proceeds into replacement property of equal or greater value and replace any debt paid off, because cash or debt relief you keep is boot and is taxed (IRC §1031(b); Treas. Reg. §1.1031(d)-2). For an opportunity zone investment you only invest the amount of the gain you want to defer; your original basis comes back to you tax-free.
Can I use both a 1031 exchange and an Opportunity Zone investment together?
Yes, in specific situations. A taxpayer can split a gain — using a 1031 exchange for part and a QOF investment for the balance — or use an OZ investment to defer the boot portion of a 1031 exchange. The combining section of this guide covers the mechanics.
Which is better for a $1M real estate gain?
Neither is universally better. A 1031 is typically better if you want indefinite deferral, plan to hold real estate for life, and want full reinvestment flexibility. An OZ is typically better if you want a 10-year tax-free exit or if you're selling an asset class a 1031 doesn't cover (stocks, crypto, business interests).
Do I have to invest in real estate for an Opportunity Zone?
No. QOFs can invest in operating businesses (Qualified Opportunity Zone Businesses) as well as real estate. This is a major flexibility advantage over 1031 exchanges, which only work for real property held for investment or business use.
What's the time window to identify a replacement property for a 1031 exchange?
Under IRC §1031(a)(3), you must identify replacement property within 45 days of transferring the relinquished property and receive it within 180 days of the transfer, or by your tax return due date (with extensions) if that comes first. The two periods run at the same time.
Can I use a 1031 exchange for stocks or crypto gains?
No. Since 2018, §1031 applies only to real property held for investment or use in a trade or business. OZ deferral, by contrast, is available for eligible capital gains from many kinds of assets, including stock and crypto sold to unrelated parties.
Can I 1031 exchange directly into a Qualified Opportunity Fund?
No. Section 1031 applies only to exchanges of real property for like-kind real property, and a QOF interest is stock or a partnership interest. You can't use a QOF as 1031 replacement property.
What is 'boot' in a 1031 exchange?
Boot is cash or other non-like-kind property you receive in an exchange (net debt relief can also count). Under IRC §1031(b), you recognize your gain up to the amount of boot; its character (capital, §1231, or ordinary recapture) follows the property sold.
Can I invest 1031 boot into a QOF?
Yes, to the extent the recognized gain is eligible gain: capital gain or qualified §1231 gain, not ordinary-income recapture, and not from a sale to a related person (Treas. Reg. §1.1400Z2(a)-1(b)(11)). You invest it in a QOF within the 180-day period and elect deferral.
What's the timing if I combine a 1031 and OZ investment?
A 1031 requires identifying replacement property within 45 days and receiving it within 180 days (or by your return due date, if earlier) under IRC §1031(a)(3). The OZ 180-day period starts on the day the gain would be recognized for federal tax purposes (Treas. Reg. §1.1400Z2(a)-1(b)(7)). When boot is paid out by a qualified intermediary, installment-method rules can affect that date, so plan both clocks with your advisor.
Can a single capital gain be split between a 1031 and an OZ investment?
Yes, in effect. Exchange part of the value into replacement real property, take the rest as boot, and invest the eligible part of the recognized gain in a QOF within its 180-day period. Each part follows its own 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.

Tools: 1031 vs DST vs Opportunity Zone calculator · Depreciation recapture calculator · Opportunity Zone tax calculator · all Opportunity Zone tools