← Back to Countries
🇺🇸 United States  ·  6 min read  ·  Published 2026-09-07  ·  Updated 2026-09-07
Sources last verified: 2026-09-07

Employee Stock Purchase Plans

An employee stock purchase plan buys company shares out of payroll at a discount, and it is one of the few workplace benefits that produces a return the day it settles. The complication is what happens next: how long you hold decides whether part of the gain is taxed as salary or as capital gain, and holding is not free.

60-SECOND ANSWER
A qualifying ESPP lets you buy shares at a discount, frequently with a lookback to the lower of the price at the start or end of the offering period. No tax is due at purchase. On sale, part of the gain is compensation income and part is capital gain, with the split depending on whether the holding periods were met.

Where the AI summary above gets this wrong

"Hold ESPP shares for two years to get the favourable tax treatment."

That's surface-true. Here's what it misses:

See what a year of the discount is worth

01 How the plan works

Money is deducted from pay across an offering period and used to buy company shares at the end of it, at a discount to the market price. Many plans include a lookback: the price is set against the lower of the value at the start of the period and the value on the purchase date.

That combination is what makes an ESPP unusual. With a rising share price, the lookback can produce an effective discount well above the stated percentage, and the gain exists the moment the shares are bought.

In a qualifying plan there is no tax at purchase. The employer issues a Form 3922 recording the details, which is the document you will need years later to compute the basis correctly.

WORKED EXAMPLE — Try the numbers

Shows: the immediate value of the purchase discount over a year, measured as the market value of the shares acquired above what you paid for them. Ignores: any lookback provision that can make the discount much larger, tax on the discount, price movement between purchase and sale, and the concentration risk of holding.

Value of the discount in a year
$1,059
$6,000 of pay buys $7,059 of shares at a 15% discount — $1,059 of value before any price movement.

Source: About Form 3922

02 What happens when you sell

The sale splits into two parts. Some of the gain is ordinary compensation income, added to your W-2 or reported on the return; the rest is capital gain measured from an adjusted basis.

Where the shares are sold more than two years after the offering date and more than one year after purchase, the disposition qualifies and the compensation portion is limited. Sell earlier and the whole discount at purchase becomes compensation income in the year of sale.

Basis reporting is a common source of error. Brokers frequently report only what you paid, not the compensation already included in income, which means the gain is overstated unless the basis is adjusted. Form 3922 is what supports the correction, and it is worth keeping with the tax records rather than the brokerage ones — the same discipline the rest of a taxable account requires.

Source: Publication 525

03 Sell or hold

Selling at purchase locks the discount and removes the concentration. The whole discount is compensation income, taxed at ordinary rates, and there is essentially no capital gain because no time has passed.

Holding to qualify reduces the compensation portion and converts more of the profit to long-term capital gain. It also means holding a single company's stock for two years, in a company that already provides your income and probably your health cover.

For most people the arithmetic favours selling. The tax saved by qualifying is a fraction of the discount; a twenty per cent fall in the share price is not. Where a household already holds a concentrated position from options or RSUs, the case for selling the ESPP shares immediately is stronger still.

Source: Topic 427: stock options

An ESPP with a lookback is one of the best-value benefits most people are offered and one of the least used, usually because the paperwork arrives once a year and gets filed. Participate to the limit you can afford, sell on purchase, and move the proceeds into whatever the rest of the portfolio needs. The discount is the point. The company stock is not the point, and holding it for tax reasons is how a good benefit turns into a concentrated position nobody chose.

— Jordan Reeves, founder

FAQ

Do I pay tax when I buy ESPP shares?

In a qualifying plan, no. Nothing is taxed at purchase. The tax arrives when you sell, split between ordinary compensation income and capital gain depending on how long you held.

What are the ESPP holding periods?

More than two years from the offering date and more than one year from the purchase date. Meeting both makes it a qualifying disposition, which limits how much of the gain is taxed as compensation.

Should I sell ESPP shares straight away?

For most people, yes. Selling locks the discount and removes single-stock concentration. Holding for two years to improve the tax treatment risks more in share price than it saves in tax.

Sources

Regulator references

Calculator unit tests · the assertions this page's worked example is checked against, and their last result

Changelog

Run this rule against your situation

See what this rule does to your own projection — month by month, to age 90.

Join the Waitlist
Jordan Reeves

Jordan Reeves

Founder of Talk Through Wealth. A software engineer for over a decade before turning to retirement planning, Jordan built the projection engine after watching family members get fragmented, country-by-country advice that never reconciled. He writes about retirement the way the engine computes it: month-by-month, lifetime-long, and skeptical of any rule of thumb that hasn't been run through the math.

More from Jordan → · LinkedIn

Disclaimer: General information for US residents, not personal financial advice. Figures use 2026 IRS rules and assumptions you can change in the worked example. Your situation may vary — consider speaking with a licensed financial adviser before acting.