Guide

How to Invest in a Qualified Opportunity Fund: A Step-by-Step Guide for 2026

A practical, step-by-step walkthrough of investing in a Qualified Opportunity Fund — from triggering the capital gain to filing Form 8997. Covers OZ 1.0 and OZ 2.0 rules and the January 1, 2027 transition.

Updated May 19, 2026 Reviewed by Independent CPA, CPA

Most explanations of Opportunity Zones focus on the tax benefits. This guide focuses on what you actually have to do — in order, with deadlines — to claim them. From the moment a capital gain hits your account to the year you eventually exit, there are roughly nine steps. Miss any of them and the benefit disappears.

This walkthrough applies to investors making qualifying investments under both OZ 1.0 (pre-2027) and OZ 2.0 (on or after January 1, 2027). Where the rules diverge, we say so.

Step 1. Realize an eligible capital gain

You can only invest the gain portion of a sale into a QOF — not the principal. Eligible gains include:

  • Long-term and short-term capital gains from the sale of stocks, bonds, real estate, business interests, collectibles, or crypto.
  • Section 1231 net gains (gains from the sale of real or depreciable business property held more than one year).
  • Capital gain dividends from a REIT or RIC.
  • Gains passed through from a partnership or S-corporation K-1.

The gain must be one that would otherwise be taxed at capital gains rates. Ordinary income, depreciation recapture taxed as ordinary income, and gains from related-party sales generally don’t qualify.

Section 1231 gains have a quirk worth flagging. Because Section 1231 nets gains against losses at the end of the tax year, the IRS treats the 180-day clock as starting on the last day of the tax year — generally December 31 — rather than the actual sale date. This effectively gives 1231 investors a longer window, but it also means they can’t invest the gain until the netting is complete.

Step 2. Identify and choose a Qualified Opportunity Fund

A QOF is a corporation or partnership organized for the purpose of investing in Qualified Opportunity Zone Property. It must be domestic (organized under the laws of one of the 50 states, DC, a federally recognized Indian tribe, or a U.S. territory) and must self-certify with the IRS by filing Form 8996 with its tax return.

You have three practical paths:

  1. Invest in a third-party QOF. Most retail investors choose this route. The fund sponsor handles compliance, deal sourcing, and reporting. Minimum investments commonly range from $25,000 to $250,000, though some institutional-grade funds start at $1 million.
  2. Form your own single-asset QOF. Common for direct real estate developers. You file Form 8996 to self-certify your LLC or partnership, then deploy capital into Qualified Opportunity Zone Business Property.
  3. Invest through a two-tier QOF / QOZB structure. Most operating-business deals are structured this way because QOZBs get a more lenient 70% tangible-property threshold (versus 90% at the QOF level), plus access to the 31-month working capital safe harbor. See QOF vs QOZB for the structural differences.

Due diligence at this stage matters more than at any other point. QOF investments are illiquid, long-duration, and carry no SEC-registered prospectus in most cases. Read the PPM. Verify the sponsor has filed Form 8996. Check whether the fund’s target tracts will remain designated after January 1, 2027 (some 2018-vintage tracts will lose designation under OZ 2.0).

Step 3. Invest within 180 days

This is the deadline that catches more investors than any other. From the date of the qualifying gain, you have 180 calendar days — not six months — to invest cash equal to the gain into a QOF in exchange for an equity interest (stock or partnership interest, not a loan).

Day 1 is the day of the sale or exchange. Day 180 is the last day. If Day 180 falls on a weekend or holiday, the deadline does not extend.

Three exceptions to the standard rule:

  • Partnership or S-corp K-1 gains. The 180-day clock can start on the last day of the entity’s tax year, on the date the entity made the original sale, or on the due date of the entity’s return (without extensions). Investors pick the option that works best for them.
  • REIT or RIC capital gain dividends. The clock starts on the last day of the REIT’s or RIC’s tax year (typically December 31 for calendar-year funds).
  • Section 1231 net gains. As noted in Step 1, the clock effectively starts on December 31 of the year the gain is realized.

