Mixed-use development under construction
Home  /  Insights  /  Opportunity Zone Funds
Opportunity Zone Funds

What Gains Qualify for Opportunity Zone Investment?

A defining feature of Opportunity Zones is that they accept any capital gain — from stock, a business sale, cryptocurrency, or real estate — unlike a 1031 exchange (real estate only). This guide clarifies which gains qualify, the rules for stock and business-sale gains, real estate gains in an OZ, short-term vs. long-term, and the gains that don't qualify.

By Jerry Baker · June 5, 2026 · 16 min read

One of the most powerful and distinguishing features of Opportunity Zones is the breadth of gains they accept. Unlike a 1031 exchange — which defers tax only on real estate gains reinvested in like-kind real estate — an Opportunity Zone investment can defer tax on virtually any capital gain: from selling stock, a business, cryptocurrency, real estate, or other capital assets. This breadth makes OZs uniquely flexible for investors with gains from diverse sources, especially those (like stock or business-sale gains) that a 1031 can't touch. But there are nuances — the gain must be a capital gain (not ordinary income), the rules differ slightly by gain type, and some gains don't qualify. This guide clarifies what gains qualify for Opportunity Zone investment: the eligible capital gain types, stock and business-sale gains, real estate gains in an OZ, short-term vs. long-term gains, and the gains that don't qualify. Note that OZ rules are time-sensitive and evolving — verify the current rules with your tax advisor.

Eligible capital gain types

