Skip to content
Rubric Financial

Tax

RSUs, NSOs, and ESPPs: How Equity Compensation Is Taxed, and Why Withholding Falls Short

How RSUs, NSOs, and ESPP shares are taxed at vest, exercise, and sale, why 22% withholding falls short, and how to avoid double-counting basis.

By 7 min readPublished

Equity compensation turns a paycheck into a tax puzzle. The same employee can hold restricted stock units, nonqualified options, incentive stock options, and shares from an employee stock purchase plan, each taxed at different moments under different rules. And the withholding the employer applies is frequently too low, which is how a strong year for the stock becomes a large balance due in April.

This guide covers how RSUs, NSOs, and ESPP shares are taxed from grant to sale, where withholding falls short, the reporting error that causes many employees to pay tax twice, and the planning points that come out of it. For incentive stock options and the AMT, see how ISOs are taxed, our ISO exercise strategy guide, and AMT and equity compensation. Decisions about whether to hold or sell company shares are investment questions for your investment advisor; this guide covers the tax.

The equity types at a glance

Taxed at grant?Taxed at vest?Taxed at exercise or purchase?Character at sale
RSUsNoYes, as wagesNot applicableCapital gain or loss on change after vest
NSOsNoNoYes, spread is wagesCapital gain or loss on change after exercise
ISOsNoNoNo regular tax; spread is an AMT itemLong-term gain if holding periods met
ESPP (Section 423)NoNot applicableNoSplit between ordinary income and capital gain
Restricted stock with 83(b)Yes, value at grantNoNot applicableCapital gain on all growth after grant

Restricted stock units

An RSU is a promise to deliver shares, or their cash value, when vesting conditions are met. Nothing happens at grant.

At vesting, the fair market value of the shares delivered is wages. It goes on your W-2 and is subject to federal and state income tax, Social Security (up to the wage base, $184,500 for 2026), and Medicare, including the 0.9% Additional Medicare Tax above $200,000 of wages. Most employers withhold by holding back shares.

Your basis in the shares you keep is their value at vesting.

At sale, the difference between the sale price and that basis is a capital gain or loss. Selling right after vesting produces little or no gain. Holding more than a year after vesting makes later gains long-term.

Private companies usually use double-trigger RSUs that vest for tax purposes only when both the service condition and a liquidity event, such as an IPO or acquisition, are met. That can concentrate several years of vesting into a single tax year.

Why 22% withholding is usually not enough

Federal withholding on supplemental wages like RSU income is generally a flat 22%, or 37% on supplemental wages above $1 million in a year. That flat rate ignores the rest of your income.

An employee whose salary already puts them in the 32% or 35% bracket owes 10 to 13 points more on each vested dollar than was withheld. On $200,000 of RSU income, that gap can be $20,000 to $26,000, plus state tax if the state's supplemental rate is also too low, and possibly an underpayment penalty.

How to close the gap:

  • Increase withholding on regular wages with a new W-4, which counts as paid evenly through the year.
  • Make estimated payments in quarters with large vests.
  • Use the safe harbors. You avoid underpayment penalties if withholding and estimates cover 100% of last year's tax, or 110% if last year's AGI exceeded $150,000. A big vesting year following a smaller one can rely on the prior-year safe harbor, with the balance due in April but no penalty. The safe harbors and the annualized method are covered in estimated taxes.

Married couples face a second gap: the 0.9% Additional Medicare Tax is withheld only on an individual's wages above $200,000, but owed on combined wages above $250,000. Two earners at $180,000 each owe it on $110,000 that was never withheld.

The cost basis trap

Brokers that hold RSU and ESPP shares often report a cost basis of zero, or leave it blank, on Form 1099-B, because rules limit the basis they can report for compensatory shares. The income component was already taxed on your W-2.

If you file using the 1099-B as reported, you pay tax on the vest value twice: once as wages and again as capital gain. The fix is to report the correct basis on Form 8949, using the broker's supplemental statement or your own vest records, with the adjustment code that tells the IRS why the basis differs. This is one of the most common errors on self-prepared returns for tech and finance employees.

Nonqualified stock options

An NSO gives you the right to buy shares at a fixed exercise price.

  • At grant and vesting: no tax, for options without a readily ascertainable market value, which is nearly all of them.
  • At exercise: the spread, market value minus exercise price, is ordinary wage income, on your W-2 for employees, and subject to income tax withholding and payroll taxes. Non-employees, such as advisors and directors, receive a 1099-NEC and owe self-employment tax.
  • Basis becomes the market value at exercise.
  • At sale: capital gain or loss on the change after exercise.

Because the spread is taxed at exercise whether or not you sell, exercising and holding requires cash for the tax. Exercising in a lower-income year, or spreading exercises across years, can keep more of the spread in lower brackets. Options expire, typically ten years after grant and often within 90 days after leaving the company, which can force an exercise into an inconvenient year.

Employee stock purchase plans

A Section 423 ESPP lets employees buy company stock through payroll deductions at a discount of up to 15%, often with a lookback that uses the lower of the price at the start of the offering period or at purchase.

