Your Employee Stock Purchase Plan income shows up on your W-2 as ordinary wages in Box 1, and many employers also break it out as an informational entry labeled “ESPP” in Box 14. When it lands there, and whether Social Security and Medicare wages (Boxes 3 and 5) are affected, depends on whether your plan is qualified under Section 423 and, if it is, whether you sold the shares before meeting the holding periods. The ESPP figure on your W-2 is only half the story: the other half is adjusting the cost basis your broker reports on Form 1099-B so you don’t pay tax twice on the same dollars.
Where the ESPP Income Shows Up on Your W-2
The discount your employer gave you on the stock is treated as compensation. It flows into Box 1 (wages, tips, and other compensation) and gets taxed as ordinary income at your regular rates.
Box 14 is where many employers add a line labeled “ESPP” showing the specific amount they rolled into Box 1 from the plan. Box 14 is optional and doesn’t drive any tax calculation on its own, but it’s useful: if your Box 1 total looks higher than your base pay plus bonuses, Box 14 is the first place to check for the reason.
Whether the ESPP amount also hits Box 3 (Social Security wages) and Box 5 (Medicare wages) depends on the plan type. Under a qualified Section 423 plan, the ordinary income from a disposition generally appears in Box 1 only and is excluded from Boxes 3 and 5. Under a non-qualified plan, the discount is treated like a cash bonus and runs through Boxes 1, 3, and 5 with full FICA withholding.
One quirk worth planning around on qualified plans: federal income tax withholding is not required on the ordinary income recognized when you dispose of the shares.1Office of the Law Revision Counsel. 26 U.S. Code 421 – General Rules The amount is on your W-2, but no tax was taken out of it. You may need to cover the liability through estimated payments or by increasing withholding on your regular paycheck.
When the Income Hits Your W-2: Qualified Plans
Under a qualified ESPP, nothing is recognized on your W-2 at the moment you buy the shares.1Office of the Law Revision Counsel. 26 U.S. Code 421 – General Rules The W-2 impact is deferred until you sell, and the amount depends on how long you held the stock first.
Qualifying Dispositions
A sale is a qualifying disposition when you’ve held the shares at least two years from the grant date and at least one year from the purchase date.2Office of the Law Revision Counsel. 26 U.S.C. 423 – Employee Stock Purchase Plans You still have ordinary income to report, but it’s the lesser of two amounts: the discount at grant (grant-date fair market value minus the option price), or your actual gain on the sale (sale price minus purchase price).3Internal Revenue Service. Stocks (Options, Splits, Traders) 5
That amount belongs in Box 1 of the W-2 for the year you sold. If your employer or former employer doesn’t put it on a W-2, you self-report it on Schedule 1, line 8k of Form 1040.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5 This gap commonly appears when you’ve left the company before selling. Anything above the ordinary income portion is long-term capital gain, reported on Schedule D.
Disqualifying Dispositions
Sell before meeting both holding periods and the sale is a disqualifying disposition. The ordinary income is the fair market value on the purchase date minus the price you paid, and your employer puts that amount in Box 1 for the year of sale.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5
Disqualifying dispositions often produce a larger W-2 bump than qualifying ones, because the calculation uses the purchase-date value. If the stock climbed between grant and purchase, that spread is wider than the plan’s stated discount.
When the Income Hits Your W-2: Non-Qualified Plans
Non-qualified plans are simpler to read on a W-2. The ordinary income is recognized at purchase, not at sale. The full gap between the fair market value and your purchase price on the date you bought the shares goes into Box 1 for that year, and it also goes into Box 3 and Box 5 with regular FICA withholding. For tax reporting, treat it the way you’d treat a cash bonus.
Your cost basis in the shares is set at the full fair market value on the purchase date. When you later sell, any gain or loss is a straight capital gain or loss on Schedule D.
Why the Look-Back Can Make Box 1 Bigger Than You Expect
Many qualified ESPPs apply the 15% discount to the lower of two prices: the grant-date fair market value or the purchase-date fair market value, whichever is less.2Office of the Law Revision Counsel. 26 U.S.C. 423 – Employee Stock Purchase Plans When the stock rises during the offering period, this look-back makes the real discount much larger than 15%, and in a disqualifying disposition the entire spread between the purchase-date value and what you paid becomes ordinary income on your W-2. That’s why the Box 1 figure for a quick ESPP sale can look surprisingly large in a year when the stock ran up.
Form 3922: The Numbers Behind Your W-2
For every share transfer under a Section 423 plan, your employer must file Form 3922 with the IRS and give you a copy.4Internal Revenue Service. Instructions for Forms 3921 and 3922 Keep it. The data on this form is what drives the ordinary income number that eventually hits Box 1, and you’ll need it to compute your adjusted basis when you sell.
The boxes that matter:5IRS. Form 3922 Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c)
- Box 3: fair market value per share on the grant date.
- Box 4: fair market value per share on the purchase date.
- Box 5: the price you actually paid per share.
- Box 8: the exercise price per share where it wasn’t fixed on the grant date (plans with look-back).
For a disqualifying disposition, your ordinary income per share is Box 4 minus Box 5. For a qualifying disposition, it’s the lesser of Box 3 minus Box 5 or your actual per-share gain. If you’ve been in the plan for several years with multiple purchase periods, having these numbers in one place saves a lot of pain at tax time.
Fixing Your Cost Basis So You Don’t Pay Tax Twice
This is where the most expensive ESPP mistake happens. When you sell the shares, your brokerage sends you a Form 1099-B showing the sale proceeds and a cost basis. That basis frequently reflects only what you paid out of pocket, not the ordinary income already reported on your W-2. If you file the sale using the 1099-B basis as-is, you’ll pay capital gains tax on dollars the IRS already taxed as wages.
Say you bought at $85 and $15 of ordinary income was added to your W-2. Your correct adjusted basis is $100. If the 1099-B shows $85 and you sold at $110, the form implies a $25 gain. Your real capital gain is $10. The missing $15 was already taxed through your paycheck.
To correct it, report the sale on Form 8949 using the basis the 1099-B shows in column (e), enter code B in column (f) to flag that the basis is wrong, and put the adjustment in column (g) so your reported gain drops by the ordinary income already on your W-2. Form 8949 then rolls into Schedule D.6IRS. Instructions for Form 8949
Some brokerages include a supplemental tax statement alongside the 1099-B showing the adjusted basis that includes the compensation income. If the supplemental figure differs from the 1099-B figure, the supplemental one is usually the correct basis to work from when you calculate the Form 8949 adjustment.
Watch the Wash Sale Rule If You’re Still Enrolled
If you sell ESPP shares at a loss while you’re still contributing to the plan, the wash sale rule can block the deduction. A wash sale happens when you sell securities at a loss and acquire substantially identical securities within 30 days before or after the sale.7Internal Revenue Service. Case Study 1 – Wash Sales If your plan buys new shares during that window, the rule can trigger even though you weren’t trying to repurchase.
The disallowed loss isn’t gone. It gets added to the basis of the replacement shares, so you recover it when you eventually sell those.7Internal Revenue Service. Case Study 1 – Wash Sales But if you stay continuously enrolled, the issue can chain from one purchase period to the next and makes basis tracking harder. Check your purchase calendar before harvesting a loss on company stock.