ESPP on W-2: Box 1, Box 14, and Cost Basis Fixes

The discount from your Employee Stock Purchase Plan shows up as ordinary income in Box 1 of your W-2, and many employers also list the amount in Box 14 with an “ESPP” label so you can identify it. Exactly when it lands on the W-2, and whether Social Security and Medicare wages get bumped up too, depends on whether your plan is qualified under Section 423 or non-qualified, and on how long you held the shares before selling. The W-2 income is separate from the capital gain or loss you report from the sale itself, and reconciling the two is where most ESPP mistakes happen.

What Ends Up in Box 1

The IRS treats the ESPP discount as compensation. If the stock is worth $100 and your plan lets you buy at $85, that $15 gap is wage income. What differs between plans is the timing and the measurement of that income.

Non-Qualified Plans

Non-qualified plans are the simpler case. The discount is recognized the moment you buy the shares, no matter when you sell. The full spread between fair market value on the purchase date and the price you paid appears in Box 1 for that year, and because it’s treated like a cash bonus, it also flows into Box 3 (Social Security wages) and Box 5 (Medicare wages). Your employer withholds FICA on it along with your regular pay.

Qualified (Section 423) Plans: Nothing at Purchase

Under a qualified plan, no income hits your W-2 when you exercise the option and buy the shares.1Office of the Law Revision Counsel. 26 U.S. Code 421 – General Rules The reporting is deferred until the year you sell, and the amount depends on how long you held.

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 The ordinary income you report is the lesser of two figures: the discount measured on the grant date (grant-date fair market value minus the option price), or your actual gain on the sale (sale price minus what you paid).3Internal Revenue Service. Stocks (Options, Splits, Traders) 5 That amount belongs in Box 1 of the W-2 for the year of sale. Any gain above the ordinary income portion is long-term capital gain on Schedule D.

If your former employer doesn’t issue a W-2 that includes this income — a common situation once you’ve left the company — you report it yourself on Schedule 1, line 8k of Form 1040.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5

Disqualifying Dispositions

Sell before you clear both holding periods and it’s a disqualifying disposition. The ordinary income equals the fair market value on the purchase date minus what you paid, and the employer includes it in Box 1 for the year of sale.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5 This figure is often larger than the qualifying-disposition amount, because it uses the purchase-date value rather than the grant-date value. If the stock ran up between grant and purchase, the disqualifying spread runs up with it.

A note on look-back plans, which many qualified ESPPs use. The option price can be set at 85% of the lower of the grant-date or purchase-date value.2Office of the Law Revision Counsel. 26 U.S.C. 423 – Employee Stock Purchase Plans When the price rises between those two dates, the effective discount at purchase is well over 15%, and the disqualifying-disposition income on your W-2 reflects that full spread.

Box 14 and What It Actually Tells You

Many employers add an informational line to Box 14 labeled “ESPP” showing the amount that was folded into Box 1. Box 14 doesn’t feed any calculation on your return. It’s a bookkeeping courtesy so you can see how much of your Box 1 total came from the ESPP and how much came from salary. If your Box 1 wages look higher than your pay stubs suggest they should, Box 14 is the first place to check.

What’s Missing From Withholding on Qualified Plans

For a qualified-plan disposition, the ordinary income generally shows up only in Box 1, not in Box 3 or Box 5. FICA doesn’t apply, and no federal income tax withholding is required on this income at the time of disposition.1Office of the Law Revision Counsel. 26 U.S. Code 421 – General Rules Practically, that means the tax on the ESPP compensation is not being covered by paycheck withholding the way a regular bonus would be. You may need to make an estimated payment or raise the withholding on your regular wages to cover it, or you’ll face a balance due at filing.

Non-qualified plans work the opposite way. Because the discount is treated as ordinary wages when the shares are purchased, FICA and income tax withholding both apply.

Fixing the Cost Basis So You’re Not Taxed Twice

This is where the W-2 story matters most. When you sell ESPP shares, the brokerage sends a Form 1099-B showing the sale proceeds and a cost basis. The basis on that 1099-B is frequently just the discounted price you paid, with no adjustment for the ordinary income already on your W-2. Report the sale using the 1099-B number as-is and you pay capital gains tax on income that was already taxed as wages.

The math: you buy at $85 and $15 of ordinary income flows to your W-2. Your correct adjusted basis is $100. The 1099-B likely shows $85. Sell at $110, use the $85 basis, and you’d report a $25 capital gain. The real gain is $10. The other $15 has already been taxed once through your paycheck.

The fix goes on Form 8949. Enter the sale using the basis shown on the 1099-B in column (e), put code B in column (f) to flag that the reported basis is wrong, and enter the adjustment in column (g) to reduce the gain by the ordinary income already included on your W-2.4IRS. Instructions for Form 8949 Form 8949 rolls up into Schedule D, which is where your true capital gain or loss lands.

Some brokerages send a supplemental tax statement alongside the 1099-B showing the adjusted basis with the compensation component included. When that supplemental number differs from the 1099-B, it’s typically the correct one. Use it to size your column (g) adjustment.

Getting the Numbers From Form 3922

For every share purchase under a Section 423 plan, your employer files Form 3922 with the IRS and gives you a copy.5Internal Revenue Service. Instructions for Forms 3921 and 3922 Keep it. It carries the fair market values and prices that drive the ordinary income calculation on your W-2, and you’ll need them again when you sell.

The boxes that matter:6IRS. 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 if it wasn’t fixed at grant, which matters for look-back plans.

For a disqualifying disposition, the 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 on the sale. Keep the 3922s stacked with your tax records, especially if you’ve participated for several years.

Watch for Wash Sales if You Sell at a Loss

One more W-2 adjacent trap. If you sell ESPP shares at a loss while still enrolled in the plan, the wash sale rule can disallow the loss. A wash sale happens when you sell at a loss and acquire substantially identical securities within 30 days before or after.7Internal Revenue Service. Case Study 1 – Wash Sales An active ESPP may automatically purchase new shares of the same stock inside that window, which triggers the rule whether you meant to buy or not.

When it applies, the disallowed loss isn’t gone. It gets added to the basis of the replacement shares.7Internal Revenue Service. Case Study 1 – Wash Sales The tax benefit is deferred into those shares, and your basis tracking gets messier. If you’re thinking about harvesting a loss on company stock, check your ESPP purchase calendar first.