How an ESPP Is Taxed: Qualifying and Disqualifying Dispositions

September 2026

A candlestick stock price chart on a dark trading screen, falling then rising to a peak before pulling back

An employee stock purchase plan is one of the few places in personal finance where a 15% return on a six-month holding is on offer to anyone who fills in a form. The tax on it is not complicated, but it is unusual, and the unusual part is exactly where people either overpay or take a risk they did not need to take.

Every ESPP gain is split into two buckets. Part of it is ordinary income, taxed like salary. Part of it is capital gain, taxed at the lower long-term rate if you held the shares long enough. What decides the size of each bucket is not how much money you made. It is when you sold, measured against two clocks that started on different days.

This article walks one plan through four sales with actual dollar figures, then covers the forms that arrive afterwards, including the one broker report that reliably double-taxes people who do not know to correct it. The ESPP calculator runs the same arithmetic on your own plan terms.

Two clocks, one test

The tax code gives favorable treatment to a sale that satisfies a holding period requirement, and it calls that sale a qualifying disposition. To qualify, you must hold the shares until both of the following have passed:

1. More than two years from the offering date, the first day of the offering period in which the shares were bought. The IRS calls this the grant date.

2. More than one year from the purchase date, the day the shares were actually bought for you.

Any sale before both clocks have run is a disqualifying disposition. Note that "disposition" is wider than "sale." A gift, including a gift to charity or into a donor-advised fund, is a disposition. Transfers to a spouse, or to a broker account still in your own name, are not.

The two holding-period clocks on a six-month offering period Offering period Jan 1, Yr 1 Offering date Jun 30, Yr 1 Purchase date Jul 1, Yr 2 One year from purchase Jan 2, Yr 3 Two years from offering Any sale in here is disqualifying On a six-month offering the two-year clock always finishes last, so the earliest qualifying sale is 18 months after purchase, not 12.
The purchase clock is the one people remember. On short offering periods it is never the one that binds.

What goes in each bucket

In a disqualifying disposition, the entire bargain element at purchase is ordinary income: the market value of the shares on the purchase date, less what you paid for them. It does not matter what the shares did afterwards, and it does not matter whether you sold them for more or less than that value. Anything above the purchase-date value is capital gain, short-term or long-term depending on how long you held from purchase. Anything below it is a capital loss.

In a qualifying disposition, ordinary income is the lesser of two figures: the discount measured on the offering-date price, or your actual total gain on the sale. Everything above that is long-term capital gain. If you sold at a loss, there is no ordinary income at all, just a capital loss.

That "lesser of" test is the whole reason qualifying treatment is valuable, and also the reason it is worth less than most people assume. Both points need numbers.

One plan, four sales

Take a plan that looks like most large-company plans: a 15% discount, a lookback provision, six-month offering periods. The stock is $40 on the offering date and $50 on the purchase date. With the lookback, the purchase price is 85% of the lower figure, so $34. You contributed $8,500 over the six months and receive 250 shares worth $12,500.

Three figures from that setup drive everything that follows. The bargain element at purchase is $50 less $34, so $16 a share, $4,000 in total. The offering-date discount, which is the figure the qualifying rule uses, is $40 less $34, so $6 a share, $1,500 in total. And your cost basis starts at $34 a share, $8,500.

Throughout, assume a 24% marginal income tax rate and a 15% long-term capital gains rate, federal only.

Sale 1: sell on the purchase date, $50

Disqualifying, since neither clock has run. Ordinary income is the full bargain element, $4,000. There is no capital gain because you sold at the purchase-date value. Tax: $960. You put in $8,500 and walked away with $11,540 after tax, a 35.8% return on money that was at risk for an average of about three months.

That is the baseline every other choice has to beat.

Sale 2: hold for qualifying treatment, stock rises to $60

Two years and a day after the offering date, the stock is $60. Your total gain is $26 a share, $6,500. Ordinary income is the lesser of the offering-date discount ($1,500) and the actual gain ($6,500), so $1,500. The remaining $5,000 is long-term capital gain. Tax: $360 plus $750, so $1,110.

Now compare that with selling at the same $60 on the same day but somehow failing the test, say because your offering period was longer and the two-year clock had not run. Ordinary income would be the $4,000 bargain element, and the $2,500 above the purchase-date value would be long-term capital gain. Tax: $960 plus $375, so $1,335.

The tax saving from qualifying treatment in this example is $225. To get it, you held $12,500 of your employer's stock for two years, on top of the salary you already draw from the same company. Whether that trade is worth making is a portfolio question, not a tax one, and the tax figure is small enough that it should rarely decide it.

Sale 3: hold for qualifying treatment, stock falls to $30

Same holding, but the shares are $30 when you sell. Your actual gain is $30 less $34, a loss of $4 a share, $1,000 in total. Under the qualifying rule, a loss means no ordinary income. You report a $1,000 long-term capital loss and nothing else.

