Form 8997 is the annual statement that Qualified Opportunity Fund investors attach to their federal tax return to report deferred capital gains, current-year deferrals, inclusion events, and year-end holdings. If you elected to defer a capital gain by rolling it into a QOF, you file this form every tax year you hold the investment, until the deferred gain is fully recognized. With the statutory recognition date of December 31, 2026, now close, the 2025 and 2026 filings carry particular weight.
Who Has to File
You must file Form 8997 if you held a qualifying investment in a QOF at any point during the tax year.1Internal Revenue Service. Invest in a Qualified Opportunity Fund That applies to individuals, C corporations, S corporations, partnerships, estates, and trusts. The trigger isn’t activity during the year; simply holding the QOF interest on any single day creates the filing obligation.
You keep filing each year until the deferred gain is fully recognized, which happens when you sell or exchange the QOF interest, when an inclusion event forces recognition, or on December 31, 2026, whichever comes first.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions A quiet year with no new investments and no sales still requires the form.
What the Form Is Tracking
Each part of Form 8997 exists to document a specific tax benefit, so knowing the benefits makes the form easier to work through.
Deferral and Basis Step-Ups
When you invested an eligible capital gain into a QOF, your basis in the QOF interest started at zero, and the deferred gain stays off your return until an inclusion event or December 31, 2026.3Office of the Law Revision Counsel. 26 U.S. Code 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zone Property Holding the investment longer earns basis increases that shrink the amount of deferred gain you eventually owe tax on. A five-year hold gives you a basis increase equal to 10% of the original deferred gain, so you’ll recognize only 90%. A seven-year hold raises that to a 15% step-up, cutting recognition to 85%; to reach seven years by December 31, 2026, you needed to invest by December 31, 2019.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions
The 10-Year Exclusion
Separate from the deferral of the original gain, holding a QOF investment for at least 10 years lets you elect to adjust your basis to fair market value at sale, so all appreciation in the QOF itself becomes tax-free.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions This benefit survives the 2026 recognition. You pay tax on the original deferred gain by 2026, but growth in the investment itself remains eligible for the separate exclusion if you hit the 10-year mark.3Office of the Law Revision Counsel. 26 U.S. Code 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zone Property
Information to Gather Before You Start
Your QOF should send an annual statement or, for partnership QOFs, a Schedule K-1 containing what you need. Have these on hand:
- The QOF’s Employer Identification Number, required in every part of the form.4Internal Revenue Service. href=”https://www.irs.gov/pub/irs-pdf/f8997.pdf” target=”_blank” rel=”noopener”>Form 8997 – Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments
- The exact acquisition date and dollar amount invested. Multiple investments in the same QOF on different dates are tracked separately.
- A description of the interest: number of shares for a corporate QOF, or partnership percentage.
- Any inclusion event details, including the date and the amount of gain that became taxable.
- The current fair market value of your QOF interest, which matters most as 2026 approaches.
Working Through the Four Parts
Each part captures a different moment in the life cycle of your QOF investment during the tax year.
Part I: Beginning-of-Year Holdings
List every QOF investment held at the start of the tax year from deferrals made in prior years. Enter the QOF’s EIN and the remaining deferred short-term and long-term gain for each.5Internal Revenue Service. Form 8997 – Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments These figures should match the year-end totals from Part IV of last year’s Form 8997. If this is your first year filing because you invested during the year, Part I stays blank.
Part II: New Deferrals
Report any capital gains newly deferred during the current year. You’ll enter the QOF’s EIN, the acquisition date, and the deferred short-term and long-term gain amounts.5Internal Revenue Service. Form 8997 – Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments You have 180 days from the date the gain would have been recognized for federal tax purposes to invest it in a QOF and make the deferral election.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions
Part III: Inclusion Events and Transfers
This is where you report any event that forced recognition of previously deferred gain. Enter the amount of deferred short-term or long-term gain now included in your taxable income; those amounts flow to Form 8949 and are reported as capital gains.5Internal Revenue Service. Form 8997 – Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments If nothing triggered recognition, this part stays empty.
Part IV: Year-End Holdings
Part IV sums up total QOF investments and remaining deferred gain at year end. Conceptually, it’s Part I plus Part II minus Part III, and these year-end figures become the opening balances in Part I of next year’s form.5Internal Revenue Service. Form 8997 – Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments
How It Coordinates With Form 8949
Forms 8997 and 8949 sync at two moments: when you first defer the gain, and when you eventually recognize it.
To defer, you report the original sale on Form 8949 using adjustment code “Z” in column (f) and enter the deferred gain as a negative number in column (g).6Internal Revenue Service. Instructions for Form 8949 – Sales and Other Dispositions of Capital Assets That negative adjustment backs the gain out of current-year income, and the same deferral appears in Part II of Form 8997.
When the deferral ends, the process reverses. The recognized gain appears in Part III of Form 8997, and you also report it on Form 8949 so it flows through to Schedule D. If your QOF liquidates before December 31, 2026, the IRS expects the change to appear on both forms for the year of liquidation.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions
Events That Force Recognition
An inclusion event is anything that reduces or terminates your qualifying investment, forcing recognition of some or all of the deferred gain.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions Selling the interest is the obvious one, but several less obvious transactions also count:
- QOF liquidation, which ends the deferral period in the year it occurs.
- Gifting your QOF interest, which ends deferral and makes the gain taxable to you rather than the recipient.
- Transfer to a non-grantor trust, treated as a disposition.
- A divorce transfer of the interest to a spouse, which ends the deferral period.
- Partnership distributions where the fair market value exceeds your basis in the investment; the excess triggers an inclusion event.
Each event must be reported in Part III of Form 8997 for the year it occurs, with the recognized gain also reported on Form 8949.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions
Preparing for the 2026 Mandatory Recognition
If you still hold a QOF investment on December 31, 2026, and haven’t already recognized the full deferred gain through an earlier inclusion event, the remaining deferred gain becomes taxable on that date and appears on your 2026 return filed in 2027.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions
The amount recognized is the lesser of your original deferred gain or the fair market value of the investment on December 31, 2026, minus your adjusted basis.3Office of the Law Revision Counsel. 26 U.S. Code 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zone Property If the investment has lost value, the formula protects you from being taxed on more than it’s worth. If it has grown substantially, you only recognize up to the original deferred amount, reduced by any basis step-up.
Investors who held at least five years by December 31, 2026, get the 10% step-up. Those who invested by December 31, 2019, and qualify for the seven-year step-up get 15% instead.2Internal Revenue Service. Opportunity Zones Frequently Asked Questions Getting the fair market value right matters. If the investment has declined and you plan to report a lower FMV, work with a qualified appraiser, because the IRS may challenge the valuation.
One point that trips people up: recognizing the deferred gain in 2026 does not end your QOF investment. You can keep holding it and still qualify for the 10-year exclusion on post-investment appreciation when you eventually sell.3Office of the Law Revision Counsel. 26 U.S. Code 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zone Property
Filing Mechanics
Form 8997 is always filed as an attachment to your federal income tax return. For individuals, that’s Form 1040; for corporations, Form 1120; for partnerships, Form 1065; and so on for other entity types.5Internal Revenue Service. Form 8997 – Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments You cannot submit it separately.
The due date follows your return’s due date, including extensions. For most individuals, that’s April 15, or October 15 with an extension.1Internal Revenue Service. Invest in a Qualified Opportunity Fund You can file electronically or on paper, matching whatever method you use for the main return. The 2025 filing (due in 2026) reflects holdings heading into the recognition year, and the 2026 filing (due in 2027) captures the recognition event itself. Both are where compliance stakes are highest.