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.
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 QOF | Form your own QOF | |
|---|---|---|
| What you own | An equity interest in a sponsor’s fund | An entity you control that owns the zone property |
| Who does the compliance | The sponsor (asset tests, Form 8996) | You (and your advisers) |
| Typical investor | Individuals with a gain who want a managed deal | Developers and owners with a specific project |
| Main risk to check | Sponsor, strategy, fees, liquidity | Meeting 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)
- Funds: browse the Opportunity Zone fund directory, which lists 1,067 qualified opportunity funds with their sponsor, status, states and SEC Form D filings, and line up two or three in the fund comparison tool. For a checklist that covers track record, fees and Form 8996 reporting, read how to choose Opportunity Zone funds.
- Locations: to see whether a property is in an Opportunity Zone, search the address on the Opportunity Zone map. For a tract that may become a zone in 2027, try the OZ 2.0 Likelihood Checker.
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.
Hub: tools and related guides
| Need | Link |
|---|---|
| Run your numbers | Opportunity Zone calculator |
| Check a tract or address | Opportunity Zone map |
| OZ 2.0 rules and timing | OZ 2.0 guide |
| Deferral, step-up, 10-year exclusion | Tax benefits |
| Investor Form 8997 | Form 8997 guide |
| Fund Form 8996 | Form 8996 tool |
| Real estate playbook | OZ real estate investing |
| Fund-only steps | How to invest in a QOF |
| Compare funds | How to choose Opportunity Zone funds |
| Common pitfalls | Opportunity Zone mistakes |
Related reading
- How to invest in a qualified opportunity fund
- Opportunity Zone tax benefits
- Opportunity Zone real estate investing
- Capital gains tax on commercial property
- Opportunity Zone mistakes to avoid
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?
Can I buy Opportunity Zone property directly instead of using a fund?
What is the deadline to invest a capital gain in an Opportunity Zone fund?
What is Form 8997, and who files it?
Should I invest now or wait for the 2027 rules?
Where can I find Opportunity Zone funds?
What changes on January 1, 2027?
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