ESPP Section 423: Qualifying vs Disqualifying Dispositions
Your employer's ESPP lets you buy company stock at a discount. How you report the sale depends on whether you meet two holding period requirements. Get it wrong and you overpay — or trigger an IRS mismatch notice.
Incorrect ESPP reporting leads to double taxation
- If you use the 1099-B basis without adjustment, you will pay tax on the discount twice — once as W-2 income and again as capital gain
- Brokers almost never include the compensation (ordinary income) portion in the cost basis reported to the IRS, creating a mismatch that inflates your taxable gain
- On a 15% ESPP discount with $25,000 annual contributions, the double-tax hit can exceed $2,000 per year
What Is an ESPP Section 423 Plan?
An Employee Stock Purchase Plan under IRC Section 423 is a tax-qualified plan that lets you purchase your employer's stock at a discount — typically 5% to 15% below market price. Most large tech companies (Google, Amazon, Microsoft, Meta, Apple) offer these plans to H-1B employees.
A typical ESPP works like this: the company sets a 6-month offering period. On day one (the offering date or grant date), the stock price is noted. Over the next 6 months, your payroll contributions accumulate. On the last day (the purchase date), the company buys shares for you at the lower of the offering-date price or the purchase-date price, minus the discount.
The difference between what you paid and the stock's fair market value on the purchase date is called the bargain element. This bargain element is what makes ESPP taxation tricky — it straddles the line between ordinary income and capital gains.
The Two Holding Periods
Section 423 imposes two holding period requirements. Both must be met for a sale to qualify as a qualifying disposition:
- 2 years from the offering date (the start of the offering period when the price was first set)
- 1 year from the purchase date (the date the shares were actually bought)
If you sell before satisfying both conditions, the sale is a disqualifying disposition. The distinction matters enormously for how the bargain element is taxed.
Timeline Example
Offering date: January 1, 2025. Purchase date: June 30, 2025. To achieve a qualifying disposition, you must hold the shares until at least January 1, 2027 (2 years from offering) and June 30, 2026 (1 year from purchase). The binding constraint is the later date — January 1, 2027 in this case.
Qualifying vs Disqualifying: Tax Treatment
The tax treatment hinges on how the bargain element is classified. Let's use concrete numbers. Suppose the offering-date price is $100, the purchase-date price is $120, the ESPP discount is 15%, and you buy 100 shares.
| Detail | Qualifying Disposition | Disqualifying Disposition |
|---|---|---|
| Purchase price per share | $85 (lower of $100 or $120, minus 15%) | $85 (same calculation) |
| Ordinary income (W-2) | $15/share — the lesser of: (a) actual gain on sale, or (b) the offering-date discount ($100 × 15%) | $35/share — the full spread between FMV on purchase date ($120) and purchase price ($85) |
| Where ordinary income appears | W-2 Box 1 (but not always; may only appear on Form 3922) | W-2 Box 1 and Box 14 |
| Adjusted cost basis | $85 + $15 = $100/share | $85 + $35 = $120/share |
| Remaining gain character | Long-term capital gain | Short-term or long-term depending on holding period from purchase date |
Notice the key difference: in a qualifying disposition, the ordinary income is capped at the offering-date discount. In a disqualifying disposition, the full spread between the purchase-date FMV and your purchase price is ordinary income. This means a disqualifying disposition usually results in more ordinary income but a higher cost basis, which reduces the subsequent capital gain.
The Bargain Element Calculation
The "bargain element" is the discount you received. Its calculation depends on your plan's mechanics:
- Fixed discount plans: If your ESPP simply offers 15% off the purchase-date price, the bargain element is straightforward — 15% of the FMV on the purchase date.
- Lookback plans: If your ESPP uses a "lookback" provision (the discount applies to the lower of the offering-date or purchase-date price), the bargain element can be much larger when the stock has risen. In the example above, you buy at $85 (15% off the $100 offering-date price) even though the stock is worth $120 — a $35 effective discount, not $15.
The distinction matters for disqualifying dispositions: the entire spread ($35) becomes ordinary income. For qualifying dispositions, you only recognize the offering-date discount ($15) as ordinary income.
W-2 and 1099-B Reporting
This is where most confusion (and errors) arise:
- Form 3922: Your employer files this with the IRS and provides you a copy. It shows the offering-date FMV, purchase-date FMV, purchase price, and shares purchased. You need this to calculate the correct basis.
- W-2 income: For disqualifying dispositions, the ordinary income portion is included in your W-2 Box 1 in the year you sell. For qualifying dispositions, some employers include it in your W-2 and some do not — you may need to self-report it.
- 1099-B basis: The broker typically reports the purchase price as your cost basis ($85 in the example) — without adding the ordinary income portion. This means the 1099-B basis is too low. If you use it as-is, you will be double-taxed on the bargain element.
How to Fix the Basis on Form 8949
Report the sale on Form 8949 using the broker-reported basis in column (e), then enter adjustment code "B" in column (f) and the adjustment amount in column (g). The adjustment equals the ordinary income recognized — $15/share for qualifying or $35/share for disqualifying dispositions. This increases your basis and reduces the reported gain to the correct amount.
Why This Matters for H-1B Holders
ESPP participation is extremely common among H-1B holders at tech companies. Several factors make ESPP reporting particularly challenging for this group:
- High participation rates: The 15% discount is a risk-free return (assuming immediate sale), making ESPP popular among H-1B workers. Many max out the $25,000 annual limit.
- Multiple brokers: If you change employers (common after H-1B transfers), you may have ESPP shares at different brokers with different reporting standards.
- Visa-driven sales: Job changes related to visa transfers or layoffs may force disqualifying dispositions. If you leave the company before the holding period is met, the sale becomes disqualifying regardless of when you sell.
- Interaction with other equity: ESPP sales combine with RSU sales on the same Form 8949 and Schedule D, making the return more complex.
Common Mistakes
- Using the 1099-B basis without adjustment. The broker-reported basis does not include the compensation income component. Failing to add adjustment code B on Form 8949 results in double taxation on the bargain element.
- Not knowing which disposition type applies. Many filers do not track whether they met both holding periods. This changes the ordinary income amount and the cost basis.
- Overlooking the W-2 income for qualifying dispositions. Some employers do not add qualifying disposition income to your W-2. You are still required to report it — check Form 3922 and report the ordinary income on your return.
- Confusing ESPP lots with RSU lots. Both appear on the same 1099-B but have completely different basis rules. ESPP basis starts at the discounted purchase price plus the compensation component. RSU basis is the full FMV at vesting.
- Not keeping Form 3922. This form is your primary source for the offering-date price, purchase-date price, and purchase price. Without it, calculating the correct disposition type and basis is guesswork.
How Our Platform Handles This
H1B TaxFile automates ESPP Section 423 reporting end-to-end:
- Enter your Form 3922 data (offering date, purchase date, FMV at each date, purchase price) and the platform determines whether the sale is a qualifying or disqualifying disposition.
- The ordinary income component is calculated automatically and included in the correct line of your return.
- Form 8949 is generated with the proper adjusted basis and adjustment code B, preventing the double-taxation trap.
- ESPP sales are correctly separated from RSU sales and other stock transactions on Form 8949 and Schedule D.
- The platform flags situations where the W-2 may not include the ESPP compensation income so you can verify and adjust.
IRS source: Stock Options — IRS Topic No. 427
Frequently Asked Questions
Skip the complexity. We handle all of this for you.
H1B TaxFile supports every form in this guide — FATCA, PFIC, FTC, RSU basis correction, and 22 more H-1B-specific features. Flat price, no surprises.
H1B TaxFile Team
Written by the H1B TaxFile editorial team — tax professionals and software engineers who specialize in U.S. federal tax filing for H-1B visa holders, F-1 students, and nonresident aliens.
Reviewed by a licensed CPA with international tax experience.
Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.