Skip to content
A BlackForge Ventures company
OZ Data Centers™

Tax benefits & the math

Can You 1031 Into an Opportunity Zone Fund?

You cannot exchange property into an Opportunity Zone fund under section 1031, because a fund interest is a partnership interest or stock, and neither is like-kind real property.3 You can combine the two on one sale. Gain you are taxed on, such as boot (cash or debt relief you keep in an exchange) or gain from a failed exchange, can be invested in a fund within 180 days.1,7 Only the capital gain and section 1231 gain qualify; depreciation recapture taxed as ordinary income does not.7

Last updated
First published
Reading time
11 min
Figures
3
Sources
14 cited

Key takeaways

  • A Qualified Opportunity Fund interest cannot be replacement property in a 1031 exchange, because partnership interests and stock are not real property under the 1031 regulations.
  • Gain recognized in an exchange, such as cash boot or debt relief that is not replaced, can be invested in a fund within 180 days of the day the gain is taxed.
  • Gain deferred by the 1031 exchange cannot also go into a fund, because it is not taxed yet.
  • Unrecaptured section 1250 gain is part of the section 1231 gain and qualifies; section 1245 recapture and other ordinary income do not.
  • From a March 1, 2027 closing, the fund deadline is August 27, 2027, one day before the 1031 exchange deadline, and the exchange also has a 45-day naming deadline.

Can you do a 1031 exchange into an Opportunity Zone fund?

No, you cannot roll a property into a fund through a 1031 exchange. Section 1031 of the tax code lets you skip tax only when you exchange real property held for business or investment for other real property of like kind.1 A Qualified Opportunity Fund is a partnership or corporation set up to invest in Opportunity Zones, which are census tracts designated for the program. What you receive from a fund is a partnership interest or stock, and the 1031 regulations say neither counts as real property.3

You can still use both rules on the same sale. Any gain the exchange does not shelter is taxed in the year of the sale. That taxed gain is often eligible gain for a fund, which means you can defer it by investing the same amount in a fund within 180 days.6,7 Gain the exchange does shelter stays deferred under section 1031 and cannot also go into a fund.

Fig. 1One property sale, two tax rules

  1. Sale of investment real estateProceeds go to a qualified intermediary
    Buys like-kind property
  2. 1031Replacement real propertyGain deferred under section 1031
    Leftover cash
  3. Boot taken outGain recognized up to the boot
    Invested within 180 days
  4. FundQualified Opportunity FundRecognized gain deferred again
In a split sale, the replacement property defers part of the gain under section 1031. The cash you keep (boot) is taxed, and that taxed gain can go into a fund within 180 days.1,7

If you exchange into real estate that happens to sit inside a zone, you have done an ordinary 1031 exchange. You get the 1031 deferral and none of the fund benefits. The comparison of the two programs is in Opportunity Zone vs. 1031 exchange.

Why is a fund interest not like-kind property?

A fund interest fails because section 1031 covers only real property, and the regulations list the interests that are not real property. Land and improvements to land are real property, and so are some interests in them, such as a leasehold or an easement.3 The same regulation says stock, bonds, notes, other securities and interests in a partnership are not real property for section 1031.3

A fund must be a partnership or a corporation, so an investor always receives one of the excluded interests. The IRS repeats the point in the Form 8824 instructions, which say stock, bonds, notes and partnership interests generally do not qualify.4 Section 1031 also does not apply to real property held primarily for sale, such as lots a developer builds and sells.1,5

The rule works in both directions. You cannot give up a fund interest in a 1031 exchange either, because the property you give up must also be real property.1 For what a sale of a fund interest triggers, see what happens if you sell an Opportunity Zone investment early.

How can boot from a 1031 exchange go into a fund?

Boot can go into a fund because the exchange makes you pay tax on it, and taxed capital gain is what a fund accepts. Boot is money or other property you receive in an exchange that is not like-kind property. Under section 1031(b), you recognize gain up to the amount of boot, but never more than your total gain.1 Recognized gain is gain you report and pay tax on this year.

Boot comes in three common forms, and each one creates recognized gain that may be invested:

  • Cash boot: sale proceeds you keep instead of spending on the replacement property.
  • Debt relief: a loan paid off at the sale counts as money received. You can offset it by taking on new debt on the replacement property or by adding cash. Only the net amount is boot.1,4
  • A failed or partial exchange: if you name no property in 45 days, or buy less than planned, the unused proceeds are taxed.1

