Key takeaways
- Ordinary income, including wages, interest, inventory sales and depreciation recapture, never qualifies; only capital gain and qualified section 1231 gain do.
- Gain from a sale to a related person does not qualify, and related means more than 20% common ownership, counting family members and entities.
- A gain already deferred under another rule, such as a 1031 exchange, or excluded from tax, such as most of a home sale gain, cannot be deferred.
- The money must go in as equity within 180 days, counting the day the gain is taxed as day 1; a loan to the fund does not qualify.
- Cash invested above the eligible gain is a separate, non-qualifying investment, and the qualifying part is capped at the gain.
Which transactions disqualify a capital gain from Opportunity Zone deferral?
Eight situations stop a gain or an investment from qualifying. Some are about the gain itself, and some are about how and when the money goes into the fund. Under section 1400Z-2 of the tax code, you defer a gain by investing it in a Qualified Opportunity Fund, a partnership or corporation set up to invest in Opportunity Zones, within 180 days.1 The regulations then define which gains are eligible and which investments count.2
Fig. 1The eight things that disqualify a gain or an investment
- FailOrdinary incomeWages, interest, inventory, depreciation recapture
- FailSale to a related personMore than 20% common ownership
- FailGain already deferred or excluded1031 gain, excluded home sale gain, a gain already elected
- FailGain someone else must reportOnly the taxpayer reporting the gain can elect
- FailInvested after 180 daysDay 1 is the day the gain is taxed
- FailInvested as debtMust be an equity interest
- WatchStraddle and offsetting positionsExcluded unless an exception applies
- WatchCash above the gainThe excess is a separate, non-qualifying investment
The first four rows are about the gain. If a gain fails one of them, no fund investment can defer it, and it is taxed in the year of the sale. The last four rows are about the investment. A good gain can still lose the benefits if the money goes in late, goes in as a loan or goes in above the amount of the gain. Most problems come from two places: ordinary income hidden inside a sale, and sales to a company the seller partly owns.
This guide covers what fails. The list of what qualifies, by asset type, is in which capital gains qualify for Opportunity Zone deferral.
Why doesn't ordinary income qualify?
Ordinary income does not qualify because the regulations limit eligible gain to amounts treated as capital gain, or qualified section 1231 gain, for federal income tax purposes.2 The IRS says it directly: ordinary gain is not eligible for deferral.3 Ordinary income is income taxed at regular rates, such as wages, bonuses, interest, rent and business profit.
The test is applied after any rule that turns part of a gain into ordinary income.2 Common examples of gain that is ordinary and therefore not eligible:
- Section 1245 recapture: the part of a gain on equipment, vehicles, furniture and other personal property that reverses past depreciation.7
- Section 1250 recapture of depreciation above the straight-line amount, for example where bonus depreciation was claimed on a building improvement.6
- Inventory, receivables and property held primarily for sale to customers, such as homes a builder sells or lots a developer subdivides.
- Crypto or stock received as pay for work, which is taxed as wages when received.
Short-term capital gain is not ordinary income for this test. It qualifies, and when it is later included it is still taxed as short-term capital gain.2 The regulations count section 1231 gain on business property only to the extent it exceeds any amount treated as ordinary income under section 1245 or section 1250.2 More detail is in section 1231 gains and Opportunity Zones.
Can a gain that is already deferred or excluded be deferred again?
No. An eligible gain must be a gain that would be recognized and taxed in the year if you did not elect deferral.2 A gain that the tax law already shelters is not taxed, so there is nothing to defer.
- Gain deferred in a 1031 exchange is not recognized, so it cannot go into a fund.8 Boot taxed in the exchange can. See can you 1031 into an Opportunity Zone.
- Excluded home sale gain: most owners who owned and lived in a home for two of the last five years exclude up to $250,000 of gain, or $500,000 on a joint return.9 Only gain above the exclusion can be invested.
- A gain already elected: the statute bars a new election on a sale if an election made earlier on that sale is still in effect.1 Only the part of a gain you have not yet elected on stays available.2
Gain that someone else must report also fails for you. The election is made on the return of the taxpayer that reports the gain, which can be an individual, a corporation, a partnership, an S corporation, a trust or an estate.2 If a partnership realizes the gain and does not defer it, each partner can elect on its own share of the gain, with its own 180-day start dates.2 See partnership and K-1 gains.
Gain that comes back into income from an earlier fund investment, through a sale or other inclusion event, can be eligible again if every requirement is met. Its 180 days begin on the date of the inclusion event.2 Notice 2026-55 asked whether that rule should be limited, so watch for changes.11
What if the money goes in late, as a loan, or above the gain?
Each of these fails the investment rather than the gain. You must invest within the 180-day period that begins on the day the gain would be recognized, so that day counts as day 1.2 The Form 8949 instructions repeat the rule: the investment must be made within the 180-day period beginning on the date the deferred gain was realized.10 Some gains start later, as explained in the 180-day investment rule.
The investment must be equity. The regulations define an eligible interest as an equity interest in the fund, including preferred stock or a partnership interest with special allocations, and exclude any debt instrument.2 A loan to the fund earns no deferral. You may pledge your fund interest as collateral for a loan without losing its status.2 Whether a loan made first can later be turned into equity was unclear when the regulations came out.12 See why Opportunity Zone investments must be equity.
Cash above the gain is allowed but gets no benefits. The qualifying investment cannot exceed the eligible gain you elect to defer, and any excess is treated as a non-qualifying investment.2 Section 1400Z-2(e)(1) treats a mixed investment as two separate investments.1 The non-qualifying part has normal basis, its growth is taxed on sale, and it gets neither the basis increase nor the 10-year exclusion.
How do straddles and section 1256 contracts affect eligibility?
Gain from a position that is part of a straddle during the year is generally not eligible. A straddle is a pair of offsetting positions in personal property, such as owning a stock and holding an option that limits your loss on it.5 Positions are offsetting when holding one substantially reduces your risk of loss on the other.5
The regulations exclude three kinds of gain:2
- 1.Gain from a section 1256 contract, a group that includes regulated futures contracts, nonequity options such as broad-based index options, and some foreign currency contracts.
- 2.Gain from a position that was part of a straddle at any time during the year.
- 3.Gain from a straddle position held in an earlier year, where a loss is treated as sustained during the current year.
Two exceptions bring some of that gain back. The year's net gain from section 1256 contracts that were never part of a straddle is eligible, and its 180 days begin on the last day of the tax year.2 Net gain from certain identified straddles is also eligible if all of their gains and losses are recognized by year-end and other conditions are met.2
Hedged positions are the most technical area on this list. Investors with options, collars or futures around a position they plan to sell should have the treatment confirmed before relying on it.
Worked example: which parts of a $1.2 million investment qualify
In this illustrative example, an investor wires $1,200,000 to a fund on one day and elects deferral. The cash is meant to cover five different items, and only one of them is eligible gain invested on time.
| Source of the money | Amount | Qualifies? | How it is worked out |
|---|---|---|---|
| Long-term gain on public stock sold 60 days earlier | $500,000 | Yes | Capital gain, unrelated buyer, inside 180 days |
| Gain on land sold to an LLC in which the investor owns 25% | $200,000 | No | 25% is more than 20%, so the buyer is related |
| Section 1245 recapture on equipment sold with a business | $150,000 | No | Ordinary income |
| Long-term gain on stock sold 200 days earlier | $100,000 | No | Invested on day 201, counting the sale day as day 1, so past the 180-day window |
| Savings, not gain | $250,000 | No | Not an eligible gain |
| Qualifying investment | $500,000 | Yes | Only the eligible gain invested on time |
| Non-qualifying investment | $700,000 | No benefits | $200,000 + $150,000 + $100,000 + $250,000 |
Fig. 2From $1.2 million wired to a $500,000 qualifying investment
Illustrative- Cash wired to the fund$1,200,000
- Gain from sale to a related LLC−$200,000
- Ordinary income from recapture−$150,000
- Gain invested after day 180−$100,000
- Cash that is not gain−$250,000
- Qualifying investment: $500,000$500,000
The investor holds one interest with two parts. The $500,000 part gets deferral, the basis increase after five years and the 10-year exclusion.1 The $700,000 part is taxed like any other investment. The investor still owes tax this year on the $450,000 of disqualified gain and recapture. Try different amounts in the Opportunity Zone tax calculator.
Common questions
Which of the following transactions would disqualify a capital gain from Opportunity Zone deferral treatment?
A sale to a related person (more than 20% common ownership) disqualifies the gain, and so does gain that is really ordinary income, such as depreciation recapture. Gain already deferred in a 1031 exchange, most straddle gains, investing after 180 days and investing as a loan also fail. A sale of stock to an unrelated buyer, invested within 180 days, does not disqualify the gain.
Does selling to a family member disqualify an Opportunity Zone gain?
Yes, if the buyer is your spouse, sibling, parent, grandparent, child or grandchild. Those are related persons under section 267(b). A sale to a cousin, aunt or in-law is not a related-person sale on family grounds alone, though entity ownership can still make the buyer related.
Can I defer a gain that was already deferred in a 1031 exchange?
No. A gain sheltered by a 1031 exchange is not taxed, so it is not eligible gain. Boot that the exchange makes taxable can go into a fund within 180 days.
Can I lend money to an Opportunity Zone fund and still defer my gain?
No. Only an equity interest, such as a partnership interest or stock, can be a qualifying investment. A loan to the fund gets no deferral, although you can borrow against your fund interest.
What happens if I invest more than my gain?
The extra amount is a separate investment with no Opportunity Zone benefits. Only the amount of eligible gain you elect to defer counts as the qualifying investment.
Is a gain invested on day 181 disqualified?
Yes, unless a later start date applies to that gain. The 180 days start on the day the gain is taxed, which counts as day 1. Partnership gains, installment sales and section 1256 gains have other possible start dates.
Sources
Every numbered note in this guide links to the source below.
- 1.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
- 2.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
- 3.Internal Revenue Service, “Opportunity zones frequently asked questions,” 2026. irs.gov
- 4.Legal Information Institute, Cornell Law School, “26 U.S. Code § 267: Losses, expenses, and interest with respect to transactions between related taxpayers,” n.d. law.cornell.edu
- 5.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1092: Straddles,” n.d. law.cornell.edu
- 6.Internal Revenue Service, “Publication 544, Sales and Other Dispositions of Assets,” 2025. irs.gov
- 7.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1245: Gain from dispositions of certain depreciable property,” n.d. law.cornell.edu
- 8.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
- 9.Internal Revenue Service, “Topic no. 701, Sale of your home,” 2026. irs.gov
- 10.Internal Revenue Service, “Instructions for Form 8949 (2025),” 2026. irs.gov
- 11.Internal Revenue Service, “Notice 2026-55, Request for Additional Comments on Issues under § 1400Z-2,” 2026. irs.gov
- 12.Venable LLP, “Opportunity Zone Funds: What We Know at March 2020,” 2020. venable.com
- 13.Legal Information Institute, Cornell Law School, “26 U.S. Code § 707: Transactions between partner and partnership,” n.d. law.cornell.edu
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
← Previous: Can You 1031 Into an Opportunity Zone Fund?·All 114 guides