An Employee Stock Purchase Plan lets you buy your employer's stock at a discount through payroll deductions, and the tax treatment of the eventual sale depends heavily on exactly how long you hold the shares before selling โ€” a distinction that trips up a lot of employees who sell immediately without realizing they left a better tax outcome on the table.

How a Qualified ESPP Works

A qualified ESPP (meeting the requirements of IRC ยง423) lets you contribute a portion of your paycheck over an offering period, then uses that accumulated money to buy company stock at a discount โ€” commonly up to 15% off the market price. Many plans also include a "lookback" provision: the purchase price is based on whichever is lower, the stock price at the start of the offering period or the price at the end of it, potentially making the effective discount even larger than the stated percentage if the stock price rose during the period.

The Discount Is Always Ordinary Income Eventually

Regardless of how long you hold the shares after purchasing them, the discount itself is eventually taxed as ordinary income โ€” the question isn't whether it's taxed as ordinary income, but when, and how much of your total gain gets bundled into that ordinary-income treatment versus qualifying for capital gains rates.

Qualifying vs. Disqualifying Disposition

This is the distinction that matters most. A sale is a qualifying disposition if you hold the shares for both:

If you sell before meeting both of these tests, it's a disqualifying disposition. The two scenarios are taxed quite differently:

A Worked Comparison

Say your ESPP offering-date price is $50, purchase-date price (after the lookback discount) works out to $42.50 (15% off $50), and you eventually sell at $80. In a disqualifying disposition (sold too early): the $7.50 discount ($50 โˆ’ $42.50) is ordinary income, and the remaining $37.50 gain ($80 โˆ’ $42.50) is a capital gain (short or long-term depending on holding period from purchase). In a qualifying disposition (held long enough): typically a similar or smaller amount is treated as ordinary income, and a larger share of the total gain gets the preferential long-term capital gains rate instead of ordinary income or short-term treatment โ€” meaningfully reducing the tax on the same total profit, simply by holding longer before selling.

๐Ÿ’ก The tradeoff is concentration risk: holding employer stock longer to get better tax treatment also means more of your net worth is tied to a single company's stock price for that extra time. Many financial advisors recommend not letting tax optimization alone dictate holding a concentrated position far longer than your risk tolerance would otherwise suggest.

Reporting: Form 3922 and Schedule D

Your employer issues Form 3922 reporting the details of your ESPP purchase (not a tax bill itself, just informational), and the eventual sale is reported on Schedule D along with your other capital transactions. The ordinary-income portion of a disqualifying disposition typically shows up on your W-2 for the year of sale (employers are required to include it), while a qualifying disposition's ordinary-income component may not appear on your W-2 at all, making it easy to under-report if you're not tracking it yourself โ€” brokerage 1099-B forms frequently show an incorrect (too-low) cost basis for ESPP shares because they don't automatically include the ordinary-income portion, so double-check this against your own records rather than trusting the 1099-B basis figure blindly.

Common Questions

Is a non-qualified ESPP taxed differently? Yes โ€” plans that don't meet ยง423 requirements ("non-qualified" ESPPs) generally tax the entire discount as ordinary income at the time of purchase, without the qualifying/disqualifying disposition distinction at all.

What if my company stock drops after I buy through the ESPP? You still owe ordinary income tax on the original discount amount (or the qualifying-disposition equivalent) even if the stock later drops โ€” the discount income and any subsequent capital loss are calculated and taxed separately, they don't offset each other automatically.

Does this work the same as incentive stock options (ISOs)? No โ€” ISOs have their own separate holding-period and AMT considerations; see our guide to bonuses, stock options, and RSUs for how those are taxed instead.

๐Ÿ’ก Once you've separated your ESPP gain into its ordinary-income and capital-gain components, run the capital-gain portion through the Capital Gains preset and add the ordinary-income portion as Other Income in the main calculator.