Debt relief creates taxable gain without giving you cash. You can still invest that gain, because the rules do not trace the sale proceeds; savings or a loan can fund the investment.12,14

Timing needs care. The fund's 180 days begin on the day the gain would be taxed.7 Boot taken at closing is usually taxed at closing. When the intermediary returns unused cash in the next tax year, the 1031 regulations treat you as paid when you receive the cash, so you may report the gain that year on the installment method. This applies only if you meant to complete an exchange when the exchange period began.2 The fund regulations let installment gain start its 180 days on the payment date or on the last day of that tax year.7 Practitioners still debate when the gain is recognized if a failed exchange starts and ends in the same tax year.13 Investing before the period starts fails as surely as investing late, so fix the start date with your adviser first.

Which parts of a real estate gain can go into a fund?

The capital gain and section 1231 gain can go into a fund, and the ordinary income part cannot. The fund regulations define eligible gain as gain treated as capital gain, or qualified section 1231 gain, after any rule that recharacterizes gain as ordinary income.7 The IRS states that ordinary gain is not eligible.8 Section 1231 gain is gain on business property, including rental buildings and land, held more than one year.

Parts of a real estate sale gain and whether each can be deferred in a fund
Part of the gainHow it is taxedEligible for a fund?
Unrecaptured section 1250 gain (straight-line depreciation taken on the building)Up to 25% federal rate11Yes; it stays part of the section 1231 gain
Remaining section 1231 gain on land and buildingLong-term capital gain ratesYes
Section 1245 recapture on appliances, furniture, equipment and cost-segregated partsOrdinary incomeNo7
Section 1250 recapture of depreciation above straight-line, for example bonus depreciationOrdinary incomeNo7,10
Gain on real property held primarily for sale (dealer property)Ordinary incomeNo

Section 1245 recapture taxes past depreciation on personal property as ordinary income.9 Most rental buildings are depreciated straight-line, and Publication 544 explains that such property generally has no section 1250 recapture taxed as ordinary income, unless a special depreciation allowance was claimed.10 The fund regulations count section 1231 gain only to the extent it exceeds any amount treated as ordinary income under section 1245 or section 1250.7

Cost segregation studies, which split a building's cost into shorter-lived parts, add a trap. Those parts can be real property under the 1031 rules but section 1245 property for depreciation, and the 1031 definition applies only to section 1031.3 Under section 1245(b)(4), recapture can be taxed even in a full exchange if the replacement property has too little section 1245 property.9 That amount cannot go into a fund. More is in section 1231 gains and Opportunity Zones and which gains qualify.

How do the 45-day and 180-day deadlines line up?

A 1031 exchange has two deadlines and a fund has one, and they are counted differently. For the exchange, you must name replacement property within 45 days and receive it by the earlier of 180 days or your return due date, including extensions.1,4 The 1031 regulations start both periods on the day you transfer the property and end them at midnight on the 45th or 180th day after it.2 For the fund, the 180 days begin on the day the gain would be recognized, so that day is day 1.7

Fig. 2Deadlines after a sale that closes March 1, 2027

  • 1031: name replacement propertyEnds April 15, 2027
  • 1031: receive replacement propertyEnds August 28, 2027
  • Fund: invest eligible gainEnds August 27, 2027
050100150200days after closing
Days after closing. The fund window ends August 27, 2027 (day 180 counting the closing day as day 1). The exchange must close by August 28, 2027, the 180th day after the transfer, or by the return due date if that is earlier.2,7
The deadlines side by side
Rule1031 exchangeOpportunity Zone fund
Naming propertyWithin 45 days, in writing4No naming step
Final deadlineEarlier of 180 days after the transfer or the return due date with extensions1180 days, counting the day the gain is taxed as day 17
Who holds the moneyA qualified intermediary, so you never touch the proceedsYou invest directly in the fund
Late-year salesThe return due date can cut the 180 days short unless you extend the returnNot shortened by the return due date
What must be reinvestedAll net proceeds, with equal or greater debt, to defer all the gainOnly the amount of gain you want to defer

Boot taken at closing starts its fund clock at closing, while the exchange is still running. For partnership sales and section 1231 gains, see the 180-day investment rule.

Worked example: splitting a $2 million property sale

