In plain English
An works like a standing discount on your company's stock. A little comes out of each paycheck. Every few months that money buys shares, usually for 15% less than the market price. You don't pay tax when you buy. You pay it when you sell, and how long you held the shares decides how much of the profit is taxed like salary.
Example: $500 comes out of each paycheck for six months, $6,000 in total. The stock is $20 on the purchase date, so with a 15% discount you pay $17 a share and get about 352 shares. That's worth about $7,040 right away, a built-in gain of about $1,040. You owe nothing yet. When you sell, part of that gain is taxed like salary and the rest as a . The worked example below shows the split.
An employee stock purchase plan (ESPP) lets you buy company stock through payroll, usually at a discount of up to 15%. Many plans also have a lookback: the discount applies to the lower of the price at the start of the offering period or on the purchase date.
Nothing is taxed when you buy
For a qualified (Section 423) plan, buying the shares isn't a tax event. The tax comes when you sell, and how it's split between salary-type income and capital gains depends on how long you held the shares.
Qualifying sale
You sell more than two years after the offering start date and more than one year after the purchase date. The part taxed like salary is the smaller of:
- your actual gain (sale price minus what you paid), or
- the discount measured at the offering start date (usually 15% of the start price).
Everything above that is a .
Disqualifying sale
You sell before either ends. The full discount at purchase (market price on the purchase date minus what you paid) is taxed like salary, even if the stock has since dropped. Anything above the purchase-date price is a capital gain: short-term if held a year or less, long-term if longer.
Example
Start price $20, purchase-date price $30, lookback 15% discount, so you pay $17. You later sell at $40.
| Salary-type income | Capital gain | |
|---|---|---|
| Qualifying sale | $3 (15% of $20) | $20 long-term |
| Disqualifying sale | $13 ($30 − $17) | $10 |
Watch your cost basis
Your broker's Form 1099-B often shows only what you paid ($17) as your . The salary-type part is already on your , so add it to your basis or you'll pay tax on it twice.
No withholding
Employers don't withhold on ESPP income, and there's no when you sell. If the gain is large, plan for an estimated payment. See our guide on too little tax withheld.
Try it: add your ESPP purchase in the calculator to see the tax at sale.
Frequently asked questions
Do I pay tax when my ESPP shares are bought?
No. For a qualified plan, tax is due only when you sell the shares.
Is the ESPP discount taxed as capital gains?
No. The discount part is taxed like salary. Only the gain above it can be a capital gain.
Official sources (for the detail-minded)
- IRC §423Rules for qualified employee stock purchase plans
- IRC §421(b)Tax treatment of disqualifying dispositions
- IRS Publication 525Taxable and nontaxable income, including stock purchase plans
Run your own numbers
See your tax, take-home, and what to set aside. Free, and nothing is stored.
Keep reading
How to export your share plan data from Computershare
Download your Computershare holdings and cost basis and import them in one step.
How to export your equity awards from Schwab Equity Award Center
Download your Schwab equity awards and import every grant in one step.
How to export your stock plan data from Fidelity NetBenefits
Download your Fidelity Stock Plan Services grants and import them in one step.
How to export your stock plan data from E*TRADE
Download your E*TRADE stock plan holdings and import every grant in one step.
Estimates only. Not tax, legal, or investment advice. See our methodology