You don’t have to invest the full gain. You can invest any portion of it; only the invested portion gets OZ tax treatment, and the un-invested portion is taxed normally that year.

Step 4. Receive an equity interest in the QOF

In exchange for your cash contribution, the QOF must issue you an equity interest — partnership units in an LLC taxed as a partnership, or stock in a C-corp QOF. The interest must be issued in exchange for cash specifically, not for property (with rare exceptions).

Contributions of property other than cash are technically allowed but materially restricted. Only the portion of the contribution equal to your basis in the contributed property typically qualifies, and only some property is eligible. Most advisors counsel cash contributions only.

Step 5. Make the deferral election on your tax return

This is where investors get tripped up. Investing in a QOF on time isn’t enough — you have to actually elect the deferral on your federal income tax return for the year the gain was realized.

The election is made on Form 8949, “Sales and Other Dispositions of Capital Assets,” with code Z entered in column (f) and the negative amount of the deferred gain entered in column (g). You report the original sale as normal, then immediately back the gain out with the Z code. The IRS treats this combination as your election.

Investors who file before making the QOF investment can amend their return to add the election, provided the amendment is timely.

Step 6. File Form 8997 for the year of the investment and every year after

Form 8997 is the “Initial and Annual Statement of Qualified Opportunity Fund Investments.” Every taxpayer holding a QOF interest must file it, every year, until the interest is disposed of.

Form 8997 has four parts:

  • Part I — QOF investments held at the start of the year.
  • Part II — Current-year QOF investments and deferred gains.
  • Part III — QOF investments disposed of during the year.
  • Part IV — QOF investments held at the end of the year.

Failure to file Form 8997 doesn’t automatically end the deferral, but it does expose the investor to penalties and creates an audit risk. File it with your 1040 (or 1041 for trusts) every year you hold the QOF interest.

Note: Form 8997 is filed by investors. The QOF itself files Form 8996 to certify its status and report its 90% asset test compliance.

Step 7. Hold for the basis step-up (if applicable)

Under OZ 1.0, the 10% basis step-up at five years and additional 5% step-up at seven years were tied to a fixed deferral end date of December 31, 2026. Because of the math, both windows have already closed — the 10% step-up required investment by end of 2021, and the 15% required investment by end of 2019.

Under OZ 2.0, the basis step-up resets to a rolling five-year window:

  • Standard QOF investment held for five years: 10% basis step-up on the deferred gain.
  • Qualified rural QOF investment held for five years: 30% basis step-up — three times the standard benefit. (See the rural bonus guide for what counts as rural.)

This step-up permanently excludes that portion of the deferred gain from tax — it’s not just a deferral.

Step 8. Pay tax on the deferred gain at the end of the deferral period

The original deferred gain doesn’t disappear. It has to be recognized at some point.

  • OZ 1.0 investments: The deferred gain is recognized on the earlier of (a) the date you dispose of the QOF interest, or (b) December 31, 2026. For most existing OZ 1.0 investors, December 31, 2026 is the recognition date and the tax is due with the 2026 return filed in 2027.
  • OZ 2.0 investments: The deferred gain is recognized on the earlier of (a) the date you dispose of the QOF interest, or (b) the fifth anniversary of the investment date. This is the rolling deferral.

The amount recognized is the lesser of (1) the original deferred gain reduced by any basis step-up, or (2) the fair market value of the QOF interest at the recognition date minus your basis. If the QOF has lost value, your tax bill shrinks — but the cash to pay the tax still has to come from somewhere, usually outside the QOF itself, since most QOFs aren’t designed to distribute meaningful cash during the deferral period.

Step 9. Hold 10+ years for the tax-free appreciation election

