Qualified Opportunity Zones
"Sold Bitcoin? Sold the apartment building? Roll the gain into an Opportunity Zone fund within 180 days — defer six figures of tax until 2027, then wipe out all new appreciation forever."
The 60-second pitch
Congress wrote §1400Z-2 into the 2017 Tax Cuts and Jobs Act to drive private capital into 8,700+ economically distressed census tracts ("Opportunity Zones"). It works in three layers:
Layer 1 — Defer. Any capital gain (real estate, stock, crypto, business sale, §1231 gain) can be rolled into a Qualified Opportunity Fund (QOF) within 180 days. The original gain is deferred until you sell the QOF investment — or December 31, 2026, whichever comes first. For most filers, that means the tax is due on the 2026 return filed in April 2027.
Layer 2 — Discount. Hold the QOF investment 5+ years before December 31, 2026, and you get a 10% basis step-up on the deferred gain (so only 90% is eventually taxed).
Layer 3 — The big one. Eliminate. Hold the QOF investment 10+ years, and all post-investment appreciation is permanently tax-free. The QOF could double, triple, 10x — and the gain on that growth is forever exempt under §1400Z-2(c).
The original OZ program ("OZ 1.0") deferral hard-stops at December 31, 2026. New legislation extends the program ("OZ 2.0") with a rolling 5-year deferral for investments after that date — verify the current rules with your tax professional, because the rules are mid-evolution as of 2025–2026.
Real-world example
The setup. Tasha bought $80K of ETH in 2018. In June 2025 she sells it for $1,080,000 — a $1,000,000 long-term capital gain. Standard tax: 20% federal LTCG + 3.8% NIIT = $238,000 due. Florida has no state income tax, so total tax: $238,000.
The QOF investment. Within 180 days (deadline: roughly December 26, 2025), Tasha invests the $1M gain (not the basis — only the gain) into "Sunbelt Opportunity Fund I LLC," a QOF that develops apartments in Atlanta's Mechanicsville OZ. She files Form 8949 with code "Z" and Form 8997 with her 2025 return to report the deferral.
Deferral end. On the December 31, 2026 inclusion date (per §1400Z-2(b)(1)(B)), her deferred $1M gain becomes taxable on her 2026 return — filed April 2027. She owes the original $238K then. She would have owed it in 2025 without the QOF — so she got a roughly ~17-month interest-free loan from the U.S. Treasury on $238K.
The 10-year hold. She doesn't sell. Over 11 years, the Atlanta fund appreciates her $1M investment to $2,400,000. In 2036 she exits at $2.4M. Under §1400Z-2(c), she elects to treat her basis as fair market value at exit — meaning the $1,400,000 of appreciation is permanently federal-tax-free. Cap gains tax avoided on the new gain: $333,200 (at 23.8% blended LTCG + NIIT).
The step-by-step checklist
- Realize an eligible capital gain. Stock, crypto, real estate, business sale, §1231 gain, even a §1250 gain. The triggering event sets the 180-day clock.
- Within 180 days, invest the gain (not the basis) into a Qualified Opportunity Fund. The clock starts on the date of the realizing transaction, not when the cash hits your account. For pass-through K-1 gains, you can elect to start the clock on the last day of the partnership's tax year (March 15 or later).
- Choose a QOF carefully. Either invest in a third-party QOF (Cantor Fitzgerald, Belpointe, Caliber, etc.) or form your own. Self-formed QOFs need a clear investment thesis, OZ-tract project, and audit-grade compliance from day 1.
- The QOF must self-certify on Form 8996. Filed annually. Must hold 90% of its assets in Qualified Opportunity Zone Property (testing each June 30 and December 31).
- Verify the underlying project is in an OZ tract. Check the current map at opportunityzones.hud.gov. Designated zones are locked in for the duration of the program.
- For new construction or "original use" property: standard 90% test. For existing property in an OZ: it must undergo "substantial improvement" — the QOF must invest more in improvements than its basis in the property, within 30 months.
- File Form 8949 with deferral election. Report the original gain on Form 8949 with code "Z" in column (f) and the deferral amount as a negative adjustment in column (g).
- File Form 8997 annually. Tracks the QOF investments and basis. Required every year you hold the QOF investment, even when nothing changes.
- Plan for the December 31, 2026 inclusion date (OZ 1.0). The deferred gain becomes taxable on your 2026 return, paid April 2027. Save the cash to pay it. Many investors forget this and get sucker-punched.
- Hold 10 full years. Day 1 of year 10 = eligible for the §1400Z-2(c) basis step-up to FMV election on sale. Don't sell on day 9 and 364 days.
- On exit, elect step-up-to-FMV basis. Filed with the year-of-sale return. This is what makes the appreciation tax-free. Without the election, you owe regular cap gains on the QOF appreciation.
- For OZ 2.0 (investments after 12/31/2026): different rules. Rolling 5-year deferral instead of a 2026 hard stop, refreshed 10% basis step-up, and a 30-year sunset on the elimination benefit. Confirm the rules at the time of your investment — the legislative landscape continues to evolve.
IRS code & authority
- §1400Z-2(a) The deferral rule. Allows election to defer capital gain by investing in a QOF within 180 days.
- §1400Z-2(b)(1)(B) The inclusion date. December 31, 2026 (for OZ 1.0 investments) or the date of QOF disposition, whichever is earlier.
- §1400Z-2(b)(2)(B)(iii) 10% basis step-up after 5-year hold (must be reached by 12/31/2026 — so investments after 12/31/2021 missed this).
- §1400Z-2(c) The 10-year exclusion. Elect to treat basis as FMV at sale; no tax on post-investment appreciation.
- §1400Z-2(d) Defines a Qualified Opportunity Fund. Must hold ≥ 90% of assets in QOZ Property, tested semi-annually.
- §1400Z-1 Designation of Opportunity Zones. Original designations locked in 2018; effectively unchangeable.
- Reg §1.1400Z2(a)-1 The 180-day election rules. Special timing for K-1 gains and §1231 net gains.
- Form 8996 Annual self-certification by the QOF itself.
- Form 8997 Investor's annual statement reporting QOF investments and dispositions.
- Form 8949 (Code Z) The actual mechanism for the deferral election on the investor's return.
- Rev. Rul. 2018-29 Clarifies the "original use" and "substantial improvement" tests for QOZ Business Property.
Audit risk flags
- Missed 180-day window. One day late = full taxable sale, no QOF. Defense: Calendar the date the moment you sign the relinquished asset's sale. Wire to the QOF by day 150.
- Investing basis instead of gain. You can only defer the gain portion. The basis goes into your pocket tax-free regardless. Don't pour basis into the QOF expecting it to grow tax-free — only the gain portion gets §1400Z-2(c) treatment. Defense: Compute gain precisely and invest only that.
- QOF fails the 90% asset test. Twice-yearly testing — June 30 and Dec 31. Failure → penalty equal to the shortfall times the underpayment rate. Defense: Choose QOFs with strong compliance teams; for self-formed QOFs, hold cash in a 31-month "working capital safe harbor" project plan.
- Buying existing property that isn't "substantially improved." An OZ QOF can't just buy a stabilized apartment and hold it. It must double the basis through improvements within 30 months. Defense: Verify the project plan up front. Cosmetic renovations don't count.
- Investing in a "QOF" that isn't certified. Some funds claim OZ status but never file Form 8996. Defense: Demand the prior-year 8996 before wiring funds.
- Not saving for the 2026 inclusion tax bill. Investors forget that even though they didn't sell, the original gain is taxable in 2026. They get a $300K tax bill with no liquidity. Defense: Set aside the deferred-tax amount in a separate account.
- Selling before year 10. Sell at year 9 = lose the §1400Z-2(c) elimination. Pay tax on the full appreciation at regular cap gains rates. Defense: Plan the 10-year hold from the start. The 10-year clock is from the date of QOF investment, not the date of the underlying project completion.
- Loss limitations for individual QOZ investors. A QOF organized as a partnership may pass through losses, but those losses are subject to the basis limitation under §704(d) and at-risk rules under §465. Defense: Coordinate with your tax professional on the K-1 each year.
When NOT to do this
- You're a short-term investor. The real magic is the 10-year hold. If you'll need the money in 3-5 years, the QOF is mostly a one-time deferral with a 2026 reckoning.
- You don't have a realized capital gain. No gain = nothing to roll. QOFs aren't a "park money in tax-free real estate" vehicle for general savings.
- Your gain is < ~$100K. The compliance overhead (Form 8997 every year for a decade, plus careful tracking) eats the savings.
- The underlying project is junk. OZ tracts are economically distressed for a reason. A great tax break on a bad investment is still a bad investment. Pick QOFs based on the real estate fundamentals first, the tax benefit second.
- You can't tolerate illiquidity. Most QOFs lock capital for 7–10 years. Selling early forfeits benefits. If you might need the cash, choose differently.
- You'd rather use §1031. For real-estate-to-real-estate rolls, §1031 offers fewer restrictions and unlimited deferral via step-up at death. QOF makes more sense when your gain is from non-real-estate sources (crypto, stock, business sale).
- You expect the OZ program to be repealed. Politically, OZs have bipartisan support but compliance scrutiny is rising. If you mistrust the regime, stick with classic strategies.
See if a QOF rollover fits your situation
PilePilot's Books agent flags every realized capital gain, computes the 180-day deadline, and tracks Form 8997 reporting across the 10-year hold — so you never forget the 2026 inclusion event or miss the FMV election at exit.
Start your free trial →No credit card. Your data is private and isolated — export or delete it anytime.
Disclaimer. The Opportunity Zone program is in a period of legislative transition. OZ 1.0 (pre-2027 investments) and OZ 2.0 (post-2026) have different rules. Always verify current law with your tax professional before making the investment. Designated zones can be looked up at opportunityzones.hud.gov.