Sale 4: sell early at $30, the one to avoid

Now suppose you sold at $30 eight months after purchase. Disqualifying. Ordinary income is still the full $4,000 bargain element, because that figure was locked in on the purchase date and does not care what happened next. Your basis becomes $50 a share, so the sale produces a $5,000 short-term capital loss.

Economically you lost $1,000. On your return, you report $4,000 of wages and a $5,000 capital loss. If you have no other capital gains that year, only $3,000 of the loss is deductible against ordinary income, and the other $2,000 carries forward. Net effect in the year of sale: taxable income up by $1,000, and roughly $240 of tax due, on a transaction that lost you money.

Federal tax on the same 250 shares under four sales $960 Sell at $50 on purchase date $1,110 $60, qualifying $1,335 $60, disqualifying $225 apart $0 $30, qualifying $1,000 capital loss ~$240 $30, disqualifying tax on a real loss 250 shares, $34 purchase price, $50 purchase-date value, $40 offering-date value. 24% income rate, 15% long-term gains rate, federal only.
The qualifying rule helps most when the stock has fallen, not when it has risen, because a loss wipes out the ordinary income entirely. Sale 4 is the combination to avoid: a loss on the shares and $4,000 of wages on the W-2 in the same year.

To run these four sales on your own plan, the ESPP tax calculator takes your salary, contribution rate, discount, lookback and the three prices, and shows qualifying against disqualifying side by side at any sale price, with state tax included.

Why the lookback makes qualifying worth less than it sounds

The common description of a qualifying disposition is that it "converts ordinary income into capital gain." It does, but only down to a floor, and the floor is set on the offering date. With a lookback, the ordinary income you can never get rid of is 15% of the offering-date price. In the example that is $6 a share. The other $10 of the $16 bargain element is what qualifying treatment actually saves you at ordinary rates, and at a 24% versus 15% spread that is $0.90 a share.

Run it the other way. If the stock had fallen during the offering period, from $50 to $40, the lookback does nothing, the purchase price is $34 on a $40 share, and the bargain element at purchase is only $6. But the qualifying rule measures the discount on the offering-date price as if you had bought that day: 15% of $50, so $7.50. Sell later at $60 as a qualifying disposition and your ordinary income is $7.50 a share. Sell at the same price as a disqualifying disposition and it is $6, with everything above the $40 purchase-date value taxed as long-term gain anyway. After a falling offering period, qualifying treatment produces more ordinary income than disqualifying, not less. The rule helps most in a rising offering period, where the lookback has already done the heavy lifting, and not at all in a falling one.

What arrives in the mail, and the error to look for

Form 3922 comes from your employer by January 31 after any year in which shares were purchased for you. It records the offering-date value, the purchase-date value, and the price you paid. Keep every one. Years later, it is the only document that lets you compute the qualifying figure correctly.

Form W-2. For a disqualifying disposition the employer will normally include the $4,000 bargain element in Box 1 wages, because the plan broker reports the sale back to them. For a qualifying disposition the employer should report the ordinary income the same way, but often has no idea you sold, particularly if you moved the shares to another broker. If the figure is not on your W-2, it goes on Schedule 1 of Form 1040, line 8k. It is your responsibility either way.

Form 1099-B from the broker is where the money gets lost. For shares acquired under options granted on or after January 1, 2014, the broker is required to report your cost basis as the amount you paid, and nothing else. In the example, that is $34 a share. But your true basis is $34 plus whatever ordinary income you recognized, which is $50 in a disqualifying sale and $40 in a qualifying one. Enter the 1099-B figure as reported and you pay income tax on the bargain element through your W-2, then capital gains tax on the same dollars again.

Correcting the 1099-B basis on Form 8949 As reported on 1099-B Basis $34 "Gain" $16 already taxed as wages Corrected on Form 8949, code B Paid $34 Wages $16 basis $50, gain $0 Sale price $50
Sale 1 from the example, per share. The broker is following the rules by reporting $34. The adjustment is yours to make, in column (g) of Form 8949 with adjustment code B.

The fix is mechanical: on Form 8949, enter the broker's basis as reported, then add the ordinary income you recognized as an adjustment in column (g) with code B. Tax software has a specific screen for this, usually labeled something like "employee stock purchase plan" under the sale details. If you are unsure whether you have been doing this, look at any past year where you sold ESPP shares and check whether the gain on Schedule D roughly matched the wages figure on the W-2. If it did, you paid twice, and an amended return is available for three years.

Nothing is withheld

Ordinary income from a Section 423 plan is not subject to Social Security or Medicare tax, and employers are not required to withhold income tax on it. That is genuinely favorable compared with non-qualified stock options, where the spread is hit with payroll tax and withheld at a flat rate that is usually too low. But it means the $4,000 in Sale 1 arrives in your paycheck with no tax taken out. On a large disqualifying sale, especially one in the fourth quarter, an estimated payment before January 15 is often needed to avoid an underpayment penalty.

