ESPP tax: discount wages vs capital gain on sale

ESPP tax splits between discount income (often wages) and post-purchase capital gain depending on how long you hold shares after purchase.

Rates and rules change. Content is reviewed for tax year 2026. Check the last-reviewed date and methodology on each page, then confirm against IRS or state guidance before you file.

Spot an outdated rate or date?

We update when we can, but we miss things. Send a link to the official source if you have one.

Email us

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

tax usually has two parts: the plan discount is generally compensation (often on your ), and any price change after purchase may be or loss when you sell. Whether the sale is qualifying or disqualifying depends on how long you hold shares after the purchase date and after the offering period start — your plan document defines the discount formula.

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

The discount is usually first. Only appreciation after purchase is in many disqualifying sales — and qualifying sales split income differently. Importing with wrong basis repeats the same mistake sellers make.

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.

Example: You buy 100 shares at $85 when at purchase is $100 (15% discount). You sell six months later at $105. In a typical disqualifying disposition, the $15/share discount ($1,500) may be ordinary wages and the $5/share post-purchase gain ($500) may be short-term . Exact splits depend on your plan dates and IRS rules for your facts.

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.

Related calculators

Related pages

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.

Editorial standardsDisclaimer