To get the favorable tax treatment on shares from an Employee Stock Purchase Plan, you have to hold ESPP shares for more than two years from the offering date and more than one year from the purchase date. Both deadlines must pass before you sell. Miss either by a single day and the sale becomes a disqualifying disposition, which taxes more of your profit at ordinary income rates instead of at long-term capital gains rates.
The Two Clocks You Have to Watch
The tax code sets up two holding periods that run at the same time. The first starts on the offering date (sometimes called the grant date) and runs for more than two years. The second starts on the purchase date and runs for more than one year. Because the offering date always comes before the purchase date, the two-year clock is usually the later of the two to expire, but you need to confirm both.
A concrete example. Say the offering date is January 1, 2024, and the purchase date is June 30, 2024. The two-year mark is not met until after January 1, 2026. The one-year mark is not met until after June 30, 2025. The later of those, January 1, 2026, controls when you can sell with qualifying treatment. The statute uses the phrase “more than,” so selling on the exact anniversary date still counts as a disqualifying disposition.
These rules come from IRC Section 423(a)(1), which says no disposition of the shares can occur within two years of the option grant or within one year of the share transfer to you.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans When both are satisfied, Section 421(a) provides that no income is recognized when the shares were originally transferred to you; income is recognized only when you sell.2Office of the Law Revision Counsel. 26 USC 421 – General Rules
Where to Find Your Offering and Purchase Dates
Your employer files IRS Form 3922 whenever shares from a Section 423 plan are transferred to you. Box 1 shows the offering date (when the option was granted). Box 2 shows the purchase date (when you exercised). The form also lists the fair market value on both of those dates and the price you actually paid, all of which you will use later for cost basis.3IRS.gov. Form 3922 – Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c)
If you can’t find Form 3922, check your brokerage account. Most plan administrators display grant details, purchase confirmations, and lot-level history in the equity compensation section. Your employer’s Summary Plan Description will confirm the plan’s purchase cycles, which are commonly every three or six months. Together these give you the exact calendar dates for both clocks.
What You Actually Save by Waiting
The payoff comes down to how much of your gain is taxed as ordinary income and how much is taxed at capital gains rates. The maximum federal long-term capital gains rate is 20 percent, and many filers pay 15 percent or 0 percent depending on income. Ordinary income rates go as high as 37 percent. The holding period decides which bucket the ESPP discount falls into.
Qualifying Disposition
When both holding periods are met, the ordinary income you have to recognize is limited to the lesser of two figures: the discount your plan offered based on the offering-date price, or the actual gain on the sale. Anything above that is a long-term capital gain. Plans can offer a discount of up to 15 percent off fair market value, so the maximum ordinary income from the discount in a qualifying disposition is capped at that percentage of the offering-date price.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans
Say the stock was worth $50 on the offering date with a 15 percent discount. Your ordinary income in a qualifying disposition is capped at $7.50 per share, even if the stock jumped between the offering date and purchase date. If the shares fall and you sell for less than you paid, your ordinary income is the actual gain (possibly zero), and the shortfall is a capital loss.
Disqualifying Disposition
Sell too early and the math turns against you. Your employer reports the full spread between the stock’s fair market value on the purchase date and the price you paid as ordinary income, which shows up on your W-2. If the stock climbed between the offering date and the purchase date, that spread is often much larger than the discount measured off the offering-date price. Any gain above that spread is capital gain, short-term or long-term depending on how long you held after purchase.
Same $50 stock, but it climbs to $70 by the purchase date. With a 15 percent lookback discount, you paid $42.50. A disqualifying sale means ordinary income tax on the full $27.50 spread. In a qualifying disposition it would have been $7.50. That is a $20-per-share difference in what gets taxed at ordinary rates rather than capital gains rates.
Fix Your Cost Basis or You’ll Pay Twice
Whatever gets reported as ordinary income (whether the sale is qualifying or disqualifying) is added to what you paid to give you your adjusted cost basis. Subtract that adjusted basis from the sale proceeds to find your capital gain or loss.
In the disqualifying example, the adjusted basis is $70 per share ($42.50 plus $27.50 ordinary income). Sell at $75 and the capital gain is $5. In the qualifying case, the adjusted basis is $50 ($42.50 plus $7.50), and selling at $75 produces a $25 long-term capital gain. Qualifying treatment moves more of the profit into the lower rate.
Brokerages often report cost basis on Form 1099-B without the ordinary income adjustment, so the basis they show is too low. You have to correct it on Form 8949 when you file.4Internal Revenue Service. Instructions for Form 8949 (2025) Skip that step and you pay tax on the same dollars twice.
Gifts Count as a Sale
A disposition is not just a sale on the open market. Giving shares to another person also counts, and it is qualifying or disqualifying based on whether both holding periods were met at the time of the gift. Moving shares between brokerage accounts you own is generally not a disposition, because you have not changed the ownership.
Gift ESPP shares to a family member before the clocks run out and you trigger a disqualifying disposition, owing ordinary income tax on the spread even though no cash changed hands. The rule applies to any change in legal ownership, not only sales.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans
When Selling Early Is the Right Call Anyway
Waiting is not always worth it. Many employees sell right after purchase to lock in the guaranteed discount and avoid the risk that the stock drops over the next year or two. A 15 percent discount doesn’t help much if the stock falls 25 percent while you’re waiting for qualifying treatment.
Concentration risk drives most of these decisions. If your paycheck already depends on your employer, holding a large stake in the same company doubles the exposure. Selling promptly and diversifying can be the better move even at the cost of a higher tax bill on the discount. The holding period decision is a bet that the tax savings from waiting outweigh the investment risk of staying concentrated.
Watch the Wash Sale Window if You’re Still Enrolled
Sell ESPP shares at a loss and, if your plan buys new shares within 30 days before or after that sale, the wash sale rule can disallow the capital loss. Most ESPPs purchase on a fixed schedule every three or six months, so a new purchase can land inside the 30-day window without you planning it.
When the rule applies, the disallowed loss is added to the basis of the newly purchased shares. You don’t lose the deduction forever, but you defer it until you sell those replacement shares. If you want to harvest a loss on older shares while you are still enrolled, time it around your next automatic purchase.
Leaving Your Job Doesn’t Reset the Clock
Quitting, being laid off, or retiring does not stop or restart the holding periods. Section 423(a)(1) measures the two-year and one-year requirements from the offering and purchase dates, with no requirement that you stay employed during the wait.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Once shares are in your brokerage account, they belong to you, and you can keep holding to reach a qualifying disposition long after your last day.
Employer Rules That Push the Date Out Further
Federal tax law sets the floor. Your employer’s plan can add more restrictions. Some companies require you to hold shares for a set period after purchase (three, six, or twelve months) before you can sell or transfer them. These are contractual and appear in your enrollment paperwork and plan prospectus.
Blackout periods add another layer. Companies commonly block employee trading around earnings releases and the close of fiscal quarters to prevent trading while insiders may hold nonpublic information. Blackouts often run several weeks. If one lands right when your holding period was about to expire, your earliest possible sale date moves back.
Officers, directors, and other Section 16 insiders have another constraint. The SEC’s short-swing profit rule can require them to hold shares for at least six months from the purchase date to avoid disgorgement of profits, separate from the tax rules.5SEC.gov. Exchange Act Section 16 and Related Rules and Forms