How Does the Purchase Discount Work in an Employee Stock Purchase Plan?

Updated July 9, 2026 6 min read

The appeal of an employee stock purchase plan usually comes down to one number, the discount, but how that discount actually gets applied involves a bit more mechanics than a simple percentage off.

The short answer

An ESPP discount is typically a set percentage, applied to the stock’s price to determine what the employee actually pays per share, with the difference between market price and purchase price representing the built-in benefit. That discount is generally treated as taxable compensation, separate from any additional gain or loss on the shares after purchase, which is taxed under capital gains rules instead.

How the discount is applied to the purchase price

At the purchase date, the plan takes a reference stock price, sometimes the price at the start of the offering period, sometimes the price at the end, and sometimes whichever of the two is lower if a lookback provision applies, and reduces it by the plan’s discount percentage to arrive at the actual purchase price. The employee’s accumulated payroll deductions from the offering period are then used to buy as many whole shares as that discounted price allows, with any leftover cash typically carried forward or refunded depending on the plan’s rules.

Why the discount itself is treated as compensation

The gap between the fair market value of the stock on the purchase date and the discounted price actually paid is generally treated as a form of compensation for tax purposes, since it’s economically similar to the employer providing value beyond regular wages. Depending on the type of plan and how long the shares are held afterward, some or all of that discount may be taxed as ordinary income rather than at capital gains rates, even if the shares aren’t sold right away.

Why the resulting gain is taxed differently than the discount

Once shares are purchased, any further increase or decrease in the stock’s price between the purchase date and a later sale is generally treated separately from the original discount; that additional movement falls under capital gains tax rules, with the rate depending on how long the shares were held before selling. This creates two distinct pieces to track for tax purposes: the original discount, treated largely as compensation, and the subsequent price movement, treated as a gain or loss, and the difference between short-term and long-term treatment can be significant depending on the holding period.

What affects the numbers

What to weigh

Because the tax treatment of an ESPP purchase depends on plan design, holding period, and tax rules that change over time, the discount headline percentage is only part of the picture; the eventual tax bill depends on choices made after the purchase as much as the mechanics of the purchase itself. Reviewing plan documents and current tax guidance, or speaking with a tax professional about a specific situation, is the most reliable way to understand the actual after-tax value of a given discount.