Taxstra Logo
Free Initial Consultation Available

RSU vs ESPP: Two Very Different Ways to Own Company Stock

One is compensation you cannot decline, taxed the day it vests. The other is an optional purchase at a discount, taxed mostly when you sell. Here is the comparison, the math, and the order to use them in.

A guide by Taxstra Tax & Accounting · CPA-led tax strategy for business owners

Written by Bryan Martin, CPA, Managing Partner and Founder of Taxstra. Last updated July 17, 2026.

RSU and ESPP sit next to each other in most tech-company benefit portals, and that placement causes more confusion than anything in the plan documents. They are not two flavors of the same thing. One is pay. The other is a purchase. They tax on different dates, at different rates, and they call for opposite default moves. This page is the comparison; the deep mechanics of each live on their own guides.

Key Insight
RSUs are restricted stock units: shares your employer grants as compensation, taxed as ordinary income at full market value on the day they vest. An ESPP is an employee stock purchase plan: you choose to buy company stock with your own after-tax paycheck money, usually at up to a 15% discount, and in a tax-qualified plan nothing is taxed until you sell. Take every RSU you are offered (there is no downside to a grant), and treat the ESPP as a separate decision about whether a discounted purchase of your employer's stock belongs in your plan.

The Short Answer: Pay vs Purchase

Why the comparison is really two different questions

An RSU grant is your employer paying you in stock. You give up nothing to receive it, you cannot opt out of the tax when it vests, and the only real decision it hands you is whether to keep the shares afterward. An ESPP is your money. You elect a payroll deduction, the plan buys shares for you at a discount, and every dollar in it is a dollar you chose not to hold as cash.

That difference drives everything downstream. RSU questions are tax-management questions: how much will vest this year, whether withholding covers it, and when to sell. ESPP questions are investment questions: whether the discount justifies the exposure, how much to contribute, and how fast to sell. Mixing up the two is how people end up "diversifying" by declining RSUs (never do that) or skipping a 15% discount because "stock is risky" while holding every vested RSU share (backwards).

When Each One Actually Taxes You

RSU

Step 1

Grant

No tax

Step 2

Vest

Ordinary income on full FMV

Step 3

Sale

Capital gain or loss vs vest-date value

ESPP (qualified)

Step 1

Enrollment

No tax

Step 2

Purchase

No tax (qualified plan)

Step 3

Sale

Discount = ordinary income, rest = capital gain

RSUs create a tax bill on a date you do not choose. A qualified ESPP defers everything to the sale you do choose. That timing difference drives most of the planning.

How RSUs Are Taxed

Ordinary income at vest, capital gains after

When RSUs vest, the fair market value of the shares that day is wage income, exactly as if your employer had paid a cash bonus and you immediately bought stock with it. The amount lands in W-2 Box 1, and income tax, Social Security, and Medicare are withheld, usually by the plan selling or withholding a slice of the shares.

The trap is the withholding rate. Most employers withhold on RSU income at the flat 22% supplemental rate (37% only once supplemental wages pass $1 million in the year). An employee whose actual marginal bracket is 32% or 35% is under-withheld on every vest, and the shortfall shows up as a balance due, sometimes with an underpayment penalty. Our RSU tax withholding guide covers the fix, and the RSU tax calculator estimates your real number.

After vest, the shares are ordinary stock with a cost basis equal to the vest-date value. Sell above that and the difference is capital gain, long-term if you held more than a year past vest. Watch the 1099-B: brokers frequently report RSU basis as zero, which double-counts the income you already paid tax on unless you adjust it on Form 8949. The RSU cost basis guide walks through the correction.

How ESPPs Are Taxed

The discount, the lookback, and the two holding periods

A tax-qualified ESPP under Section 423 lets you buy employer stock at up to a 15% discount, capped at $25,000 of stock per calendar year measured at the offering-date price. In a qualified plan there is no tax at purchase. Everything waits for the sale, and the sale date determines how the profit splits between ordinary income and capital gain.

Hold the shares more than two years past the offering date and more than one year past the purchase date, and the sale is a qualifying disposition: ordinary income is limited to the discount (measured under a favorable formula), and the rest is long-term capital gain. Sell earlier and it is a disqualifying disposition: the full spread between the discounted price you paid and the market value on the purchase date is ordinary income, with only the movement after purchase treated as capital gain or loss.

Many plans sweeten this with a lookback, applying the 15% discount to the lower of the price at the start or end of the offering period. In a rising market the effective discount can be far more than 15%. The full mechanics, including the qualifying versus disqualifying math and the W-2 and 1099-B double-count trap, live on our ESPP tax guide; this page stays at the comparison level.

Taxstra CPA Tip
A 15% discount with a lookback is roughly a 17.6% instant return on each purchase (buy at 85, worth 100), before any tax and before any market movement. Very few "safe" uses of paycheck money compete with that, as long as you sell promptly rather than letting employer stock accumulate.

RSU vs ESPP Side by Side

Every dimension that changes a decision

