ESPP taxes apply in two parts: the discount (bargain element) is taxed as ordinary income, and any gain at sale is taxed as a capital gain. How much is ordinary versus capital depends on whether your sale is a qualifying or disqualifying disposition — which turns on two holding-period clocks.
An employee stock purchase plan can be one of the best deals in your comp package: a standing offer to buy your employer's stock at up to a 15% discount, sometimes with a lookback that makes the real discount far larger. But the tax treatment trips up almost everyone the first time, and the most common mistake — letting your broker double-tax the discount — can cost you thousands. This guide walks through every ESPP tax rule that matters, with worked dollar examples at a tech salary.
What Is an ESPP and How Does It Work?
An ESPP is a benefit that lets you buy your employer's stock at a discount through automatic payroll deductions. You elect a percentage of each paycheck (often 1–15%) during an offering period; on the purchase date at the end of each purchase period, the accumulated cash buys shares at a discount to the market price.
Two features make the discount more valuable than it looks:
- The discount itself. Most qualified plans offer up to a 15% discount off the purchase-date price — the statutory maximum for a Section 423 plan.
- The lookback provision. Many plans let you buy at a discount off the lower of the price at the start of the offering period or the price on the purchase date. If the stock rose during the offering period, the lookback can push your effective discount well above the stated 15%.
For a side-by-side on how an ESPP stacks up against your other equity, see our guide to RSUs versus ESPPs and which to max out first. And if you're new to equity comp generally, our overview of the different equity types sets the stage.
Plan vocabulary in one place. Offering period = the window your payroll deductions accumulate. Purchase date = the day shares are bought. Bargain element = the discount (taxed as ordinary income). Disposition = selling or otherwise transferring the shares.
Why the lookback can beat the headline discount
The lookback is where an ESPP quietly becomes far more valuable than "15% off." Suppose your offering period starts with the stock at $80 and ends with the stock at $120 on the purchase date. A flat 15% plan would let you buy at $102 (15% off $120). A lookback plan lets you buy at 15% off the lower price — 15% off $80, or $68/share — even though the stock is now worth $120.
That's an effective discount of roughly 43% on the purchase-date value, not 15%. The catch for taxes: the larger the spread between your purchase price and the purchase-date FMV, the larger the ordinary-income bucket can become, especially in a disqualifying disposition. A great lookback is a great deal — it just front-loads more of your profit into the ordinary-income column unless you hold for a qualifying disposition.
How much you can contribute
Payroll deductions are capped two ways. Your plan sets a percentage ceiling (commonly 15% of pay), and Section 423 caps the value of stock you can accrue the right to purchase at $25,000 per calendar year, measured at the grant-date price. For a high earner, the $25,000 statutory cap usually binds before the percentage ceiling does — which is why maxing an ESPP is rarely a huge share of total comp, but is almost always worth doing for the guaranteed discount.
When Do You Pay ESPP Taxes?
For a qualified Section 423 plan, you owe no tax when you buy ESPP shares — the tax events happen when you sell. The IRS treats restricted and discounted employer stock under the compensation rules in IRS Publication 525, and for a qualified plan the discount is not taxed at purchase; it's recognized when you dispose of the shares.
At sale, your profit splits into two tax buckets:
- Ordinary income on the discount (the bargain element), taxed at your marginal rate.
- Capital gain on any appreciation beyond that, taxed at short- or long-term capital-gains rates depending on how long you held.
This two-bucket split is the same idea that catches RSU holders off guard — equity income threads onto your return in more than one place. If you've never traced it, our explainer on how equity compensation affects your tax return is a useful primer, as is our guide to why an equity windfall can shrink your refund.
Qualified vs. Non-Qualified (Section 423) ESPPs
The single biggest fork in ESPP taxation is whether your plan is qualified under Section 423 of the Internal Revenue Code or non-qualified. A qualified plan defers tax on the discount until sale and can convert part of your gain to long-term capital gains; a non-qualified plan taxes the discount as ordinary income at purchase, just like a non-qualified stock option.
Section 423 in one line. A qualified ESPP must be available broadly to employees, cap the discount at 15%, and limit purchases to $25,000 of stock value per year. In exchange, you get tax deferral on the discount and the chance at favorable long-term treatment.
Most large public-company plans are qualified. If yours is non-qualified, the mechanics resemble an NSO exercise — see how ISOs and NSOs are taxed differently for the parallel. The rest of this guide focuses on the qualified Section 423 case, which is what most readers have.
The practical difference is timing. In a non-qualified plan, the discount is ordinary income the day you buy, it usually shows up on your W-2 that year, and your cost basis is the full purchase-date FMV from the start — so there's no "broker basis trap" and no qualifying-disposition path to long-term treatment on the discount. In a qualified plan, none of that happens at purchase; the entire tax story waits until you sell, which is both the advantage (deferral) and the source of every reporting mistake covered below. Check your plan documents or ask your stock-plan administrator which type you have before you model anything — it changes which set of rules applies.
How Is the ESPP Discount (Bargain Element) Taxed?
The discount you receive — the bargain element — is taxed as ordinary income at your marginal rate, not at the lower capital-gains rate. That matters enormously for a tech earner: a "15% discount" feels like a clean 15% win, but once the bargain element is taxed at a 32–37% federal bracket, the after-tax value of the perk is meaningfully smaller than the headline number.
The chart below shows the effective ordinary-income rate that applies to the discount across a range of tech salaries.
Your Real RSU Tax Rate vs What's Withheld
Single filer, California — salary + RSU vesting
| Salary (USD) | RSU vest (USD) | Effective tax rate (%) | Shortfall vs 22% withholding (USD) |
|---|---|---|---|
| 150000 | 50000 | 42 | 4800 |
| 200000 | 100000 | 47 | 12200 |
| 300000 | 150000 | 50 | 19500 |
| 500000 | 200000 | 53 | 28000 |
The takeaway: the discount is taxed exactly like RSU vest income or salary, so at $250K+ in total comp the marginal rate doing the taxing is in the mid-30s federally before any state tax. To map this to your own bracket, see your effective ordinary-income tax rate. For the current brackets, our 2026 federal tax brackets guide lays them out, and the three-factor framing — discount, sale price, holding period — is covered well by NerdWallet's ESPP tax overview.
Qualifying vs. Disqualifying Dispositions
Whether your sale is a qualifying or disqualifying disposition determines how much of your profit is taxed as ordinary income versus capital gain — and it turns entirely on two holding-period clocks. As the IRS frames the lifecycle of ESPP stock:
"After your first transfer or sale of stock acquired by exercising an option granted under an employee stock purchase plan, you should receive from your employer a Form 3922."
The Two Holding-Period Clocks
A qualifying disposition requires you to hold the shares for both:
- More than 2 years from the offering (grant) date, and
- More than 1 year from the purchase date.
Miss either clock and the sale is a disqualifying disposition.
Qualifying Disposition Math
In a qualifying disposition, your ordinary income is the lesser of (a) the actual gain on the sale, or (b) the discount measured at the grant-date price. The remainder of your profit is long-term capital gain. This is the best case: it caps the ordinary-income slice and pushes the rest to the 0/15/20% long-term rates.
Example. Offering-date price $100, purchase price $85 (15% discount), you sell two-plus years later at $150. The grant-date discount is $15/share; your total gain is $65/share. The lesser of the two is $15 — that's ordinary income — and the remaining $50/share is long-term capital gain.
Disqualifying Disposition Math
In a disqualifying disposition, your ordinary income is the purchase-date FMV minus the purchase price (the full spread at purchase), regardless of the later sale price. Anything beyond that is a short- or long-term capital gain depending on how long you held from purchase.
Example. Purchase-date FMV $110, purchase price $85, sold soon after at $120. Ordinary income is $25/share ($110 − $85); the remaining $10/share is a short-term capital gain taxed at your ordinary rate.
The chart below contrasts the after-tax outcome of three common sell timings on the same grant.
3 Strategies Side-by-Side: Choose Your Risk Level
Conservative, Balanced, or Aggressive? See exact outcomes for YOUR ISO grant.
Outcome Distribution by Strategy
Narrower curves = more predictable outcomes
Net Proceeds at Exit
| Strategy | Mean net proceeds at exit (USD) | 1σ spread (USD) |
|---|---|---|
| Conservative | 1150000 | 80000 |
| Balanced | 1280000 | 130000 |
| Aggressive | 1350000 | 200000 |
Conservative
- Zero AMT risk
- Gradual tax payments
- Maximum flexibility
- Lowest net proceeds
- Longest timeline
- More years of uncertainty
Balanced
- Moderate AMT risk
- Middle ground approach
- Good risk/reward ratio
- Some AMT in final year
- Requires income planning
- Less flexible than Conservative
Aggressive
- Highest net proceeds
- Fastest completion
- Maximum capital gains
- High AMT payment
- Requires cash upfront
- Risk if IPO delays
Key Insight:
Aggressive strategy nets $200K more than Conservative BUT requires $60K AMT payment upfront (Year 2). If IPO delays by 2 years, you're stuck with illiquid shares + cash paid.
Not sure which fits YOUR income and risk tolerance? → See your personalized recommendation in 10 minutes
| Strategy | Risk level | Shares per year | Plan duration | Peak AMT | Net at exit | Best for |
|---|---|---|---|---|---|---|
| Conservative | LOW | 10K/year | 5-year plan | $0 | $1.15M | Cautious, stable income |
| Balanced | MEDIUM | 15K/year | 3-year plan | $15K Year 3 | $1.28M | Confident in IPO timing |
| Aggressive | HIGH | 25K/year | 2-year plan | $60K Year 2 | $1.35M | Bullish, high risk tolerance |
The pattern: waiting for a qualifying disposition usually wins on taxes, but it raises your concentration in a single stock. SmartAsset's ESPP tax breakdown covers the lookback and plan-type mechanics if you want a second source on the qualifying rules.
A Worked Example — Three Ways to Sell
Let's put the same grant through three timings to see the dollars. Assume an offering-date price of $100, a 15% discount, a purchase price of $85, and 200 shares.
| Timing | Ordinary income | Capital gain | Capital-gain rate |
|---|---|---|---|
| Sell immediately at $110 | $25/share (disqualifying) | $0 | — |
| Sell at 13 months, price $130 | $25/share (disqualifying) | $20/share short-term | ordinary |
| Sell at 25+ months, price $150 | $15/share (qualifying) | $50/share long-term | 0/15/20% |
The qualifying path both lowers the ordinary slice (from $25 to $15) and moves the larger remainder to long-term capital-gains rates. On 200 shares, that's the difference between paying ordinary tax on $50/share versus long-term rates — often a four-figure swing. Model your own grant before you sell.
Plan Multi-Year Exercise Strategy
Optimize your ISO exercise timing over 3-5 years to minimize taxes.
Try Calculator →The Broker Basis Trap (Avoid Double Taxation)
The most expensive ESPP mistake is letting the discount get taxed twice. Your broker's Form 1099-B typically reports your cost basis as only the discounted purchase price — it omits the bargain element that was already taxed as ordinary income on your W-2. If you file that basis as-is, you pay ordinary tax on the discount and capital-gains tax on the same dollars.
The fix is a cost-basis adjustment on Form 8949. Per the IRS Instructions for Form 8949, when the basis reported on your 1099-B is too low, you enter the reported basis in column (e), use code B in column (f), and adjust the gain in column (g). Your adjusted basis = purchase price + ordinary income already reported on your W-2.
Why does the broker get it wrong? The brokerage only knows what it paid for the shares on your behalf — the discounted purchase price. It generally does not know how much of your purchase was reported as compensation on your W-2, because that figure is determined by your employer's payroll system and your specific disposition type, not by the brokerage. So the 1099-B reflects the cash transaction, while the correct tax basis includes the already-taxed discount. Tax software often defaults to the 1099-B figure unless you tell it otherwise, which is why this error survives even for people who use a preparer. The discipline is simple: every year you sell ESPP shares, pull the matching Form 3922, recompute your adjusted basis by hand, and confirm the return reflects it before you file.
Check this every single year. Brokerages still routinely report the un-adjusted basis. On a $20,000 ESPP gain where $6,000 was the already-taxed discount, failing to adjust means paying capital-gains tax on that $6,000 a second time — pure waste. Cross-check the 1099-B basis against your Form 3922 before you file.
Form 3922 — Your Tax Starting Point
Form 3922 is the information return your employer issues for the first transfer of stock you bought under a Section 423 ESPP — and it's where your basis math begins. Per the IRS guidance on Form 3922, the form reports the grant date, the purchase date, the fair market value on each date, and the price you actually paid.
Use it to reconstruct two numbers you need at sale: the purchase-date FMV (for the disqualifying-disposition spread) and the grant-date discount (for the qualifying-disposition cap). Keep every year's Form 3922 — you'll need it whenever you eventually sell, which could be years later. For how it fits with the rest of your forms, see our guide to how to file equity comp taxes.
Withholding, FICA, and the $25,000 Limit
ESPP income gets different withholding treatment than a paycheck, which sets up an estimated-tax risk. For a disqualifying disposition, the ordinary-income portion usually appears on your W-2. But for a qualifying disposition, the ordinary income generally has no withholding at all — it shows up on your return with nothing prepaid against it.
That gap is where people get penalized. If your ESPP sale creates a large untaxed ordinary-income slice, you may need to make quarterly estimated tax payments to stay ahead of an underpayment penalty — the same discipline we recommend for estimated taxes on RSU income and for why 22% withholding is rarely enough.
Two more rules worth knowing:
- The $25,000 limit. Section 423 caps the value of stock you can accrue the right to buy at $25,000 per calendar year (measured at the grant-date FMV), across all your employer's plans.
- FICA. ESPP ordinary income from a qualified plan is generally not subject to Social Security and Medicare tax (unlike an NSO spread).
State Taxes on ESPP Income
Your state can take a meaningful bite of ESPP gains, and the high-tax states tax the whole thing as ordinary income. California and New York tax all capital gains at ordinary rates, so even the long-term slice of a qualifying disposition is taxed at the state's full marginal rate; Texas and Washington levy no ordinary state income tax at all.
State Tax on the Same $100K RSU Vest
$200K salary, single filer — state tax varies by $9,300+
| State | Incremental state tax on $100K RSU (USD) | Effective state rate (%) |
|---|---|---|
| California | 9300 | 9.3 |
| New York | 6850 | 6.85 |
| Texas | 0 | 0 |
| Washington | 0 | 0 |
The chart makes the spread concrete. For the details by state, see our state income tax guide, the California income tax rules (which tax all ESPP gains as ordinary income), New York's income tax, and the no-income-tax cases of Texas and Washington. To see ESPP income layered into your full-year picture alongside salary and other vests, the equity compensation calculator ties it together.
When Is Waiting for a Qualifying Disposition Worth It?
Holding ESPP shares for a qualifying disposition lowers your tax bill, but it raises your single-stock concentration risk — so the right answer depends on how big the tax saving is versus how much of your net worth rides on one employer. The tax math is clear; the risk math is personal.
The tax case for waiting is strongest when:
- Your discount is large (a generous lookback), so the difference between ordinary and long-term treatment on the appreciation is meaningful.
- You're in a high bracket (32–37% federal), widening the gap between ordinary and the 0/15/20% long-term rates.
- The stock has appreciated, so there's a real capital-gain slice to convert from short-term to long-term.
The case against waiting is just as real: a single pre-diversification stock can fall sharply, and a tax saving is cold comfort if the shares lose 40% while you hold for the clock. A common, disciplined compromise is to sell enough at each purchase to stay diversified and let only a measured slice ride toward a qualifying disposition.
A reasonable default. Many employees sell ESPP shares shortly after purchase to lock in the guaranteed discount and avoid concentration, accepting the disqualifying-disposition tax. That's a defensible choice — the discount is a sure thing; the qualifying-disposition saving is not. Reserve the hold-for-qualifying strategy for shares you'd be comfortable owning anyway.
Whatever you choose, the decision interacts with the rest of your year — other vests, bonuses, and your bracket. Run it through a full-year model rather than deciding on the discount alone.
Frequently Asked Questions About ESPP Taxes
Do you pay taxes when you buy ESPP shares? Not for a qualified Section 423 plan — the tax is deferred until you sell. (A non-qualified plan taxes the discount as ordinary income at purchase.)
How is the ESPP discount taxed? The discount, called the bargain element, is taxed as ordinary income at your marginal rate. Only the appreciation beyond the discount can qualify for capital-gains treatment.
What's the difference between a qualifying and disqualifying disposition? A qualifying disposition meets both holding periods — more than 2 years from the offering date and more than 1 year from the purchase date — and caps your ordinary income at the grant-date discount, with the rest taxed as long-term capital gain. A disqualifying disposition makes the full purchase-date spread ordinary income.
Is there withholding on ESPP income? A disqualifying disposition's discount usually appears on your W-2 with withholding; a qualifying disposition's ordinary income generally has no withholding, so plan estimated taxes to avoid a penalty.
Why does my broker's cost basis look too low? Your 1099-B typically reports only the discounted purchase price and omits the discount already taxed as ordinary income on your W-2. Fix it on Form 8949 (code B) so you don't pay tax on the same dollars twice.
What is Form 3922? An IRS information return your employer issues showing the grant date, purchase date, fair market values, and price paid — your starting point for computing basis at sale.
Run Your Own ESPP Numbers
Every ESPP grant is different — the discount, the lookback, your holding period, and your state all move the after-tax result. Model your scenario before you sell, especially if you're deciding whether to wait for a qualifying disposition.
You filed your 83(b). Now plan your next 5 years.
The Multi-Year Exercise Planner models Conservative, Balanced, and Aggressive strategies side-by-side — so you can see exactly how spreading exercises across 3-5 years reduces your total tax bill.
- Compare 3 strategies with exact tax projections
- AMT credit carryforward tracking across years
- Exit sensitivity analysis at different valuations
Plan Multi-Year Exercise Strategy
Optimize your ISO exercise timing over 3-5 years to minimize taxes.
Try Calculator →Tax Disclaimer: This content is for educational purposes only. Always consult with a licensed tax professional or certified public accountant before making financial decisions related to equity compensation, tax planning, or investment strategies.