For worked examples of qualifying and disqualifying sales and the Form 8949 basis adjustment, see ESPP qualifying vs. disqualifying dispositions.

No tax at purchase. The tax event is the sale.

Qualifying disposition: sold at least two years after the offering date and one year after the purchase date. Ordinary income is the lesser of:

  • the actual gain on the sale, or
  • the discount measured at the offering date (typically 15% of the offering-date price).

Everything above that is long-term capital gain.

Disqualifying disposition: sold before both holding periods are met. Ordinary income is the full spread at purchase, market value on the purchase date minus the price paid, even if the stock later fell. The remaining gain or loss is capital, short- or long-term by holding period.

The ordinary income from an ESPP sale is reported on your W-2 but is not subject to Social Security or Medicare tax, and the employer generally does not withhold on it. As with RSUs, the 1099-B basis is often understated; the correct basis adds the ordinary income to the price paid.

Restricted stock and the 83(b) election

Restricted stock, actual shares subject to vesting, often granted to early employees and founders, is taxed at vesting by default. An 83(b) election, filed with the IRS within 30 days of grant, taxes the value at grant instead. When shares are worth little at grant, the election converts all future growth into capital gain and starts the holding period early, including the clock for QSBS. There is no extension of the 30-day deadline, and the election does not apply to RSUs.

Planning points

Project the year before the big vest. A year with large RSU vests, an option exercise, or a liquidity event needs withholding adjustments or estimates during the year, not in April.

Coordinate with other income. Bunching deductions, making retirement contributions, or timing charitable gifts of appreciated shares in a high-vest year is worth more at a higher marginal rate. Gifting long-held appreciated shares to a donor-advised fund avoids the capital gain entirely; see charitable giving vehicles.

Track lots and basis. Each vest and purchase is a separate lot with its own basis and holding period. Specific identification when selling can choose the lowest-gain or long-term lots.

Watch state allocation if you move. Equity income is generally sourced to the states where you worked during the vesting period, so a move mid-vest can leave part of the income taxable in the old state. See moving states.

Check the wash-sale rule. Selling company shares at a loss within 30 days of an RSU vest or ESPP purchase can disallow part of the loss.

The short version

RSUs are wages at vest, NSOs are wages at exercise, and qualified ESPP shares are taxed at sale, with the ordinary portion depending on how long you held them. Flat 22% withholding often falls short for higher earners, so plan withholding or estimates for vest-heavy years. And check the basis on every 1099-B for compensatory shares; reporting the zero basis the broker shows means paying tax on the same income twice.

Rubric Financial prepares returns with equity compensation and builds vest and exercise schedules into the year's tax projection, so withholding, estimates, and basis reporting are right before April.

Sources

Figures are federal and current as of the date above. Tax law and inflation-adjusted amounts change; confirm current figures before acting.

Educational content, not tax, legal, investment, or accounting advice. Confirm the specifics with a CPA before acting. See our Terms.

Frequently asked questions

How are RSUs taxed?

RSUs are taxed as wages when they vest, at the fair market value of the shares delivered. That amount appears on your W-2 and is subject to income tax, Social Security up to the wage base, and Medicare. Your cost basis in the shares equals the value at vesting. When you later sell, only the change in value after vesting is a capital gain or loss, short-term or long-term depending on how long you held the shares after vesting.

Why do I owe tax on my RSUs even though shares were withheld?

Employers usually withhold federal income tax on RSU income at the flat 22% supplemental rate, or 37% on supplemental wages above $1 million. If your actual marginal rate is 32%, 35%, or 37%, the 22% withholding falls short, and the difference is due with your return, sometimes with an underpayment penalty. Increasing W-4 withholding on salary or making estimated payments in vest quarters avoids the surprise.

How do I avoid paying tax twice on RSU shares I sold?

Your broker's Form 1099-B often reports a cost basis of zero, or leaves it blank, for RSU shares, because the income was already taxed through your W-2. If you file using that basis, you pay tax on the vest value a second time. Use the supplemental statement from the broker or your vest records to report the correct basis, the value at vesting, on Form 8949, with an adjustment code.

How are nonqualified stock options taxed?

There is no tax at grant or vesting for typical NSOs. At exercise, the spread between the market value and the exercise price is ordinary wage income, reported on your W-2 and subject to payroll taxes. Your basis in the shares becomes the market value at exercise. Any later change in value is a capital gain or loss when you sell.

How is an ESPP taxed?

For a qualified Section 423 plan, there is no tax when you buy shares at a discount. The tax happens when you sell. In a qualifying disposition, held at least two years from the offering date and one year from purchase, the ordinary income is limited to the lesser of the actual gain or the discount measured at the offering date, and the rest is long-term capital gain. In a disqualifying disposition, the full discount at purchase is ordinary income, and the rest is capital gain or loss.

About the author

Aparna Devalla, CPA, Partner, Tax & Accounting

Licensed CPA. Decades of experience in U.S. taxation, accounting, and banking. Leads the tax and accounting practice at Rubric Financial.

Want this handled instead of researched?

Tell us what your business looks like and a partner at Rubric Financial will scope the work: a fixed engagement cost, a monthly retainer, or hourly, whichever fits.

Get in touch