Guide

How to Invest in Opportunity Zones, Step by Step

How Opportunity Zone investing works: eligible gains, the 180-day window, funds vs your own QOF, Form 8997, tax benefits, and OZ 2.0 from Jan 1, 2027.

Updated November 5, 2026

Sell an asset at a capital gain, invest that gain in cash in a qualified opportunity fund within 180 days, and elect deferral on Form 8949 with your return. Then file Form 8997 every year you hold the fund interest; after 10 years you can elect to exclude the appreciation from federal tax.

Last updated · Sources: IRS Opportunity Zones FAQ, IRS, Form 8997 and instructions (PDF), 26 U.S.C. §1400Z-2

To invest in an Opportunity Zone, you invest an eligible capital gain, in cash, into a qualified opportunity fund (QOF) within 180 days of the gain. The fund, not you, owns the property or business in the zone. You elect the deferral on your tax return and file IRS Form 8997 every year you hold the investment (IRS, Invest in a qualified opportunity fund).

That is the whole structure. This page is the hub for Opportunity Zone investing: the steps, the timing around January 1, 2027, and links out to the map, calculator, tax-benefits guide, form guides and the real-estate playbook.

What Opportunity Zone investing is

Opportunity Zone investing is a tax-deferral path under IRC §1400Z-2. You roll an eligible gain into a QOF. In return you can defer that gain, get a basis step-up if you hold five years (under the post-2026 rules), and, if you hold at least 10 years, elect to step your basis up to fair market value so the appreciation on the fund interest is not taxed federally. Full detail: Opportunity Zone tax benefits.

Most individual investors buy into a third-party fund. Some developers and owners form their own QOF for a specific project. Either way, buying a building in a zone in your own name does not, by itself, give you the Opportunity Zone tax benefits. The money has to flow through a QOF.

For the real-estate angle specifically, see Opportunity Zone real estate investing. For the fund-only nine-step walkthrough, see how to invest in a qualified opportunity fund.

Step 1. Start with an eligible capital gain

The benefits apply only to money that represents an eligible gain, generally a capital gain or a net Section 1231 gain, from a sale to an unrelated person (IRS Opportunity Zones FAQ). You can invest only the gain, not the whole sale proceeds, to get the benefit. Money that isn’t eligible gain can go into the same fund, but that part gets no Opportunity Zone tax treatment.

Sellers of buildings often compare this path with a 1031 exchange. If you are deferring gains from a commercial property sale, that guide walks through how the gain is split and how the two routes differ.

Not sure the numbers work? The Opportunity Zone tax calculator estimates the deferral and exclusion for your gain.

Step 2. Note your 180-day deadline

You generally have 180 days from the day the gain is realized to invest it. Some gains start the clock later, such as gains passed through from a partnership or S corporation, REIT capital gain dividends and Section 1231 gains (IRS FAQ). Use the 180-day rule calculator to find your exact date, and see the 180-day rule for sellers for how the start date is set.

Step 3. Decide: invest in a fund, or set up your own

Every Opportunity Zone investment goes through a QOF. You have two practical routes:

Invest in an existing QOFForm your own QOF
What you ownAn equity interest in a sponsor’s fundAn entity you control that owns the zone property
Who does the complianceThe sponsor (asset tests, Form 8996)You (and your advisers)
Typical investorIndividuals with a gain who want a managed dealDevelopers and owners with a specific project
Main risk to checkSponsor, strategy, fees, liquidityMeeting the 90% asset test and improvement rules yourself

A QOF must hold at least 90% of its assets in qualified opportunity zone property, tested twice a year, and it self-certifies on Form 8996. If a fund owns an operating business, that business has to meet the qualified opportunity zone business (QOZB) tests. Buying used real estate also triggers the substantial improvement rule; model it with the substantial improvement calculator.

Step 4. Find and research funds (or a location)

Most third-party QOFs are private offerings sold to accredited investors under Regulation D. Read the offering documents and check the fund’s Form D filings on SEC EDGAR.

Step 5. Invest the gain in cash for equity

Within the 180 days, wire cash equal to the gain (or the part you want to defer) to the QOF in exchange for an equity interest, such as partnership units or stock. A loan to the fund doesn’t qualify (IRC §1400Z-2).

Step 6. Elect the deferral and file Form 8997

On your federal return for the year of the gain, report the sale and elect to defer the invested gain on Form 8949, and attach Form 8997. Form 8997 is the investor’s annual statement of QOF investments. You file it for the year you invest and every year after until you dispose of the interest (IRS, About Form 8997).

The fund itself files Form 8996; you file Form 8997. For the line-by-line walkthrough, use our Form 8997 guide and the Form 8997 instructions tool. The fund-specific steps, including this form, are also covered in how to invest in a qualified opportunity fund.

