Opportunity zone fund vs. 1031 exchange: which fits your sale?
A 1031 exchange defers tax by reinvesting the entire sale proceeds in like-kind real estate; an Opportunity Zone fund defers tax by reinvesting only the gain. You cannot 1031 into a QOF, because a fund interest is not real property, but you can put a failed exchange’s gain or the taxable boot from an exchange into a QOF. A 1031 can defer indefinitely; a QOF adds tax-free growth after 10 years.
Key takeaways
- A 1031 needs all the net proceeds (and replacement debt) reinvested in real estate through a qualified intermediary within 45/180 days.
- A QOF needs only the capital gain, from any kind of asset, within 180 days, with no intermediary. You keep your basis in cash.
- Ordinary depreciation recapture can be deferred in a 1031 but not in a QOF. Unrecaptured §1250 gain on buildings is capital gain and can go into a QOF.
- A QOF interest is not like-kind property, so a QOF cannot be the replacement property in an exchange.
- Use both: exchange the property and put the boot, or the gain from a failed exchange, into a QOF.
Side by side
| 1031 exchange | Opportunity Zone fund | |
|---|---|---|
| What can be sold | Real property held for business or investment | Anything that produces a capital gain: real estate, stock, a business, crypto, §1231 property |
| What you reinvest | All net proceeds, and replace any debt paid off | Only the gain; your basis comes back to you |
| Deadlines | Identify in 45 days, close in 180 | Invest within 180 days of the gain |
| Middleman | Qualified intermediary must hold the cash | None |
| What you buy | Like-kind real estate you own directly | An interest in a QOF (a fund or your own) |
| How long tax is deferred | Until you sell without exchanging again; basis steps up at death | 5 years for investments made from 2027 (December 31, 2026 for earlier ones) |
| Part of the gain forgiven | None | 10% after 5 years, 30% in a rural fund |
| Tax on the new investment’s growth | Deferred again, or taxed on sale | None if held 10 years |
| Ordinary depreciation recapture | Deferred | Taxed now; only capital gain can be invested |
Can you 1031 into an opportunity zone fund?
No. This is the most repeated question in investor forums, and the answer is settled: a 1031 exchange requires the replacement to be like-kind real property, and an interest in a qualified opportunity fund is a partnership interest or stock. Buying one ends the exchange.
You can, however, buy replacement real estate that happens to sit in an Opportunity Zone. That is still just a 1031 exchange: no step-up, no 10-year exclusion.
Using both on one sale
- Exchange plus boot. If you exchange but take some cash out (boot), the boot is taxable gain. Invest that gain in a QOF within 180 days and defer it.
- Failed exchange. If you cannot identify or close on replacement property, the gain becomes taxable. A QOF investment within 180 days of when that gain is recognized can rescue the deferral. A failed exchange that straddles two tax years may be reported on the installment method, which changes the start date; confirm the dates with your intermediary and CPA.
- Split the sale. Sell two properties: exchange one, put the gain from the other into a QOF.
Only the gain has to go in
A frequent forum mix-up: you do not invest the sale price in a QOF, only the gain. Sell a property for $1,000,000 with a $600,000 basis and you invest $400,000 to defer all of the capital gain; the $600,000 is yours to spend. Money you put into a QOF beyond eligible gain is a separate, ordinary investment: it gets none of the Opportunity Zone benefits, including the 10-year exclusion.
Which one fits
A 1031 usually fits when you want to keep owning and managing real estate directly, the property has large ordinary recapture, or you plan to hold until death, when heirs get a stepped-up basis.
A QOF usually fits when you want your basis back as cash, the gain came from something other than real estate, you would rather invest passively, or you expect strong growth over 10+ years that you want tax-free. Under OZ 2.0, a rural fund adds a 30% step-up.
Run the long-run comparison in the opportunity zone benefits calculator, and check the 180-day start date for your gain.
Frequently asked questions
Can you do a 1031 exchange into an opportunity zone fund?
Do I have to invest the whole sale price in a QOF?
Is depreciation recapture eligible for a QOF?
Which defers tax longer, a 1031 or an opportunity zone?
Can I buy 1031 replacement property in an opportunity zone?
Sources
- 26 U.S.C. §1031, like-kind exchanges of real property (Cornell LII)
- 26 U.S.C. §1400Z-2 (Cornell LII)
- Treas. Reg. §1.1400Z2(a)-1, eligible gains and the 180-day period (Cornell LII)
- IRS: Invest in a Qualified Opportunity Fund
- BiggerPockets forum: Can you 1031 into an Opportunity Zone fund?
- BiggerPockets forum: Opportunity Zone vs 1031
Reviewed Oct 10, 2026 against the Internal Revenue Code, Treasury regulations and IRS guidance. General information, not tax or legal advice; confirm your situation with a qualified adviser. Machine-readable version: Markdown.