Want the full rules, planning strategies, and the broker basis trap explained in detail? Read the companion guide.
Read the ESPP Tax Guide →
Short Answer
ESPP shares are taxed differently depending on whether you hold them long enough for a qualifying disposition. A qualifying disposition splits the gain into a capped ordinary income portion - never more than the grant-date discount - and a long-term capital gain portion taxed at 0, 15, or 20 percent. A disqualifying disposition converts the full purchase spread into ordinary income with no preferential rate on that portion. In both cases, the broker basis trap on Form 1099-B can cause double taxation if you do not adjust your reported cost basis upward by the W-2 ordinary income amount.
Key Takeaways
- Qualifying disposition requires holding at least 2 years from the grant date AND at least 1 year from the purchase date - both thresholds must be met independently.
- For qualifying dispositions, IRC §423(c) ordinary income is capped at the lesser of total gain or the grant-date discount (typically 15% of grant-date FMV times shares). No amount above this cap is ordinary income.
- No federal withholding applies to qualifying-disposition ordinary income (IRC §423(c) no-withholding rule) - the tax is owed at filing. Adjust W-4 or estimated payments accordingly.
- For disqualifying dispositions, the spread between purchase-date FMV and your purchase price is ordinary wage income. Any additional gain (or loss) on the sale is a capital gain.
- Broker 1099-B often shows the unadjusted purchase price as cost basis. You must add the W-2 ordinary income amount to the basis on Form 8949 to avoid paying capital gains tax on income already taxed as wages.
- The $25,000 per-year FMV accrual limit (IRC §423(b)(8)) applies across all of your employer's section 423 plans combined, measured at grant-date FMV.
How This Calculator Works
Step 1 - Identify the disposition type
You select qualifying or disqualifying. A qualifying disposition requires holding the shares at least 2 years from the option grant date (beginning of offering period) AND at least 1 year from the purchase date. Sell before either threshold and it is disqualifying.
Step 2 - Compute ordinary income
For qualifying dispositions: IRC §423(c) OI = min(total gain, grant-date discount). Grant-date discount = (grant-date FMV - purchase price) x shares. Total gain = (sale price - purchase price) x shares. If total gain is negative or zero, OI is zero and the loss is a capital loss.
For disqualifying dispositions: OI = (purchase-date FMV - purchase price) x shares. This is the spread at purchase and is reported by your employer as W-2 wages in the year of sale.
Step 3 - Compute capital gain (or loss)
For qualifying dispositions: adjusted basis = (purchase price x shares) + OI. Capital gain = proceeds - adjusted basis. This gain is long-term because a qualifying disposition requires holding at least 1 year from purchase.
For disqualifying dispositions: adjusted basis = purchase-date FMV x shares (not just what you paid). Capital gain = proceeds - adjusted basis. This gain is typically short-term unless the shares were held more than 1 year after purchase.
Step 4 - Apply brackets to ordinary income
Ordinary income (ESPP OI) is stacked on top of other income. The calculator computes the marginal tax cost of the OI using the 2026 or 2025 tax brackets after the standard deduction. Disqualifying spread capital gains are also treated as ordinary income (short-term) in this step.
Step 5 - Apply LTCG rates and NIIT
For qualifying-disposition LTCG, the calculator determines what portion of the capital gain falls in the 0%, 15%, or 20% LTCG bracket by stacking the gain on top of taxable ordinary income. NIIT at 3.8% applies to investment income when estimated AGI exceeds $200,000 single/HOH, $250,000 MFJ, or $125,000 MFS.
Worked Example: Sarah's Qualifying Disposition
Sarah participates in her employer's 24-month ESPP with a 15% discount. Her plan uses the lower of grant-date or purchase-date FMV for the 85% pricing, but the stock rose during the offering period so the grant-date price controls.
Plan Parameters
Grant-date FMV$80.00 / share
Purchase-date FMV (stock rose)$100.00 / share
Purchase price (85% x $80)$68.00 / share
Shares purchased150
Sale price (26 months from grant)$110.00 / share
Other ordinary income$120,000
Filing statusSingle
Qualifying Disposition Calculation
Proceeds (150 x $110)$16,500
Original cost (150 x $68)$10,200
Total gain$6,300
§423(c) cap: ($80 - $68) x 150$1,800
Ordinary income (min $6,300 / $1,800)$1,800
Adjusted basis ($10,200 + $1,800)$12,000
LTCG ($16,500 - $12,000)$4,500
Tax Calculation (2026, Single)
Taxable ordinary income ($120K + $1.8K - $16,100 std ded)$105,700
Federal tax on ordinary income (brackets)approx. $19,174
Marginal rate on OI (22% bracket)22%
LTCG $4,500 - stacks on $105,700 taxable OI (15% bracket)$675
NIIT: AGI $126,300 - under $200K threshold$0
Total additional tax from ESPP saleapprox. $1,071
Broker basis trap: The broker's 1099-B shows $10,200 as cost basis. The correct adjusted basis is $12,000 (after adding the $1,800 W-2 ordinary income). Using the broker's figure without adjustment produces an extra $1,800 of phantom capital gain on Schedule D - income that was already taxed as wages. Sarah must report basis as $12,000 on Form 8949.
Quick Facts: Qualifying vs Disqualifying Disposition
ESPP Disposition Comparison - IRC Section 423
| Parameter |
Qualifying Disposition |
Disqualifying Disposition |
| Holding period required |
2 yr from grant date + 1 yr from purchase date (both) |
Less than either threshold |
| Ordinary income |
§423(c) cap: min(total gain, grant-date discount) |
Spread at purchase (purchase-date FMV minus purchase price) |
| Remaining gain type |
Long-term capital gain |
Short-term capital gain (usually); long-term if held > 1 yr from purchase |
| Federal withholding on OI |
None - no withholding on §423(c) OI (pay at filing) |
Employer may withhold on spread at purchase (supplemental rate) |
| Form issued by employer |
Form 3922 (first transfer or sale) |
Form 3922 + W-2 Box 1 includes spread |
| Correct basis for capital gain |
Purchase price + OI (W-2 amount added back) |
Purchase-date FMV (not just your purchase price) |
| Typical outcome |
Lower ordinary income, more LTCG - better for high earners |
Full spread taxed at ordinary rates - often costs more in tax |
Practitioner Insight
The most preventable ESPP tax mistake is using the broker's 1099-B basis without adjustment. For a qualifying disposition, the broker typically reports only the shares' original purchase price as cost basis. The section 423(c) ordinary income that appears in W-2 Box 1 must be added to arrive at the correct adjusted basis. Without this adjustment, the full gain from purchase price to sale price appears on Schedule D as a capital gain - but part of it was already taxed as W-2 income. The result is double taxation. Pull Form 3922, verify the W-2 Box 1 amount, and add it to the basis when completing Form 8949. For disqualifying dispositions, the basis trap runs the other direction: the broker shows the original purchase price, but the correct capital gain basis is the purchase-date FMV. Using the lower purchase price overstates the capital gain by the same amount as the ordinary income already reported on your W-2.
Real-World Scenario: Marco's Disqualifying Disposition - and the Qualifying Alternative
Marco is a software engineer, files MFJ, and has $180,000 in other wages. He contributes 10% of salary to his employer's 6-month ESPP. At the end of the offering period, the stock had risen 20% from the grant date. His purchase price (85% of grant-date FMV of $60) is $51 per share. He buys 200 shares. Three months after purchase, he sells at $75 per share (disqualifying - he needed the cash).
Disqualifying disposition result: Spread at purchase = ($72 purchase-date FMV - $51) x 200 = $4,200 ordinary income. Capital gain = ($75 sale price - $72 purchase-date FMV) x 200 = $600 STCG. The $4,200 spread is taxed at his 22% marginal rate: $924. The $600 STCG is also ordinary income at 22%: $132. Total tax on the ESPP: approximately $1,056.
If Marco had waited 9 more months (qualifying): He would have held 12 months from purchase and qualified. Assume the stock is still at $75. Section 423(c) OI cap = ($60 grant FMV - $51 purchase price) x 200 = $1,800. Total gain = ($75 - $51) x 200 = $4,800. OI = min($4,800, $1,800) = $1,800. LTCG = $4,800 - $1,800 = $3,000. Tax on $1,800 OI at 22% = $396. Tax on $3,000 LTCG at 15% = $450. Total tax: $846. Savings from waiting: approximately $210 - and no withholding event at sale.
When This Calculator Does Not Cover Your Situation
- Look-back provisions: Many plans use the lower of grant-date or purchase-date FMV for the 85% pricing - creating a potential discount larger than 15% if the stock fell. The §423(c) cap is still based on grant-date FMV minus purchase price, but the contribution limit caps at $25,000 FMV at grant-date, not purchase-date.
- Multiple offering periods: Each offering period has its own grant date and its own 2-year qualifying clock. If you participate in overlapping or multiple offerings, track holding periods separately per offering.
- Wash-sale rule: If you sell ESPP shares at a capital loss and repurchase substantially identical stock within 30 days before or after the sale, the wash-sale rule (IRC §1091) disallows the loss. The disallowed loss is added to the basis of the replacement shares.
- Non-section 423 plans: Some employer purchase plans are not qualified under IRC §423. These non-qualified plans treat the spread at purchase as ordinary income regardless of holding period (NSO-style treatment). The qualifying/disqualifying framework does not apply.
- State tax: Not modeled. Most states conform to federal ESPP treatment but California and New York tax all capital gains as ordinary income, significantly changing the after-tax comparison between qualifying and disqualifying dispositions.
- AMT interaction: ESPP purchases under a qualified §423 plan do not create an AMT preference item at purchase (unlike ISOs). However, a very large qualifying or disqualifying OI inclusion could push overall income into AMT territory. Consult Form 6251 if your total income is high.
FAQ: ESPP Tax
How are ESPP shares taxed when I sell them?
The tax treatment depends on whether you held the shares long enough to qualify for favorable treatment. For a qualifying disposition - held at least 2 years from the option grant date AND at least 1 year from the purchase date - only a portion of your gain is ordinary income: the lesser of (a) your actual total gain, or (b) the discount you received at the time the option was granted (typically 15 percent of the grant-date stock price). Any remaining gain above that ordinary income portion is long-term capital gain taxed at 0, 15, or 20 percent. For a disqualifying disposition (sold too early), the spread between your purchase price and the stock price on the day you purchased it is ordinary income, and any additional gain or loss on the sale is a capital gain or loss.
What is a qualifying disposition for ESPP shares?
Under IRC section 423(a)(1), you have a qualifying disposition if you hold the shares for at least 2 years after the date the option was granted (the start of the offering period) AND at least 1 year after the date the shares were transferred to you (the purchase date). Both holding periods must be met independently. If you sell before either threshold, you have a disqualifying disposition, which triggers ordinary income recognition equal to the spread at purchase.
What is the section 423(c) ordinary income limit for qualifying dispositions?
IRC section 423(c) limits the ordinary income on a qualifying disposition to the lesser of two amounts: (1) the actual gain on the sale (proceeds minus purchase price), or (2) the discount at grant (fair market value of the stock at the time the option was granted, minus the option price you paid). In a typical 15-percent-discount ESPP, the section 423(c) cap is 15 percent of the grant-date FMV times the number of shares. Any gain above this ordinary income cap is taxed as long-term capital gain.
What is the broker basis trap with ESPP shares?
For qualifying dispositions, your employer includes the section 423(c) ordinary income amount in your W-2 for the year you sell the shares. This W-2 amount must be added to your cost basis (purchase price) to arrive at your adjusted basis for the capital gain calculation. However, many brokers report the original purchase price as your cost basis on Form 1099-B, without adding the W-2 ordinary income amount. If you use the broker's reported basis without adjusting it, you will pay capital gains tax on income that was already taxed as ordinary income in your W-2 - double taxation. Always compare your W-2 Box 12 amount to your broker's 1099-B and adjust the basis yourself on Form 8949.
Is there federal withholding on ESPP ordinary income from a qualifying disposition?
No. IRC section 423(c) explicitly states that no amount shall be required to be deducted and withheld under chapter 24 (the withholding rules) with respect to the section 423(c) ordinary income from a qualifying disposition. This means the ordinary income tax on your qualifying disposition is not withheld by your employer - you owe it at filing. You should increase your estimated tax payments or adjust your W-4 withholding to cover this liability if you plan a qualifying-disposition sale during the year.
What is the $25,000 ESPP annual limit?
IRC section 423(b)(8) limits the rate at which an employee may accrue the right to purchase stock under all section 423 plans to $25,000 of stock value per calendar year, measured by the fair market value of the stock at the time the option is granted. In a typical 24-month offering period with a 15-percent discount and a purchase at the end, this means the maximum stock value you can purchase in a given calendar year at grant-date FMV is $25,000. Many ESPP plans set employee contribution limits (commonly 10 to 15 percent of compensation) that are well below this statutory ceiling.
Does a disqualifying disposition change the amount I paid for the stock?
For tax purposes, yes - but only for computing capital gain, not for what you actually paid. In a disqualifying disposition, the spread between the stock price on the purchase date and your purchase price is treated as ordinary income (wages). Your adjusted basis for the capital gain calculation becomes the stock price on the purchase date (not just what you paid). So if you paid $34 for shares that were worth $40 on the purchase date, your $6 spread is ordinary income, and your basis for capital gain purposes is $40. If you then sell at $45, you have a $5 short-term capital gain in addition to the $6 ordinary income.
Do ESPP shares trigger the alternative minimum tax?
Generally no - not for standard section 423 ESPP plans. The AMT preference that applies to incentive stock options (ISOs) under IRC section 56(b)(3) does not apply to ESPP shares purchased under a qualified section 423 plan. Unlike ISOs, the spread at purchase under an ESPP is not an AMT adjustment item for qualifying dispositions. However, if the ordinary income from a disqualifying or qualifying disposition pushes your total income into AMT territory, you could still be subject to AMT on your overall income. Consult Form 6251.
How do I report ESPP sales on my tax return?
Report ESPP sales on Form 8949, Sales and Other Dispositions of Capital Assets, carried to Schedule D. Your employer provides Form 3922 after the first transfer or sale of shares purchased under a section 423(c) plan - this form reports the grant date, purchase date, grant-date FMV, purchase-date FMV, and purchase price. Use Form 3922 to compute the section 423(c) ordinary income amount and reconcile it with what appears in W-2 Box 1. On Form 8949, enter the sale proceeds, then use the adjusted basis (purchase price plus ordinary income already included in W-2), not just the price you paid.
What states tax ESPP income differently?
Most states conform to the federal treatment of ESPP income, but some have notable differences. California taxes ESPP income (both ordinary income and capital gains) as ordinary income at rates up to 13.3 percent - California does not have a separate lower capital gains rate. New York taxes capital gains at ordinary income rates as well. Massachusetts, New Jersey, and other high-income-tax states generally conform to the federal ordinary income characterization but apply different capital gains rates or holding period thresholds. States with no income tax (Alaska, Florida, Nevada, South Dakota, Tennessee, Texas, Washington, Wyoming) impose no state tax on ESPP income.
Decision Step: Which Path Applies to Your ESPP Sale?
Route A - Qualifying: Waiting for Both Holding Periods
You have held the shares more than 2 years from grant date AND more than 1 year from purchase date. The §423(c) cap limits your ordinary income to the grant-date discount amount. The rest of your gain is LTCG. No withholding on the OI - plan for a tax payment at filing. Use this calculator to estimate the tax and confirm whether the LTCG savings justify the wait. See the ESPP Tax Guide for holding-period tracking strategies.
Route B - Disqualifying: Selling Before Either Threshold
You are selling before either the 2-year or 1-year threshold (or both). The full spread at purchase is ordinary income, likely already subject to supplemental withholding by your employer. Any remaining gain is typically short-term capital gain. Use this calculator to model the tax cost and compare it to the qualifying-disposition scenario to understand what waiting would save. Review your broker's 1099-B basis carefully - the adjusted basis is purchase-date FMV, not your discounted purchase price.
Next Tools
Estimating total equity compensation tax across RSUs and ESPP: use the RSU Tax Calculator. Estimating bonus withholding on a disqualifying-disposition W-2 addition: use the Bonus Tax Calculator. Modeling your overall filing status for the year with multiple income sources: use the Filing Status Calculator.
This calculator is for educational and illustrative purposes only. It does not constitute tax, legal, or financial advice. Tax calculations are estimates based on the inputs you provide and the federal 2026 or 2025 standard deduction and income tax brackets. State income tax, AMT, and other credits are not modeled. Individual circumstances vary. Consult a qualified tax professional for advice specific to your situation.