Sold Stock or a Business? How an Opportunity Zone Fund Can Defer the Gain
The short answer: A capital gain from selling stock or a business can be invested in a Qualified Opportunity Fund within 180 days to defer the tax. For publicly traded stock, the window generally starts on the trade date. For a business sale, only the part of the price that produces capital gain qualifies. Ordinary income items, such as inventory, receivables and depreciation recapture on equipment, do not. If you hold the fund investment for at least 10 years, its appreciation can be free of federal capital gains tax.
Selling publicly traded stock
A profit on stock you sell is a capital gain, whether short-term or long-term, and it qualifies for Opportunity Zone deferral. Each sale starts its own 180-day window on the trade date, not the settlement date. This makes an Opportunity Zone fund one way to diversify out of a concentrated position without paying all the tax up front.
- Restricted stock units (RSUs): the value at vesting is taxed as wages and cannot be deferred. Any gain after vesting, when you sell, is a capital gain and qualifies.
- Stock options: the spread on non-qualified options at exercise is ordinary income. A later gain on the shares, or a qualifying sale of incentive stock options, is a capital gain.
- Capital gain distributions from mutual funds and REITs also qualify, with their own start date. See the 180-day rule guide.
Selling a business
How much of a business sale qualifies depends on how the deal is structured. In a stock sale, where you sell your shares, the gain is generally a capital gain. In an asset sale, the price is split across the company's assets, and each piece is taxed according to its own character.
| Part of the sale | Usually taxed as | Can be deferred? |
|---|---|---|
| Shares of a corporation (stock sale) | Capital gain | Yes |
| Goodwill and going-concern value | Capital gain | Yes |
| Real estate | Mostly capital gain | Generally yes, for the capital gain portion |
| Depreciation recapture on equipment | Ordinary income | No |
| Inventory and receivables | Ordinary income | No |
| Non-compete, consulting or employment payments | Ordinary income | No |
| An interest in a partnership or LLC | Mostly capital gain, with part possibly ordinary income | Yes, for the capital gain portion |
Ask your advisor to model the purchase price allocation before you sign. It sets how much of the gain you can defer.
When the 180-day clock starts
- Direct sale: on the closing date, which counts as day 1.
- Earnouts and installment payments: each payment can start its own window, or you can use the last day of the tax year in which the payment arrives.
- Sales by an S corporation, partnership or LLC: if the entity sells and passes the gain to you on a K-1, you can choose the sale date, the last day of the entity's tax year, or the due date of its return without extensions. The entity can also invest the gain itself.
Check your exact date with our 180-day deadline calculator.
Check QSBS first
If your shares are qualified small business stock under Section 1202, some or all of the gain may be excluded from tax outright. Only the taxable portion needs deferring. The two benefits can work together: Pearl Funds I and II pioneered stacking Opportunity Zone and QSBS exemptions in seed-stage venture investing.
Other things to plan for
- The 3.8% net investment income tax on the gain is deferred along with the capital gains tax.
- State taxes: some states, including California, do not follow the federal Opportunity Zone rules, so the deferral may apply only to federal tax.
- Timing around 2027: gains invested from January 1, 2027 fall under the permanent OZ 2.0 rules, with a rolling five-year deferral. A sale made on or after July 6, 2026 has a window that reaches into 2027.
- Paperwork takes time: accredited investor verification, subscription documents and the wire all need to be done before day 180.
Reinvesting in Bitcoin
For founders and executives who want part of their proceeds in Bitcoin, the Pearl Bitcoin Fund invests through the Pearl Bitcoin Company, an operating Opportunity Zone business that holds Bitcoin in segregated custody at Anchorage Digital Bank. The fund offers monthly redemption options, is open only to accredited investors with a $1,000,000 minimum, and expects to accept new subscriptions in 2027.
Common questions
Can I defer the gain from selling my company with an Opportunity Zone fund?
Yes, for the portion that is capital gain. Invest that amount in a Qualified Opportunity Fund within 180 days of the sale. Parts of the price taxed as ordinary income, such as inventory, receivables, equipment depreciation recapture and non-compete payments, cannot be deferred.
Do gains on RSUs qualify?
Partly. The value of RSUs at vesting is wage income and cannot be deferred. Any gain between vesting and the sale is a capital gain and can be invested in a Qualified Opportunity Fund within 180 days of the sale.
Can my S corporation or partnership invest the gain itself?
Yes. An entity that realizes a capital gain can invest it in a Qualified Opportunity Fund directly. If it does not, the owners can invest their share of the gain from their K-1s, with a choice of start dates for the 180-day window.
How do earnout payments work?
Gains reported on the installment method can be invested as they are received. Each payment can start its own 180-day window, or you can use the last day of the tax year in which you received the payment.
Is the 3.8% net investment income tax deferred too?
Yes. Because the deferred gain is not included in income until it is recognized, both the federal capital gains tax and the 3.8% net investment income tax on it are postponed.
Be first to hear when Pearl reopens.
We expect to welcome new investors in 2027.
Join the 2027 List See the Tax Calculator