If you bought bitcoin or ether years ago, you may be looking at a gain so large that selling feels impossible. Sell, and federal tax alone can take close to a quarter of the profit. Hold, and your net worth stays tied to one volatile asset.
A Qualified Opportunity Fund (QOF) offers a middle path. You sell, move the gain into a fund that invests in designated low-income communities, and the tax on that gain waits. Hold long enough and part of it disappears, and the fund's own growth can come out tax-free.
The program was rebuilt by the One Big Beautiful Bill Act in July 2025, and the new version starts on January 1, 2027. The timing of your sale and your investment now matters more than ever. Here's how it works, with numbers.
The idea in one paragraph
When you sell an asset at a gain, you have 180 days to invest an amount equal to that gain in a QOF. If you do, and you elect deferral on your tax return, you don't pay tax on the gain yet. You only need to invest the gain, not the full sale proceeds. Your original investment (your cost basis) was never taxable, so you keep it and can spend it however you like.
Under the 2027 rules, three things happen after that:
- Year 5: the deferred gain becomes taxable, but 10% smaller. After five years, 10% of the deferred gain is permanently excluded (30% if the fund is a qualified rural fund). You report the rest on that year's return.
- Year 10: the fund's growth can be tax-free. If you hold the QOF investment for at least 10 years, you can elect to treat its basis as its fair market value when you sell. Any increase in the fund's value is never taxed.
- Year 30: the clock stops. The tax-free growth is capped at 30 years. If you hold longer, your basis is fixed at the value on the 30th anniversary and growth after that is taxable.
Does crypto count? Yes, with one catch
Opportunity Zone deferral applies to capital gains, and the IRS treats crypto as property. A gain from selling bitcoin, ether or any other digital asset to an unrelated buyer is generally an eligible gain, just like a gain on stock or a business sale. Short-term gains qualify too; they keep their short-term character when they're eventually taxed.
The catch: you can't put the crypto itself into the fund. QOFs must hold at least 90% of their assets in qualified opportunity zone property, meaning real estate and operating businesses in designated census tracts. Crypto doesn't qualify. So the strategy always means:
- Realize the gain by selling (or swapping) your crypto, and
- Invest cash equal to the gain in a QOF within 180 days.
The cash doesn't have to be the actual sale proceeds. If you swap ether for another token, that swap is a taxable sale. You can keep the new token and invest other cash equal to the gain.
A QOF only helps if you're going to sell anyway. If you never sell, an unrealized gain isn't taxed in the first place. QOFs are a tool for people who want to take money off the table, rebalance or diversify without handing a large share to the IRS this year.
The rules in 2026 (the old program)
The original program from the 2017 tax law is winding down, and its key date is almost here.
- All deferred gains come due on December 31, 2026. Anyone who invested in a QOF between 2018 and 2026 must report the remaining deferred gain on their 2026 return, filed in 2027. IRS Notice 2026-40 confirms that this "deemed included gain" can't be deferred again into a new fund.
- The old step-ups are gone. The original law gave a 10% basis increase after 5 years and 15% after 7. With a fixed December 31, 2026 end date, an investment made today can't reach either.
- The 10-year exclusion survives. Old-program investors who keep their QOF investment for at least 10 years can still elect tax-free treatment of the fund's growth, for sales before January 1, 2048.
- The 2018 zone map expires on December 31, 2028. And with narrow exceptions, property a fund buys after 2026 has to be in a newly designated zone to count.
What this means for a 2026 investment: if you sell crypto in 2026 and invest in a QOF before the end of the year, the deferral ends on December 31, 2026. You'd pay the tax with your 2026 return in April 2027, the same as if you hadn't invested. The only benefit left is the 10-year exclusion on the fund's growth.
The rules from 2027 (the new, permanent program)
The One Big Beautiful Bill Act made Opportunity Zones permanent, with these changes for investments made after December 31, 2026:
| Old program (investments through 2026) | New program (investments from January 1, 2027) | |
|---|---|---|
| When deferred gain is taxed | Earlier of sale or December 31, 2026 | Earlier of sale or 5 years after the investment |
| Permanent reduction of the deferred gain | None for new investments (10% / 15% windows closed) | 10% after 5 years; 30% for qualified rural funds |
| Tax-free growth after 10 years | Yes, for sales before 2048 | Yes, up to 30 years after the investment |
| Zone map | 2018 zones, expire end of 2028 | New zones every 10 years; first set effective January 1, 2027 |
| End date | Program sunset | Permanent |
A few other points:
- New zones. Treasury announced the new zone list in November 2026: about 6,576 census tracts across every state, D.C. and the territories, effective January 1, 2027 through December 31, 2036. The definition of an eligible low-income tract is stricter than in 2018, so many old zones dropped off and some new ones were added.
- Rural funds. A qualified rural opportunity fund (one with at least 90% of its assets in rural zones) gets the 30% reduction, and its buildings need less improvement to qualify.
- More reporting. Funds face new annual reporting requirements and penalties, which should make it easier to see what you're investing in.
The 2026-into-2027 window
This is the most important planning point in this article, and IRS Notice 2026-40 confirmed it in June 2026: a gain realized in 2026 can use the new 2027 rules if the QOF investment is made on or after January 1, 2027, within the 180-day window.
Because the window is 180 days, any gain realized on or after about July 6, 2026 has a window that reaches into 2027. For a sale in the last months of 2026, there's still time to plan.
Example 1: sell in December, invest in January
Dana bought $50,000 of bitcoin in 2020. In December 2026 it's worth $1,050,000. Dana wants to diversify, so Dana sells on December 1, 2026 and realizes a $1,000,000 long-term gain.
Dana's 180-day window runs to about May 29, 2027. Dana invests $1,000,000 in a QOF in January 2027 and keeps the $50,000 original investment.
| No QOF | QOF investment in January 2027 | |
|---|---|---|
| Federal tax on the gain (20% + 3.8% net investment income tax) | $238,000, due April 2027 | $0 in 2027 |
| Gain taxed in year 5 (January 2032) | n/a | $900,000 (10% excluded) |
| Federal tax at today's rates | n/a | $214,200, due with the 2032 return (April 2033) |
| Federal tax saved on the original gain | n/a | $23,800, plus six years before paying the rest |
| If the QOF is worth $2,000,000 after 10 years and Dana sells | n/a | $1,000,000 of growth, federal tax $0 (would be $238,000) |
Had the fund been a qualified rural fund, $300,000 would have been excluded and only $700,000 taxed in year 5.
Example 2: same sale, invested in 2026
Same facts, but Dana invests in a QOF on December 15, 2026. Under the old rules the deferral ends on December 31, 2026, so Dana reports the full $1,000,000 gain on the 2026 return and pays the $238,000 in April 2027. No deferral, no 10% reduction. Waiting a few weeks to invest makes a difference of years.
Example 3: the year-5 bill
The year-5 tax is due whether or not the fund has paid you anything. QOFs are long-term, illiquid investments, so Dana needs to plan for roughly $214,000 of federal tax in 2033 from other savings.
There's one cushion: the taxable amount in year 5 is the smaller of the deferred gain or the investment's fair market value at the time, minus the 10% basis increase. If the fund has lost value by then, the year-5 tax is lower.
Example 4: a smaller gain and a mixed year
Sam sold some ether in 2026 for a $60,000 gain and also sold other tokens at a $45,000 loss. Sam's net gain for the year is only $15,000. Deferring the full $60,000 into a QOF would push the gain out to 2032 but leave the $45,000 loss with little to offset this year (beyond the $3,000 a year it can offset against ordinary income). For Sam, a QOF probably isn't worth it. Look at the whole year before deciding which gains to defer.
Before you sell: a checklist
- Know your real gain. Exchanges report sale proceeds on Form 1099-DA, but cost basis is only reported for crypto bought in 2026 or later. If you bought years ago, the gain on your return depends on your own records. See crypto cost basis reconstruction and 1099-DA reconciliation.
- Mark the 180 days. The window starts on the day of the sale. For gains from a partnership or S corporation, other start dates may apply.
- Time the investment for 2027. A 2026 gain invested in 2026 gets almost nothing; the same gain invested on or after January 1, 2027 gets the new rules.
- Look at the fund, not just the tax break. A QOF is a real estate or business investment in a lower-income community, usually held for 10 years or more. Fees, the sponsor's track record, the projects and your exit all matter more than the tax savings. QOF interests are securities; we explain the tax side and don't sell or recommend any fund.
- Plan for the year-5 tax. Set aside cash for the bill.
- File the paperwork. The deferral election is made on Form 8949, and you file Form 8997 every year you hold the investment. Missing forms can cost you the benefit.
When a QOF doesn't make sense
- You aren't planning to sell. Holding doesn't trigger tax.
- The gain is small, or offset by losses you've already harvested.
- You'll need the money within 10 years. The biggest benefit, tax-free growth, needs a 10-year hold.
- You'd rather keep investing in crypto. A QOF can't hold digital assets.
- You'd rather own real estate directly. For real estate you already own, a 1031 exchange may fit better; crypto doesn't qualify for 1031 treatment.
A note on state taxes
Everything above is federal. States decide for themselves whether to follow the Opportunity Zone deferral, and not all do. New York, for example, stopped following it in 2021, so a New York resident who invests in a QOF still owes state tax on the gain in the year of the sale. Check your own state's rules before you count on a state benefit. For our home states, see New Jersey crypto tax and New York crypto tax.
Talk to us before you sell
The order of steps matters: when you sell, when you invest and how you report it. If you're holding a large crypto gain and thinking about 2026 or 2027, book a consultation and we'll run the numbers for your situation. We work with clients nationwide. More on how we work with digital-asset investors: crypto tax services. For moves to make before December 31, see our 2026 year-end crypto tax planning guide.
Frequently asked questions
Can I invest my crypto directly in an Opportunity Zone fund?
No. You sell the crypto, realize the gain and invest cash equal to the gain within 180 days. The fund invests in real estate and businesses in designated zones, not in digital assets.
Do I have to invest all of my sale proceeds?
No. Only an amount equal to the gain needs to go into the fund to defer all of it. Your original cost basis was never taxable, and you can keep it.
I sold crypto in the fall of 2026. Can I still use the 2027 rules?
Usually, yes. If your 180-day window reaches into 2027 and you invest on or after January 1, 2027, IRS Notice 2026-40 says the new rules apply: deferral for up to five years and a 10% reduction (30% for rural funds) after five years.
When will I pay the tax on the deferred gain?
Under the 2027 rules, the deferred gain is taxed in the year you sell the fund interest or five years after the investment, whichever comes first.
Is the fund's growth really tax-free?
If you hold the investment for at least 10 years and make the election when you sell, the gain on the fund investment itself is excluded from federal income tax, up to 30 years after the investment. The original deferred gain is still taxed in year 5.
Does my state follow the federal Opportunity Zone rules?
It depends on the state. Some follow the federal deferral and some don't (New York stopped in 2021), so check your state's rules before you count on a state tax benefit.