Skip to content

How to Defer Capital Gains Tax With an Opportunity Zone Fund

Updated July 2026 • Educational resource from Urban Catalyst

To defer capital gains tax with an Opportunity Zone fund, an investor generally invests the gain in a Qualified Opportunity Fund (QOF) within 180 days of realizing it, then elects the deferral on IRS Form 8949 and files Form 8997 with their return. Tax on the deferred gain is generally postponed until the QOF interest is sold or December 31, 2026 (for pre-2027 investments); under OZ 2.0, gains invested from January 1, 2027 generally defer for five years. Holding the QOF investment 10+ years may allow any appreciation on the QOF investment itself to be excluded from federal capital gains tax, if all requirements are met.

Step-by-Step: Deferring an Eligible Capital Gain

Step 1 — Realize an eligible gain

Eligible gains can include capital gains from the sale of many asset types: stock, a business, real estate, cryptocurrency, or collectibles. Unlike a 1031 exchange, the original asset does not need to be real estate, and only the gain (not the full sale proceeds) generally needs to be reinvested.

Step 2 — Invest in a QOF within 180 days

The 180-day clock generally starts on the date of sale. For gains flowing through a partnership or S-corp on a K-1, the window may start later, sometimes giving investors more time than they realize. The investment must be an equity interest in the fund, not debt.

Step 3 — Elect the deferral on your tax return

File Form 8949 (Sales and Other Dispositions of Capital Assets) to elect deferral for the year the gain would have been recognized, and Form 8997 (Initial and Annual Statement of QOF Investments) each year you hold the investment. See the IRS guidance on investing in a QOF.

Step 4 — Hold for the long-term benefits

Deferral: tax on the original gain is generally postponed until an inclusion event or the statutory date. 10-year benefit: hold the QOF investment at least 10 years, and if all requirements are met, the basis may step up to fair market value on sale, potentially excluding any appreciation on the QOF investment from federal capital gains tax.

Timing: 2026 vs. 2027 Rules

Invested by Dec 31, 2026Invested Jan 1, 2027 or later (OZ 2.0)
Deferral endsDec 31, 2026 (tax generally due with 2026 return)5th anniversary of investment (rolling)
Basis step-up on deferred gainNone remaining10% after 5 years (30% in rural funds)
10-year appreciation benefitYesYes (FMV election up to 30 years)
Program statusExpiring frameworkPermanent
The "hop effect": a gain realized in late 2026 and invested in a QOF in early 2027, still within the 180-day window, generally falls under OZ 2.0's rolling 5-year deferral, potentially deferring recognition to 2032 instead of 2026. Timing your investment date can matter as much as timing your sale. Consult your tax advisor about your specific situation.

Opportunity Zone Fund vs. 1031 Exchange

An OZ fund can accept gains from many asset types, generally requires reinvesting only the gain, and offers a potential exclusion of any appreciation after 10 years. A 1031 exchange applies only to real estate, requires reinvesting the full proceeds, but can defer indefinitely through death (step-up for heirs). Investors sometimes use a QOF after a failed or partial 1031 exchange. Read more in our explainer on Qualified Opportunity Funds.

Choosing which fund to invest in is its own decision. See How to Evaluate Opportunity Zone Funds in 2026 and what independent rankings say about Opportunity Zone funds.

Anticipating a capital gain in 2027?
Stay informed as Urban Catalyst prepares for its potential 2027 Opportunity Zone fund.
Learn More

Frequently Asked Questions

How long can I defer capital gains with an Opportunity Zone fund?

For investments made through December 31, 2026: generally until the earlier of an inclusion event or December 31, 2026. For investments made on or after January 1, 2027 under OZ 2.0: generally five years from the investment date.

What forms do I file to defer gains in a QOF?

Form 8949 to elect the deferral, plus Form 8997 filed annually while you hold the QOF investment.

Does the whole sale amount need to go into the fund?

No. Generally only the capital gain portion must be invested to defer tax on it. The return of basis carries no OZ implications.

What happens after 10 years?

If all requirements are met, your basis in the QOF investment may step up to fair market value when you sell, so any post-investment appreciation is generally excluded from federal capital gains tax. This does not eliminate the original deferred gain, which is recognized under its own timing rules.

Can any investor use this strategy?

Anyone with an eligible gain can potentially use the deferral mechanics, but most QOFs, including Urban Catalyst's, are private placements open only to accredited investors under Rule 501(a) of Regulation D.

This material is for educational purposes only. It is not tax, legal, accounting, investment, or securities advice, and is not an offer to sell or a solicitation of an offer to buy any security or interest in any fund. Any offering is made only by delivery of a Private Placement Memorandum and related documents to accredited investors. Opportunity Zone tax benefits are subject to detailed rules, holding periods, investor-specific facts, and future guidance, and are not guaranteed. Real estate investments involve risk, including illiquidity and possible loss of principal. Past performance is no guarantee of future results. Investors should consult their own tax, legal, and financial advisors.

Opportunity Zones: Community Impact

Joshua Burroughs explains how Qualified Opportunity Fund Urban Catalyst is acquiring projects in the downtown San Jose that are going to work with each other and create a sense of place.