The ESPP holding period is met once you have held the shares for more than two years from the offering date and more than one year from the purchase date, with both deadlines satisfied at the same time.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Clearing both windows turns the eventual sale into a qualifying disposition, which shifts a larger share of the profit into long-term capital gains rates. Missing either window makes the sale a disqualifying disposition, and a bigger slice of the gain gets taxed as ordinary income.
The Two Clocks You Have to Watch
Section 423 of the Internal Revenue Code runs two separate clocks, and both must expire before you can sell with favorable tax treatment. ESPPs qualifying under this section are classified as statutory stock option plans under federal tax law.2Internal Revenue Service. Stocks (Options, Splits, Traders) 4
The two-year clock starts on the offering date, sometimes called the grant date or enrollment date. The one-year clock starts on the purchase date, when your accumulated payroll deductions are actually used to buy shares.
The statute is written as a prohibition: “no disposition of such share is made…within 2 years after the date of the granting of the option nor within 1 year after the transfer of such share.”1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans You need more than two years and more than one year, respectively. The safe move is to sell the day after each anniversary rather than on the anniversary itself.
Finding Your Earliest Qualifying Sale Date
Because both clocks must run out, the earliest qualifying sale date is always whichever deadline falls later. Most plans have an offering period of six months to two years between the offering date and the purchase date, so the two-year clock from the offering date usually controls.
Work each date independently, then pick the later one. If your offering date was January 1, 2024, the two-year mark falls on January 1, 2026, and the first clearly qualifying sale date is January 2, 2026. If your purchase date was June 30, 2024, the one-year mark falls on June 30, 2025, and the first clearly qualifying date is July 1, 2025.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans
With those two dates, the later one wins. You cannot make a qualifying sale until January 2, 2026. Selling on December 31, 2025 would be a disqualifying disposition even though the one-year clock from the purchase date expired months earlier. This is where most ESPP holders trip up. The one-year clock is easy to remember; the two-year clock from the offering date is the one that usually matters and the one people forget.
What You Get for Meeting Both Deadlines
When you sell after both holding periods are satisfied, the gain splits into two pieces: one taxed as ordinary income and one taxed as a long-term capital gain.3Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income
The ordinary income piece is the lesser of two amounts: the discount at the offering date (the fair market value on the offering date minus what you paid), or the actual gain on the sale (your sale price minus what you paid). If the stock dropped below your purchase price and you sold at a loss, there is no ordinary income at all, and the loss is treated as a capital loss.3Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income
That “lesser of” rule is what makes qualifying dispositions valuable. Under a Section 423 plan the purchase price cannot be less than 85% of fair market value, and many plans use a lookback provision that applies the 15% discount to the lower of the offering-date or purchase-date price.4Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans When the stock has climbed sharply, the purchase-date spread can far exceed the offering-date discount. A qualifying disposition caps ordinary income at the smaller offering-date figure.
Whatever remains after recognizing the ordinary income piece is taxed as a long-term capital gain. Your adjusted basis is the discounted purchase price plus the ordinary income you recognized, and the capital gain is the sale price minus that adjusted basis. Because more than a year has passed since purchase, the gain qualifies for long-term rates.
Your employer should report the ordinary income from a qualifying disposition in Box 1 of your W-2.5Computershare. Qualifying Dispositions of ESPP Stock Some employers miss it. Even when the income does not appear on your W-2, you are still responsible for reporting and paying tax on it.3Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income
What Happens if You Sell Too Early
A disqualifying disposition occurs when you sell, gift, or otherwise transfer shares before both holding periods are met. The ordinary income piece gets bigger and the calculation changes.
Instead of the offering-date discount, ordinary income equals the full purchase-date spread: the fair market value on the day the shares were purchased minus the discounted price you paid.3Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income That amount is reported on your W-2 for the year of sale.5Computershare. Qualifying Dispositions of ESPP Stock The ordinary income is not capped at your actual gain, but you cannot use it to create a loss. Your basis in the stock increases by the ordinary income recognized.
One planning point catches many people flat-footed: the statute specifically exempts disqualifying dispositions from mandatory income tax withholding.6Office of the Law Revision Counsel. 26 USC 421 – General Rules You may owe a significant tax bill at filing time with nothing withheld to cover it.
The remaining gain or loss is a capital gain or loss. A disqualifying disposition does not automatically produce a short-term gain. The character depends on how long you actually held the shares from the purchase date. Hold for more than a year from purchase but sell before the two-year offering-date deadline, and the sale is disqualifying for ESPP purposes, but the capital gain portion is still long-term. Hold for a year or less from purchase, and the capital gain is short-term.
Selling early can still make sense. If the stock has run up and you want to lock in gains or diversify, paying ordinary income tax on the purchase-date spread may be worth it. Walking away from a large unrealized gain to save a few percentage points on part of the profit is not always the right call.
What Counts as a Disposition
The holding period rules apply to “dispositions,” defined broadly to include sales, exchanges, gifts, and transfers of legal title.7Office of the Law Revision Counsel. 26 USC 424 – Definitions and Special Rules A few situations are carved out.
Death is not a disposition. If you die holding ESPP shares, the holding periods are treated as satisfied, your heirs receive a stepped-up basis, and the only ordinary income recognized is the lesser-of amount from the qualifying disposition rules, included on your final tax return.7Office of the Law Revision Counsel. 26 USC 424 – Definitions and Special Rules Under the Treasury regulations, even a death well within the one-year window produces qualifying-style treatment.8eCFR. 26 CFR 1.423-2 – Employee Stock Purchase Plan Defined Transfers between spouses or incident to a divorce are also not dispositions; the receiving spouse inherits your tax treatment and remaining holding period. Pledging shares as collateral does not trigger a disposition either.
Gifting ESPP shares to anyone other than a spouse is a disposition. If you give away shares before the holding periods are met, the transfer is disqualifying and triggers the ordinary income recognition described above.
Leaving Your Job Before the Clocks Run Out
Quitting, being laid off, or retiring does not erase your holding period obligations. Shares you have already purchased belong to you, and you still need to meet both deadlines to get qualifying disposition treatment when you sell. Payroll deductions that accumulated but were not yet used to buy shares are typically refunded.
One caveat sits in the statute itself: you must have been an employee continuously from the offering date until at least three months before the purchase date for the statutory tax treatment to apply.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans If you leave before that three-month window closes, the purchase may not go through at all, depending on your plan’s terms.
Reporting the Sale Without Getting Taxed Twice
When your company buys shares on your behalf at a discount, the corporation files Form 3922 reporting the offering date, purchase date, fair market values, and the price you paid.9Internal Revenue Service. About Form 3922 – Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c) Keep it. You will need it to calculate your ordinary income and adjusted basis at sale.
When you sell, your broker reports the proceeds on Form 1099-B. The cost basis the broker reports often does not include the ordinary income adjustment. Copy the 1099-B numbers straight onto your return and you will end up taxed twice on the ordinary income piece. Report the sale on Form 8949 and use column (g) to enter an adjustment that increases your basis by the ordinary income you already recognized.10Internal Revenue Service. Instructions for Form 8949 Skipping that step is one of the most expensive filing mistakes ESPP participants make, and it happens constantly because the 1099-B looks complete on its face.
The Wash Sale Trap on ESPP Losses
If you sell ESPP shares at a loss and your plan purchases new shares of the same stock within 30 days before or after that sale, the IRS wash sale rule disallows the loss. The disallowed amount gets added to the basis of the newly purchased shares, deferring the benefit rather than erasing it.11Computershare. Tax Traps for ESPPs – A Short Summary
Plans with monthly purchase periods or dividend reinvestment are especially prone to this because new shares are acquired frequently, making it nearly impossible to sell at a loss without a wash sale triggering.11Computershare. Tax Traps for ESPPs – A Short Summary Other company equity events, like restricted stock vesting or 401(k) company stock purchases, can also create wash sale exposure when the same stock is involved. If you plan to harvest a loss on ESPP shares, check your plan’s purchase schedule first.