What Is an Employee Stock Purchase Plan (ESPP)?

An employee stock purchase plan, usually called an ESPP, lets you buy your employer’s stock at a discount of up to 15% off the market price using after-tax payroll deductions. You don’t owe tax when the shares are purchased under a qualified plan; the tax hits when you sell, and the rate depends on how long you held the shares. The discount is real money, but a few rules โ€” the annual purchase cap, the holding periods, and a cost basis quirk at tax time โ€” catch participants off guard.

How the Discount and Look-Back Work

Federal law caps the ESPP discount at 15%, so the purchase price can be no lower than 85% of the stock’s fair market value.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans If shares trade at $100 on the purchase date, you pay $85. That $15 built-in gain is the main draw.

Many plans add a look-back provision that makes the discount more valuable. Instead of applying the 15% off the purchase-date price alone, the plan uses the lower of the price on the offering date (when the period began) or the purchase date. If the stock was $10 on the offering date and $20 by the purchase date, the discount is applied to $10, so you pay $8.50 per share for stock now worth $20.

If the stock falls during the offering period, the look-back still protects you: the discount applies to the lower purchase-date price. You never pay more than 85% of the stock’s value on the day you actually buy. The 15% cushion isn’t a guarantee of profit, though, if the price keeps dropping after purchase.

Enrolling and Contributing

Participation begins during an enrollment window, usually a few weeks before a new offering period starts. You pick a contribution percentage through your employer’s benefits portal or the brokerage running the plan. Deductions come out of each paycheck on an after-tax basis, so they do not reduce your taxable income the way 401(k) contributions do.2Fidelity Investments. FAQs – Employee Stock Purchase Plans The money sits in a holding account until the purchase date, when the plan automatically buys shares at the discounted price.

Most plans let you adjust your contribution rate or stop deductions during the offering period, though some limit how many changes you can make. Dropping your rate to zero can be treated as a withdrawal that suspends you from the current offering. If you withdraw before the purchase date, your accumulated contributions are typically refunded through payroll without interest. Once a purchase date passes, a new offering period usually begins immediately, so you can keep participating without re-enrolling.

The $25,000 Annual Limit

Under Section 423, you can’t accumulate the right to purchase more than $25,000 of stock per calendar year across all of your employer’s qualified ESPPs.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans This number confuses people because it isn’t based on how much you contribute or what you actually pay. The $25,000 is measured by the fair market value of the stock on the grant date, which is usually the first day of the offering period.3Internal Revenue Service. Internal Revenue Bulletin 2009-49

Practical example. If the stock is $50 on the offering date, you can purchase up to 500 shares that year ($25,000 รท $50). If the stock rises to $80 by the purchase date, those 500 shares are now worth $40,000, but you haven’t violated the limit because the IRS uses the grant-date price. A common mistake is assuming you can simply cap your contributions at $21,250 (85% of $25,000) and stay compliant. That shortcut fails when the stock moves between the offering date and the purchase date. Any contributions over the limit get refunded.

Who Can Participate

A qualified plan generally has to be open to all employees, but the tax code allows several exclusions. Employers can leave out workers employed for less than two years, those customarily scheduled 20 hours or less per week, and seasonal employees who work five months or fewer per year.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Highly compensated employees can also be excluded at the company’s discretion. In practice, many employers set a shorter minimum service period than the two-year maximum, with 90 days common in plan documents.

One exclusion is mandatory: employees who already own 5% or more of the company’s total voting power or stock value can’t participate. Before enrolling, check your plan’s specific eligibility rules, because the service and hours thresholds vary within the statutory limits.

Qualified vs. Non-Qualified Plans

Most ESPPs at publicly traded companies are “qualified” plans that follow Section 423. Qualified status means no tax is owed when you purchase the shares โ€” you only owe when you sell.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans The plan has to meet several requirements to qualify, including shareholder approval, broad employee eligibility, the 15% discount cap, and equal rights for participants.

Non-qualified ESPPs operate outside Section 423 and skip the tax deferral at purchase. When you buy shares through a non-qualified plan, the difference between the fair market value and your purchase price is taxable as ordinary income immediately, like a paycheck, and it’s subject to Social Security and Medicare withholding.4Internal Revenue Service. Topic No. 427, Stock Options Companies use non-qualified plans when they need flexibility Section 423 doesn’t allow, such as including international employees or contractors, or offering the plan selectively.

Taxes When You Sell