FeatureWhat it is
RSUCompensation: employer grants shares
ESPP (qualified Section 423)Purchase: you buy shares with after-tax pay
FeatureYour cost
RSUNothing
ESPP (qualified Section 423)Your own payroll deductions
FeatureMain taxable moment
RSUVest date (no choice)
ESPP (qualified Section 423)Sale date (you choose)
FeatureCharacter of income
RSUOrdinary wage income at vest, capital gain after
ESPP (qualified Section 423)Discount portion ordinary income at sale, rest capital gain
FeaturePayroll (FICA) tax
RSUYes, at vest
ESPP (qualified Section 423)No FICA on qualified-plan discount income
FeatureTypical withholding
RSU22% flat supplemental (often too low)
ESPP (qualified Section 423)None at purchase; you handle tax at sale
FeatureAnnual limit
RSUNone (whatever is granted)
ESPP (qualified Section 423)$25,000 of stock per year at offering price
FeatureDownside risk
RSUValue can fall between grant and vest; still worth taking
ESPP (qualified Section 423)Your contributed cash is exposed until purchase and sale
FeatureDefault move
RSUAccept always; consider selling at vest
ESPP (qualified Section 423)Contribute if cash flow allows; sell early or hold for qualifying disposition by plan

If your equity mix includes stock options rather than an ESPP, the sibling comparison is RSU vs stock options, and option holders choosing between grant types should read ISO vs NSO.

Worked Example: One Employee, Both Programs

Same company, same year, two different tax pictures

Worked example (hypothetical, illustrative round numbers)

A software engineer earns a $200,000 salary in 2026. During the year, 500 RSUs vest at $100 per share, and she contributes $10,000 through the ESPP, which buys shares at a 15% discount off a $100 price: about 117 shares at $85.

The RSU side: $50,000 of vest-date value is added to her W-2 automatically. Her employer withholds 22%, about $11,000, by selling shares. But at her income her marginal federal bracket is 32%, so the true federal tax on the vest is roughly $16,000. Nothing is "wrong," yet she is about $5,000 under-withheld from this one event and will owe it in April unless she adjusts.

The ESPP side: at purchase she pays $9,945 for stock worth about $11,700 and owes no tax that day. If she sells immediately (a disqualifying disposition), the roughly $1,755 spread is ordinary income on her W-2 in the sale year, about $560 of federal tax at 32%, leaving an after-tax profit of about $1,200 on money that was only committed for a few months.

Notice the asymmetry: the RSUs created a $50,000 income event she never chose, while the ESPP created a modest, voluntary, almost-sure profit. The RSU plan needs tax management. The ESPP needs a participation decision and a selling discipline. Illustrative only; brackets, state tax, and share prices will move every number.

Equity comp making your tax picture messy?

A free initial consultation covers your vest schedule, ESPP elections, withholding gap, and what to sell when.

Book a Free 30-Minute Consultation

Common Mistakes With RSUs and ESPPs

The four errors we clean up most often

1. Trusting the 22% withholding.

Every RSU vest withheld at 22% while you sit in a 32% or higher bracket digs the April hole deeper. The fix is quarterly estimated payments or extra W-4 withholding sized to the vest calendar, not to last year's salary.

2. Paying tax twice on the same income.

Both RSUs and ESPPs put ordinary income on your W-2 that brokers then omit from 1099-B cost basis. File the 1099-B numbers unadjusted and you pay tax on the same dollars twice. The correction is a basis adjustment on Form 8949, every year you sell.

3. Letting employer stock become the portfolio.

Vests you never sell plus ESPP purchases you never sell equals a concentrated bet stapled to the same paycheck. Concentration is a choice worth making on purpose, at a percentage you picked, not a side effect of ignoring the brokerage account.

4. Chasing the ESPP qualifying disposition off a cliff.

The qualifying-disposition tax break is real but small compared to the risk of holding a single stock for up to two extra years just for the label. Run the actual numbers: on a 15% discount, the tax saved by qualifying is often a fraction of a normal month's price movement in the stock.

Watch Out
A large vest can swing a quarterly estimate materially. If a five-figure vest lands mid-quarter, recheck your safe harbor before the next due date rather than after the penalty notice. Our estimated taxes guide covers the safe-harbor math.

How to Prioritize When You Have Both

A simple order of operations for paycheck dollars

RSUs never compete for your cash, so they are not in the priority stack at all: accept the grant, plan the taxes, decide a standing sell policy. The ESPP does compete with everything else your paycheck funds. A sensible default order for most employees: capture any 401(k) match first, keep a real emergency fund, then fund the ESPP up to the plan limit if you will sell on a schedule, because few other uses of short-term cash offer a comparable built-in return.

The order changes with circumstances. Tight cash flow argues for a smaller ESPP election, since contributions are locked up until the purchase date. A volatile or troubled employer argues for immediate sales or skipping the ESPP entirely, because the same company already carries your salary and unvested RSUs. And at higher incomes, every one of these decisions interacts with the rest of the high-income tax picture: additional Medicare tax, net investment income tax, and bracket management across years.

If equity is a large share of your pay, this is exactly the situation our stock compensation planning service exists for: a vest-by-vest tax map, a selling policy you can defend, and withholding that matches reality. Tech employees can also start with the CPA for tech employees page.

Frequently Asked Questions

RSU vs ESPP, answered

RSUs are compensation your employer gives you: shares that vest on a schedule, taxed as ordinary income the day they vest, whether you want them or not. An ESPP is a voluntary purchase program: you set aside your own after-tax paycheck money to buy company stock, usually at a discount of up to 15%. RSUs are pay. An ESPP is an optional investment with a built-in discount.

Get a Plan for Your Equity Compensation

A free initial consultation maps your vests, ESPP windows, and withholding so tax season stops being a surprise.

Book a Free 30-Minute Consultation