Edge cases worth knowing

Non-423 plans. Some employers, particularly those outside the US or with plans that do not meet the Section 423 conditions, run "non-qualified" ESPPs. Those are taxed like stock options: the bargain element is ordinary income on the purchase date, subject to withholding and payroll tax, and there is no qualifying disposition concept. Your plan document will say which kind it is.

The alternative minimum tax. Buying ESPP shares does not create an AMT adjustment. This is a real difference from incentive stock options, and one reason an ESPP can be used aggressively in a year when ISOs cannot.

State tax. Most states tax ordinary income and capital gains at the same rates, so the split between the two buckets does not change your state bill. In states with a separate capital gains rate the qualifying analysis shifts a little in favor of holding, and in states with no income tax it is a federal-only question.

Death. If you die holding the shares, the qualifying rule applies regardless of the holding period, using the value at death, and a loss produces no ordinary income.

What to actually do

Participate, up to the plan maximum and the $25,000 annual limit, unless you cannot fund the contributions without borrowing. The return in Sale 1 is not available anywhere else.

Then treat the sale decision as a portfolio decision that happens to have a tax consequence, not the other way round. The default is to sell at or shortly after purchase, bank the discount, and diversify. Hold for qualifying treatment only if you would buy the same amount of your employer's stock with cash today, and you understand that the tax benefit of doing so is a few hundred dollars per offering period, while the exposure is the full value of the shares plus your salary.

Whatever you decide, file Form 3922 somewhere you will find it in three years, and check the basis on every 1099-B that ever includes ESPP shares.

Questions people ask about ESPP tax

How is an ESPP taxed?

In two parts. The discount, or bargain element, is ordinary income taxed like salary, and any further movement in the share price is a capital gain or loss. How the total gain divides between the two depends on whether the sale is a qualifying disposition. In a disqualifying disposition the full bargain element at purchase, meaning the purchase-date value less what you paid, is ordinary income regardless of the later sale price. In a qualifying disposition the ordinary income is the lesser of the discount measured on the offering-date price or your actual gain, with the rest taxed as long-term capital gain.

What is a qualifying disposition for an ESPP?

A sale made more than two years after the offering date, which is the first day of the offering period, and more than one year after the purchase date. Both conditions must be met. On a six-month offering period the two-year clock always finishes last, so the earliest qualifying sale is about 18 months after purchase. A gift, including a gift to charity, is also a disposition for this purpose.

What is a disqualifying disposition for an ESPP?

Any sale or transfer before both holding-period conditions are satisfied. The full bargain element at purchase becomes ordinary income even if the shares are later sold at a loss, and the difference between the purchase-date value and the sale price is a capital gain or loss. Selling at a loss after a disqualifying disposition can produce taxable wages and a capital loss in the same year, with only $3,000 of the loss deductible against ordinary income.

Is it worth holding ESPP shares for a qualifying disposition?

Usually the tax saving is small. Qualifying treatment only reduces ordinary income down to the discount measured on the offering-date price, so with a 15% discount and a lookback the saving is the difference between ordinary and long-term capital gains rates on part of the bargain element. On 250 shares bought at $34 with a $50 purchase-date value and a $40 offering-date value, selling at $60 as a qualifying disposition saves about $225 compared with a disqualifying sale at the same price. The cost is holding concentrated employer stock for two years. It is a portfolio decision rather than a tax decision.

Why does my 1099-B show the wrong cost basis for ESPP shares?

For shares acquired under options granted on or after January 1, 2014, brokers are required to report the basis as the amount you paid and nothing more. Your true basis is that amount plus the ordinary income you recognized on the sale, which your employer reports as wages. If you use the 1099-B figure unadjusted, the bargain element is taxed twice, once as wages and once as capital gain. Correct it on Form 8949 by adding the ordinary income as an adjustment in column (g) with code B.

Is tax withheld on ESPP income?

No. Ordinary income from a Section 423 employee stock purchase plan is not subject to Social Security or Medicare tax, and employers are not required to withhold income tax on it. It still counts as taxable wages, so a large disqualifying sale can leave a balance due at filing and may require an estimated tax payment to avoid an underpayment penalty.

What is Form 3922 and do I need to keep it?

Form 3922 is issued by your employer by January 31 after any year in which ESPP shares were purchased for you. It records the offering-date value, the purchase-date value, and the price you paid. Nothing is filed with it, but it is the document you need years later to compute the ordinary income on a qualifying disposition correctly and to adjust the basis reported on your 1099-B. Keep every one.

Related reading and tools

Holding employer stock you are not sure what to do with?

We plan ESPP sales alongside options, RSUs and the rest of your tax year, so the decision is made once and made properly.