The problem in one sentence
You own one stock worth a lot more than you paid for it, and too much of your wealth rides on it. Founders after an IPO, executives with years of vested equity, early employees and heirs to an old family holding all end up here.
Every way out has a tax price. Some options pay it now, some postpone it, and a few remove it, usually by giving something up: control, liquidity, or the shares themselves. This page lays out the choices and how each is taxed, with a link to our full page on each. It is tax education, not a recommendation; Taxstra does not recommend or sell securities, funds or trusts.
Gain on low-basis stock is permanently avoided only if the shares go to charity (directly, through a donor-advised fund, or with a remainder to charity), if you hold them until death and your heirs take a fair market value basis, or if a specific exclusion such as QSBS applies. Everything else, including exchange funds and staged selling, changes when you pay, not whether.
Option 1: Sell and pay the tax
Shares held more than one year produce long-term capital gain. For 2026, the 20 percent rate applies to taxable income above $613,700 for married couples filing jointly and above $545,500 for single filers; for 2027 those amounts are $633,600 and $563,200. On top of that, the 3.8 percent net investment income tax applies to the lesser of your net investment income or your modified AGI above $250,000 (joint) or $200,000 (single). State tax comes on top of both.
Selling is the simplest option and the only one that gives you clean diversification and full liquidity on day one. It is often the right comparison point for everything else: an alternative is worth considering only if it beats paying the tax by enough to justify its cost and complexity.
See how capital gains tax brackets work and how the 3.8 percent net investment income tax is figured.
Option 2: Sell in stages, including under a 10b5-1 plan
Selling over several years does not change the rate on gain that falls in the 20 percent bracket every year. It does spread market timing risk, can keep some gain in the 15 percent bracket in lower-income years, can line sales up with years when you have losses to offset, and can matter a great deal if you are changing state residency.
Company insiders usually sell through a Rule 10b5-1 trading plan, adopted when they do not have material nonpublic information. Directors and officers face a cooling-off period of at least 90 days before the first trade. The plan changes the securities-law risk, not the tax: each sale is taxed exactly as if you sold it yourself.
Details on the 10b5-1 plan rules and the tax planning around scheduled sales.
Option 3: Contribute to an exchange fund
An exchange fund is a private partnership that pools appreciated stock from many investors. Contributing to a partnership is generally tax-free under section 721, provided the fund is not an investment company, and seven-year anti-abuse rules in sections 704(c)(1)(B) and 737 shape when investors can leave without triggering gain. You end up owning a slice of a diversified pool, but your old low basis carries over to what you eventually receive. Diversification now, tax later.
How it works, the seven-year rules and a worked example: exchange fund taxes.
Option 4: Direct indexing around the position
A direct-indexed account owns the stocks of an index individually, so losing lots can be sold for capital losses even when the index rises. Those losses can offset gains as you sell the concentrated stock over time. The account can also exclude your stock and its close peers so you are not adding to the concentration. Harvested losses reduce the basis of what you hold, so this, too, is mostly deferral.
See how direct indexing is taxed and the tax-loss harvesting basics.
Option 5: Give shares to charity or a donor-advised fund
Giving shares held more than one year to a public charity or donor-advised fund generally produces a deduction at fair market value, subject to the AGI percentage limits, and the built-in gain is never taxed to you. For anyone who already gives, giving low-basis shares instead of cash is often the cheapest diversification there is: you give away the most-taxed dollars and buy back exposure with cash if you want it.
The 2026 law changes to charitable deductions, including the new floor on itemized charitable gifts, are covered on the donor-advised fund page.
See the donor-advised fund tax deduction.
Option 6: Charitable remainder trust
A charitable remainder annuity trust or unitrust is not subject to income tax itself, so it can sell the contributed stock without paying tax at the trust level and reinvest the full proceeds. You receive an annuity or unitrust payment for life or a term of years, and the remainder goes to charity. Your payments carry out the trust’s income in tiers, ordinary income first and then capital gain, so the gain is taxed to you gradually as it is paid out. You also get a charitable deduction for the present value of the remainder.
The trust is irrevocable and drafted by your estate planning attorney, and the remainder genuinely leaves the family. It tends to fit people with real charitable intent who want income from the position over time.
See our charitable remainder trust guide.
Option 7: Hold until death for a basis step-up
Property acquired from a decedent generally takes a basis equal to its fair market value at the date of death. Shares held for life therefore pass to heirs with the built-in gain wiped out for income tax purposes. For an older holder with a very low basis, this is often the largest tax saving on the table.
The cost is the concentration risk you carry until then, and the estate tax, which applies to the full value of the estate above the exemption. Shares already moved to an irrevocable trust outside your estate generally do not get the step-up.
Option 8: Special rules that may apply to your shares
Two rules can change the answer completely, so check them first.
Qualified small business stock: if your shares are original-issue stock of a qualifying C corporation that you have held long enough, section 1202 may exclude part or all of the gain from federal tax. The requirements are strict and changed in 2025 for newly issued stock, so they are covered in full on our QSBS page.
Net unrealized appreciation: if the stock is employer stock inside a 401(k) or other qualified plan, a lump-sum distribution of the shares lets the appreciation while in the plan go untaxed until you sell the shares, unless you elect otherwise. That can convert what would have been ordinary income into capital gain.
See QSBS under section 1202 and the net unrealized appreciation strategy.
Option 9: Hedging, and the constructive sale trap
Some holders try to lock in value without selling, using options collars, prepaid variable forwards, short sales or swaps. These raise tax questions that turn on the exact terms.
Under section 1259, you are treated as selling an appreciated position if you (or a related person) enter into a short sale of the same or substantially identical property, an offsetting notional principal contract, or a futures or forward contract to deliver it. You recognize the gain at fair market value that day and start a new holding period, even though you still own the shares. The statute also lets Treasury extend the rule by regulation to transactions with substantially the same effect.
Hedges that are not constructive sales can still be straddles under section 1092. A loss on one leg of a straddle is deductible only to the extent it exceeds the unrecognized gain on the offsetting position, and interest and carrying costs can be required to be capitalized.
Insiders face two more layers
Many companies’ insider trading policies prohibit or restrict hedging by employees and directors, and entering into a hedge can affect a 10b5-1 plan. Read the policy and talk to securities counsel before any hedge, and have the tax effect modeled before you sign.
The options side by side
This table compares the tax treatment only. Investment risk, fees, liquidity needs and family goals are separate questions for your investment adviser and attorney.
| Option | Tax now | What happens to the gain | Liquidity | Full guide |
|---|---|---|---|---|
| Sell outright | Up to 20% plus 3.8% federal, plus state | Taxed in full | Full | Capital gains tax |
| Sell in stages or under a 10b5-1 plan | Spread across years | Taxed in full, timing changes | Gradual | 10b5-1 plans |
| Exchange fund | Generally none at contribution | Deferred; low basis carries over | Illiquid; exit shaped by 7-year rules | Exchange funds |
| Direct indexing alongside | Harvested losses offset gains | Mostly deferred through lower basis | Full | Direct indexing |
| Gift to charity or DAF | None on the gain; deduction subject to limits | Never taxed to you | Shares leave you | Donor-advised funds |
| Charitable remainder trust | None at the trust; deduction for remainder | Taxed to you as paid out | Income stream | Charitable remainder trusts |
| Hold until death | None | Basis generally steps up to value at death | Full but undiversified | Step-up in basis |
| QSBS (if eligible) | Part or all excluded | Excluded portion never taxed | Full | QSBS |
| NUA (plan employer stock) | Plan’s cost of the shares generally taxed at distribution | Appreciation taxed when sold | Full | NUA strategy |
| Hedge | May be a constructive sale | Can be taxed at once under 1259 | Varies | This page (option 9) |
Educational summary of federal tax treatment; each row depends on facts covered on its owner page.
Worked example: one position, three endings
Suppose a married couple filing jointly owns $4,000,000 of one stock with a $400,000 basis, all long-term. Their other income already puts them in the 20 percent capital gain bracket and over the net investment income tax threshold.
Worked example
$4,000,000 position with a $400,000 basis
- Sell everything this year: gain
- $3,600,000
- Federal tax at 20% plus 3.8%
- About $856,800
- Sell 25% a year for 4 years: federal tax each year
- About $214,200
- Total over 4 years (same brackets each year)
- About $856,800
- Give 10% of the shares ($400,000, basis $40,000) to a DAF: gain never taxed
- $360,000
- Federal tax not owed on that gain
- About $85,680, plus a deduction subject to limits
- Hold the rest until death: gain taxed to heirs who sell soon after
- Generally none
Hypothetical round numbers. Staging the sale saves tax only if some of the gain lands in a lower bracket or offsets losses; the main benefit shown is timing. The charitable deduction depends on AGI limits and the 2026 charitable rules. State tax and estate tax are ignored. Educational, not individualized tax advice.
When to hire a CPA, and when you can handle it yourself
If the position is modest relative to your income, you plan simply to sell it over a year or two, and you have clean basis records, you can estimate the tax yourself with the brackets above and our calculators.
A CPA earns the fee when the numbers are large, several options are in play at once, a state move is involved, the shares are equity compensation with mixed lots and holding periods, or a charitable trust or exchange fund is on the table. Taxstra models each option’s tax cost before you act, prepares the returns that result, and coordinates with your investment adviser, estate planning attorney and securities counsel. We do not recommend or sell any security, fund or trust.
What to check before you act
A practical review sequence for the return, books, or planning file.
Gather basis and acquisition dates for every lot, including equity compensation lots.
Check whether any shares could be QSBS or are employer stock inside a qualified plan.
Compute the federal and state tax on selling everything now, as the baseline.
Identify gains or losses you can line up against sales this year and next.
If you are an insider, read the insider trading policy and talk to counsel about a 10b5-1 plan.
If you give to charity, compare giving shares instead of cash.
Before any hedge, get the constructive sale and straddle analysis in writing.
“I recently had the pleasure of working with Taxstra, and I must say, the experience exceeded my expectations. From start to finish, their professionalism, expertise, and customer care were outstanding.”
Published client feedback. Individual experiences vary.
High income earner, business owner or landlord? Here is what this changes for you.
Book your free 30-minute tax fit call to talk through your next steps.
Common mistakes
The shortcuts most likely to produce a confident but wrong answer.
Selling the wrong lots
With many lots at different prices, choosing lots deliberately (and identifying them to the broker at the sale) changes the gain and the short or long-term character.
Giving cash while keeping low-basis stock
A gift of appreciated shares held more than one year generally gives the same deduction and also avoids the gain.
Hedging without tax review
A short sale, swap or forward on the same stock can be a constructive sale under section 1259, taxed immediately with no cash from a sale.
Assuming an exchange fund ends the tax
The low basis carries over to what you receive at exit. The gain is deferred.
Ignoring the 3.8 percent tax
A large sale can add the net investment income tax to every dollar of gain above the threshold.
Moving states mid-sale without planning
Which state can tax the gain depends on residency when you sell and, for equity compensation, where you worked. Plan sales around a move.
