When you leave a job, your Employee Stock Purchase Plan participation stops immediately, any payroll deductions that have not yet been used to buy shares are refunded to you, and shares you already purchased remain yours to hold or sell. What happens to your ESPP when you leave a job comes down to three separate questions: the cash sitting in your contribution account, the shares already in your name, and the taxes you will owe when you eventually sell.
Unspent Payroll Deductions Come Back to You
If you leave partway through an offering period, the money withheld from your paychecks but not yet spent on shares is returned. Most plans process the refund automatically once your termination is recorded, and the cash usually arrives with your final paycheck or shortly after as a separate deposit. ESPP contributions come out of after-tax pay, so the refund is not taxed again. You already paid income tax on those dollars when you earned them.
One detail surprises people: plans almost never pay interest. Your money may have sat in the company’s account for months, and you get back only what was withheld. If the refund has not appeared within a pay cycle or two of your last day, contact your former employer’s HR or benefits team and ask them to look up the plan’s specific timeline.
Does the Final Purchase Still Go Through?
Federal tax law does not disqualify you the instant you walk out. The statute requires that you be employed from the grant date through at least three months before the purchase date for the purchase to receive favorable tax treatment.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans In theory, an employee who leaves close enough to the purchase date could still participate in that final purchase.
In practice, most plan documents override that flexibility. The vast majority require you to be actively employed on the purchase date itself and treat any earlier departure as an automatic withdrawal from the offering period. If your plan takes that approach, leaving even a day before the purchase date means you lose the discounted buy regardless of how many months you contributed, and the accumulated cash is simply refunded.
If you are weeks away from a purchase date and considering a departure, read your plan document first. A small number of plans do let the final purchase go through when you leave inside the statutory window, and a purchase at up to a 15% discount can be worth timing your exit around.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans
Shares You Already Bought Stay Yours
Any shares purchased in earlier ESPP cycles belong to you outright. Once stock is transferred to your name on a purchase date, the company cannot take it back, force you to sell, or restrict how long you hold it. The shares sit in your brokerage account until you decide what to do with them.
Private-company plans are the exception to watch. Some include a right of first refusal, meaning the company has the option to buy your shares back at a set price before you can transfer them to anyone else. If your ESPP shares are in a private company, pull your plan document and any shareholder agreement before you try to sell.
How Your Shares Will Be Taxed When You Sell
Taxes on ESPP shares turn on two holding periods. A qualifying disposition occurs when you sell at least two years after the offering period began and at least one year after the purchase date.2Office of the Law Revision Counsel. 26 USC 421 – General Rules Miss either threshold and the sale is a disqualifying disposition, which costs you more in tax.
Qualifying Disposition
When both holding periods are satisfied, only the discount you received, measured as the difference between what you paid and the stock’s fair market value on the grant date, is taxed as ordinary income. Any gain above that is taxed at long-term capital gains rates of 0%, 15%, or 20% depending on your total taxable income. For most taxpayers the rate is 15%.
Disqualifying Disposition
Sell before meeting both holding periods and the bargain element, measured as the difference between the fair market value on the purchase date and the discounted price you paid, is taxed as ordinary income.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Your former employer is required to report that amount as wages on a W-2 for the year of the sale, even though you no longer work there. If your former employer fails to issue a W-2, the IRS says to report the income on Schedule 1 (Form 1040) instead.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5
Form 3922 and the Double-Tax Trap
Your employer must file Form 3922 with the IRS and give you a copy whenever ESPP stock is first transferred into your name.4Internal Revenue Service. Instructions for Forms 3921 and 3922 The form carries the numbers you need to calculate the right cost basis later:
- Box 1: date the option was granted
- Box 3: fair market value per share on the grant date
- Box 4: fair market value per share on the purchase date
- Box 5: discounted price per share that you paid
- Box 6: number of shares transferred
Keep every Form 3922 you receive. No income is recognized at the time of purchase, so the tax reckoning is deferred until you sell.2Office of the Law Revision Counsel. 26 USC 421 – General Rules
When you do sell, your broker issues a Form 1099-B reporting the proceeds. The cost basis on that form is often just the discounted price you paid, which is the lowest possible number.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5 Report that unadjusted basis and you will pay capital gains tax on the full gap between sale price and discounted purchase price, even though part of that gap was already taxed as ordinary income.
To avoid being taxed twice on the same dollars, adjust the cost basis upward on Form 8949 by the amount already reported as ordinary income. Your broker may send a supplemental form showing the adjustment, but the IRS does not receive it. The responsibility to report the correct basis sits with you. This is the single most common ESPP tax mistake, and it gets easier to make after you leave, because you lose access to the employer benefits portal where the records lived. Save your Form 3922 copies and purchase confirmations before your last day on the job.
Watch the Wash Sale Window Around Your Last Day
If you sell ESPP shares at a loss and buy the same company’s stock within 30 days before or after that sale, the wash sale rule disallows the loss.5Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The disallowed loss is added to the basis of the replacement shares rather than lost forever, but the tax benefit is delayed.
This matters most when your departure sits close to an ESPP purchase date. If a purchase goes through just before you leave and you then sell older lots at a loss within 30 days, those freshly purchased ESPP shares count as the replacement that triggers the rule. Once you have stopped acquiring company stock through any plan, the risk mostly disappears, unless you buy the same company’s shares in a personal brokerage account inside the 30-day window.
Your Brokerage Account After You Leave
The brokerage account holding your shares does not close when you leave, but the terms often change. While you were an employee, the company may have covered administrative fees or waived commissions. After a grace period, the broker typically converts the corporate-sponsored account to a standard retail account, which can carry annual maintenance fees or per-trade commissions that used to be free.
You have the right to move your shares to another brokerage through the ACATS transfer process. The outgoing broker may charge a one-time transfer fee, commonly $50 to $100, and some receiving brokers will reimburse it if you ask. Before you transfer, confirm that cost basis and lot-level data, including the Form 3922 figures, will carry over cleanly. Losing that history can create tax problems years later.
Leave the account completely untouched for long enough and the shares can be turned over to your state as unclaimed property. Dormancy periods for securities vary by state but generally run three to five years of inactivity.6FINRA. Avoiding and Recovering Unclaimed Investment Assets Logging in, updating your address, or making a trade resets the clock. Shares that are escheated to the state can be reclaimed, but the process is slow and may involve a sale at a price you did not pick.