Your 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. Both clocks have to finish before a sale counts as a “qualifying disposition.” When they have, a smaller slice of your profit is taxed as ordinary income and the rest is taxed at long-term capital gains rates. Sell before either deadline and the sale is a “disqualifying disposition,” which pushes more of the gain into ordinary income.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans
The Two Clocks You Have to Watch
Section 423 of the Internal Revenue Code sets up two separate holding periods that both have to run out.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 actually buy the shares.
The statute is worded as a prohibition on disposing of the shares “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 “Within” means 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 it.
Figuring Out the Earliest Date You Can Sell
Since both clocks have to finish, your earliest qualifying sale date is whichever deadline lands later. Most ESPPs run offering periods of six months to two years, so the two-year clock from the offering date is usually the one that controls.
Take an offering date of January 1, 2024, and a purchase date of June 30, 2024. The two-year mark from the offering date falls on January 1, 2026, and the first clearly qualifying sale date is January 2, 2026. The one-year mark from the purchase date falls on June 30, 2025, and the first clearly qualifying date from that clock is July 1, 2025. The later date wins, so 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 ran out months earlier.
This is the trap. The one-year clock is easy to remember. The two-year clock from the offering date is the one people forget, and it is usually the one that decides the answer.
How the Discount Shapes the Tax Bill
A Section 423 plan can set the purchase price no lower than 85% of fair market value, so the discount tops out at 15%.3Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Many plans layer on a “lookback” feature that applies the 15% discount to the lower of the offering-date price or the purchase-date price. When the stock rises during the offering period, the effective discount at purchase can be much larger than 15%. That discount is what eventually gets carved out as ordinary income when you sell, so it matters which price the plan uses.
What a Qualifying Disposition Actually Saves You
Sell after both clocks are done and the gain splits into an ordinary income piece and a long-term capital gain piece.4Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income
The ordinary income piece is the lesser of:
- The offering-date discount: the fair market value on the offering date minus the price you paid, or
- Your actual gain on the sale: sale price minus what you paid.
If the stock fell and you sold at a loss, there is no ordinary income at all, and the loss is a capital loss.4Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income
The “lesser of” rule is the whole point of waiting. In a plan with a lookback, the stock might be worth well more at the purchase date than at the offering date. A qualifying disposition caps the ordinary income at the offering-date discount, which is often much smaller than the total spread. Everything above that gets long-term capital gain treatment. Your adjusted basis is the discounted purchase price plus the ordinary income you recognized; the capital gain is the sale price minus that adjusted basis.
Employers should report the ordinary income in Box 1 of your W-2, but some do not.5Computershare. Qualifying Dispositions of ESPP Stock Whether it appears there or not, you owe tax on it.4Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income
What a Disqualifying Disposition Costs
Sell, gift, or transfer the shares before both clocks finish and the calculation changes. The ordinary income equals the full spread on the purchase date: the stock’s fair market value on the day it was bought minus what you paid.4Internal Revenue Service. Publication 525 – Taxable and Nontaxable Income The offering-date discount cap does not apply. That amount goes on your W-2 for the year of sale.5Computershare. Qualifying Dispositions of ESPP Stock It cannot be used to create a loss, and your basis in the stock goes up by the ordinary income recognized.
The statute specifically exempts disqualifying dispositions from mandatory income tax withholding.6Office of the Law Revision Counsel. 26 USC 421 – General Rules You can end up with a real tax bill at filing time and nothing withheld against it. Set money aside if the spread was large.
One point that catches people: a disqualifying disposition does not automatically make the capital piece a short-term gain. The character of the capital gain depends on how long you actually held the shares from the purchase date. If you held for more than a year from the purchase date but sold before the two-year offering-date deadline, the sale is disqualifying for ESPP purposes, but the capital gain portion is still long-term. Held a year or less from the purchase date, the capital gain is short-term.
A disqualifying disposition is not automatically a bad choice. If the stock has run up and you want to lock in the gain or diversify, paying ordinary rates on the purchase-date spread can be worth it. Walking away from a large gain to shave a few points off part of the profit is not always the right trade.
What Counts as a Disposition, and What Doesn’t
The holding period rules apply to “dispositions,” defined broadly to cover sales, exchanges, gifts, and transfers of legal title.7Office of the Law Revision Counsel. 26 USC 424 – Definitions and Special Rules A few important carve-outs:
- Death is not a disposition. If you die holding ESPP shares, the holding periods are treated as satisfied, heirs get a stepped-up basis, and the only ordinary income recognized is the qualifying-disposition “lesser of” amount on your final return. Under the Treasury regulations, this holds even if death happens well inside the one-year window.7Office of the Law Revision Counsel. 26 USC 424 – Definitions and Special Rules8eCFR. 26 CFR 1.423-2 – Employee Stock Purchase Plan Defined
- Transfers between spouses, including in divorce, are not dispositions. The receiving spouse inherits your tax treatment and remaining holding period obligations.7Office of the Law Revision Counsel. 26 USC 424 – Definitions and Special Rules
- Pledging the shares as collateral is not a disposition.
- Gifting shares to anyone other than a spouse is a disposition, and if the clocks have not finished, it is a disqualifying one.
Leaving the Job Before the Clocks Run Out
Quitting, being laid off, or retiring does not reset or void your holding periods. Shares you already own are yours, and both deadlines still have to be met to get qualifying treatment when you sell. Payroll deductions that accumulated but had not yet purchased shares are typically refunded.
One statutory wrinkle: under Section 423, you have to 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 Leave inside that window and the purchase may not go through at all, depending on the plan.
Reporting the Sale Without Getting Taxed Twice
When the company buys shares for you at a discount, it files Form 3922 with 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 need it to figure your ordinary income and adjusted basis whenever you eventually sell.
At sale, your broker reports proceeds on Form 1099-B. The cost basis the broker reports usually does not include the ordinary income adjustment. Copy the 1099-B numbers straight onto your return and you will be taxed twice on the ordinary income piece. The fix is to report the sale on Form 8949 and use column (g) to increase your basis by the ordinary income you already recognized.10Internal Revenue Service. Instructions for Form 8949 Skipping this adjustment is one of the most expensive ESPP filing mistakes, and it is common because the 1099-B looks complete.
Selling at a Loss: Watch the Wash Sale Rule
If you sell ESPP shares at a loss and your plan buys new shares of the same stock within 30 days before or after the sale, the wash sale rule disallows the loss. The disallowed amount rolls into the basis of the new shares. Plans with monthly purchases or dividend reinvestment are especially exposed, since new lots keep arriving.11Computershare. Tax Traps for ESPPs – A Short Summary Other company equity, such as restricted stock vesting or 401(k) company stock buys, can create the same problem. If you plan to harvest a loss on ESPP shares, look at the plan’s purchase calendar first.