ESPP sale tax
How is an ESPP sale taxed: qualifying or disqualifying?
How long you hold ESPP shares decides how much of your profit is taxed as ordinary income, at the same rates as your salary.
Hold more than two years from the offering date and more than one year from the purchase, and at most the plan's discount, measured at the offering-date price, is ordinary income. Sell sooner, and the whole bargain on the purchase day is.
A worked example: one lot, sold two ways
- Shares bought
- 1,000
- Price on the offering date
- $100
- Price you paid
- $85
- Value on the purchase day
- $120
- Sale price
- $150
- Filing status and wages
- Single, $200,000
- State
- Texas
| Qualifying | Disqualifying | |
|---|---|---|
| Offering, purchase, sale | May 15, 2024; November 15, 2024; November 20, 2026 | November 15, 2025; May 15, 2026; November 20, 2026 |
| Ordinary income | $15,000 | $35,000 |
| Capital gain | $50,000 long-term | $30,000 short-term |
| Federal tax on the sale | $11,100 | $19,370 |
The profit is the same $65,000 in both columns. Only its split between ordinary income and gains, and how long the gain was held, changes. The disqualifying sale costs $8,270 more federal income tax.
The 3.8 percent net investment income tax on the gains is not in the table. At this income it adds $1,900 (qualifying) and $1,140 (disqualifying), so with it the disqualifying sale costs $7,510 more.
Tax year 2026. Computed by the same engine the app uses, when this page was built on November 25, 2026.
Income tax only: Social Security and Medicare tax are not included. Assumes your wages are your only other income and you take the standard deduction; itemizing, especially state and local taxes, changes these figures.
How it is calculated
- Buying the shares at a discount through a qualified plan is not taxed when you buy. (Publication 525, Employee stock purchase plan)
- Your company reports the offering date, the purchase date, the value on each and the price you paid on Form 3922. (Form 3922)
- In a qualifying sale, the ordinary-income part is the smaller of your actual gain and the plan's discount measured at the offering-date price. The rest is long-term capital gain. (Publication 525)
- In a disqualifying sale, the ordinary-income part is the purchase-day value minus the price you paid. The rest is a capital gain or loss, short- or long-term from the purchase date. (Publication 525)
- Add the ordinary-income part to your cost basis on Form 8949, because brokers often report only the price you paid. (Form 8949 instructions)
What changes the answer
- Your plan's discount and whether it looks back to the offering-date price.
- Where the share price goes: holding longer for a qualifying sale also means holding the stock risk longer.
- Your other income, which sets the rate on the ordinary-income part.
- Your state, which may tax both parts as ordinary income.
Common questions
What makes an ESPP sale qualifying?
Selling more than two years after the offering date and more than one year after the purchase date.
Miss either date and the sale is disqualifying.
Is the discount always taxed as income?
Usually, but not always.
A disqualifying sale always taxes the whole purchase-day bargain as ordinary income.
A qualifying sale taxes the smaller of your gain and the plan's discount measured at the offering-date price, which is nothing if you sell for less than you paid.
What if I sell at a loss?
In a disqualifying sale you still owe ordinary income tax on the purchase-day bargain, and the loss is a capital loss.
In a qualifying sale for less than you paid, nothing is ordinary income.
Why does my 1099-B show a bigger gain than I made?
Brokers often report only the price you paid as your cost basis.
Report the ordinary-income part (it may or may not be on your W-2) and add it to your basis on Form 8949, or you pay tax on it twice.
Source: IRS Instructions for Form 8949
Why trust these numbers
One deterministic engine computed every figure on this page, the same engine the app uses. AI never calculates. Tax math runs in your browser. See how we verify it.
Not tax or investment advice. Estimates only. Your own figures will differ.