Tool

180-day deadline calculator

Find the last day to invest a capital gain in a Qualified Opportunity Fund, with every start date the rules allow and whether the window reaches OZ 2.0.

–

You have 180 days to invest an eligible gain in a Qualified Opportunity Fund (QOF), and day 1 is the day the gain would otherwise be recognized. On the default inputs, a gain realized on September 15, 2026 must be invested by March 13, 2027, a window that reaches the OZ 2.0 rules for investments made after December 31, 2026.

How this calculator works

The investor can elect to defer tax on gain from a sale to an unrelated person by investing it in a QOF within 180 days (26 U.S.C. 1400Z-2(a)(1)(A)). Under Treas. Reg. 1.1400Z2(a)-1(b)(7)(i), the period generally begins on the day the gain would otherwise be recognized for federal tax purposes. The calculator treats that day as day 1 and adds 179 days to find day 180, the last day to invest.

For each start date the rules allow, the tool prints day 1, the last day and a regime label. "Reaches OZ 2.0" means the window runs to January 1, 2027 or later, so an investment made on or after that date and inside the window falls under the new rules. The headline shows the latest deadline among the options, and the calendar button saves that date as an .ics event with a reminder 14 days ahead.

Start-date rules the calculator applies
Where the gain came fromDay 1 of the 180 daysRule
Direct sale (stock, crypto, property, business)Sale dateReg. 1.1400Z2(a)-1(b)(7)(i)
Collectibles gainSale dateSame general rule
Section 1231 gainDate the gain was realizedIRS FAQ
K-1 from a partnership (default)Last day of the entity's tax yearReg. 1.1400Z2(a)-1(c)(8)(iii)(A)
K-1 (elections)Entity's sale date, or the unextended due date of the entity's returnReg. 1.1400Z2(a)-1(c)(8)(iii)(B)
REIT or mutual fund capital gain dividendLast day of your tax year, or the dividend payment dateReg. 1.1400Z2(a)-1(b)(7)(ii)
Section 1256 contractsLast day of the tax yearReg. 1.1400Z2(a)-1(b)(11)(vi)(B)

Installment sales have their own rule: each payment date, or the last day of the tax year in which the gain is recognized, can start a window. The on-page form does not take payment dates; the API accepts them.

Inputs explained

  • Where the gain came from. Picks the start-date rule above.
  • Date the gain was realized. The sale date, or the dividend payment date for a REIT or mutual fund dividend. For a K-1, the date the entity sold.
  • Entity tax year end. K-1 gains only. Left blank, the tool assumes December 31 of the sale year.
  • Entity return due date, unextended. K-1 gains only. Left blank, the tool skips that election.

Worked examples

Hypothetical example

Suppose an investor sells stock on September 15, 2026. Day 1 is September 15. Counting 179 more days gives March 13, 2027 as the last day to invest. Because the window runs past January 1, 2027, an investment made from January 1 through March 13, 2027 would be an OZ 2.0 investment.

Now suppose a partnership sells property on June 10, 2026, its tax year ends December 31, 2026, and its return is due March 15, 2027 without extensions. The calculator shows three windows:

  • Default, starting December 31, 2026: last day June 28, 2027.
  • Entity's sale date, starting June 10, 2026: last day December 6, 2026 (OZ 1.0 only).
  • Unextended return due date, starting March 15, 2027: last day September 10, 2027.

The regime column only compares dates. How each elective window for a pass-through gain is treated across the 2026 to 2027 change is a question to confirm with a tax adviser.

Limits and assumptions

  • Calendar-year defaults. For REIT dividends, section 1256 contracts and blank K-1 year ends, the tool uses December 31 of the year you entered. A fiscal-year taxpayer or entity must use its own year end.
  • K-1s from other entities. The tool applies the partnership rules to every K-1 gain, including S corporations, trusts and estates. Confirm the rule for your entity type.
  • No weekend or holiday adjustment. The date shown is a count of calendar days.
  • Gain from an inclusion event. If the gain came from an inclusion event on an earlier QOF investment, the 180 days begin on the date of that event. Use the direct-sale option with that date.
  • Eligibility is not checked. Eligible gain is capital gain or qualified section 1231 gain. Gain recharacterized as ordinary income, such as depreciation recapture, does not qualify, and neither does gain from a sale to a related person (a 20 percent test). You may defer part of a gain.
  • Regulations pending. The 2025 law made deferral elections available indefinitely, but the eCFR regulations had not been updated for it as of October 29, 2026.

What to confirm with a tax adviser

  • The exact recognition date of your gain, especially for pass-through, installment and fiscal-year cases.
  • Whether the gain is eligible, and how much of it to defer.
  • How to report the election on Form 8949 and Form 8997. See how to report an Opportunity Zone investment.

This calculator counts dates under the rules as written. It is not tax advice.

Common questions

When does the Opportunity Zone 180-day period start?

Generally on the day the gain would otherwise be recognized for federal tax purposes, which for a direct sale is the sale date. Gain passed through on a K-1, capital gain dividends, section 1256 contracts and installment sales have their own start-date rules. The calculator counts the start date as day 1, so the last day is 179 days later.

I got a K-1 with capital gain. When is my deadline?

By default a partner's 180 days begin on the last day of the partnership's tax year. A partner may instead use the partnership's own window, which starts on the sale date, or a window starting on the unextended due date of the partnership return. The calculator shows all three when you enter the dates.

Can a gain from 2026 be invested under the OZ 2.0 rules?

Under Notice 2026-40, eligible gain invested in a QOF on or after January 1, 2027 and within its 180-day window can be deferred under the new rules, even if the gain was realized in 2026. The calculator marks windows that run to January 1, 2027 or later.

How do I elect deferral once I invest?

The election is made on the federal return for the year the gain would otherwise be taxed. The investor reports it on its own row of Form 8949 with the QOF's EIN, the investment date, code Z in column (f) and the deferred amount as a negative number in column (g).

Sources

  1. 26 CFR 1.1400Z2(a)-1 (eCFR)
  2. 26 U.S.C. 1400Z-2 (GPO)
  3. IRS Opportunity Zones Frequently Asked Questions
  4. IRS Notice 2026-40, transitional guidance
  5. Instructions for Form 8949 (2025)

Start here

Financing for the real estate inside the zone.

Tell us about the project. We respond with sizing, likely executions, and indicative terms. No cost, no obligation.