
ESPP Taxes: Holding Periods, Basis, and Sale Reporting
An employee stock purchase plan (ESPP) lets an employee use payroll deductions to buy employer stock, often at a discount. The discount and a later sale can create both compensation income and capital gain or loss. The result depends on the plan, purchase dates, sale dates, and the records used to calculate basis.
This guide addresses a qualified Section 423 ESPP. Plans can differ, so start with the plan documents and the forms your employer provides. This is general education, not individualized tax advice.
The Short Answer
For a qualifying Section 423 ESPP, buying the shares generally does not itself create taxable income. A later sale can create ordinary compensation income plus capital gain or loss. The key question is whether the sale occurs after both required holding periods.
The IRS says a sale meets the holding-period requirement only after the later of:
- One year after the stock was transferred to you; or
- Two years after the option was granted.
Selling before that later date is commonly called a disqualifying disposition. It is not necessarily a mistake, but it changes the income and basis calculation.
First, Identify What Your Plan Actually Bought
An ESPP is not the same as an RSU or an incentive stock option. RSUs generally create wage income when they vest; an ESPP purchase under a qualified plan follows its own sale-and-holding-period rules. Read the enrollment notice and purchase confirmation to find:
- The option-grant or offering date.
- The purchase or transfer date.
- The purchase price and any discount.
- Whether a lookback feature set the price using an earlier market value.
- The number of shares transferred.
Those dates can matter more than the payroll-deduction dates. Under the IRS example in Publication 525, the holding period begins the day after the option is exercised and the shares are acquired.
Qualifying and Disqualifying Sales
A qualifying disposition occurs when both holding periods have been met. It may still include ordinary income: for a discounted option, the federal rules can treat the lesser of a grant-date discount calculation or the sale-date gain calculation as compensation income. The remainder of the sale result is generally capital gain or loss.
For a disqualifying disposition, the calculation is different. Ordinary income is generally tied to the spread between the fair market value at purchase and what you paid, subject to the detailed rules and the facts of the sale. Any remaining sale result is capital gain or loss.
Do not assume the brokerage's displayed gain is the final tax answer. A broker may show an amount based on the purchase price while the return also needs to account for compensation income reported on a Form W-2. That is why the share-level documents matter.
Basis: Avoid Reporting the Same Value Twice
Basis is the starting point for the capital-gain or capital-loss portion of a sale. For ESPP shares, the final basis used on the return can need an adjustment for compensation income. If that income is omitted from basis when appropriate, the same economic value can be reflected once as wages and again as capital gain.
Keep the purchase confirmation, Form W-2, and sale confirmation together for each ESPP lot. Compare the compensation amount on the W-2 with the amount shown on the broker's Form 1099-B before filing. Our tax-basis guide explains why a broker's basis display is a starting point, not a substitute for the underlying records.
Form 3922 Is a Record, Not a Tax Return
After the first transfer of legal title for stock acquired under a Section 423 ESPP, an employer generally provides Form 3922. The form helps track the option date, purchase date, price, and fair market values used in the calculation.
Save Form 3922 with the plan statement even if no sale occurs that year. It is a recordkeeping document; it does not by itself determine every amount that belongs on the tax return. A tax professional can help reconcile it with the W-2 and 1099-B for a sale with a lookback feature, a discount, or a sale below the purchase-date value.
Plan a Sale Around Both Tax and Concentration Risk
Waiting for a qualifying disposition is a tax fact, not a command to keep a concentrated employer-stock position. An employee may reasonably decide to sell earlier to diversify, raise cash, or follow a risk limit. The tradeoff is worth estimating before the sale, alongside state tax, employment income, and the investment risk of holding more employer stock.
If a sale creates a capital loss, the ordinary-income component and capital-loss component should still be handled separately. A capital loss first offsets capital gains; only a remaining net capital loss can generally reduce up to $3,000 of ordinary income in a year under federal rules, with unused losses carried forward.
ESPP Shares and Tax-Loss Harvesting
Employer-stock purchases can also affect a tax-loss-harvesting plan. Selling employer shares at a loss while an ESPP purchase, RSU vest, dividend reinvestment, or other acquisition occurs near the sale date can raise wash-sale questions. Review transactions in every account, including a spouse's account where applicable, for the 30 days before and after a proposed loss sale.
Tax-loss harvesting with stock-based compensation explains how an award calendar and lot records fit into a diversification plan. A loss sale should not be used as a reason to ignore the concentration risk or the plan's scheduled purchase dates.
ESPP Sale Checklist
- Save the plan notice, purchase confirmation, Form 3922, W-2, and 1099-B.
- Record the option-grant date, purchase date, shares, purchase price, and sale date for each lot.
- Determine whether the sale is after both the one-year and two-year holding periods.
- Reconcile compensation income with the basis used for the capital-gain or loss calculation.
- Check for employer-stock acquisitions around a proposed loss sale.
- Ask a qualified tax professional to review complex plan features, transfers, or an amended broker form before filing.
Bottom Line
An ESPP can involve more than a discounted stock purchase. The holding periods determine how a sale is characterized, while Form 3922, the W-2, and the broker records support the basis calculation. Preserve those records before a sale so the return can separate compensation income from capital gain or loss accurately.
Official Sources
- IRS: ESPP sales, holding periods, and Form 3922
- IRS Publication 525: Employee stock purchase plans
- IRS Topic 427: Stock options
