When an investor faces a large capital gain, two strategies dominate the conversation: the 1031 exchange and the Qualified Opportunity Fund. They are often pitched as competitors, but they're better understood as tools for different jobs. The most important differences aren't subtle — they're about which gains even qualify, and whether you're deferring tax or eliminating it. Get those two questions straight and the right choice usually becomes clear.

Key Takeaways

  • A 1031 exchange works only for real estate gain; an Opportunity Zone fund accepts any capital gain — stocks, a business sale, real estate, and more.
  • A 1031 defers tax indefinitely and can be repeated; an OZ fund defers for a set period but can eliminate tax on the fund's appreciation after ten years.
  • A 1031 requires reinvesting the full proceeds; an OZ fund requires investing only the gain, within 180 days.
  • They can even work together — and which fits depends on your gain type, timeline, and goals.

What gains qualify for each

Start with the question that eliminates half the confusion: what kind of gain do you have? A 1031 exchange works only for real estate — you must sell investment real property and reinvest in like-kind real property. If your gain came from selling stock, a business, cryptocurrency, or any non-real-estate asset, a 1031 is simply unavailable.

An Opportunity Zone fund is far broader: any capital gain qualifies. Sell appreciated stock, a company, a piece of art, or real estate, and you can roll that gain into a QOF. This single difference often decides the matter. The business owner who just sold her company can't 1031 the proceeds, but she can place the gain in an Opportunity Zone fund. For non-real-estate gains, the OZ fund isn't the better option — it's the only one of the two available.

Deferral versus elimination

The second great difference is the nature of the benefit. A 1031 exchange is a pure deferral tool: it postpones the entire gain indefinitely, and if you keep exchanging and hold until death, a stepped-up basis can eliminate it for your heirs. But during your life, the gain is never reduced — only carried forward.

An Opportunity Zone fund splits the benefit in two. It defers your original gain for a set period (and historically offered a partial reduction of it), and — the marquee benefit — it can eliminate the tax on the fund's own appreciation if you hold for at least ten years. So with an OZ fund, the original deferred gain eventually gets taxed, but everything the fund earns on top of it can come out tax-free. We dig into that mechanism in our memo on the 10-year rule. The two tools, in short, eliminate different things: the 1031 can erase the original gain at death; the OZ fund can erase the new growth after a decade.

How much you have to reinvest

A practical difference that matters for cash planning: a 1031 generally requires you to reinvest the entire net proceeds (and replace your debt) to defer the full gain — fall short and you create taxable boot. An Opportunity Zone fund requires you to invest only the gain, not the entire proceeds. If you sell an asset for $1,000,000 with a $400,000 gain, a full 1031 needs the whole $1,000,000 redeployed, while an OZ investment needs only the $400,000 gain placed in a QOF — leaving the return of your basis free to use elsewhere.

That can make the OZ route less capital-intensive for the investor who wants to keep some liquidity. It's one of the under-appreciated structural differences between the two.

Timelines and deadlines

Both are time-sensitive, but differently. A 1031 runs on the strict 45-day and 180-day clock, and the proceeds must pass through a qualified intermediary — you can't touch them. An Opportunity Zone investment gives you 180 days from the date of the gain to invest it in a QOF, and because you're investing your own gain rather than exchanging like-kind property, there's no qualified intermediary and no identification step. The OZ timing is in some ways simpler, though the holding requirement on the back end (ten years for the exclusion) is far longer than a 1031 demands.

Asset types, liquidity, and risk

The end investments differ too. A 1031 keeps you in real estate you choose (directly or via a DST). A QOF invests in Opportunity Zone property or businesses — often development or redevelopment projects in designated communities, which can carry more execution and market risk than a stabilized building. Both are illiquid, but the OZ commitment is explicitly long: the headline benefit requires a ten-year hold, so OZ capital should be money you won't need for a decade.

Risk profile follows from this. OZ investments often involve ground-up development in emerging areas — higher potential return, higher risk — while a 1031 can target whatever risk level you prefer, including stabilized, income-focused assets. Match the tool to your risk tolerance, not just your tax goal.

When they work together

The two aren't mutually exclusive. An investor selling a property might 1031 part of the proceeds into replacement real estate and, separately, place a stock gain from the same year into an OZ fund. Or someone with both real estate and non-real-estate gains can use each tool for the gain it fits. They're complementary instruments in a broader capital-gains strategy rather than an either/or — which is exactly why understanding both matters even when only one applies to a given gain.

Which fits your situation

Reduce it to a few questions. Is your gain from real estate, or from something else? If it's not real estate, the OZ fund is your route (a 1031 isn't available). If it is real estate, do you want to keep deferring indefinitely and possibly step up at death (favoring a 1031), or are you willing to commit for ten years to potentially eliminate tax on new growth (favoring an OZ fund)? How long can your capital stay locked up, and what risk level do you want? An investor seeking durable, lower-risk real estate income with maximum flexibility leans 1031; one with a large gain of any type, a ten-year horizon, and appetite for development-style upside leans OZ. Run the specifics — including the evolving OZ 2.0 rules — with your tax advisor.

Factor1031 ExchangeOpportunity Zone Fund
Qualifying gainReal estate onlyAny capital gain
BenefitIndefinite deferralDeferral + 10-yr exclusion of growth
ReinvestFull proceeds + debtThe gain only
Window45 / 180 days, via QI180 days from the gain
Typical holdYour choice10 years for full benefit