Opportunity Zones accept capital gains — gains from selling capital assets — from virtually any source. This includes gains from selling stocks, bonds, mutual funds, a business, cryptocurrency, collectibles, real estate, or other capital assets. So the defining eligibility rule is that the gain must be a capital gain (the gain from a capital asset's sale or exchange), regardless of the asset type.

Both short-term and long-term capital gains qualify (though the character carries through to the deferred gain). And certain other gains, like Section 1231 gains (from business property) and some capital-gain dividends, can also qualify. So the eligibility is broad — most capital gains from most asset types can be invested in a QOF.

This breadth contrasts sharply with the 1031 exchange (real estate gains only). So OZs open the tax-deferral door to investors with gains from stocks, businesses, crypto, and more — not just real estate. Eligible capital gain types — capital gains from virtually any source (stocks, businesses, crypto, collectibles, real estate, etc.), both short-term and long-term, plus certain Section 1231 and capital-gain-dividend gains — are broadly eligible for OZ investment. The breadth contrasts with 1031s. Understanding the eligible types shows OZ's flexibility. OZs accept capital gains from virtually any source (stocks, businesses, crypto, real estate, and more), a breadth far exceeding the 1031's real-estate-only scope.

Stock & business-sale gains

Stock and business-sale gains are among the most valuable OZ eligibility cases, because no 1031 alternative exists for them. Stock gains — if you sell appreciated stock (or other securities) and realize a capital gain, you can invest that gain into a QOF (within 180 days) to defer it and earn the OZ benefits. So an investor with a large stock gain (e.g., from a concentrated position or a long-held holding) can use an OZ to defer and potentially grow it tax-free.

Business-sale gains — if you sell a business (or business assets) and realize a capital gain, that gain can generally be invested in a QOF (the capital-gain portion; ordinary-income portions like depreciation recapture or inventory generally don't qualify). So a business owner selling their company can use an OZ for the capital-gain portion of the sale.

These cases are powerful because a 1031 exchange can't defer stock or business-sale gains (it's real-estate-only) — so OZs are often the primary tax-deferral tool for such gains. So stock and business-sale gains are key OZ use cases. Stock & business-sale gains — stock gains (from selling appreciated securities) and business-sale gains (the capital-gain portion) both investable in a QOF, with no 1031 alternative — are powerful OZ use cases. OZs serve gains 1031s can't. Understanding these cases shows OZ's unique value. Stock and business-sale gains (which 1031s can't defer) are key OZ use cases, letting investors defer and grow these gains tax-free via a QOF.

This is where Opportunity Zones shine: a 1031 can't touch a stock gain or a business-sale gain, but an OZ can. For those gains, the QOF is often the only tax-deferral tool available.

Real estate gains in an OZ

Real estate gains also qualify for OZ investment — giving real estate investors a choice between a 1031 exchange and an OZ. If you sell investment or business real estate and realize a capital gain, you can invest that gain into a QOF (instead of doing a 1031 exchange) to earn the OZ benefits. So real estate investors can use OZs as an alternative to 1031s.

The trade-offs (covered in our OZ vs. 1031 comparison) differ: a 1031 defers indefinitely (with the step-up at death) and requires reinvesting the full proceeds in like-kind real estate, while an OZ defers temporarily (recognized at a set date) but offers tax-free growth and requires reinvesting only the gain. So for a real estate gain, the choice between a 1031 and an OZ depends on the investor's goals.

Note that for a real estate sale, the capital-gain portion qualifies for OZ investment (ordinary-income portions like depreciation recapture generally don't). So real estate gains are OZ-eligible, offering an alternative to the 1031. Real estate gains in an OZ — real estate capital gains investable in a QOF as an alternative to a 1031 exchange (with different trade-offs: temporary deferral and tax-free growth vs. the 1031's indefinite deferral and step-up) — give real estate investors a choice. The capital-gain portion qualifies. Understanding this shows OZ as a 1031 alternative for real estate. Real estate gains qualify for OZ investment, offering real estate investors an alternative to the 1031 exchange with different trade-offs.

Short-term vs. long-term gains

Both short-term and long-term capital gains qualify for OZ investment, but the gain's character carries through. A long-term capital gain (from an asset held more than a year) invested in a QOF retains its long-term character when the deferred gain is later recognized (taxed at the long-term rate). A short-term capital gain (from an asset held a year or less) similarly retains its short-term character (taxed at the higher ordinary rate when recognized).

So both types qualify, but the recognized deferred gain is taxed according to its original character (long-term or short-term). This means the OZ deferral doesn't convert a short-term gain into a long-term one — the character is preserved. So an investor can defer either type, with the eventual tax reflecting the original character.

The 10-year exclusion (on the OZ investment's appreciation) applies regardless of the original gain's character (it's about the new investment's growth). So both short-term and long-term gains can earn the OZ benefits, with the deferred gain's eventual tax reflecting its character. Short-term vs. long-term gains — both qualifying for OZ investment, with the deferred gain retaining its original character (long-term or short-term) when recognized, while the 10-year exclusion applies regardless — clarifies how gain character works in OZ investing. Character is preserved. Understanding this shows both gain types qualify. Both short-term and long-term gains qualify for OZ investment, with the deferred gain retaining its character when recognized; the 10-year exclusion applies regardless.

Key Takeaways
  • OZs accept capital gains from virtually any source — stocks, businesses, crypto, real estate, and more — far broader than the 1031's real-estate-only scope.
  • Stock and business-sale gains (which 1031s can't defer) are powerful OZ use cases — often the only deferral tool for them.
  • Real estate gains also qualify, giving real estate investors a choice between a 1031 and an OZ (with different trade-offs).
  • Both short-term and long-term gains qualify (character preserved); ordinary income (e.g., depreciation recapture, inventory) and already-invested or non-capital gains generally don't qualify.

Gains that don't qualify

Some gains and income don't qualify for OZ investment. Ordinary income — income taxed at ordinary rates (not capital gains), like wages, interest, or business operating income, doesn't qualify (OZs are for capital gains). And the ordinary-income portions of a sale (like depreciation recapture taxed as ordinary income, or inventory gains) generally don't qualify (only the capital-gain portion does).

Gains from a sale to a related party generally don't qualify (the rules exclude related-party transactions to prevent abuse). And gains already past their 180-day window (not timely invested) can't qualify. Also, the gain must be a gain that would be recognized for tax (not already excluded or deferred under another provision in a conflicting way).

So while OZ eligibility is broad (any capital gain), it's not unlimited — ordinary income, ordinary-income portions, related-party gains, and untimely gains don't qualify. So confirm your gain is an eligible capital gain (with your CPA). Gains that don't qualify — ordinary income, ordinary-income portions of sales (depreciation recapture, inventory), related-party gains, and untimely gains (past the 180-day window) — fall outside OZ eligibility. The eligibility is broad but not unlimited. Understanding the exclusions clarifies what qualifies. Ordinary income, ordinary-income sale portions, related-party gains, and untimely gains don't qualify for OZ investment — confirm your gain is an eligible capital gain.

How Baker 1031 helps you assess eligible gains

Baker 1031 Investments helps investors understand which gains qualify for Opportunity Zone investment — clarifying that OZs accept any capital gain (stock, business sale, crypto, real estate), the rules by gain type, short-term vs. long-term, and the gains that don't qualify — so you can determine whether your gain is OZ-eligible and access suitable QOFs.

QOF interests and related securities are offered through the broker-dealer, Aurora Securities, Inc. (member FINRA/SIPC), and any recommendation follows a suitability review. We don't provide tax advice (your CPA confirms whether your specific gain qualifies — including the capital-gain vs. ordinary-income distinction, related-party rules, and timing, which are technical and time-sensitive); we help you understand the OZ opportunity and access suitable funds. Our role is to help you understand the breadth of OZ-eligible gains — recognizing when an OZ can defer a gain a 1031 can't (like stock or business-sale gains) — and to access suitable QOFs for your eligible gains, coordinating with your CPA on the eligibility specifics. The breadth of eligible gains is a defining OZ advantage, and we help you understand and use it, with the professional coordination eligibility determinations require.

Frequently Asked Questions

What gains qualify for Opportunity Zone investment?

Capital gains from virtually any source — stocks, bonds, mutual funds, a business sale, cryptocurrency, collectibles, real estate, or other capital assets. The defining rule is that the gain must be a capital gain (from a capital asset's sale or exchange), regardless of the asset type. Both short-term and long-term capital gains qualify (the character carries through), and certain Section 1231 gains (from business property) and capital-gain dividends can also qualify. This breadth contrasts sharply with the 1031 exchange (real estate gains only). So OZs accept capital gains from most asset types — a uniquely broad eligibility that opens tax deferral to investors with gains from stocks, businesses, crypto, and more, not just real estate. Confirm your specific gain qualifies with your CPA.

Can I invest a stock gain in an Opportunity Zone?

Yes — if you sell appreciated stock (or other securities) and realize a capital gain, you can invest that gain into a QOF (within 180 days) to defer it and earn the OZ benefits. This is one of the most valuable OZ use cases, because a 1031 exchange can't defer stock gains (it's real-estate-only) — so an OZ is often the primary tax-deferral tool for a stock gain. So an investor with a large stock gain (e.g., from a concentrated position or a long-held holding) can use an OZ to defer and potentially grow it tax-free. So stock gains qualify, and OZs are a key tool for them, serving gains the 1031 can't. This makes OZs especially valuable for investors with appreciated securities to diversify tax-efficiently.

Can I invest a business-sale gain in an OZ?

Generally yes, for the capital-gain portion — if you sell a business (or business assets) and realize a capital gain, that gain can generally be invested in a QOF. Note that ordinary-income portions of the sale (like depreciation recapture, or inventory gains) generally don't qualify — only the capital-gain portion does. So a business owner selling their company can use an OZ for the capital-gain portion of the sale (deferring and potentially growing it tax-free). Like stock gains, business-sale gains can't be deferred via a 1031 (real-estate-only), so OZs are often the primary tool. So business-sale capital gains qualify — a powerful use case — but confirm the capital-gain vs. ordinary-income split with your CPA, as only the capital-gain portion is eligible.

Do real estate gains qualify for an OZ?

Yes — if you sell investment or business real estate and realize a capital gain, you can invest that gain into a QOF (instead of doing a 1031 exchange) to earn the OZ benefits. So real estate investors can use OZs as an alternative to 1031s. The trade-offs differ: a 1031 defers indefinitely (with the step-up at death) and requires reinvesting the full proceeds in like-kind real estate, while an OZ defers temporarily but offers tax-free growth and requires reinvesting only the gain. The capital-gain portion qualifies (ordinary-income portions like depreciation recapture generally don't). So real estate gains are OZ-eligible, giving real estate investors a choice between a 1031 and an OZ, depending on their goals. Both are options for a real estate gain, with different benefits.

Do both short-term and long-term gains qualify?

Yes — both short-term and long-term capital gains qualify for OZ investment. But the gain's character carries through: a long-term gain retains its long-term character when the deferred gain is later recognized (taxed at the long-term rate), and a short-term gain retains its short-term character (taxed at the higher ordinary rate when recognized). So the OZ deferral doesn't convert a short-term gain into a long-term one — the character is preserved. The 10-year exclusion (on the OZ investment's appreciation) applies regardless of the original gain's character. So both types qualify, with the deferred gain's eventual tax reflecting its original character, while the new investment's tax-free growth applies regardless. So you can defer either type, with the eventual tax reflecting the original gain's character.

What gains don't qualify for an OZ?

Several: ordinary income (wages, interest, business operating income — OZs are for capital gains, not ordinary income), the ordinary-income portions of a sale (like depreciation recapture taxed as ordinary income, or inventory gains — only the capital-gain portion qualifies), gains from a sale to a related party (excluded to prevent abuse), and gains past their 180-day window (not timely invested). So while OZ eligibility is broad (any capital gain), it's not unlimited — ordinary income, ordinary-income sale portions, related-party gains, and untimely gains don't qualify. So confirm your gain is an eligible capital gain (and timely invested, and not from a related party) with your CPA. The breadth is a key OZ advantage, but the exclusions matter for determining your specific gain's eligibility.

Does depreciation recapture qualify for an OZ?

Generally no — depreciation recapture that's taxed as ordinary income (unrecaptured Section 1250 gain is taxed at a special capital-gains rate and is more nuanced, but recapture taxed as ordinary income) doesn't qualify for OZ investment, because OZs are for capital gains, not ordinary income. So when you sell depreciated real estate or business property, the ordinary-income recapture portion generally can't be invested in a QOF — only the capital-gain portion qualifies. This is an important nuance for real estate and business-asset sales, where part of the gain may be recapture. So confirm the capital-gain vs. recapture split with your CPA to know how much of your gain is OZ-eligible. The capital-gain portion can be invested; the ordinary-income recapture generally cannot. This distinction affects your eligible amount.

Is the breadth of eligible gains the main advantage of OZs over 1031s?

It's one of the main advantages — OZs accept any capital gain (stock, business, crypto, real estate), while 1031s defer only real estate gains. So for investors with non-real-estate gains (stock, business-sale, crypto), OZs are often the only tax-deferral tool of the two — a decisive advantage. For real estate gains, both are options (with different trade-offs). So the breadth of eligible gains is a key OZ advantage, especially for gains a 1031 can't touch. Other OZ advantages include the tax-free 10-year growth and reinvesting only the gain (not the full proceeds). So the broad eligibility is a defining OZ strength, particularly valuable for the many investors whose gains aren't from real estate and thus can't use a 1031.

How does Baker 1031 help me assess eligible gains?

We help you understand which gains qualify for OZ investment — clarifying that OZs accept any capital gain (stock, business sale, crypto, real estate), the rules by gain type, short-term vs. long-term, and the gains that don't qualify — so you can determine whether your gain is OZ-eligible and access suitable QOFs. QOF interests are offered through the broker-dealer (Aurora Securities, member FINRA/SIPC) after a suitability review. We don't provide tax advice (your CPA confirms whether your specific gain qualifies — the capital-gain vs. ordinary-income distinction, related-party rules, and timing); we help you understand the OZ opportunity and access suitable funds. We help you recognize when an OZ can defer a gain a 1031 can't (like stock or business-sale gains) and access suitable QOFs, coordinating with your CPA on the eligibility specifics.

Can I invest a cryptocurrency gain in an Opportunity Zone?

Generally yes — a capital gain from selling cryptocurrency (held as a capital asset) is a capital gain, which qualifies for OZ investment. So if you sell appreciated crypto and realize a capital gain, you can invest that gain into a QOF (within 180 days) to defer it and earn the OZ benefits — and a 1031 exchange can't defer crypto gains (it's real-estate-only), so an OZ is often the primary tool. This makes OZs valuable for crypto investors with large gains seeking tax deferral and potential tax-free growth. So crypto capital gains qualify, like other capital gains. Confirm the specifics with your CPA (including whether the crypto was held as a capital asset and the holding period for character). The breadth of OZ-eligible gains includes crypto, a meaningful option for digital-asset investors with appreciated positions.

If only part of my gain is a capital gain, can I still use an OZ?

Yes — you can invest the capital-gain portion of a sale into a QOF, even if other portions (like ordinary-income depreciation recapture or inventory) don't qualify. So for a mixed sale (with both capital-gain and ordinary-income components), the capital-gain portion is OZ-eligible, while the ordinary-income portions are not. So you determine the capital-gain portion (with your CPA) and can invest that into a QOF. So a mixed sale doesn't disqualify you — you simply invest the eligible capital-gain portion. This is common for real estate and business-asset sales, where part of the gain may be recapture (ordinary income). So work with your CPA to identify the capital-gain portion, which you can invest in an OZ, separate from the ordinary-income portions that can't. The eligible amount is the capital gain.

Do gains from selling a primary residence qualify?

The taxable capital gain from selling a primary residence (the portion above the home-sale exclusion, if any) is a capital gain that could qualify for OZ investment. However, much of a primary-residence gain may already be excluded under the home-sale exclusion (up to $250,000 single / $500,000 married, if you qualify) — and only a taxable capital gain (not the excluded portion) would be eligible for an OZ. So if your residence sale produces a taxable capital gain beyond the exclusion, that taxable gain could be OZ-eligible. So primary-residence gains can qualify to the extent they're taxable capital gains (above the exclusion). Confirm with your CPA, as the home-sale exclusion and the capital-gain character determine how much, if any, is OZ-eligible. For many homeowners, the exclusion covers the gain, leaving little to invest in an OZ.

Does it matter if my gain is from a passive or active investment?

For OZ eligibility, what matters is that the gain is a capital gain (from a capital asset), not whether the underlying investment was passive or active. So a capital gain qualifies whether it came from a passively-held investment (like stock) or a more actively-managed one (like a business or property), as long as it's a capital gain (not ordinary income). The passive/active distinction matters more for other tax purposes (like passive activity loss rules), not for OZ gain eligibility. So don't worry about passive vs. active for OZ eligibility — focus on whether the gain is a capital gain. So both passive-investment gains (e.g., stock) and active-investment gains (e.g., a business sale's capital-gain portion) can qualify, provided they're capital gains. Confirm the capital-gain character with your CPA, which is the key eligibility factor.

Glossary

Eligible Gain
A capital gain that can be invested in a QOF for OZ benefits.
Capital Gain
The gain from selling a capital asset (broadly OZ-eligible).
Stock Gain
A gain from selling securities, OZ-eligible (no 1031 option).
Business-Sale Gain
The capital-gain portion of a business sale, OZ-eligible.
Real Estate Gain
A real estate capital gain, OZ-eligible (or 1031-eligible).
Cryptocurrency Gain
A crypto capital gain, OZ-eligible.
Short-Term Gain
A gain on an asset held a year or less, OZ-eligible.
Long-Term Gain
A gain on an asset held over a year, OZ-eligible.
Gain Character
Short- or long-term status, preserved in deferral.
Section 1231 Gain
A gain from business property, often OZ-eligible.
Ordinary Income
Income taxed at ordinary rates, not OZ-eligible.
Depreciation Recapture
Ordinary-income recapture, generally not OZ-eligible.
Related-Party Gain
A gain from a related-party sale, not OZ-eligible.
Capital-Gain Portion
The OZ-eligible part of a sale (vs. ordinary income).
180-Day Window
The period to invest the gain (untimely gains don't qualify).
QOF
The Qualified Opportunity Fund the gain is invested in.

Sources & References

Disclosures

This article is published by Baker 1031 Investments, LLC for general educational purposes for accredited investors and is not an offer to sell or a solicitation of an offer to buy any security, nor is it tax, legal, accounting, or investment advice or a recommendation. Any securities offering is made solely through a sponsor’s private placement memorandum (PPM) following a suitability determination. Securities offered through Aurora Securities, Inc. (ASI), member FINRA / SIPC; Baker 1031 Investments is independent of ASI.

Oil & gas mineral and royalty interests and DST programs are speculative, illiquid securities sold only to verified accredited investors and involve substantial risk, including possible loss of principal, commodity-price and production-decline risk, lack of control, and the risk that an intended 1031 exchange fails to qualify for tax deferral. Whether a particular interest qualifies as like-kind real property is a fact-specific legal determination that varies by state and by the terms of the instrument. Tax results depend on your individual circumstances. Consult your own CPA and attorney before acting. Past performance does not guarantee future results.

1031 & DST insights for accredited investors, in your inbox.