IRC §1400Z-2 ( Opportunity Zones) provides a deferral structure for realized capital gains that you reinvest into a Qualified Opportunity Fund (QOF) within 180 days of recognition. Three benefits stack: the deferred gain is not recognized until the QOF investment is sold or until a statutory backstop date (the original TCJA regime set 2026; OBBBA extended and modified the deferral horizon — check the current statute before relying on a specific year); a basis step-up of 10% applies to gains deferred for at least five years; and any gain on the QOF investment itself, if held for at least ten years, is excluded from tax entirely. The ten-year exclusion is the part that matters — it converts what would have been an indefinite deferral into a permanent escape on the second leg of the trade.
The vehicle must be a fund holding qualifying property in a designated census tract, not a personal real-estate deal. The original OZ map covered roughly 12% of US census tracts; OBBBA reauthorized the program with a redrawn map and tighter “substantial improvement” rules requiring the fund to roughly double the basis of any building it acquires within 30 months. Self-directed structures exist but require operational rigor; off-the-shelf QOFs from real-estate sponsors are the common path for an investor with a recent large gain. Underwrite the sponsor as if you were buying the underlying real estate directly: track record on completed ground-up developments, capitalization and reserves to ride out a construction overrun, and fee load against the projected ten-year IRR. The ten-year hold means you are committing to one sponsor’s execution, and the substantial-improvement rule means the typical QOF carries ground-up development risk rather than stabilized cash-flow property — sponsor quality matters more than the headline tax benefit.
Sequence the trade carefully. You have 180 days from the recognition date of the gain — not the filing date of the return — to fund the QOF, and the gain you defer can be any character (LTCG, short-term, Section 1256) from any source. Reporting is on Form 8997, “Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments” and Form 8949, “Sales and Other Dispositions of Capital Assets”. State-tax treatment varies: California, predictably, does not conform, so the federal deferral does not shield California tax on the original gain.