No tax event happens when you buy shares through a qualified ESPP. The bill arrives when you sell, and what you owe turns on whether the sale is a qualifying or a disqualifying disposition. The difference can mean ordinary income rates versus long-term capital gains rates on a sizable chunk of your profit.

Qualifying Dispositions

A sale qualifies for preferential treatment if you hold the shares more than two years after the offering date and more than one year after the purchase date.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans When you clear both, the ordinary income you must recognize is the lesser of the actual gain on the sale or the discount measured against the offering-date price. Everything above that is a long-term capital gain.

Say you enrolled when the stock was $40, bought at $34, and sold two years later at $60. The discount based on the offering-date price is $6 per share. Your actual gain is $26 per share. You report $6 as ordinary income and the remaining $20 as a long-term capital gain. Long-term capital gains rates for 2026 range from 0% to 20% depending on your total taxable income.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses If the stock dropped and you sold at a loss, you’d recognize zero ordinary income and report the loss as a capital loss.

There’s another benefit people miss: the ordinary income portion of a qualifying disposition isn’t subject to Social Security or Medicare taxes. That’s another 7.65% saved compared to regular wages.

Disqualifying Dispositions

If you sell before meeting either holding period, the full spread between your purchase price and the stock’s fair market value on the purchase date is taxed as ordinary income, regardless of what you actually sell the shares for. Any gain above that spread is a capital gain, short-term or long-term depending on how long you held from the purchase date. Shares held longer than one year from purchase get long-term treatment even in a disqualifying disposition.

Using the same numbers: if you bought at $34 when the market value on the purchase date was $46, and sold six months later at $50, the $12 spread is ordinary income. The remaining $4 is a short-term capital gain. If you instead sold 14 months after purchase, that $4 would be long-term, even though the sale is still disqualifying because you hadn’t yet hit the two-year offering-date mark.

Fix Your Cost Basis at Tax Time

This is where most ESPP participants make an expensive filing mistake. Your broker reports a cost basis on Form 1099-B that typically equals only the discounted price you paid, not the adjusted basis that accounts for the ordinary income you already reported. Enter the 1099-B basis directly on your return without adjustment, and you pay tax twice on the discount portion.

To fix it, report the sale on IRS Form 8949 and increase your cost basis by the ordinary income recognized on the disposition. Your employer should put that ordinary income figure on your W-2 for the year of the sale, and many brokers issue a supplemental information form that walks through the adjustment. The corrected basis goes in column (g) of Form 8949 as a basis adjustment. Your employer is also required to file Form 3922 for each transfer of stock acquired through a qualified ESPP, which gives you the offering-date price, purchase-date price, and purchase price needed for the calculation.6Internal Revenue Service. About Form 3922, Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c) Keep these forms. Reconstructing the data years later is painful, and on a large block of shares the double-tax error can cost thousands.

What Happens If You Leave the Company

Shares you’ve already purchased are yours. Leaving doesn’t force you to sell, and the holding period clocks for qualifying disposition treatment keep running after your departure. Your brokerage account stays active and you sell on your own timeline.

Accumulated payroll deductions that haven’t yet been used to buy shares are different. Most plans require you to be employed on the purchase date to participate in that cycle, and if you leave before then, your contributions are typically refunded through your final paycheck without interest. Some plans allow a short grace period or a prorated purchase, but that’s plan-specific and uncommon. If a purchase date is close when you’re thinking about giving notice, check your plan documents first. A few extra days of employment can be the difference between getting shares at a discount and getting a cash refund.

Sell Immediately or Hold for the Tax Break

The case for selling right away is simple. On a plan with a 15% discount and no look-back, you lock in roughly a 17.6% pre-tax return the moment the shares hit your account ($15 gain on an $85 cost). That return is risk-free once you sell. Holding means betting that the extra tax savings from a qualifying disposition will outweigh the risk of the stock falling over the one-to-two-year holding period.

The savings from holding can be meaningful. In a qualifying disposition, the discount is taxed as ordinary income and the rest as a long-term capital gain, with rates between 0% and 20% versus ordinary income rates that can reach 37%. But a 20% stock drop during the holding period wipes out those savings and more. Many financial planners suggest selling promptly and diversifying, particularly when your employer stock already represents a significant share of your net worth through other equity compensation. A common guideline is that any single stock above 10% to 15% of your total portfolio adds risk you aren’t being paid for.

There’s no universal right answer, but participants who hold without a plan tend to accumulate concentrated positions by default. If you hold, pick a target date and price, and revisit both every quarter.