Mon–Fri 9am–6pm PT · Extra Saturday hours 9am–4pm (Mar 15–Apr 15) (415) 842-2940 support@flextcg.com
October 24, 2025
RSU vs ESPP

RSU vs ESPP: Selling RSUs or ESPP Shares Without Overpaying the IRS

Equity compensation can build real wealth. Without a tax plan, it can also bring surprise tax bills. Many people assume that selling RSUs when they vest is simple. But the timing and reporting of those sales can change how much tax you owe, even when your W-2 looks right.

At Flex Tax & Consulting Group, we help employees and executives understand the tax cost of their equity. Below, we compare RSU vs ESPP tax treatment: how restricted stock units (RSUs) and employee stock purchase plans (ESPPs) are taxed, and what to think about before you hold or sell.

How RSUs are taxed

Restricted stock units are part of your pay package. You don’t own the shares until they vest. At vesting, the shares become yours and become taxable.

When RSUs vest, their fair market value is added to your W-2 as wages. That means:

  • You owe federal and state income tax, plus Social Security and Medicare tax, on that value.
  • Most companies hold back shares to cover the tax. The federal withholding rate on this kind of pay is often a flat 22%, which can be well below your actual tax rate if you’re a high earner.

Example: 1,000 RSUs vest at $100 per share. You report $100,000 of wage income. If you later sell at $120, the extra $20,000 is a capital gain. If you sell within one year of vesting, it’s a short-term gain, taxed like wages. If you hold longer than one year, it’s a long-term gain, taxed at 0%, 15% or 20% depending on your income.

RSUs can also push you into a higher tax bracket or reduce credits and deductions that phase out at higher incomes. If you don’t adjust your withholding or make estimated payments, you may owe a balance in April.

That’s why an RSU plan looks at more than when to sell. It also covers cash flow, your tax bracket, and the timing of charitable gifts or retirement contributions.

How ESPPs are taxed

An employee stock purchase plan lets you buy company stock, often at a discount of up to 15%. With a qualified ESPP (a Section 423 plan), you generally owe no tax when you buy the shares. The tax comes when you sell, and how it’s taxed depends on how long you held the shares.

  • Qualifying disposition. You sell at least 2 years after the option was granted (the start of the offering period) and at least 1 year after the shares were transferred to you. Part of your gain is ordinary income: the smaller of (1) the stock’s value on the grant date minus the option price, or (2) the sale price minus what you paid. The rest is long-term capital gain.
  • Disqualifying disposition. You sell before meeting both dates. The difference between the stock’s value on the purchase date and the price you paid is taxed as ordinary income in the year you sell. Any additional gain or loss is a capital gain or loss.

Example: The stock is worth $100 at the start of the offering period and on the purchase date. You buy at $85 and later sell at $120.

  • Disqualifying sale: $15 per share is ordinary income ($100 value minus $85 paid). The other $20 is a capital gain, short-term if you held the shares one year or less.
  • Qualifying sale: ordinary income is the smaller of $15 ($100 minus the $85 option price) or $35 ($120 minus $85), so $15. The other $20 is long-term capital gain.

In this example the ordinary income is the same either way. The difference is whether the rest of the gain is long-term. Your Form 3922 shows the dates and prices you need for these calculations.

RSU vs ESPP: tax treatment at a glance

RSUs Qualified ESPP (Section 423 plan)
When income is taxed When the shares vest and are delivered. Their fair market value is taxed as wages. Generally not when you buy. Tax usually comes when you sell.
What you pay Nothing The purchase price, often at a discount
When you sell Gain or loss above the value at vesting is a capital gain or loss. Held at least 2 years after the grant and 1 year after purchase: generally capital gain, though part of the discount can be ordinary income. Sold earlier: the difference between the value at purchase and the price you paid is ordinary income, and the rest is capital gain or loss.

Hold or sell? With RSUs, holding after vesting doesn’t change the wage income already taxed. It only affects the later capital gain or loss and how much of your money sits in one stock. With a qualified ESPP, holding long enough for a qualifying disposition can move part of the gain from ordinary income to capital gain, but you carry the stock’s price risk while you wait.

Source: IRS FAQs: Stocks (options, splits, traders).

Why holding periods and timing matter

For RSUs and ESPPs, the calendar affects your tax rate. Selling right after vesting or purchase limits your exposure to the stock price, but any gain is short-term. Holding longer can lower the rate on your gain, but your money stays tied to one company’s stock.

Timing your sales around your salary, bonuses and other year-end moves can help balance the two. Common approaches include:

  • Selling enough RSUs early to cover your expected tax bill.
  • Holding selected ESPP shares until the qualifying date.
  • Offsetting large stock gains with losses elsewhere in your brokerage account (tax-loss harvesting).
  • Donating appreciated shares to charity, which can give you a deduction without recognizing the gain.

There is no one right answer. It depends on your income, your state, how the stock performs and how much cash you need.

Common RSU and ESPP mistakes we see

  1. Selling everything at vesting without checking the tax. Many people assume the company’s withholding covers it. Often it doesn’t, and a tax bill follows.
  2. Not coordinating RSU income with other pay. Vesting dates that land with bonuses, option exercises or ESPP purchases can push income into a higher bracket.
  3. Forgetting about AMT. RSUs and ESPPs generally don’t trigger the alternative minimum tax, but incentive stock options (ISOs) can, and many people hold more than one type of award.
  4. Reporting errors between the W-2 and brokerage forms. Form 1099-B often shows a cost basis that leaves out the income already on your W-2. If it isn’t corrected on Form 8949, you can pay tax twice on the same income.
  5. Holding too much company stock. Keeping shares only for tax reasons exposes you to one company’s risk. A drop in the stock price can wipe out the tax benefit.

Building equity compensation into your tax plan

At Flex Tax & Consulting Group, our advisory work goes beyond filing. We:

  • Review vesting schedules and estimate the tax impact before year-end.
  • Compare sale scenarios (sell now vs. later) to estimate after-tax results.
  • Plan estimated tax payments to help you avoid underpayment penalties.
  • Coordinate stock sales with retirement savings and charitable giving.
  • Keep your reporting consistent across your W-2, Form 3922, Form 1099-B and Form 8949.

Every equity situation is different, so your plan should be too.


Related RSU and equity compensation guides

The bottom line

RSUs and ESPPs can build significant wealth, but they can also bring unexpected tax bills. Knowing how and when your shares are taxed, and running the numbers before you sell, helps you avoid year-end surprises.

Whether you just received your first grant or have years of shares, our team can help you plan your sales. Schedule an appointment to discuss your situation.

Sources