Home Blog ESPP Tax Rules: How Employee Stock Purchase Plans Are Taxed
Stock performance chart on monitor representing ESPP investments
Equity Compensation

ESPP Tax Rules: How Employee Stock Purchase Plans Are Taxed

Employee Stock Purchase Plans are one of the most overlooked benefits in tech compensation packages. A qualified ESPP under Section 423 of the Internal Revenue Code lets you purchase company stock at a discount, typically 15% below market price, using after-tax payroll deductions. It is essentially free money, yet the tax rules around selling ESPP shares trip up thousands of employees every year.

The distinction between a qualifying disposition and a disqualifying disposition determines how much of your profit is taxed as ordinary income versus capital gains. Getting this wrong, or failing to report it correctly, can lead to overpayment of taxes or IRS notices. This guide covers the mechanics, the math, and the strategies. For personalized planning around your ESPP and other equity compensation, visit our equity compensation tax services page.

How ESPPs Work

A typical Section 423 ESPP has the following structure:

  • Offering period: Usually 6 to 24 months, during which you accumulate payroll deductions (commonly up to 15% of your eligible compensation, capped at $25,000 in stock value per year).
  • Purchase periods: At the end of each purchase period (often every 6 months), your accumulated deductions are used to buy shares.
  • Discount: You purchase shares at a discount, most commonly 15% off the fair market value.
  • Lookback provision: Many plans use the lower of the stock price at the beginning of the offering period or the end of the purchase period. This "lookback" can result in a discount far greater than 15% if the stock has appreciated during the offering period.

Example

Suppose the stock price is $100 at the start of the offering period and $150 at the end of the purchase period. With a 15% discount and lookback, your purchase price is 85% of the lower price: $100 x 0.85 = $85 per share. You are buying $150 stock for $85, an effective discount of 43%.

Qualifying vs. Disqualifying Dispositions

The tax treatment of your ESPP shares depends entirely on when you sell them relative to two key dates:

  1. The grant date (first day of the offering period)
  2. The purchase date (date shares were bought)

Qualifying Disposition

To qualify for favorable tax treatment, you must hold the shares for at least:

  • Two years from the grant date (start of offering period), AND
  • One year from the purchase date

If both conditions are met, the ordinary income component is limited to the lesser of:

  • The actual gain on the sale (sale price minus your purchase price), OR
  • The discount at the grant date (typically 15% of the FMV on the offering date)

Any remaining gain is taxed as a long-term capital gain.

Disqualifying Disposition

If you sell before meeting both holding period requirements, the bargain element at purchase (FMV on purchase date minus your purchase price) is taxed as ordinary income. Any additional gain or loss above the FMV at purchase is a capital gain or loss, short-term or long-term depending on how long you held the shares after the purchase date.

Aspect Qualifying Disposition Disqualifying Disposition
Holding period met? Yes (2 years from grant, 1 year from purchase) No
Ordinary income amount Lesser of: actual gain or grant-date discount Bargain element at purchase (FMV − purchase price)
Capital gain treatment Long-term on remaining gain Short or long-term depending on hold period
Employer W-2 reporting No (you self-report on return) Yes (bargain element added to W-2)
A disqualifying disposition is not always bad. In some cases, particularly when the stock price has declined after purchase, a disqualifying disposition may actually result in a lower overall tax bill because the ordinary income is based on the actual gain rather than the full discount.

Reporting ESPP Income on Your Tax Return

ESPP tax reporting involves multiple forms, and your broker's default cost basis reporting is often incorrect. Here is what to expect:

Form 3922

Your employer provides Form 3922 (Transfer of Stock Acquired Through an Employee Stock Purchase Plan) for each purchase. This form shows the grant date, purchase date, FMV on both dates, purchase price, and number of shares. You do not file Form 3922 with your return, but you need it to calculate the correct tax treatment.

Form 1099-B

When you sell, your broker issues Form 1099-B. Critical issue: the cost basis reported on Form 1099-B typically does not include the ordinary income (compensation) component. If you report the sale using only the 1099-B, you will double-count income, paying both ordinary income tax and capital gains tax on the discount portion.

Correct Reporting

You must adjust the cost basis on Schedule D / Form 8949 to include the compensation income already reported on your W-2 (for disqualifying dispositions) or reported as ordinary income on your return (for qualifying dispositions). The steps are:

  1. Report the sale on Form 8949 with the proceeds from the 1099-B.
  2. Enter the adjusted cost basis (purchase price plus any ordinary income recognized).
  3. If the 1099-B shows a different (lower) basis, use column (f) code B to indicate a basis adjustment.
  4. The difference is reconciled so you are not taxed twice on the same income.

Strategies to Maximize Your ESPP Benefit

  • Always participate. With a 15% discount and lookback, the ESPP offers a guaranteed return on the purchase date. Even if you sell immediately (disqualifying disposition), you lock in the discount minus taxes. For most employees, this is one of the highest risk-adjusted returns available.
  • Maximize your contribution. Contribute the maximum allowed (typically 15% of eligible pay, up to the $25,000 annual limit). The higher your contribution, the more shares you acquire at a discount.
  • Consider the hold vs. sell decision carefully. Holding for the qualifying disposition period (2 years from grant, 1 year from purchase) can reduce taxes, but it also introduces stock price risk. If the stock drops during the holding period, the tax savings may not offset the capital loss.
  • Sell immediately and reinvest if concentration is a concern. Many tech employees are already heavily exposed to their employer through salary, RSUs, and options. Selling ESPP shares promptly and reinvesting in a diversified portfolio reduces concentration risk while still capturing the discount.
  • Track every lot separately. Each purchase period creates a separate tax lot with its own purchase date, grant date, cost basis, and holding period. Mixing up lots leads to incorrect tax reporting.

Common ESPP Mistakes

  1. Not adjusting cost basis on Form 8949. This is the single most common ESPP filing error. If you use the cost basis from your 1099-B without adjustment, you overpay taxes.
  2. Confusing the grant date with the purchase date. The grant date is the first day of the offering period, not the date you purchased shares. This distinction matters for the qualifying disposition holding period.
  3. Forgetting to report qualifying dispositions as income. Unlike disqualifying dispositions, qualifying disposition income does not appear on your W-2. You must self-report the ordinary income component on your return.
  4. Not participating at all. Some employees skip the ESPP because they do not understand it or are focused on other equity. With a 15% guaranteed discount, this is leaving money on the table.

The Bottom Line

ESPPs are one of the most tax-efficient employee benefits available at public companies. The combination of a purchase discount, lookback provision, and the potential for long-term capital gains treatment makes them an essential component of your overall compensation strategy. But the reporting complexity means that accurate tax preparation is critical.

At Silicon Valley Tax, we handle ESPP reporting for hundreds of tech employees across the Bay Area. Our team ensures that every lot is tracked correctly, cost bases are properly adjusted, and you are not overpaying due to reporting errors. Learn more about our equity compensation tax services or schedule a consultation to review your ESPP holdings.

Have a tax question?

Schedule a free consultation and get personalized guidance from our team of tax professionals.