How to find your 180-day deadline
- Identify the gain type. Decide whether the gain is from your own sale, a partnership or S corporation K-1, an installment sale or a RIC/REIT capital gain dividend (Treas. Reg. §1.1400Z2(a)-1).
- Find day 1. Use the start date for that gain type, for example the sale date for your own sale.
- Count 180 days. Day 1 is the start date, so the last day to invest is 179 days later.
- Check the Dec 31, 2026 cutover. An investment on or before Dec 31, 2026 follows OZ 1.0; after that date it follows OZ 2.0 (P.L. 119-21, §70421(c)(5)).
- Invest and elect. Invest the gain in a QOF by the last day and report the deferral on Form 8949 and Form 8997.
When the 180 days start
- Your own sale or exchange: the day the gain would be recognized without the election, usually the sale date (Treas. Reg. §1.1400Z2(a)-1(b)(7)(i)). This also applies to qualified §1231 gains: gain above the §1245/§1250 ordinary-income recapture (§1.1400Z2(a)-1(b)(11)(iii)).
- Partnership, S corporation, trust or estate gains: by default, the last day of the entity's tax year. You can elect instead to use the entity's own 180-day period (from its sale date) or a period starting on the entity's return due date, without extensions (§1.1400Z2(a)-1(c)(8)(iii)).
- Installment sales: the date each payment is received (each payment starts a new period) or the last day of the tax year the gain is recognized (§1.1400Z2(a)-1(b)(11)(viii)(B)).
- RIC/REIT capital gain dividends: by default, the last day of your tax year; you can elect the dividend payment date instead (§1.1400Z2(a)-1(b)(7)(ii)).
The December 31, 2026 cutover
Investments made on or before December 31, 2026 follow the original rules: deferred gain is included on December 31, 2026 (IRC §1400Z-2(b)(1)). Investments made after that date follow OZ 2.0 (P.L. 119-21, §70421(c)(5), which applies the amendments to amounts invested after December 31, 2026): up to 5 years of deferral, a 10% basis step-up (30% for rural funds) and the 10-year exclusion, in OZ 2.0 zones in effect from January 1, 2027 (IRS Notice 2026-55; P.L. 119-21, §70421). If your 180-day window runs past December 31, 2026, the calculator shows that you could invest on either side of the cutover. Waiting for OZ 2.0 also means waiting for the new zones; see the OZ 2.0 tracker.
Comparing qualified opportunity funds before day 180? Our QOF guide covers the 90% test and links a filterable fund list.
Coming from a 1031 exchange? Its 45-day and 180-day clocks start when you transfer the property and run separately from the OZ 180 days; see 1031 vs opportunity zone timelines.
Worked example
You sell stock at a gain on September 1, 2026. Day 1 is September 1, 2026, so day 180 is February 27, 2027. Investing on or before December 31, 2026 puts you under the OZ 1.0 rules; investing from January 1 to February 27, 2027 puts you under OZ 2.0.