Opportunity Zone to Defer Capital Gains: The 180-Day Rule
You can defer the federal tax on almost any capital gain — from a stock sale, a business sale, crypto, or real estate — by reinvesting the gain into a Qualified Opportunity Fund within 180 days under IRC §1400Z-2. You reinvest only the gain, not the full proceeds. Hold the fund interest 10 years and every dollar of new appreciation inside it is permanently excluded from federal tax, with no cap. On a $5M founder gain taxed at 23.8% (20% long-term capital gains plus the 3.8% NIIT), that defers a $1,190,000 bill and can wipe out tax on all future growth. OBBBA made the program permanent.
Marcus sold his Atlanta logistics company in March 2026 for $5.8M. His basis in the stock was $800K, leaving a long-term capital gain of $5,000,000. He files married filing jointly, his Georgia taxable income sits well over $600K, and his MAGI is far above the $250K NIIT threshold. The federal bill: 20% long-term capital gains plus the 3.8% net investment income tax — 23.8%, or $1,190,000. Georgia adds its flat 5.39% state tax, another $269,500, for a combined hit of roughly $1,459,500.
Marcus has 180 days from the sale date to decide. If he rolls the $5M gain into a Qualified Opportunity Fund, the entire $1,190,000 federal bill is deferred under IRC §1400Z-2, and if he holds the fund interest for 10 years, all new appreciation inside it is permanently excluded from federal tax — no cap. This article resolves the actual fork: roll into a QOZ, route the gain through a charitable remainder trust, or simply pay the tax now.
The 180-day rule: how the deferral starts
The Opportunity Zone deferral is triggered by one action: investing the recognized gain into a Qualified Opportunity Fund within 180 days of the sale. Two features make this far more flexible than a 1031 exchange.
- You reinvest only the gain, not the proceeds. Marcus sold for $5.8M but his gain is $5M. He reinvests $5M into the QOF and keeps his $800K basis return as tax-free cash outside the fund. A 1031 exchange would force him to reinvest the entire amount to defer fully.
- Any capital gain qualifies. Stock sales, business sales, partnership-interest sales, crypto, real estate, and net Section 1231 gains all work. The gain source does not matter — only that it is a recognized capital gain reinvested in time.
The 180-day clock normally starts on the sale date. But if the business sold through a partnership or S-corp and the gain passes through to Marcus, he can elect under the regulations to start the 180 days on either the entity’s sale date or the last day of the entity’s tax year. A gain recognized in March 2026 through a calendar-year partnership could therefore start its clock on December 31, 2026 — pushing the reinvestment deadline into mid-2027. That election alone buys planning time most founders never use.
The three QOZ benefits, on three different clocks
IRC §1400Z-2 stacks three benefits, but they operate on separate timelines. Confusing them is the most common mistake founders make.
| Benefit | What it does | Authority |
|---|---|---|
| 1. Deferral | The original $5M gain is not taxed now. Tax is postponed to the deferral recognition date. | §1400Z-2(a) |
| 2. Basis step-up on the deferred gain | For original-round zones, a holding-period step-up reduced the deferred gain. For new-round investments this benefit is reshaped under OBBBA. | §1400Z-2(b) |
| 3. 10-year exclusion on new gain | Hold the QOF interest 10+ years and step its basis up to fair market value — all appreciation inside the fund is permanently tax-free, no cap. | §1400Z-2(c) |
The third benefit is the engine. The deferral (benefit 1) only postpones Marcus’s $1,190,000 bill; the deferred gain is still recognized at the earlier of when he sells the QOF interest or the program’s statutory recognition date. For the original 2018-round zones that date was December 31, 2026. OBBBA — which made the program permanent and authorized a new round of zone designations effective January 1, 2027 — replaced the fixed cliff with a rolling deferral period for new-round investments. The 10-year exclusion (benefit 3) is what makes the structure worth a decade of illiquidity.
The math: $5M gain, three paths compared
Assume Marcus’s $5M gain invested in a QOF grows at a conservative 6% annually and he exits after 10 years at roughly $8,954,000 — about $3,954,000 of new appreciation. Here is how the three forks land on a federal basis.
| Path | Tax now | Tax on growth | Trade-off |
|---|---|---|---|
| Pay now | $1,190,000 | 23.8% on future gains | Full liquidity; invest the $3.81M net anywhere. |
| QOZ rollover | $0 (deferred) | $0 on the ~$3.95M of fund growth | 10-year illiquid hold; deferred $1.19M due at recognition date. |
| Charitable remainder trust | $0 inside trust | Income taxed as paid out (4-tier rules) | Lifetime income + partial deduction; remainder goes to charity. |
The QOZ rollover’s headline win is the $0 federal tax on roughly $3,954,000 of fund appreciation. At the 23.8% combined rate, that is about $941,000 of tax avoided on growth alone — on top of deferring the original $1,190,000 for a decade. Even if the deferred gain is recognized at the statutory date, Marcus has had a 10-year, interest-free loan from the Treasury on $1.19M and excluded all the upside.
QOZ vs. charitable remainder trust: the real fork
Both defer the gain, but they answer opposite questions about who keeps the money.
- Do you want to keep and compound the capital? The QOZ keeps 100% of the upside in Marcus’s hands and excludes future growth from tax after 10 years. The CRT permanently transfers the remainder to charity — Marcus keeps only an income stream, not the principal.
- Do you want liquidity and income now? The CRT pays a fixed or unitrust percentage for life or a term, and Marcus gets an immediate partial charitable deduction. The QOZ pays nothing for 10 years and is illiquid — the fund interest cannot easily be sold without triggering the deferred gain.
- How charitably inclined are you? If a charitable legacy is a goal, the CRT delivers it and a deduction. If wealth accumulation for heirs is the goal, the QOZ wins — though note the deferred gain does not get a step-up at death.
For a founder who wants to retain control of the capital and is comfortable with a 10-year illiquid real-estate or operating-business fund, the QOZ is the stronger accumulation play. For a founder over 65 who wants reliable income and a philanthropic exit, the CRT often wins.
What most people miss: the deferred gain has no death step-up
The biggest misconception is that the QOZ “erases” the $5M gain. It does not. The 10-year exclusion under §1400Z-2(c) eliminates tax only on the new appreciation inside the fund. The original $5M deferred gain is recognized at the statutory recognition date or when the fund interest is sold — whichever comes first.
And unlike a 1031 exchange held until death, the deferred QOZ gain does not receive a basis step-up under IRC §1014 when Marcus dies. If he passes the QOF interest to heirs, they inherit the embedded deferred gain and owe it at the recognition date. The 10-year exclusion on appreciation still applies if they hold for the remaining period, but the deferred original gain survives death. This is the single most important difference between QOZ deferral and 1031 deferral, and it changes the estate-planning math entirely.
Two more traps founders walk into:
- Related-party sales don’t qualify. Under §1400Z-2(e)(2), a gain from a sale to a person who owns more than 20% in common with you is ineligible. Selling the business to a family member or an affiliated entity can disqualify the rollover.
- State conformity varies. The federal deferral does not automatically apply at the state level. Georgia generally conforms to the federal treatment, but states like California do not conform to the QOZ provisions — a California founder would owe state tax on the gain now even while deferring federally. Marcus’s $269,500 Georgia bill follows the federal treatment, but a coastal founder should confirm before assuming full deferral.
The 90% asset test and substantial-improvement rule
The investment must go into a Qualified Opportunity Fund, not directly into a property or business. A QOF must hold at least 90% of its assets in Qualified Opportunity Zone property, tested twice a year. For real-estate funds, acquired property must either have its original use begin in the zone or be substantially improved — the fund must double the basis of the building (not the land) within 30 months. Marcus does not run this test himself; he is a limited investor relying on the fund sponsor’s compliance. But he should confirm the fund’s track record on the 90% test before wiring $5M, because a QOF that fails the test loses the benefits for its investors.
The decision lever
The QOZ rollover is the right move for Marcus if three things are true: he can lock $5M into an illiquid fund for at least 10 years, he wants to keep and compound the capital rather than give it to charity, and the fund sponsor has a clean compliance record on the 90% asset test. If those hold, he defers $1,190,000 today and excludes roughly $941,000 of tax on a decade of growth — a structure no other provision in the code matches.
If he needs the cash before 10 years, or a charitable legacy matters more than retaining the principal, the charitable remainder trust is the better fork. And if he simply wants the certainty of full liquidity, paying the $1,190,000 now and investing the net freely is a defensible choice — the QOZ is a bet on growth and a decade of patience, not a free lunch. The lever to pull is the 180-day clock: it is the only deadline that cannot be extended once it passes.
Key takeaways
- IRC §1400Z-2 lets you defer federal tax on any capital gain — business sale, stock, crypto, or real estate — by investing the gain (not the full proceeds) into a Qualified Opportunity Fund within 180 days.
- A $5M long-term gain taxed at 23.8% (20% LTCG + 3.8% NIIT) defers a $1,190,000 federal bill; pass-through gains can extend the 180-day clock to the last day of the entity’s tax year.
- The 10-year exclusion under §1400Z-2(c) makes all new appreciation inside the fund permanently tax-free — about $941,000 of avoided tax on the worked example’s growth.
- The deferred original gain is NOT erased and does NOT get a death step-up; it is recognized at the statutory date or on sale of the fund interest. OBBBA made the program permanent with a new zone round effective 2027.
- QOZ wins when you want to keep and compound the capital; a charitable remainder trust wins when you want lifetime income plus a charitable legacy. Related-party sales and non-conforming states (e.g., California) can break the deferral.
Join the 2026 tax newsletter
Decision checklists + key 2026 federal/state numbers. Free, one click.
Frequently asked
Yes. IRC §1400Z-2 lets you defer any capital gain — including gain from selling a business, stock, or partnership interest — by investing the gain amount into a Qualified Opportunity Fund within 180 days. You reinvest only the gain, not the full sale proceeds (unlike a 1031 exchange). A $5M long-term gain rolled into a QOF defers the entire 23.8% federal bill of $1,190,000.
180 days from the date you recognize the gain. For a direct asset sale, the clock starts on the sale date. For gains passed through a partnership or S-corp, you can elect to start the 180 days on the entity's sale date OR the last day of the entity's tax year — giving up to ~21 months in some cases. Miss the 180-day window and the gain is taxed normally in the year of sale.
The 10-year exclusion under IRC §1400Z-2(c) applies to the NEW appreciation inside the fund, regardless of where your original gain came from. So a $5M business-sale gain invested in a QOF, grown to $9M over 10+ years, owes zero federal tax on the $4M of fund appreciation. But the original $5M deferred gain is still recognized at the deferral trigger date — the exclusion does not erase it.
Different tools. A QOZ defers tax and excludes future growth but requires a 10-year illiquid hold in a single fund, and you keep the upside. A CRT spreads gain over a lifetime income stream, gives an immediate partial charitable deduction, but the remainder goes to charity — you don't keep the principal. Choose QOZ if you want to retain and compound the capital; choose a CRT if you want lifetime income plus a charitable legacy.
Any capital gain recognized for federal tax: stock and securities sales, business and partnership-interest sales, crypto gains, real estate gains, and even certain Section 1231 net gains. Both short-term and long-term gains qualify. The gain must be invested within 180 days, and it cannot be a gain from a sale to a related party (over 20% common ownership) under IRC §1400Z-2(e)(2).
The deferred original gain is recognized at the earlier of (1) the date you sell or exchange your QOF interest, or (2) the program's statutory recognition date. For the original-round zones that date was December 31, 2026. OBBBA made the program permanent and set a rolling deferral for new-round investments. The 10-year exclusion on new appreciation is separate and survives that recognition event.
No — this is the key advantage over a 1031 exchange. To defer capital gains in an Opportunity Zone fund you invest only the GAIN, not the entire proceeds. On a $5M business sale with a $5M gain (zero basis), you'd reinvest $5M. But on a $5M sale with $2M basis, the gain is $3M, so you only reinvest $3M and keep $2M of basis-return cash tax-free outside the fund (IRC §1400Z-2).
Related guides
Business Sale Planning
All MoneyMap US business-sale tax content — QSBS §1202 exclusion, installment sales, F-reorganizations, and post-sale wealth structuring. The Opportunity Zone rollover is one of several gain-deferral forks a founder weighs at exit.
Learn Hub
Cluster guides on capital gains, deferral mechanics, and post-sale planning, each with calculators — the foundational concepts behind the 180-day QOZ decision.
Opportunity Zones 2026: Deferral, Step-Up, 10-Year Exclusion
The full mechanics of the QOZ program after OBBBA — 90% asset test, substantial-improvement rule, and the real-estate worked example. Read this for the fund-structure detail this business-sale piece references.
Charitable Remainder Trust at a $10M Sale: Defer Gain Plus Income Stream
The CRT alternative for a large founder gain — lifetime income, immediate partial deduction, charitable remainder. The head-to-head against the QOZ rollover that this article compares.
Post-Sale Roth Conversion Ladder: Convert $500K in the Low-Income Year After a Sale
After deferring the gain with a QOZ, the low-income year that follows is prime for Roth conversions — the two strategies stack neatly in a post-sale plan.
Join the Life Money USA newsletter
Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.
Join the newsletter