Tax-Gain Harvesting from ESPP Qualifying Dispositions
By VestedGrant Editorial · Updated · Tax year 2026 · 7 min read
Homer Dodge Martin, On the Seine, c. 1895 ESPP tax-gain harvesting means selling qualifying ESPP shares in a low-income year so their long-term capital gain falls in the 0% federal bracket. For 2026, the 0% rate covers taxable income up to $49,450 for a single filer and $98,900 for a joint return ($48,350 and $96,700 for 2025). The small ordinary-income part of a qualifying sale is taxed at the low ordinary rates of that year, and no net investment income tax applies below $200,000 of MAGI.
Facts checked November 21, 2026 · Figures for tax year 2026 · 11 sources
Key takeaways
- For 2026, long-term capital gains are taxed at 0% up to $49,450 of taxable income for a single filer and $98,900 for married filing jointly.
- A qualifying ESPP sale makes only the lesser of the actual gain or the offering-date discount ordinary income; the rest is long-term capital gain.
- In an illustrative 2026 sabbatical year with $30,000 of wages, 900 qualifying shares can be sold with all $28,800 of long-term gain taxed at 0%, for $648 of federal tax instead of about $7,304 in a $280,000-wage year.
- The 3.8% net investment income tax applies only above $200,000 of modified AGI for a single filer, so it rarely reaches a low-income year.
- California taxes capital gains as ordinary income, so the 0% bracket is a federal benefit only, though lower state brackets still help.
On this page (show sections)
- What is the 0% long-term capital gains bracket?
- How do qualifying ESPP dispositions fit the 0% bracket?
- How much tax does a low-income harvest save?
- When do low-income years happen?
- Which ESPP lots can be harvested?
- How do the NIIT and state taxes affect the harvest?
- Should capital losses be paired with an ESPP harvest?
- How is the harvest sized?
- How does a multi-year harvest work?
- Questions people ask next
- Sources
Consider a software engineer, an illustrative case, who takes a sabbatical in 2026 and earns $30,000 of W-2 wages that year, down from $280,000 the year before. She holds ESPP shares bought over several years at about $34 a share, from offerings priced at about $40, and the stock is now $72. Every lot has passed both qualifying clocks. She sells 900 shares in a qualifying disposition. Each share produces $6 of ordinary income (the 15% offering-date discount) and $32 of long-term capital gain.
Her 2026 taxable income is $30,000 of wages plus $5,400 of ESPP ordinary income, minus the $16,100 standard deduction, or $19,300 of ordinary taxable income, plus $28,800 of long-term gain. The total, $48,100, stays under the $49,450 top of the 0% long-term capital gains bracket for a single filer, so the entire gain is taxed at 0%. The remaining shares stay invested for later years.
This is tax-gain harvesting with ESPP qualifying dispositions. Most employees treat the ESPP as a short-term benefit, but shares held long enough to qualify can be sold in a planned low-income year at very low federal tax.
What is the 0% long-term capital gains bracket?
The 0% long-term capital gains bracket is the range of taxable income where qualified long-term gains owe no federal income tax. The thresholds are taxable income, after deductions:
| Filing status | 0% rate up to (2026) | 0% rate up to (2025) | 20% rate starts (2026) |
|---|---|---|---|
| Single | $49,450 | $48,350 | $545,500 |
| Married filing jointly | $98,900 | $96,700 | $613,700 |
| Head of household | $66,200 | $64,750 | $579,600 |
Between the 0% threshold and the 20% threshold, long-term gains are taxed at 15%. Separately, the 3.8% net investment income tax applies to investment income when modified AGI exceeds $200,000 for a single filer or $250,000 for a joint return; those thresholds are set by statute and not indexed.
Long-term gains stack on top of ordinary taxable income. A single filer in 2026 with $20,000 of taxable ordinary income has $29,450 of 0% room ($49,450 minus $20,000). Long-term gain up to that amount owes no federal income tax; gain above it is taxed at 15%.
How do qualifying ESPP dispositions fit the 0% bracket?
Qualifying ESPP dispositions fit the 0% bracket well because most of their gain is long-term capital gain. Under Section 423 and IRS Publication 525, a qualifying sale produces:
- ordinary income equal to the lesser of the actual gain or the discount at the offering date (15% of the offering-date price in a 15% plan), and
- long-term capital gain on the rest.
For the illustrative shares bought at $34 from a $40 offering and sold at $72, the split is $6 of ordinary income and $32 of long-term gain per share. The ordinary part is small, so most of each share’s gain can use the 0% bracket.
In a low-income year both parts are taxed lightly:
- the ordinary income falls in the 10% or 12% bracket instead of 32% to 37%, and
- the capital gain falls in the 0% or 15% bracket instead of 15% or 20% plus the 3.8% net investment income tax.
The ordinary income counts first, though. It uses up part of the 0% room before any capital gain is placed, so the share count that fits under the threshold has to account for both pieces.
How much tax does a low-income harvest save?
A low-income harvest can cut the federal tax on qualifying ESPP shares to a fraction of the normal-year figure. The table uses the illustrative 2026 single filer, the $6 and $32 per-share split, and the federal brackets for 2026.
| 2026 single filer | Regular year ($280,000 wages) | Sabbatical year ($30,000 wages) |
|---|---|---|
| Marginal ordinary rate | 35% | 12% |
| Long-term capital gains rate | 15% + 3.8% NIIT = 18.8% | 0% |
| Tax on $6 ordinary income per share | $2.10 | $0.72 |
| Tax on $32 long-term gain per share | $6.02 | $0.00 |
| Total tax per share | $8.12 | $0.72 |
| Total on 900 shares | about $7,304 | $648 |
In the regular year, taxable income before the sale is $263,900 ($280,000 minus the $16,100 standard deduction), inside the 35% bracket that runs from $256,225 to $640,600 for a single filer in 2026, and modified AGI is above the $200,000 NIIT threshold. In the sabbatical year, the ESPP ordinary income lands in the 12% bracket and all the gain stays under $49,450.
The saving is about $6,656 on 900 shares, before state tax. It scales with the share count only while the gain still fits under the 0% threshold; above it, gain is taxed at 15%.
When do low-income years happen?
Low-income years happen around planned breaks and transitions. Common examples:
- a sabbatical or extended parental leave,
- a career change with an unpaid gap,
- early retirement before Social Security and required minimum distributions begin,
- a year starting a business, when startup losses offset other income,
- a year after a large liquidity event when the employee works less.
In each case the harvest depends on knowing roughly how much other income the year will hold. Wages earned before the break, severance, unemployment benefits, interest, dividends, retirement distributions and Roth conversions all count toward the same taxable income and use up 0% room.
Which ESPP lots can be harvested?
Only lots that have passed both qualifying clocks can be harvested as described. Each lot needs:
- more than 2 years since its offering (grant) date, and
- more than 1 year since its purchase date.
The clocks run per lot. Shares bought three or more years earlier have usually cleared both, while recent purchases may not have. Form 3922 for each lot shows the grant date in box 1 and the purchase date in box 2.
Within the harvest year, the sale can happen at any time, but a sale late in the year lets the seller see the year’s actual income before sizing it. Specific-share identification lets the seller choose which lots to sell, so lots with the highest basis or the earliest qualifying dates can be picked deliberately.
How do the NIIT and state taxes affect the harvest?
The net investment income tax adds 3.8% to capital gains only when modified AGI exceeds $200,000 for a single filer or $250,000 for a joint return. In a low-income year well below those figures, it does not apply, which widens the gap with a normal high-income year.
State tax is different. California taxes long-term and short-term capital gains as ordinary income, with no special long-term rate, so there is no state equivalent of the 0% bracket. A low-income year still lowers California tax, because California’s brackets are progressive and a smaller total income is taxed at lower rates, but the state saving is smaller than the federal one. Other states vary, and residents of states without an income tax keep the full federal benefit.
California also has its own alternative minimum tax, with a 7% tentative minimum tax rate. It rarely applies to a simple ESPP harvest in a low-income year, but ISO exercises in the same year can trigger it.
Should capital losses be paired with an ESPP harvest?
Capital losses offset capital gains dollar for dollar, and any excess offsets up to $3,000 of ordinary income a year ($1,500 married filing separately), with the remainder carried forward. In a harvest year, realized losses reduce gains that would have been taxed at 0% anyway, so they save little or nothing that year.
The same losses are worth more in a high-income year, where they offset gains taxed at 15% or 20% plus 3.8%, or offset ordinary income at a high marginal rate. That is the trade-off: losses realized in a harvest year are partly wasted, while losses carried forward keep their value. Loss carryforwards from earlier years apply automatically and cannot be held back, so a seller with carryforwards has less need to harvest gains at 0%.
How is the harvest sized?
The harvest is sized by working backward from the 0% threshold:
- Estimate the year’s taxable ordinary income: wages and other ordinary income minus the standard deduction or itemized deductions.
- Subtract that from the 0% threshold ($49,450 single or $98,900 joint for 2026) to find the room.
- Divide the room by the per-share total of ordinary income plus long-term gain, because each share’s ordinary income also uses room.
- Sell that many shares from qualifying lots using specific-share identification.
In the opening example, estimated ordinary taxable income before the sale is $13,900 ($30,000 minus $16,100). The room is $35,550. Each share uses $38 of it ($6 ordinary plus $32 gain), so up to 935 shares fit; 900 leaves a margin for surprises.
Unsold shares keep their holding periods and can be harvested in later low-income years or sold whenever the holder chooses.
How does a multi-year harvest work?
A multi-year harvest repeats the sizing each year across a long low-income window, such as early retirement before Social Security. Consider an illustrative retiree at 58 with $1.5 million of qualifying ESPP shares carrying $600,000 of gain, who plans to claim Social Security at 67. If each of the nine years leaves about $50,000 of 0% room, nine years can realize about $450,000 of gain at 0% federal tax.
Selling the same $450,000 of gain in a single high-income year would cost $67,500 at 15%, $84,600 at 15% plus the 3.8% net investment income tax, or $107,100 at 20% plus 3.8%. The 0% figure assumes the room is not used by other income, and each year’s qualifying sales still produce their small ordinary-income piece. Thresholds are indexed, so the room in later years will differ from 2026.
The Section 423 $25,000 limit applies only to purchases, not to sales, so it does not restrict how many qualifying shares can be sold in any year. Company trading windows can, for current employees.
Questions people ask next
Do ESPP shares have to meet both holding periods before harvesting?
Yes, for the harvest to work as described. Shares sold within 2 years of the offering date or 1 year of purchase are disqualifying dispositions, so the full purchase-date spread becomes ordinary income. Any post-purchase gain can still be long-term if the shares were held more than a year after purchase, but the larger ordinary piece fills the low brackets the harvest is meant to use.
What if my low-income year is only part of a year?
Tax brackets apply to the whole calendar year, so wages earned before a job ends in October count toward the same year's taxable income. Waiting until November or December to sell ESPP shares lets the seller see the year's actual wages, severance and other income before sizing the sale to stay under the 0% long-term capital gains threshold, which is $49,450 of taxable income for a single filer in 2026.
Can I harvest ESPP gains in a year with a Roth conversion?
A Roth conversion is ordinary income and stacks below long-term capital gains in the bracket calculation. The conversion does not change the 0% threshold itself, but every dollar converted uses a dollar of the room under it. A single filer in 2026 with $30,000 of taxable ordinary income, including a conversion, has $19,450 of 0% capital gain room left.
Does California's AMT affect a low-income harvest year?
California has its own alternative minimum tax at a 7% tentative minimum tax rate on income above its exemption, but it rarely matters for a simple ESPP harvest. California taxes capital gains as ordinary income in both systems, and in a low-income year the regular tax usually exceeds the tentative minimum tax. ISO exercises in the same year are the usual reason California AMT appears.
Does the wash sale rule apply when harvesting ESPP gains?
No. Section 1091 disallows losses on sales of stock when substantially identical stock is bought within 30 days before or after the sale; it says nothing about gains. A seller can sell ESPP shares at a gain and buy the same stock back right away, which resets the basis higher. Insider trading windows and company policies may still limit when an employee can buy.
Sources
- Rev. Proc. 2025-32irs.gov
Supporting text
Heads of Household $66,200 $579,600 All Other Individuals $49,450 $545,500
- IRS Topic no. 559, Net investment income taxirs.gov
Supporting text
A 3.8 percent net investment income tax (NIIT) applies to individuals, estates, and trusts that have net investment income above applicable threshold amounts.
- IRS Topic no. 409, Capital gains and lossesirs.gov
Supporting text
the amount of the excess loss that you can claim to lower your income is the lesser of $3,000 ($1,500 if married filing separately)
- 26 U.S.C. § 423 (Employee stock purchase plans)uscode.house.gov
Supporting text
no disposition of such share is made by him within 2 years after the date of the granting of the option nor within 1 year after the transfer of such share to him;
- FTB Tax News October 2026 - 2026 Indexingftb.ca.gov
Supporting text
460,927 768,213 39,951.95 + 11.30% of the amount over 460,927 768,213 & OVER 74,675.27 + 12.30% of the amount over 768,213
- FTB 2025 Form 540 Booklet, Schedule CA line 7aftb.ca.gov
Supporting text
California taxes long and short term capital gains as regular income. No special rate for long term capital gains exists.
- FTB 2025 Schedule P (540)ftb.ca.gov
Supporting text
24 Tentative Minimum Tax. Multiply line 23 by 7.0% (.07)
- California Employer's Guide 2026 (DE 44 Rev. 52)edd.ca.gov
Supporting text
Supplemental Wages Percentage Bonuses and stock options 10.23 percent (.1023) Other types (such as overtime pay, commissions, sales awards, severance, and vacation pay) 6.6 percent (.066)
Show 3 more sources
- FTB 2025 Instructions for Schedule D (540), California Capital Gain or Loss Adjustmentftb.ca.gov
Supporting text
Qualified Small Business Stock – California does not conform to the qualified small business stock deferral and gain exclusion under IRC Sections 1045 and 1202. Enter the entire gain realized in column (e).
- IRS Publication 525, Taxable and Nontaxable Income (ESPP, holding period satisfied)irs.gov
Supporting text
you must include in your income as compensation the lesser of: The excess of the FMV of the share at the time the option was granted over the option price
- 26 U.S.C. § 1091, loss from wash sales of stock or securitiesuscode.house.gov
Supporting text
In the case of any loss claimed to have been sustained from any sale or other disposition of shares of stock or securities where it appears that, within a period beginning 30 days before the date of such sale
Facts checked November 21, 2026 · Tax year 2026
Find a fee-only advisor for your equity
Four questions. You see up to three fee-only advisors listed on Wellspent whose records include equity compensation, right here. Free, no obligation.
- What happens next: your matches appear on this page straight away. Advisors are not sent your details: you open a record and contact the advisor yourself.
- What is shared: your email stays with VestedGrant and is not passed to advisors. The advisor directory (Wellspent) receives your state and topic; an AI model ranks the matches from your answers, without your email. Details in the privacy policy.
Finding fee-only advisors for your answers…
Three advisors picked for your situation
Each is a fee-only advisor listed on Wellspent whose record includes equity compensation. Open a record to see how they work and to contact them directly. No referral fees either way.
No advisor matched those details yet
Try again with "Other / outside the US" as the state, or browse equity-compensation advisors on Wellspent.