This illustrative example follows one owner through three choices. The owner sells a rental building and its contents for $2,000,000 on March 1, 2027 and pays off a $700,000 loan at closing. It assumes the top federal rates with the 3.8% net investment income tax: 28.8% on unrecaptured section 1250 gain, 23.8% on other long-term gain and 40.8% on ordinary income, with no selling costs and no state tax.11

Illustrative: the gain on a $2,000,000 sale, and which part a fund can take
ItemAmountHow it is worked out
Price of land and building$1,950,000$2,000,000 total, less $50,000 for appliances and furniture
Gain on land and building$800,000$1,950,000 minus $1,150,000 adjusted basis ($1,450,000 cost minus $300,000 straight-line depreciation)
Unrecaptured section 1250 gain$300,000Equal to the straight-line depreciation taken; eligible
Other section 1231 gain$500,000$800,000 minus $300,000; eligible
Gain on appliances and furniture$40,000$50,000 minus $10,000 basis; less than the $60,000 depreciation taken, so all section 1245 recapture; not eligible
Most that can go into a fund$800,000$300,000 + $500,000
Federal tax if nothing is deferred$221,720$300,000 × 28.8% + $500,000 × 23.8% + $40,000 × 40.8%
Illustrative: three ways to handle the same sale
RouteDeferred by 1031Invested in a fundTaxed nowHow it is worked out
A. Full exchange$800,000$0$40,000 (tax $16,320)Buy at least $1,950,000 of real property and replace the $700,000 loan; the appliances are not real property, so their gain is taxed
B. No exchange; invest the gain$0$800,000$40,000 (tax $16,320)Invest $800,000 by August 27, 2027; the owner keeps the other $500,000 of net cash ($2,000,000 minus the $700,000 loan, minus $800,000)
C. Split$250,000$550,000$40,000 (tax $16,320)Net cash from the land and building is $1,950,000 minus $700,000 = $1,250,000; $700,000 goes into a $1,400,000 replacement with a new $700,000 loan; $550,000 of boot is taxed and invested

Fig. 3Route C: from total gain to the amount invested in a fund

Illustrative
  • Total gain on the sale$840,000
  • Section 1245 recapture, taxed as ordinary income−$40,000
  • Gain deferred by the 1031 exchange−$250,000
  • Boot gain invested in a fund: $550,000$550,000
Illustrative. The figures follow the tables above.

In route C, the replacement property takes a basis of $1,150,000, which is its $1,400,000 cost minus the $250,000 of gain still deferred.1 The fund investment starts at zero basis. Its gain is deferred until the earlier of a sale or five years after the investment, and 10% of it is never taxed if the owner holds five years.6 Run your own numbers in the Opportunity Zone tax calculator.

How do you choose the split, and how is it reported?

The split depends on how much real estate you want to keep owning and how long you can leave money in a fund. A full exchange defers all the real estate gain for as long as you keep exchanging. A fund needs only the gain, frees the rest of the cash and, after 10 years, makes the fund's growth tax-free.6

  • Decide the boot amount before closing and tell the intermediary, because cash taken at closing is boot from that day.
  • Get a closing statement and depreciation schedule that separate land, building and personal property.
  • Report the exchange on Form 8824, and the recapture and section 1231 gain on Form 4797.4
  • Elect deferral on Form 8949 with code Z for the year of the sale.12 Attach Form 8997 that year and every year you hold the fund interest.12
  • For section 1231 gains, the Form 8949 instructions use two rows: one labeled as a fund investment from Form 4797 and one with code Z.12

More cases are in Opportunity Zones for real estate investors selling property. A step-by-step filing guide is in how to elect deferral on Form 8949, and the five-year rule is in how the five-year deferral works.

Common questions

Can you 1031 into an Opportunity Zone?

Not into an Opportunity Zone fund. A fund interest is a partnership interest or stock, and the 1031 regulations say those are not real property. You can exchange into real estate located in a zone, but that is an ordinary 1031 exchange with no fund benefits.

Can you combine a 1031 exchange and an Opportunity Zone fund on one sale?

Yes, on different parts of the gain. The part sheltered by the exchange stays deferred under section 1031. The part you are taxed on, such as cash you keep, can be invested in a fund within 180 days.

Is 1031 boot eligible for Opportunity Zone deferral?

Generally yes, to the extent it is capital gain or section 1231 gain. Boot makes you recognize gain, and recognized capital gain is eligible gain. Any part that is ordinary income from depreciation recapture is not eligible.

