How RSUs, ESPPs and Stock Options Are Taxed, and How to Avoid Paying Twice (2026)
Tax year 2026Sun Accounting Tax TeamCPA reviewed on 2026-11-23
RSUs are taxed as wages when they vest, and a later sale is taxed only on the change in value after vesting. The most common mistake is a brokerage 1099-B that leaves out the already-taxed amount from your cost basis, so the same money gets taxed twice.
Key points
- RSUs: the value at vesting is W-2 wages. When you sell, only the difference between the sale price and the vesting value is a capital gain or loss.
- ESPPs: the discount is taxed when you sell. Hold at least 2 years from grant and 1 year from purchase for a qualifying disposition; otherwise the discount is taxed as wages.
- ISOs: no regular income tax at exercise, but the spread may trigger the alternative minimum tax (AMT).
- NSOs: the spread at exercise is taxed as wages.
- The cost basis on your 1099-B is often too low (even $0). Correct it on Form 8949.
01 Who this applies to
Employees of tech companies, public companies and pre-IPO startups who receive RSUs, ESPP shares, ISOs or NSOs.
02 The four types compared
| Type | When it’s taxed | How |
|---|---|---|
| RSU (restricted stock unit) | At vesting | Vesting-date value is wages; later gains or losses are capital |
| ESPP (employee stock purchase plan) | At sale | The discount is wages (possibly less in a qualifying disposition); the rest is capital |
| ISO (incentive stock option) | At sale (AMT possible at exercise) | Qualifying dispositions are all long-term capital gain |
| NSO (nonqualified stock option) | At exercise | The spread is wages; later gains or losses are capital |
03 How it works
RSUs in two steps
- At vesting: shares × that day’s price = wages, already on your W-2. The company usually sells some shares to cover withholding.
- At sale: sale price − vesting-date value = capital gain or loss. Held over a year, it’s long-term and taxed at lower rates.
The basis trap. Many brokers report only what you actually “paid,” which for RSUs is $0. File it that way and the amount you were already taxed on at vesting gets taxed again as a capital gain.
Example: 100 RSUs vest in March 2026 at $200 a share, adding $20,000 to your W-2. You sell all 100 in November at $210 for $21,000. Your real gain is $1,000. Report the 1099-B’s $0 basis and you overstate income by $20,000, costing about $4,800 more in the 24% bracket.
ESPPs usually let you buy at 85% of the lower of the grant-date or purchase-date price.
- Qualifying disposition (sold at least 2 years after grant and 1 year after purchase): wages are the lesser of your actual gain or 15% of the grant-date price; the rest is long-term capital gain.
- Disqualifying disposition: the full discount at purchase (market price − price paid) is wages; the rest is capital.
- Your company reports details on your W-2 or Form 3922, and the basis again needs adjusting on Form 8949.
ISOs and AMT. If you exercise and hold past year-end, the spread counts as AMT income and may produce alternative minimum tax that year. Selling in the same year avoids AMT but makes it a disqualifying disposition taxed as wages.
04 Common mistakes
- “Taxes were withheld, so I’m done.” 22% often isn’t enough, and higher earners commonly owe at filing.
- “The 1099-B must be right.” Equity compensation basis is the most error-prone line on many returns.
- “Always hold ESPP shares for a qualifying disposition.” It saves some tax but keeps you exposed to the stock. Weigh both.
- “Exercising ISOs is tax-free.” No regular tax, but AMT can be large.
05 When to talk to a professional
- You have large RSU vests this year and want to estimate what you’ll owe and whether to adjust withholding or pay estimates.
- You exercised ISOs and need AMT and future AMT credit calculations.
- You earned equity while working in different countries or states and need to source the income.
FAQ
My company sold shares to cover taxes at vesting. Why do I still owe?
RSUs are usually withheld at the 22% supplemental rate (37% above $1 million). If your marginal rate is 24%, 32% or higher, you'll owe the difference when you file.
If I sell RSUs right after they vest, is there any capital gain?
Very little. The sale price is close to the vesting value, so with the right basis the gain or loss is small.
My 1099-B shows a $0 basis. What do I do?
Find the correct basis in your company's stock plan site or the broker's supplemental statement (vesting value for RSUs; purchase price plus the discount included in wages for ESPPs) and adjust it on Form 8949 with code B.
I left the U.S. Do I owe U.S. tax when I sell my company stock?
Equity earned while working in the U.S. may still be partly U.S.-source income even if it vests or is exercised after you leave. Tax on the sale gain depends on whether you're a U.S. tax resident when you sell. It needs a case-by-case look.
Official sources
- IRS Topic No. 427, Stock options(checked 2026-11-22)
- IRS Publication 525 (Taxable and Nontaxable Income)(checked 2026-11-22)
- IRS: About Form 8949(checked 2026-11-22)
This article is general information, not tax, legal, or financial advice. Tax law changes often; always check current IRS and state guidance.