This is the marquee benefit. If you hold the QOF interest for at least 10 years, you can elect to step up your basis in the QOF investment to its fair market value on the date of disposition. The result: 100% of the appreciation on the QOF investment itself is excluded from federal capital gains tax.

The 10-year benefit applies even though you already paid tax on the original deferred gain at the five-year (or 2026) recognition date. The two events are decoupled.

Under OZ 1.0, the 10-year exclusion had a hard sunset on December 31, 2047. Under OZ 2.0, the exclusion runs for a rolling 30 years from the investment date, and the basis automatically steps up to fair market value at year 30 — no sale required. After 30 years, future appreciation is taxable as ordinary gain, but the 30-year accrued appreciation is locked in.

To elect the 10-year step-up, the investor reports the disposition on Form 8949 with code “Y” — the inverse of the deferral election in Step 5.

What didn’t change

A few things people get wrong:

  • You don’t need to live in or near a QOZ. The OZ benefits attach to where the fund invests, not where the investor lives.
  • You can invest gains from any kind of capital asset, not just real estate or stocks.
  • The 180-day window has not been extended for OZ 2.0. It’s still 180 days.
  • The 10-year exclusion benefit is unchanged in concept — what changed is the end-date (rolling 30 years instead of fixed 2047) and the automatic step-up at year 30.

What this means for investors

If you have a 2025 or 2026 capital gain, you have a decision to make. Investing into an OZ 1.0 QOF before December 31, 2026 puts you under the old rules, with the deferred gain recognized on that same December 31, 2026 date. That’s not much deferral. The 10-year benefit is still available.

Investing into a QOF on or after January 1, 2027 puts you under OZ 2.0, with five years of deferral, a 10% (or 30% rural) basis step-up, and a rolling 30-year window for the 10-year exclusion. For most investors realizing gains in late 2026, structuring the gain to fit the 180-day window into 2027 is meaningfully better than rushing into a 2026 QOF investment.

If you have a Section 1231 gain in 2026, the netting rule means your 180-day window doesn’t start until December 31, 2026 — which lets your investment fall under OZ 2.0 automatically. This is a small but real planning win for real estate operators.

Sources

IRS, Opportunity Zones Frequently Asked Questions; IRS, Instructions for Form 8996; IRS, About Form 8997; 26 U.S.C. § 1400Z-2; One Big Beautiful Bill Act, Public Law 119-21 (July 4, 2025); Novogradac, About Opportunity Zones; CohnReznick, “Opportunity Zones: Preparing for the Mandatory Gain Inclusion” (March 17, 2026).

Frequently asked questions

Do I need to be accredited to invest in a QOF? Most third-party QOFs are sold under Regulation D and require accredited investor status. Single-asset QOFs you form yourself have no such requirement, but practical due diligence and capital requirements typically limit them to sophisticated investors.

Can I invest into multiple QOFs from the same capital gain? Yes. The 180-day window applies to the gain, not to a single investment. You can split the gain across multiple QOFs as long as each tranche is invested within the window.

What happens if I miss the 180-day window? The gain becomes ineligible for deferral. The capital gain is taxed normally in the year realized. There is no extension and no late election.

Can a non-U.S. person invest in a QOF? Nonresident aliens and foreign corporations can elect to defer eligible gains by investing in a QOF, but only if the gain is “effectively connected” with a U.S. trade or business or otherwise subject to U.S. tax. Pure foreign-source gains don’t qualify.

Do I need to invest the principal too, or just the gain? Just the gain. If you sell stock for $1 million with a $400,000 basis, your gain is $600,000 — that’s the amount eligible for QOF investment. The $400,000 principal stays with you, taxed (or not) under normal rules.


Nothing in this guide is tax, legal, or investment advice. Opportunity Zone investments are illiquid, long-duration, and carry significant risk. Consult a qualified CPA and investment advisor before making any decision.

Get the OZ 2.0 Investor Guide

One email when major OZ 2.0 events happen — Treasury guidance, state filings, rule changes. Unsubscribe anytime.