If my 1031 exchange fails, can I put the gain in an Opportunity Zone fund?

Usually, if you invest within 180 days of the day the gain is taxed. If you meant to complete the exchange and the intermediary returns the cash in a new tax year, the gain may be taxed when you receive the cash, which can move the start date. Confirm the start date with your adviser before investing.

Do I have to invest the actual sale proceeds in the fund?

No. The rules look at the amount you invest, not where the cash came from. This matters for debt relief, which creates taxable gain without giving you cash.

Does depreciation recapture from a rental property qualify for a fund?

Unrecaptured section 1250 gain does. It comes from straight-line depreciation on the building and is taxed at up to 25%. Section 1245 recapture on personal property and cost-segregated parts is ordinary income and does not qualify.

Sources

Every numbered note in this guide links to the source below.

  1. 1.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1031: Exchange of real property held for productive use or investment,” n.d. law.cornell.edu
  2. 2.Legal Information Institute, Cornell Law School, “26 CFR § 1.1031(k)-1: Treatment of deferred exchanges,” n.d. law.cornell.edu
  3. 3.Legal Information Institute, Cornell Law School, “26 CFR § 1.1031(a)-3: Definition of real property,” n.d. law.cornell.edu
  4. 4.Internal Revenue Service, “Instructions for Form 8824, Like-Kind Exchanges,” 2026. irs.gov
  5. 5.Internal Revenue Service, “Like-kind exchanges: Real estate tax tips,” 2026. irs.gov
  6. 6.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1400Z-2: Special rules for capital gains invested in opportunity zones,” n.d. law.cornell.edu
  7. 7.Legal Information Institute, Cornell Law School, “26 CFR § 1.1400Z2(a)-1: Deferring tax on capital gains by investing in opportunity zones,” n.d. law.cornell.edu
  8. 8.Internal Revenue Service, “Opportunity zones frequently asked questions,” 2026. irs.gov
  9. 9.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1245: Gain from dispositions of certain depreciable property,” n.d. law.cornell.edu
  10. 10.Internal Revenue Service, “Publication 544, Sales and Other Dispositions of Assets,” 2025. irs.gov
  11. 11.Internal Revenue Service, “Topic no. 409, Capital gains and losses,” 2026. irs.gov
  12. 12.Internal Revenue Service, “Instructions for Form 8949 (2025),” 2026. irs.gov
  13. 13.New York State Society of CPAs (Michael Burwick and Kyle Kadish), “When Does 180 Equal Zero?,” 2022. nysscpa.org
  14. 14.Venable LLP, “Opportunity Zone Funds: What We Know at March 2020,” 2020. venable.com

Terms in this guide

Full glossary →·All guides on Tax benefits and the math →

Model your gain

Walk through the numbers on your own capital gain.

Share the amount and date of your gain. We will walk through how deferral and a 10-year hold could apply, alongside your own tax adviser.

About a minute · Confidential

Prefer email? info@ozdatacenters.com

Confidential. Submitting this form is not an offer to buy or sell securities, and our fund offerings are generally limited to accredited investors. See our Privacy Policy.

OZ Data Centers and its affiliates may sponsor, manage and invest in the Opportunity Zone funds and data center projects described here, and have a financial interest in them. This information is for general purposes only. It is not an offer to sell, or a solicitation of an offer to buy, any security, and it is not investment, tax or legal advice. Any offering will be made only through a fund's confidential offering documents, to investors who qualify (generally accredited investors), where permitted by law. Investments in private funds and data center projects are speculative and illiquid and involve a high degree of risk, including the possible loss of the entire investment. They are suitable only for investors who can bear that risk and hold the investment for ten years or longer. Opportunity Zone tax benefits are not guaranteed. They depend on each investor's circumstances, on the fund and its businesses continuing to meet the requirements of the law, and on rules that can change. Statements about future projects, timing or results are forward-looking and may not occur. Consult your own tax, legal and financial advisers.

Continue reading

Up next · Tax benefits & the mathWhat Disqualifies a Capital Gain From Opportunity Zone Deferral? →Eight things disqualify a gain from Opportunity Zone deferral, including ordinary income, a sale to a related person, debt, and investing after day 180.10 min read

← Previous: Opportunity Zone Exit Strategies: How to Sell Tax-Free After 10 Years·All 114 guides