Skip to main content

How long do I have to invest a gain in an Opportunity Zone?

You generally have 180 days from the date you realize the gain to invest it in a Qualified Opportunity Fund. For most sales, the clock starts on the sale date. Gains from a partnership or S corporation, Section 1231 property, and installment sales have their own start dates, which can give you more time.

Reviewed by Ashley Tison, attorneyUpdated October 2026How we review answers

The basic rule

To get the Opportunity Zone tax benefits, you must invest an eligible gain in a Qualified Opportunity Fund within 180 days of the date you would otherwise recognize it (IRC §1400Z-2(a)(1)(A)). For a typical sale of stock or property, that is the trade date or closing date. Count 180 calendar days. Weekends and holidays count.

"You get 180 days from the date of your gain to get it into a qualified opportunity fund. That date is the ball game."

Ashley Tison

Day 180 is a hard stop. The IRS does not grant routine extensions. If the money is not in the fund by then, the gain is taxed the normal way.

Your investment also has to be a true equity stake in the fund. A loan to the fund does not count, and the money has to come from you, not from a lender to the fund on your behalf.

Gains from a partnership or S corporation

If your gain shows up on a K-1, the Treasury regulations give you a choice of start dates (26 CFR 1.1400Z2(a)-1). As Ashley puts it, "You don't get one start date. You get three potentials." Your 180 days can begin on:

  • the date the partnership or S corporation sold the asset,
  • the last day of the entity's tax year, or
  • the due date of the entity's tax return, not counting extensions.

For a calendar-year partnership, the last option often means a window that starts March 15 of the next year. That can give you months of extra time, which helps when you do not learn about the gain until your K-1 arrives.

Section 1231 gains and installment sales

Section 1231 gains come from selling property used in a business, such as a rental building. Under the final regulations, the 180 days start on the date of the sale, the same as a regular capital gain.

With an installment sale, you receive the gain over time. Each payment that includes gain can generally start its own 180-day window. That lets you invest in pieces as payments arrive.

Sales by a trust or estate follow similar pass-through rules for the beneficiaries. When the paperwork is unclear, ask the person who prepares the entity's return which date the entity used and which dates are open to you.

Watch the calendar around 2027

Timing matters more than usual right now. Gains deferred under the original program come due on December 31, 2026, no matter when you invest. Investments made on or after January 1, 2027 fall under OZ 2.0 and get a full five-year deferral. If your 180-day window crosses into 2027, waiting until January may give you a better result. Check the dates carefully with your tax preparer before you wire funds.

How to protect your deadline

Ashley likes to point out that an Opportunity Zone is one of the few strategies you can put in place after the sale: "You can actually do it after the transaction." That only works inside the window, so guard the date.

  • Write down the sale date and day 180 the day you close.
  • Ask your CPA which start date applies if the gain came from a K-1.
  • Set up the fund early. Opening an entity and a bank account takes time.
  • Keep proof of the date the money reached the fund.

If you have already sold and want to confirm your window, read which gains qualify, then book a free 15-minute call. We will help you work out your exact dates.

Related questions

Short answers to what people ask next.

Can I invest part of my gain and still meet the 180-day rule?

Yes. You can invest any portion of your gain within the window. Only the amount you invest gets the Opportunity Zone benefits. The rest is taxed normally. You can also make more than one investment, as long as each one lands inside its 180-day window.

Reviewed by Ashley Tison, attorney · Updated October 2026

What if I miss the 180-day deadline?

The gain is taxed in the normal way for that year. If the gain came from a partnership or S corporation, ask your CPA about the later start dates, since one of them can reopen the window. An installment sale may also give you new windows as later payments arrive.

Reviewed by Ashley Tison, attorney · Updated October 2026

Does the 180-day window change under OZ 2.0?

No. OZ 2.0 keeps the same 180-day rule for investing your gain. What changes is the deferral after you invest. Under OZ 2.0, each investment gets five years from the day you make it, instead of the single December 31, 2026 end date used by the original program.

Reviewed by Ashley Tison, attorney · Updated October 2026