ESPP Guide: How Employee Stock Purchase Plans Work and How They're Taxed
Many employers offer Employee Stock Purchase Plans (ESPPs) alongside 401(k)s and RSUs, but ESPPs are often underutilized because people don't understand the discount or the tax treatment. An ESPP with a 15% discount is genuinely one of the best guaranteed short-term returns available — but selling at the wrong time can cost you thousands in unnecessary taxes.
What an ESPP Is
An ESPP lets you purchase your employer's stock at a discount using after-tax payroll deductions. The basic mechanics:
- You elect to contribute a percentage of your paycheck (typically 1-15%, subject to IRS limits) to the ESPP
- The money accumulates during an offering period (typically 6-24 months)
- At the end, the plan uses accumulated funds to buy company stock at a discount (often 10-15% off market price)
- You receive the shares
Most plans use a "lookback" provision: the purchase price is 85% of the stock price at either the start of the offering period or the end — whichever is lower. This makes the discount even more valuable when the stock rises during the offering period.
The Math on the 15% Discount
No lookback, simple discount:
- Stock price at purchase: $100
- You pay: $85 (15% off)
- Immediate gain: $15/share (17.6% return before taxes, or ~35% annualized if it's a 6-month period)
With lookback provision (stock rose during offering):
- Stock price at start of period: $80
- Stock price at purchase date: $100
- Purchase price: 85% × $80 = $68 (15% off the lower starting price)
- Immediate value: $100
- Immediate gain: $32/share (47% return before taxes)
The lookback feature means you benefit even when the stock goes up significantly — you're buying at a discount from the lower price.
When the stock falls (lookback protects you):
- Stock price at start: $100
- Stock price at purchase: $70
- Purchase price: 85% × $70 = $59.50 (15% off the current lower price)
- Immediate value: $70
- Immediate gain: $10.50/share (17.6% return)
Even when the stock falls, you capture the 15% discount because the lookback uses whichever endpoint is lower.
Qualified vs. Non-Qualified ESPPs
Most ESPPs are qualified ESPPs (IRC Section 423 plans). These have specific rules that enable favorable tax treatment. Non-qualified ESPPs are simpler but taxed differently.
Qualified ESPP Tax Rules (the important ones)
There are two types of dispositions:
Qualifying disposition: You hold the shares for more than 2 years from the offering date AND more than 1 year from the purchase date.
Disqualifying disposition: You sell before meeting both holding periods.
The holding period starts from the offering date (when the period began), not the purchase date. If you participate in a 12-month offering period and sell shortly after purchase, you might need to wait up to 2 years from the offering start before getting qualifying tax treatment.
Tax Treatment: Qualifying vs. Disqualifying
Qualifying Disposition Tax
When you meet both holding periods:
- Ordinary income: The discount element (either the actual discount or a capped amount — complex formula) is reported as ordinary income on your W-2
- Capital gain: Any additional gain above the ordinary income portion is taxed at long-term capital gains rates (0%, 15%, or 20%)
Example (qualifying):
- Offering date stock price: $80
- Purchase price: $68 (85% × $80)
- Sale price after 2+ years: $120
- Ordinary income: $12/share (the 15% discount of the offering date price = $80 × 15% = $12)
- Long-term capital gain: $40/share ($120 − $80 offering date price)
The cap on ordinary income is the actual discount from the offering date price. If the stock dropped between offering and purchase, the ordinary income portion is just the discount you received.
Disqualifying Disposition Tax
When you sell before the holding periods are met:
- Ordinary income: The actual discount you received (purchase price vs. fair market value on purchase date) is reported as ordinary income on your W-2
- Capital gain: Any gain above the purchase date FMV is short-term or long-term capital gain depending on how long after purchase you sold
Example (disqualifying — sell immediately):
- Purchase date FMV: $100
- Purchase price: $68 (lookback, offering started at $80)
- Sale price (same day): $100
- Ordinary income: $32/share ($100 FMV − $68 purchase price)
- Capital gain: $0 (sold at FMV)
Disqualifying dispositions push more income into ordinary income rates. However, for the "sell immediately" strategy, the tax difference is often smaller than people expect — and the risk of holding concentrated employer stock matters more.
The Sell-Immediately Strategy
The most common ESPP strategy: sell shares immediately at purchase. This captures the guaranteed discount with zero stock price risk.
Pros:
- Risk-free return of ~18-35% annualized on contributions
- Eliminates concentration in employer stock
- Predictable cash flow
Cons:
- Disqualifying disposition (ordinary income rates)
- Requires selling on or near purchase date
- Missing out on further upside if stock rises
For most participants, the guaranteed 15%+ discount makes immediate sale compelling. The tax difference between qualifying and disqualifying dispositions often doesn't justify the risk of holding concentrated employer stock for 2+ years.
Calculation: At a 15% discount with a 6-month offering period, you get an ~18% return before taxes just from the discount. Even at a 35% marginal tax rate, your after-tax return is ~12% in 6 months. Few investments offer anything comparable with no market risk.
IRS Limits
The IRS limits ESPP contributions:
- Maximum $25,000 of stock purchase per year (at fair market value)
- Most plans also cap contributions at 10-15% of salary
If you're earning $100,000 and the plan allows 15% contributions, you can contribute $15,000/year. At the $25,000 cap, this is rarely a binding constraint for most workers.
ESPP in Your Benefits Package
ESPPs are often underutilized because they reduce take-home pay during the offering period and require actively managing the tax decisions. If your employer offers a Section 423 plan with a 15% discount and lookback, maximizing it (or coming close) is almost always worthwhile.
Check your plan documents for:
- Discount percentage (10% is minimum required; many offer 15%)
- Whether a lookback provision exists
- Offering period length
- Contribution limits
- When shares are available to sell after purchase
Common Mistakes
1. Not participating: A 15% guaranteed discount is an exceptional return. Even if you sell immediately, you're leaving money on the table by not participating.
2. Letting shares accumulate without a plan: Some participants forget to sell and end up with large concentrated positions in their employer's stock.
3. Misreporting cost basis: Similar to RSUs, your broker may show incorrect cost basis for ESPP shares. The ordinary income component your employer reports adjusts your basis — your taxable gain is only the appreciation above the FMV on purchase date, not the full sale proceeds minus your out-of-pocket cost.
4. Assuming qualifying disposition is always better: Run the numbers. The tax difference depends on your marginal rate, capital gains rate, and the size of the gain — and the required holding period adds significant stock price risk.
Summary
ESPPs with a 15% discount and lookback provision are among the best guaranteed returns in personal finance. The sell-immediately strategy — accepting disqualifying disposition treatment — is often the right move because it eliminates employer stock concentration risk while capturing the full discount. Qualifying dispositions can reduce taxes on the discount portion, but require holding employer stock for up to 2 years, which introduces real risk.
Participate fully if your employer offers an ESPP, have a plan for what to do with the shares, and verify your cost basis at tax time.