How ESPP (Employee Stock Purchase Plans) Are Taxed in 2026
Published October 8, 2026 · 9 min read
An Employee Stock Purchase Plan (ESPP) sounds like a great deal: your employer lets you buy company stock at a discount — usually 15% below market price. But when it comes time to sell, the tax rules can be surprisingly complicated. If you sell at the wrong time, you could pay ordinary income tax rates instead of the lower long-term capital gains rates — and that difference can cost you thousands.
This guide explains exactly how ESPP contributions come out of your paycheck, how the two types of ESPP dispositions are taxed, and gives you a full worked example so you know what to expect.
What Is an ESPP?
An ESPP is a benefit offered by many publicly traded companies. It works like this:
- You elect to have a percentage of your after-tax paycheck withheld — typically 1% to 15% — over an offering period (usually 6 or 12 months).
- At the end of the offering period, your employer uses your accumulated contributions to buy company stock at a discounted price.
- The discount is typically 15% off the lower of the stock price at the beginning or end of the offering period (called the “look-back provision”). Under Section 423 of the tax code, plans with a qualifying look-back can offer up to a 15% discount. (IRS Publication 525 — Taxable and Nontaxable Income)
The IRS limits ESPP contributions to $25,000 in fair market value of stock per calendar year. Because contributions come out of your after-tax pay, ESPP deductions do not reduce your taxable income the way a 401(k) does.
How ESPP Contributions Affect Your Paycheck
Unlike a 401(k) or HSA, ESPP contributions are a post-tax deduction. That means they come out of your paycheck after income taxes and FICA have already been calculated. There is no immediate tax savings from contributing to an ESPP.
Here is what an ESPP contribution looks like on a $80,000 salary biweekly paycheck in California:
| Line Item | Amount (Per Paycheck) |
|---|---|
| Gross Pay | $3,076.92 |
| Federal Income Tax | -$343.00 |
| California State Tax | -$133.00 |
| Social Security (6.2%) | -$190.77 |
| Medicare (1.45%) | -$44.62 |
| ESPP Contribution (10%) | -$307.69 |
| Net Pay (Take-Home) | $2,057.84 |
Over 26 biweekly pay periods, a 10% contribution on an $80,000 salary adds up to about $8,000 in contributions. At a 15% discount, those contributions would buy roughly $9,412 worth of stock — an immediate paper gain of about $1,412 just from the discount.
The Two Types of ESPP Sales: Qualifying vs. Disqualifying
How your ESPP shares are taxed depends almost entirely on when you sell them. There are two categories:
1. Qualifying Disposition (Hold Longer = Better Tax Treatment)
A qualifying disposition means you held the shares long enough to get favorable tax treatment. To qualify, you must sell:
- More than 2 years after the offering date (the start of the offering period), AND
- More than 1 year after the purchase date (when you actually bought the shares)
With a qualifying disposition, you owe:
- Ordinary income on the smaller of: (a) the actual gain on the stock, or (b) the discount you received at purchase. This discount income is reported on your W-2.
- Long-term capital gains on any remaining gain above the ordinary income portion — taxed at 0%, 15%, or 20% depending on your total income.
2. Disqualifying Disposition (Sell Too Early = Higher Taxes)
A disqualifying disposition happens when you sell shares before meeting the holding period requirements above. This is the most common scenario — many employees sell shares as soon as they receive them to lock in the guaranteed 15% gain.
With a disqualifying disposition:
- The entire discount (the difference between what you paid and the fair market value on the purchase date) is taxed as ordinary income — at your regular marginal rate. It shows up on your W-2.
- Any gain above the fair market value at purchase is taxed as either short-term or long-term capital gains depending on how long you held the shares.
The key difference: in a disqualifying disposition, the discount is always ordinary income. In a qualifying disposition, part of the gain may be treated as long-term capital gains instead. (IRS Form 3922 — Transfer of Stock Acquired Through an ESPP)
Worked Example: Qualifying vs. Disqualifying Disposition
Let’s say you work at a company in Texas earning $85,000. Here are the ESPP details:
- Offering date (start): January 1, 2025. Stock price: $40.00
- Purchase date (end of offering): June 30, 2025. Stock price: $50.00
- Purchase price (15% off lower of start/end): 85% × $40 = $34.00
- Shares purchased: 100 shares
- Total cost to you: 100 × $34 = $3,400
- Fair market value at purchase: 100 × $50 = $5,000
You sell all 100 shares at $60.00 per share (total proceeds: $6,000). Here is how taxes differ depending on when you sell:
| Tax Category | Disqualifying Disposition (Sold Aug 2025) | Qualifying Disposition (Sold Sep 2027) |
|---|---|---|
| Sale Proceeds | $6,000 | $6,000 |
| Your Cost Basis | $3,400 | $3,400 |
| Total Gain | $2,600 | $2,600 |
| Ordinary Income Portion | $1,600 (full discount) | $600 (capped at discount)* |
| Capital Gains Portion | $1,000 (short-term) | $2,000 (long-term) |
| Tax on Ordinary Income (22%) | $352 | $132 |
| Tax on Capital Gains (0% LT / 22% ST) | $220 | $0 (0% LT bracket) |
| Total Federal Tax Owed | $572 | $132 |
* In a qualifying disposition, the ordinary income portion is capped at the lesser of: (a) the gain on the stock, or (b) the discount from the offering date price ($40 × 15% × 100 shares = $600).
In this example, holding long enough for a qualifying disposition saves $440 in federal taxes on a $2,600 gain. The advantage grows substantially on larger ESPP purchases.
What Is Your Cost Basis?
Getting your cost basis right is critical to avoid double taxation. When you sell ESPP shares after a disqualifying disposition, your employer adds the discount (ordinary income) to your W-2. If you also report the full gain on Schedule D without adjusting your basis, you will pay tax on the same income twice.
Your adjusted cost basis equals the price you paid for the shares plus any amount already reported as ordinary income on your W-2:
In the disqualifying disposition example above: $3,400 paid + $1,600 W-2 income = $5,000 adjusted basis. When you report the sale of $6,000 proceeds on your Form 8949, you use $5,000 as your basis — resulting in a $1,000 short-term capital gain (not $2,600).
Your brokerage may report the original $3,400 purchase price on your 1099-B. Always use your adjusted basis to avoid overpaying. (IRS Form 8949 — Sales and Other Dispositions of Capital Assets)
ESPP and State Taxes
Most states follow the federal tax treatment for ESPP income. The ordinary income portion is taxed at your state’s regular income tax rate, and capital gains are generally taxed as ordinary income at the state level (unlike the federal preferential long-term capital gains rates).
This means the state tax benefit of a qualifying disposition is smaller than the federal benefit — at the state level, you are taxed at ordinary rates regardless of how long you hold the shares. Here is a comparison across popular tech states:
| State | Top State Income Tax Rate | Capital Gains Rate |
|---|---|---|
| California | 13.3% | 13.3% (same as income) |
| New York | 10.9% | 10.9% (same as income) |
| Washington | 0% | 7% (above $250K) |
| Texas | 0% | 0% |
| Florida | 0% | 0% |
A California employee who sells ESPP shares with a $5,000 gain owes up to 13.3% state tax on top of federal taxes — regardless of how long they held the shares. That is why many tech workers in California prefer to sell ESPP shares immediately (disqualifying disposition) rather than hold for the qualifying holding period; the state tax difference is minimal, but the concentration risk of holding a large position in one stock is real.
The “Sell Immediately” Strategy: Is It Right for You?
Many financial advisors recommend selling ESPP shares immediately after purchase — even though it triggers a disqualifying disposition — for these reasons:
- You lock in the 15% gain immediately. If the stock drops after you buy it, you could lose more than the tax savings from waiting.
- You reduce concentration risk. Already getting a paycheck and benefits tied to your employer’s success — also holding a large stock position amplifies that risk.
- The after-tax return is still excellent. Even paying ordinary income tax on the 15% discount, the after-tax return on ESPP contributions is typically 10–13% over just a 6-month period — far better than most investments.
For workers in high-tax states like California or New York, the extra tax from a disqualifying disposition is often worth the certainty of cashing out immediately.
ESPP Tax Reporting: What You Need to Know
ESPP tax reporting involves several documents:
- Form 3922: Your employer sends you this form when you purchase ESPP shares. It shows the offering date, purchase date, prices, and number of shares. You do not report anything on this form at purchase time — it is just a record.
- W-2: When you sell shares in a disqualifying disposition (or a qualifying disposition with gain), the ordinary income portion is added to your W-2 Box 1 wages. Your employer does not automatically withhold taxes on this amount — it is simply added to your taxable income.
- Form 1099-B: Your brokerage issues this when you sell. It shows your proceeds. Double-check that the cost basis shown is your adjusted basis (purchase price + W-2 income already reported) — some brokerages only show the price you paid, which would cause double taxation if used as-is.
- Form 8949 and Schedule D: You report the sale details here, using your adjusted cost basis. The net capital gain or loss flows to Schedule D. (IRS Schedule D Instructions)
Common ESPP Tax Mistakes to Avoid
- Double-counting income. The most common mistake. If your W-2 already includes the ordinary income from your ESPP sale, do not also count it as a capital gain on Schedule D. Use your adjusted basis.
- Confusing the offering date with the purchase date. The two-year clock for qualifying dispositions starts at the offering date (when the plan period opens), not the purchase date.
- Forgetting state taxes. Ordinary income from ESPP sales is taxable in every state that has an income tax. Do not forget to account for state tax when estimating your after-sale proceeds.
- Not saving for the tax bill. Since employers typically do not withhold taxes on ESPP income when you sell, you may owe taxes at year-end. Consider making a quarterly estimated tax payment if your ESPP sale creates a large tax liability. (See: Quarterly Estimated Taxes 2026)
ESPP vs. RSUs vs. Stock Options: A Quick Comparison
| Feature | ESPP | RSU | NSO / ISO |
|---|---|---|---|
| Cost to employee | 85¢ per $1 of stock | Free | Strike price |
| When taxed | At sale | At vesting | At exercise (NSO) / sale (ISO) |
| Tax type | Ordinary + capital gains | Ordinary income | Ordinary (NSO) / capital gains (ISO) |
| Employee controls timing | Partial | No | Yes |
| AMT risk | No | No | Yes (ISOs) |
For more on how RSUs and stock options are taxed, see: How RSUs Are Taxed and Stock Options Taxes: NSOs and ISOs.
The Bottom Line
ESPPs are one of the most underappreciated employee benefits. Even after taxes, the built-in 15% discount makes ESPP contributions a high-return, low-risk investment — especially if you sell shares quickly to eliminate stock price risk.
The most important rules to remember:
- ESPP contributions come out of your after-tax paycheck — no immediate tax deduction.
- Sell after 2 years from offering + 1 year from purchase for a qualifying disposition (better federal tax rates).
- Use your adjusted cost basis on Schedule D to avoid double taxation.
- Plan ahead for the tax bill — your employer likely does not withhold taxes on ESPP ordinary income.
If your ESPP gains are large, consider working with a tax professional who understands equity compensation to make sure you are reporting everything correctly and not overpaying.
See Your After-Tax Paycheck
Use our free paycheck calculator to see exactly what your take-home pay looks like in your state — including how ESPP contributions affect each paycheck.
Try the Free Paycheck Calculator