Step 7. Hold: five years and ten years

  • Deferral. For investments made after December 31, 2026, the deferred gain is recognized on the earlier of selling the investment or five years after you invested. Holding five years increases basis by 10% of the deferred gain, or 30% for a qualified rural opportunity fund (Notice 2026-40; P.L. 119-21 §70421). For investments made on or before December 31, 2026, the deferred gain is recognized on December 31, 2026.
  • The 10-year rule. Hold at least 10 years and you can elect to step up your basis to fair market value when you sell, so the appreciation on the QOF investment isn’t taxed. Details: the Opportunity Zone 10-year rule. Model it with the basis step-up and 10-year exclusion calculator.

Getting ready for OZ 2.0

OZ 2.0 runs from January 1, 2027 through December 31, 2036. States have nominated tracts from 25,462 eligible tracts nationwide (Treasury’s October 30, 2026 eligibility workbook), and Treasury’s review is still under way. Nominated tracts would take effect January 1, 2027, only if Treasury finalizes them. Current Opportunity Zones run through December 31, 2028 (Notice 2026-40; Rev. Proc. 2026-14).

A gain realized in late 2026 can sometimes be invested in early 2027 within its 180 days and fall under the new rules. See OZ 2.0 and plan dates with the 2027 deadline planner.

NeedLink
Run your numbersOpportunity Zone calculator
Check a tract or addressOpportunity Zone map
OZ 2.0 rules and timingOZ 2.0 guide
Deferral, step-up, 10-year exclusionTax benefits
Investor Form 8997Form 8997 guide
Fund Form 8996Form 8996 tool
Real estate playbookOZ real estate investing
Fund-only stepsHow to invest in a QOF
Compare fundsHow to choose Opportunity Zone funds
Common pitfallsOpportunity Zone mistakes

Sources: IRS, Invest in a qualified opportunity fund; IRS, Opportunity Zones FAQ; IRS, About Form 8996; IRS, About Form 8997; IRC §1400Z-2; P.L. 119-21 §70421; Notice 2026-40; Rev. Proc. 2026-14; Treasury OZ 2.0 eligible tracts data file (Sept 23, 2026).

Not tax advice. Nothing in this guide is tax, legal, or investment advice. Talk with a qualified CPA before making any decision.

Frequently asked questions

How do I invest in an Opportunity Zone as an individual?
You don't buy into a zone directly. You invest an eligible capital gain, in cash, into a qualified opportunity fund (QOF) within 180 days of the gain, in exchange for equity in the fund. The QOF then invests in property or businesses in Opportunity Zones. You elect the deferral on your tax return (Form 8949) and file Form 8997 every year you hold the investment.
Can I buy Opportunity Zone property directly instead of using a fund?
Only through a QOF. To get the tax benefits, the money has to go into a qualified opportunity fund, but you can form your own QOF (a corporation or partnership that self-certifies on IRS Form 8996) and have it buy and substantially improve property in a zone. Buying a property in a zone in your own name does not, by itself, give you the Opportunity Zone tax benefits.
What is the deadline to invest a capital gain in an Opportunity Zone fund?
Generally 180 days from the date the gain is realized. Different start dates apply to some partnership, S corporation, REIT and Section 1231 gains, per IRS guidance. Use the 180-day rule calculator to find your date.
What is Form 8997, and who files it?
Form 8997 is the investor's Initial and Annual Statement of Qualified Opportunity Fund Investments. You file it with your federal return for the year you invest and every year after until you dispose of the QOF interest. The fund files Form 8996; you file Form 8997. See our Form 8997 guide for the parts and how it ties to Form 8949.
Should I invest now or wait for the 2027 rules?
QOF investments made on or before December 31, 2026 follow the original rules, and the deferred gain is recognized on December 31, 2026. Investments made on or after January 1, 2027 follow the new rules: a rolling five-year deferral, a 10% basis step-up after five years (30% for a qualified rural fund) and the 10-year exclusion. Which is better depends on your gain's timing; talk to a qualified CPA.
Where can I find Opportunity Zone funds?
There is no official IRS or Treasury list of QOFs, because funds self-certify on Form 8996. Our fund directory lists 1,067 qualified opportunity funds from 272 sponsors, mostly from SEC Form D filings, filterable by status, state and rural (QROF) election. It is not a ranking or a recommendation.
What changes on January 1, 2027?
OZ 2.0 runs from January 1, 2027 through December 31, 2036. Nominated tracts would take effect January 1, 2027, only if Treasury finalizes them. For investments made after December 31, 2026, the gain is deferred until you sell or until five years after investing, whichever comes first. You get a 10% basis step-up at five years (30% for a qualified rural fund), and your basis can become fair market value after a 10-year hold. Current Opportunity Zones run through December 31, 2028. Gains invested through December 31, 2026 stay on OZ 1.0 rules.

Get OZ 2.0 updates

OZ 2.0 news, guidance, and key deadlines. Unsubscribe anytime.

Tools: Opportunity Zone tax calculator · 180-day rule calculator · OZ 2.0 likelihood checker · all Opportunity Zone tools

Disclaimer

Nothing in this guide is tax, legal, or investment advice. Opportunity Zone investments involve long hold periods, illiquidity, and significant risk. Consult a qualified CPA and investment advisor before making any decision.

All guides →