Key takeaways
- A 1031 exchange works only for real property held for business or investment; an Opportunity Zone fund accepts any eligible capital gain.
- A 1031 exchange requires reinvesting the full proceeds, and replacing any debt, to defer all the gain; an Opportunity Zone fund requires investing only the gain.
- Both have 180-day deadlines, but a 1031 exchange also requires naming replacement property within 45 days and using a qualified intermediary.
- A 1031 deferral can last indefinitely; an Opportunity Zone deferral ends after five years, and 10% of the gain (30% in a rural fund) is never taxed.
- Only the Opportunity Zone route makes new growth tax-free, after a 10-year hold.
- The two can work in sequence: taxable boot from a 1031 exchange can be invested in an Opportunity Zone fund.
What is the difference between an Opportunity Zone and a 1031 exchange?
A 1031 exchange postpones tax by rolling one investment property into another, while an Opportunity Zone investment postpones and reduces tax on any capital gain and then removes tax on the new investment's growth. Under section 1031 of the tax code, you generally do not owe tax when you exchange real property held for business or investment for like-kind real property.1,2 Like-kind means other real property held for business or investment, such as land exchanged for an office building.
Under section 1400Z-2, you defer an eligible capital gain by investing it in a Qualified Opportunity Fund within 180 days.3 A Qualified Opportunity Fund is a partnership or corporation set up to invest in property in designated Opportunity Zones. A capital gain is the profit when you sell something for more than you paid.
Fig. 11031 exchange vs. Opportunity Zone fund at a glance
Defer
1031 exchange
- Real property held for business or investment only
- Reinvest the full proceeds and replace debt to defer all the gain
- 45 days to name property, 180 days to close
- Deferral lasts until a taxable sale
- Basis carries over, and growth is taxed on the final sale
Defer, reduce, exclude
Opportunity Zone fund
- Any eligible capital gain, from any asset
- Invest only the gain and keep the rest
- 180 days to invest, with no step to name property
- Deferral ends after five years, and 10% (30% rural) is never taxed
- Growth is tax-free after a 10-year hold
How do the rules compare, point by point?
The two programs differ on almost every rule, from which gains they take to how the final sale is taxed. Basis, used in the table, is the amount the tax law treats as what you paid.
| Feature | 1031 exchange | Opportunity Zone fund |
|---|---|---|
| Eligible gains | Real property held for business or investment | Any capital gain, including stock, crypto, business sales and section 1231 gains |
| What you reinvest | All net proceeds, with equal or greater debt, to avoid taxable boot (cash or other property you keep) | Only the gain |
| Deadlines | Name property in 45 days; close by the earlier of 180 days or the return due date | Invest within 180 days of the gain |
| Intermediary | A qualified intermediary must hold the proceeds | None; you invest directly |
| Replacement asset | Like-kind U.S. real property you own directly | Equity in a fund, which must invest in designated zones |
| Deferral period | Until a taxable sale, possibly for life | Until a sale or five years after the investment |
| Gain reduction | None | 10% after five years, 30% in a rural fund |
| Tax on new growth | Taxed on the final sale (unless held until death) | Excluded after 10 years, up to the value at year 30 |
| Depreciation | Carryover basis limits new depreciation | The fund's new assets have full cost basis to depreciate |
| Control | You own and manage the replacement property | Usually a passive interest in a fund someone else manages |
| Reporting | Form 8824 | Form 8949 election, then Form 8997 every year |
The IRS states the 1031 timing rules plainly. You must identify replacement property within 45 days and receive it within 180 days or by your return due date, including extensions, whichever comes first.2 The Opportunity Zone rules have no identification step and no intermediary. The fund must instead invest in designated zones and pass ongoing asset tests.3,4
Which leaves you with more after tax?
The answer depends on whether you would ever sell. In the illustrative case below, the Opportunity Zone route wins if the investor sells after 10 years. The 1031 exchange wins if the investor holds the real estate until death, because heirs generally receive a basis equal to fair market value under section 1014.5
Fig. 2After-tax wealth after 10 years: $3 million property with a $1 million gain
Illustrative- 1031 exchange, sold at year 10$5.05M
- Fund for the $1M gain, $2M rest in a taxable account, sold at year 10$5.31M
- 1031 exchange, held until death (heirs' basis reset)$6.00M
| Path | After-tax value at year 10 | How it is worked out |
|---|---|---|
| 1031 exchange, sold at year 10 | $5,048,000 | $3,000,000 grows to $6,000,000; the gain is $4,000,000 ($6,000,000 minus the $2,000,000 carryover basis); tax is $952,000 |
| Opportunity Zone fund for the $1,000,000 gain, $2,000,000 in a taxable account, all sold at year 10 | $5,309,800 | Fund grows to $2,000,000 and is tax-free on exit; account grows to $4,000,000; minus the $214,200 year-5 tax ($900,000 × 23.8%) and $476,000 tax on $2,000,000 of account growth |
| 1031 exchange, held until death | $6,000,000 | No income tax for the investor; heirs generally take a basis equal to fair market value |
Depreciation shifts the math further. A 1031 replacement property takes over the low basis of the property given up. A fund's new construction is depreciated from its full cost. See a worked Opportunity Zone tax savings example, or try your own numbers in the Opportunity Zone tax calculator.
When is a 1031 exchange the better choice?
A 1031 exchange is usually the better choice when you want to keep owning real estate yourself for a long time.
- You want to keep owning and controlling real estate yourself.
- You plan to hold real estate for life and leave it to heirs, who generally get a basis equal to fair market value.5
- You have a large amount of depreciation recapture, which a 1031 exchange defers in full. Under the Opportunity Zone rules, section 1245 recapture taxed as ordinary income cannot be deferred.6
- You can find suitable like-kind property within 45 days and close within 180.
- The best replacement property is not in a designated zone.
When is an Opportunity Zone investment the better choice?
An Opportunity Zone fund is usually the better choice when your gain is not from real estate or when you want tax-free growth.
- Your gain is not from real estate. Stock, a business sale, crypto or collectibles cannot go into a 1031 exchange.1,7
- You want to take money off the table. You invest only the gain and keep the rest.
- You want new growth to be tax-free, and you can hold for at least 10 years.
- You cannot find 1031 replacement property in time, or a failed exchange has left you with a taxable gain.
- You want a professionally managed or spread-out investment rather than another property to run.
The Opportunity Zone route has costs to weigh. The deferred gain is taxed after five years whether or not you have sold, your money is locked up for a decade, and the fund's project must succeed. See the risks of Opportunity Zone investing.
Can you use a 1031 exchange and an Opportunity Zone fund together?
Yes, but not on the same dollar of gain. Gain deferred in a 1031 exchange is not taxed yet, so it is not eligible gain for a fund.7 Taxable boot from an exchange, such as cash kept or debt not replaced, is generally capital or section 1231 gain that can go into a fund within 180 days.1,7 A seller can also split a sale between an exchange and a fund.
The step-by-step version, with timelines side by side and a worked example, is in can you 1031 into an Opportunity Zone.
Fig. 3Choosing between a 1031 exchange and an Opportunity Zone fund
Either; compare after-tax results
1031 for control, fund to free up the rest of the proceeds
1031 exchange
Defer for life; heirs' basis reset
Opportunity Zone fund, if you can hold 10 years
The only route for stock and business gains
Opportunity Zone fund
Tax-free growth after 10 years
Investment real estate · Sell within about 10 years
Either; compare after-tax results
1031 for control, fund to free up the rest of the proceeds
Investment real estate · Hold for life or 10+ years
1031 exchange
Defer for life; heirs' basis reset
Gain not from real estate · Sell within about 10 years
Opportunity Zone fund, if you can hold 10 years
The only route for stock and business gains
Gain not from real estate · Hold for life or 10+ years
Opportunity Zone fund
Tax-free growth after 10 years
Real estate sellers face this choice most often, and Opportunity Zones for real estate investors selling property works through the cases. The result depends on depreciation, debt, heirs and state tax, so model both routes with your tax adviser before the sale closes.
How does the choice look for data center real estate?
For an owner selling a data center or industrial site, a 1031 exchange into another finished, leased property keeps the real estate exposure. An Opportunity Zone fund offers a way into new data center development. Most of the value is created during construction and leasing, and the 10-year exclusion captures it.
New equipment and improvements also start with full basis for depreciation, including 100% bonus depreciation for qualifying property acquired after January 19, 2025.8 See data centers in Opportunity Zones.
Common questions
Is an Opportunity Zone better than a 1031 exchange?
It depends on the gain and your plans. An Opportunity Zone fund is usually better for stock or business gains and for investors who will sell after 10 years, because the growth is tax-free. A 1031 exchange is usually better for real estate owners who plan to keep exchanging and hold until death.
Can I do a 1031 exchange into an Opportunity Zone?
Not into a Qualified Opportunity Fund. You can exchange into real property that happens to sit in a zone, but that is a 1031 exchange and earns no Opportunity Zone benefits. Taxable gain from a sale, including boot from an exchange, can be invested in a fund within 180 days.
Which has the longer deferral?
A 1031 exchange can defer gain until a taxable sale, possibly for life. An Opportunity Zone deferral ends after five years, but 10% of the gain (30% in a rural fund) is never taxed.
Do both have a 180-day deadline?
Yes. A 1031 exchange must close by the earlier of 180 days or the return due date, after naming property within 45 days. An Opportunity Zone investment must be made within 180 days of the gain.
Can stock gains go into a 1031 exchange?
No. Section 1031 applies only to real property. Stock, crypto and business-sale gains can use an Opportunity Zone fund instead.
Is depreciation recapture deferred in both?
A 1031 exchange defers it along with the rest of the gain. In an Opportunity Zone investment, recapture taxed as ordinary income cannot be deferred, though unrecaptured section 1250 gain on real estate generally can.
Sources
Every numbered note in this guide links to the source below.
- 1.Internal Revenue Service, “Instructions for Form 8824, Like-Kind Exchanges (2025),” 2025. irs.gov
- 2.Internal Revenue Service, “Like-kind exchanges: Real estate tax tips,” n.d. irs.gov
- 3.U.S. Government Publishing Office (GovInfo), “26 U.S.C. 1400Z-2: Special rules for capital gains invested in opportunity zones,” 2026. govinfo.gov
- 4.Electronic Code of Federal Regulations, “26 CFR 1.1400Z2(d)-1: Qualified opportunity funds and qualified opportunity zone businesses,” n.d. ecfr.gov
- 5.Internal Revenue Service, “Publication 551, Basis of Assets,” 2025. irs.gov
- 6.Internal Revenue Service, “Publication 544, Sales and Other Dispositions of Assets,” 2025. irs.gov
- 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.BDO, “One Big Beautiful Bill Act Expands 100% Depreciation Expensing Opportunities,” 2025. bdo.com
Terms in this guide
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
Selling a business or property · 6 of 11
← Previous: Opportunity Zone Key Dates and Timeline, 2025 to 2036·All 114 guides