You buy company stock through payroll and want to know what is wages vs capital gain before you sell — especially if your W-2 jumped after an ESPP sale.
In plain terms
Gather before you start
- plan summary or enrollment document (discount %, lookback rules).
- Purchase confirmation: shares bought, purchase price, at purchase.
- Sale confirmation or current quote if you still hold shares.
- Last to see whether discount income was already reported.
How the tax works
Employee stock purchase plans let you buy company shares through payroll at a discount — often 15% below market. That discount is generally taxable compensation, not a free gift. Statutory rules under IRC §423 create special holding-period tests that split the economic gain between wages and depending on when you sell.
At purchase, your confirmation shows shares bought, purchase price, and on the purchase date. The bargain element — the discount — is wage income in many cases. Employers report it on your at purchase, at sale, or both depending on whether your disposition is qualifying or disqualifying and how your plan admin handles reporting.
Qualifying disposition holding periods are statutory: you must hold shares more than two years from the offering period start date and more than one year from the purchase date. Meet both clocks and more of the economic gain may shift to long-term on part of the discount. Sell before those periods end and you have a disqualifying disposition — the discount is usually ordinary wages and post-purchase appreciation is typically short-term or long-term .
The brokerage sale still goes on ; you report it on Form 8949 and Schedule D. Basis depends on how much was already wages on your . Importing with zero or wrong basis repeats the same double-tax mistake sellers make — the discount was compensation first, not pure investment gain.
tax differs from tax at . tax as wages when shares deliver with a clear basis. adds purchase-date discount rules, offering-period lookback features, and holding-period tests before sale. If you hold and shares, your may include both wages and discount wages in the same year.
What to check on your end
- Purchase price vs at purchase (discount element).
- Offering period start date and purchase date on your confirmation.
- How long you held shares before selling.
- Whether your sale is qualifying or disqualifying under plan rules.
- Box 1 for -related wages in purchase or sale year.
- proceeds and reported basis if you sold.
Treating the entire ESPP sale as capital gain
What to pull from your files
- purchase confirmation from broker or plan admin.
- and any wage detail from employer.
- if shares were sold.
- Plan document for discount calculation and lookback.
- Pay stubs if payroll withheld on disqualifying sales.
Example scenario (hypothetical)
Illustration only, not your tax situation.
Questions people ask
- Is ESPP discount taxed as income?
- Generally yes — the bargain element from the plan discount is compensation. It often appears on your , either when shares are purchased or when you sell in a disqualifying disposition, depending on your employer's reporting.
- What is a qualifying ESPP disposition?
- You meet statutory holding periods: more than two years from the offering date and more than one year from the purchase date. Qualifying sales can shift more of the economic gain to on part of the discount — compare your purchase confirmation to your plan rules and IRS Pub. 525.
- What is a disqualifying ESPP disposition?
- You sell before the qualifying holding periods are met. The discount at purchase is usually ; additional gain or loss after purchase is typically or loss.
- ESPP vs RSU tax — what is different?
- tax as wages at with a clear basis. adds purchase discount rules and holding-period tests. Use the tax calculator for your purchase/sale facts and the guides if you also have vests.
- Why did my W-2 jump after an ESPP sale?
- In a disqualifying disposition, discount wages are often reported on in the sale year. The reports proceeds separately — reconcile both so Form 8949 basis reflects wages already taxed.
When a CPA is worth it
- Your plan uses a lookback or non-standard offering period.
- You sold shares in the same year you moved states.
- wages and proceeds do not reconcile.
- You have both purchases and vests in one year.
Sources and notes
Primary tax claims on this page are supported by the official and secondary sources below. Broker and software links describe reporting mechanics — confirm rules against IRS or state guidance.
Statutory ESPP discount as compensation and qualifying vs disqualifying disposition holding periods.
- IRS Topic 427 — Stock options
Internal Revenue Service · Official
Overview of statutory (ISO, ESPP) vs nonstatutory options, exercise timing, and Form 3921/3922 reporting.
- IRS Publication 525 — Taxable and Nontaxable Income
Internal Revenue Service · Official
Covers compensation income from stock-based pay, including restricted property under section 83.
Related calculators
Related pages
- Equity Compensation Tax Documents
How equity compensation shows up on W-2, 1099-B, Form 3921, and plan confirmations — and how to reconcile them before filing.
- Equity Compensation Tax Calendar
A planning calendar for equity compensation tax events — vest, exercise, sell, move, and file — with documents to gather at each step.
- Stock Options vs RSUs
Options and RSUs follow different tax paths — know which events create wage income vs capital gain.
For learning, not filing
VestingTax.com is not a CPA firm or tax preparer. Grants, employers, and states all differ. Use the cited IRS and state sources above, your own documents, and a qualified tax professional before you make decisions from this guide.
