Understanding Employee Stock Purchase Plans (ESPP): Benefits and How They Work

By Markets & Investing DeskUpdated Nov 10, 2026

Understanding Employee Stock Purchase Plans (ESPP)
Illustration · Fintrev

Definition

An employee stock purchase plan (ESPP) lets employees buy their employer's stock through payroll deductions, often at a discount of up to 15% in a qualified plan.

Key takeaways

  • A lookback provision applies the discount to the lower of the offering-date or purchase-date stock price.
  • The IRS caps purchases at $25,000 of stock per calendar year, valued at the offering-date price.
  • A qualifying sale requires holding shares over two years from the offering date and one year from purchase.
  • Non-qualified plans can offer bigger discounts, but the discount is taxed as compensation in the year you buy.

An employee stock purchase plan (ESPP) is a company-sponsored program that lets employees buy their employer’s stock, usually at a discount to the market price, using money withheld from their paychecks. Deductions build up over a set period, and on a scheduled purchase date the plan uses that cash to buy shares on the employee’s behalf. In the U.S., plans that meet Section 423 of the Internal Revenue Code (“qualified” plans) can offer discounts of up to 15% and favorable tax treatment if the shares are held long enough.

How an ESPP works

Offering period, purchase date and enrollment

Each ESPP runs in cycles. The offering period begins on the offering date (also called the grant date), when employees who have enrolled start contributing. You can join only for an offering period that is open for enrollment, so missing a window usually means waiting for the next one. The purchase date ends a payroll deduction period, and the accumulated cash buys shares at that point. Some offering periods contain several purchase periods, each ending with its own purchase date.

During enrollment you choose how much to contribute, typically as a percentage of pay, and the plan may set its own maximum percentage. Participation is voluntary.

Purchase price, discount and lookback

The discount is set by each plan, up to 15% for a qualified plan. Many plans also include a lookback provision, which applies the discount to the lower of the stock price on the offering date or on the purchase date. If the stock rises during the offering period, you buy at a discount to the older, lower price.

Purchase price with a lookback = (1 − discount) × lower of (offering-date price, purchase-date price)

Eligibility and the $25,000 limit

Section 423 bars anyone who owns 5% or more of the company’s stock from participating. Otherwise, a qualified plan must be offered broadly to employees. The law allows plans to exclude certain groups, such as employees with under two years of service, part-time staff and highly compensated employees, so your plan may require a waiting period before you can join.

The IRS limit allows you to accrue the right to buy no more than $25,000 of stock per calendar year, valued at the offering-date price, not the discounted price you pay. With a 15% discount, the cash you actually spend to reach the cap is closer to $21,250.

Qualified vs. non-qualified ESPPs

Qualified (Section 423) plans must be approved by shareholders, must give all participants equal rights, and must follow limits on the discount and on the length of the offering period. Offering periods generally cannot exceed 27 months, or five years if the price is based only on the purchase-date value. In return, the discount is not taxed when you buy, and you can earn capital gains treatment on part of your profit.

Non-qualified plans can set their own terms, including larger discounts or employer matching shares. The trade-off is taxation: the discount (the spread between market value and your price) is generally treated as compensation in the year you buy, much like wages.

How ESPP shares are taxed

For a qualified plan, tax arises when you sell, and the treatment depends on two holding periods.

Qualifying disposition

A sale is qualifying if you hold the shares more than two years after the offering date and more than one year after the purchase date. Ordinary income is the lesser of:

  1. your actual gain (sale price minus purchase price), or
  2. the discount measured at the offering date (for example, 15% of the offering-date price).

Any remaining profit is a long-term capital gain, taxed at 0%, 15% or 20% depending on income. If you sell at a loss, there is no ordinary income, only a capital loss.

Disqualifying disposition

Selling before either holding period is met is a disqualifying disposition. The full spread at purchase (purchase-date market value minus your price) is ordinary income, even if the stock has since fallen. Anything above or below the purchase-date value is a capital gain or loss, short-term if you held the shares a year or less.

Reporting

Companies issue Form 3922 for each qualified ESPP purchase, recording the dates and prices you need. Ordinary income from a sale typically appears on your W-2. Qualified ESPP income is not subject to Social Security and Medicare tax, and employers are generally not required to withhold income tax on it, so a large sale can leave you owing more at filing time. Brokerage 1099-B forms often show the cost basis as only what you paid. Adding the amount already taxed as ordinary income to your basis on Form 8949 prevents paying tax twice on the same dollars.

Example: one offering period with a lookback

Hypothetical plan: 15% discount, lookback, one six-month purchase period. Stock price is $40 on the offering date and $50 on the purchase date.

  • Purchase price: 85% × $40 = $34
  • Contributions: $6,800, which buys 200 shares
  • Market value at purchase: 200 × $50 = $10,000, an unrealized gain of $3,200 before tax

Scenario A, immediate sale at $50 (disqualifying): ordinary income is ($50 − $34) × 200 = $3,200. There is no capital gain.

Scenario B, qualifying sale at $60: actual gain is $26 per share, and the offering-date discount is 15% × $40 = $6 per share. Ordinary income is $6 × 200 = $1,200, and the long-term capital gain is $20 × 200 = $4,000.

Scenario C, qualifying sale at $30: the actual gain is negative, so ordinary income is zero, and you report a $4 per share capital loss ($800).

Cashing out, selling and leaving a plan

You can usually sell ESPP shares as soon as they reach your account. Selling right away locks in the discount and accepts ordinary income treatment, while holding exposes you to price changes in exchange for possible tax savings.

Deductions not yet used to buy stock belong to you. If you withdraw through the plan administrator, plans commonly refund the accumulated cash, and you can generally stop contributing for future periods, though rules on timing and re-enrollment vary. Leaving the company typically ends participation and returns unused contributions. Shares already purchased stay yours and can be sold.

Limitations and risks

  • Concentration risk: your salary and part of your savings depend on the same company, so many employees diversify part of their net worth into broad funds such as those tracking the S&P 500.
  • Cash flow: deductions come from after-tax pay and are locked in until the purchase date unless you withdraw.
  • Holding-period risk: waiting for qualifying treatment can cost more in price declines than it saves in tax.
  • Tax complexity: two holding periods, adjusted cost basis and no withholding make errors easy.

An ESPP is not a retirement account. Unlike a 401(k) or the Thrift Savings Plan, contributions are made with after-tax dollars and receive no tax deferral on deposit. It also differs from stock options, which give you the right to buy at a fixed price without committing payroll cash, and from restricted stock units (RSUs), which deliver shares as compensation at no cost and are taxed as income when they vest.

FAQs

Where do ESPP shares go after purchase?

They are deposited into a brokerage account held with the broker or administrator your employer uses for the plan, not into a retirement account. From there you can hold them, sell them or transfer them, subject to any plan rules.

The Bottom Line

Employees offered an ESPP can capture a meaningful discount on company stock, especially in plans with a lookback. Selling right away locks in that discount with ordinary income treatment, while holding for a qualifying sale trades possible tax savings for price risk. Participants should diversify out of a single stock, plan for missing withholding at tax time, and adjust cost basis on Form 8949 to avoid paying tax twice.

About this page

Written by Markets & Investing Desk

The Markets & Investing Desk covers investing guides, the financial dictionary, companies, people, economics and market data.

Published
Last updated

Spotted an error? Tell the editors. This page is general information, not financial advice.