How an ESPP Works, and How It Is Taxed
Updated ·6 min read·Reviewed by the StockTools.ai Research Team
- ▸A qualified Section 423 plan can sell you stock at up to a 15% discount, and buying at 85 cents on the dollar is a 17.6% return on the cash you put in, not 15%.
- ▸The lookback provision prices your purchase off the lower of the offering-date price and the purchase-date price, which turns a rising stock into a much larger discount.
- ▸Contributions are capped at $25,000 of stock value per calendar year, measured at the offering-date price, not at what you actually pay.
- ▸Selling immediately produces a disqualifying disposition, where the discount is taxed as ordinary income and the rest is a normal capital gain or loss.
- ▸A qualifying disposition needs more than two years from the offering date and more than one year from purchase, and the tax saving is often smaller than the risk of holding concentrated stock that long.
What the plan actually does
An employee stock purchase plan takes money out of your paycheck after tax, holds it for an offering period, and then buys company stock with it at a discount. The common structure is a Section 423 qualified plan with a six-month offering period, a 15% discount, and a lookback. Payroll deductions accumulate, the purchase happens on the last day of the period, and the shares land in a brokerage account in your name.
The discount is the entire point, and it is routinely described wrongly. Buying a $100 stock at $85 is not a 15% return. You put in $85 and immediately hold $100, which is 100 ÷ 85 = 17.6% on the money you committed. Over a six-month period, repeated twice a year, that is a meaningful annualized number for taking on a few months of price risk.
The cap is $25,000 of stock per calendar year, and the measurement is the part people get wrong: the limit counts the value at the offering date price, not the discounted price you pay. On a stock at $50 on the offering date, the cap allows 500 shares for the year, and at a 15% discount you would spend $21,250 to buy $25,000 of stock. Most plans also cap contributions as a percentage of salary, often 10% or 15%, which for many people binds long before the IRS limit does.
The lookback, worked through
A lookback sets your purchase price at 85% of the lower of two prices: the stock on the first day of the offering period, and the stock on the purchase date. It is the feature that separates a good ESPP from an ordinary one, and its value rises with volatility.
Take an offering period that opens on January 1 with the stock at $40, and closes on June 30 with the stock at $70. Without a lookback you would pay 85% of $70, or $59.50. With a lookback you pay 85% of $40, or $34. On the June 30 purchase date those shares are worth $70 each. You committed $34 and hold $70, a 106% return on the money, from a plan whose headline number is 15%.
The mechanism protects you in the other direction too. If the stock opened at $70 and closed at $40, the lookback prices you off the $40, so you pay $34 and hold $40. You still get the discount rather than being stuck buying at a price the stock has left behind. Not every plan has this feature, and it is the first thing to check in your plan document, because it changes the arithmetic more than the discount percentage does.
Disqualifying disposition: the fast, simple path
Sell your ESPP shares before clearing both holding periods and you have made a disqualifying disposition. The rule is mechanical: the difference between the market value on the purchase date and what you actually paid becomes ordinary income, reported through your W-2, and anything beyond that is a capital gain or loss with a basis equal to the purchase-date market value.
Using the lookback example, you paid $34 for shares worth $70 on the purchase date. Sell them a week later at $72. The $36 per share spread at purchase is ordinary income. The remaining $2 per share is a short-term capital gain. Your basis for the capital gain calculation is $70, not the $34 you paid, precisely because the $36 was already taxed as income.
The trap here is symmetrical with RSUs, and for the same reason. Your Form 1099-B will often report the basis as the $34 you actually paid, which would tax the $36 twice. Form 3922, which your employer issues for every ESPP purchase, carries the offering-date price, purchase-date price and purchase price needed to compute the correct figures. Keeping Form 3922 with your tax records is what makes the correction on Form 8949 straightforward instead of archaeological.
Qualifying disposition: the slower path, and what it actually saves
To reach a qualifying disposition you must hold more than two years from the offering date and more than one year from the purchase date. Both clocks, not either. On a six-month offering period the binding constraint is usually the two-year offering-date rule, which lands roughly eighteen months after you receive the shares.
The reward is a different, and usually smaller, ordinary income figure. In a qualifying disposition the ordinary income is the lesser of two amounts: the discount computed on the offering-date price, or your actual total gain. Everything above that is long-term capital gain. Suppose the offering price was $40, you paid $34, and you sell three years later at $120. The discount measured at the offering date is 15% of $40, which is $6. So $6 per share is ordinary income and the remaining $80 is long-term capital gain, taxed at 15% or 20% rather than at your marginal rate.
Run the same sale as a disqualifying disposition and the ordinary income component is $36 instead of $6. At a 35% marginal rate against a 15% long-term rate, holding to qualify saved about $6 per share in tax. That is the real, honest size of the incentive, and it is worth naming because the price swing on a single stock over eighteen months routinely dwarfs it. There is also a quirk worth knowing: if you sell at a loss in a qualifying disposition, the ordinary income component is zero, because it is capped by your actual gain.
Where ESPPs go wrong
The most common failure is accumulation. An ESPP that runs twice a year, held for tax reasons every time, quietly becomes a large single-stock position in the same company that signs your paycheck. Employees at companies that fell 70% have discovered that the compounding discount was never worth the concentration, and the tax tail was wagging a much larger dog.
The second failure is the non-qualified plan. Not every ESPP is a Section 423 plan. Non-qualified plans can offer discounts too, but they get no special holding-period treatment: the discount is taxed as ordinary income at purchase, full stop, and there is no qualifying disposition to reach for. Your plan document says which one you have, and it changes the entire calculation above.
The third is participating below the cap without a reason. If the plan has a lookback and a discount and you can afford the payroll deduction, the arithmetic on selling at purchase is unusually favorable for a workplace benefit. The conservative version of the strategy, and the one most fee-only planners describe, is to contribute the maximum you can spare, sell at purchase, take the discount as cash, and invest the proceeds somewhere that is not your employer. It gives up the qualifying-disposition saving and removes the concentration risk that is capable of eliminating it many times over.
FAQ
Is a 15% ESPP discount really a 15% return?
No, it is 17.6%. You pay $85 for $100 of stock, so the return is measured against the $85 you committed: 100 divided by 85 is 1.176. With a lookback on a rising stock the figure can be far higher.
What is the ESPP lookback?
A provision that sets your purchase price at the discount applied to the lower of the offering-date price and the purchase-date price. On a stock that rose from $40 to $70 during the period, a 15% discount with lookback means paying $34 for a $70 share.
What are the two holding periods for a qualifying disposition?
More than two years from the offering date and more than one year from the purchase date. Both must be satisfied. Missing either one makes it a disqualifying disposition.
What is Form 3922 and do I need it?
Your employer issues Form 3922 for each ESPP purchase, showing the offering-date price, purchase-date price and what you paid. It is not filed with your return, but it carries the numbers needed to compute ordinary income and correct cost basis, so keep it with your tax records.
Does the $25,000 limit mean I can spend $25,000?
No. The limit is on the value of stock, measured at the offering-date price. At a 15% discount you would spend $21,250 to reach $25,000 of stock value. Many plans also cap contributions as a percentage of pay, which usually binds first.
Should I hold ESPP shares to reach a qualifying disposition?
It depends on how large the tax saving is against how much single-stock risk you are carrying. On the worked example the saving was about $6 per share, while the stock moved far more than that over the same period. That is a personal financial decision worth running past a fee-only advisor rather than a rule.
Put it to work
Sources & further reading
- ▸ IRC Section 423, employee stock purchase plans
- ▸ IRS Publication 525, Taxable and Nontaxable Income
- ▸ IRS Form 3922, Transfer of Stock Acquired Through an ESPP
- ▸ IRS Topic 427, Stock Options
More to learn
Educational only — not financial advice. Concepts simplified for clarity; markets are messier than definitions.