By Kevin Luu, Co-Founder and Chief Learning Officer. Reviewed on 2026-09-30.
For most employees, RSU shares are the cheaper shares to sell first. An RSU’s tax basis is its value on the day it vested, so a recent RSU lot usually carries little extra tax, while ESPP shares sold before the holding periods end turn the whole purchase discount into ordinary income. Selling ESPP first tends to make sense only when those shares already qualify for favorable treatment, sit at a loss, or when your RSU lots carry much larger gains.
The real rule is simpler than “ESPP or RSU”: sell the lot that raises the cash you need at the lowest tax cost per dollar, then check the concentration risk left behind. Below is the math for a California household earning around $900,000, and what changes in Washington.
Why the answer matters at a $600,000 to $1.2 million income
A pharma scientist and a tech manager married to each other can easily hold $300,000 or more of one employer’s stock, built from quarterly RSU vests plus two ESPP purchases a year. At this income, most extra dollars of ordinary income are taxed at the 35% or 37% federal rate for 2026, plus 9.3% to 11.3% in California (2025 rates, the latest the FTB has published). The difference between selling the right lot and the wrong one is often a few thousand dollars per sale, repeated every quarter for years.
The bigger cost is usually not tax. It is holding too much of the company that also pays both of your salaries. The sale order should serve the goal of bringing that position down, not delay it.
How RSU shares are taxed when you sell them
RSUs are taxed as wages when the shares are delivered at vest. That value shows up on your W-2, and it becomes your cost basis. Your employer withholds federal tax on it as supplemental wages, often at the 22% optional flat rate, and at 37% on supplemental wages above $1,000,000 in the calendar year (IRS Publication 15, 2026). In the 35% or 37% bracket, 22% withholding usually leaves a balance due in April.
When you later sell, only the change in price since vest is taxed:
- Held one year or less: short-term capital gain, taxed at ordinary rates.
- Held more than one year: long-term capital gain, 20% federal for 2026 once married-filing-jointly taxable income passes $613,700 (Rev. Proc. 2025-32).
- Either way, the 3.8% Net Investment Income Tax applies above $250,000 of modified AGI for joint filers (IRS).
So an RSU lot that vested a few months ago, and has not moved much, can often be sold for almost no additional tax. A lot at a loss produces a capital loss that can offset other gains.
How ESPP shares are taxed: qualifying vs disqualifying sales
A Section 423 ESPP lets you buy stock at up to a 15% discount, often measured against the lower of the price at the start of the offering period or on the purchase date (the “lookback”). The right to buy is capped at $25,000 of stock per calendar year, valued at the grant-date fair market value (IRC §423(b)(8)).
The tax depends on when you sell (IRS Publication 525):
- Disqualifying disposition (sold within 2 years of the offering date or within 1 year of the purchase date): the full spread on the purchase date, market value minus what you paid, is ordinary income. This amount is fixed even if the stock later falls. Any change after purchase is a capital gain or loss.
- Qualifying disposition (held past both dates): ordinary income is the lesser of your actual gain or the discount measured at the offering date. Everything above that is long-term capital gain.
ESPP ordinary income is not subject to Social Security or Medicare tax (IRC §3121(a)(22)), unlike RSU income.
ESPP vs RSU at a glance
| RSU shares | ESPP shares | |
|---|---|---|
| What you paid | Nothing; taxed as wages at vest | Discounted price from payroll savings |
| Cost basis for gain | Value at vest | Price paid plus the ordinary income you report |
| Tax from selling soon | Only the price change since vest | Whole purchase-date spread becomes ordinary income |
| Benefit of waiting | Long-term rate after 1 year (federal only in CA) | Possibly less ordinary income after 2 years from offering and 1 year from purchase |
| Common basis error | Broker may show $0 or partial basis | Broker may show only the price paid |
Worked example: $900,000 household in California
Assumptions (illustrative): married filing jointly, about $850,000 of taxable income, so extra ordinary income is taxed at 37% federal (2026) and 10.3% California (2025 schedule). Stock trades at $210. The family wants to raise $60,000 for a larger home down payment and to start diversifying.
- RSU lot: 500 shares vested 4 months ago at $200. Gain $10 per share, short-term.
- ESPP lot: 150 shares bought 8 months ago, at the end of a 6-month offering period (so the offering began 14 months ago). Offering-date price $170, purchase-date price $190, 15% discount on the lower price, so the family paid $144.50.
Option A: sell 286 RSU shares
Proceeds $60,060. Gain 286 x $10 = $2,860, taxed at 37% + 3.8% NIIT + 10.3% = 51.1%. Tax: about $1,460.
Option B: sell all 150 ESPP shares, then 136 RSU shares
- ESPP ordinary income: ($190 minus $144.50) x 150 = $6,825, taxed at 47.3% (no NIIT on compensation) = $3,228.
- ESPP short-term gain: ($210 minus $190) x 150 = $3,000 at 51.1% = $1,533.
- RSU gain: 136 x $10 = $1,360 at 51.1% = $695.
Tax: about $5,456. Selling RSUs first costs roughly $4,000 less today. The ESPP tax is deferred, not avoided: it comes due when those shares are sold, and it can shrink if the lot later qualifies.
What waiting on the ESPP lot is worth
If the family holds the ESPP shares 10 more months, the sale qualifies: by then it is more than 2 years from the offering date and more than 1 year from the purchase date. At the same $210 price, ordinary income drops to the offering-date discount, 15% x $170 x 150 = $3,825, and the other $6,000 is long-term gain at 20% + 3.8%. Total tax falls from about $4,761 to about $3,855, a saving of roughly $906.
Two things stand out. First, California collects the same $1,012 either way, because it taxes capital gains as ordinary income (FTB). The whole benefit of waiting is federal. Second, $906 on a $31,500 position is about 2.9%. A drop of about $6 per share over those 10 months erases it, before counting that a lower price also lowers the tax. The qualifying-sale benefit is real, but it is small next to the price risk of the stock.
What changes in Washington
Washington has no individual income tax for 2026, so no state income tax applies to RSU and ESPP ordinary income, only federal tax (WA DOR). Washington’s 7% capital gains tax applies to long-term gains above a standard deduction of $278,000 (2025, the latest published), with 9.9% on taxable gains above $1,000,000 (WA DOR). Most single-year sales from a family’s own RSU and ESPP lots stay under that deduction. Short-term gains are not subject to it.
In the example, the Washington version of Option A costs 40.8% on $2,860, about $1,167. Washington families also need to plan for the new 9.9% income tax on AGI over $1,000,000, which starts January 1, 2028. Large planned sales in 2026 and 2027 may deserve a second look for that reason.
When selling ESPP shares first makes sense
- The ESPP lot already qualifies. The ordinary income is fixed at the smaller amount, and the rest is long-term gain.
- The ESPP lot is below its purchase-date price. The ordinary income is already locked in; selling adds a capital loss that offsets other gains.
- Your RSU lots are old and have large gains. A lot that vested at $90 and now trades at $210 has far more taxable gain per dollar than a fresh ESPP lot.
- You plan to sell ESPP at purchase anyway. Many families treat the ESPP as a cash discount: buy, sell the same day, and move the money. That is a clear rule and keeps concentration from growing.
Common mistakes with RSU and ESPP sales
- Paying tax twice on the same income. The basis on your broker’s Form 1099-B may not include the income already reported on your W-2: ESPP basis may show only the price paid, and RSU basis may show as zero or partial (IRS Publication 525). You adjust the basis on Form 8949 so income already on your W-2 is not taxed again (Form 8949 instructions). See our guide to avoiding double tax on ESPP.
- Triggering a wash sale. Selling shares at a loss within 30 days before or after an RSU vest or ESPP purchase can disallow the loss, because you acquired substantially identical stock (IRS Publication 550).
- Holding RSUs for the long-term rate. Keeping a vested RSU a year is the same as buying your employer’s stock with cash. In California the only saving is federal, and only on the gain after vest.
- Forgetting the April bill. The 22% withholding on RSU vests often falls well short at the 35% and 37% brackets. Keep part of the sale proceeds for it.
- Ignoring trading windows. Many employees can only sell during open windows, so plan the order before the window opens.
A decision checklist for each sale
- How much cash do we need, and by when?
- For each lot, what is the taxable gain or loss per dollar raised?
- Is any ESPP lot within a few months of qualifying, and is the saving worth the price risk?
- Is there an RSU vest or ESPP purchase within 30 days that could cause a wash sale?
- After the sale, what share of our net worth is still in employer stock?
For the mechanics of the sale itself, see sell to cover vs same-day sale and when to sell ESPP shares.
Write the sale rule down for your kids
Most families make this decision fresh every quarter, and the reasoning disappears. A one-page Decision Memo fixes that: “We sell RSUs at vest, sell ESPP shares at purchase unless they are within three months of qualifying, and keep employer stock below a set share of our net worth.” Your children will likely hold equity pay one day. As Kevin Luu, Co-Founder and Chief Learning Officer of Bright Advisers, puts it: “Your kids don’t need to inherit your portfolio. They need to inherit your decision-making process.”
Questions families ask
Can I sell ESPP shares immediately after purchase?
Usually yes, subject to your plan rules and any company trading window. A same-day sale is a disqualifying disposition, so the purchase discount is taxed as ordinary income, but there is little or no capital gain. Many families use it to capture the discount without adding to an already large position in employer stock.
Is an ESPP worth it if I sell right away?
Often, yes. With a 15% discount on the lower of two prices, the gain can be larger than 15%, and your money is tied up for only the offering period. The main costs are cash flow, since payroll deductions reduce take-home pay for months, and the ordinary income tax on the discount.
Should I hold ESPP shares for a qualifying disposition?
Only when the math clearly favors it. In California the saving is federal only, and in the example above it came to about 2.9% of the position. That is easily lost to a normal move in the stock. It makes more sense when employer stock is a small share of your net worth.
Next step
List every RSU and ESPP lot you hold with its vest or purchase date, basis, and today’s value, then run the checklist above before your next trading window. If you want a second set of eyes on your equity pay, our equity compensation and tax management teams can help, and the Tax & Wealth Assessment takes a few minutes. This is general education, and the right move depends on your family’s full picture.
Kevin has advised high-income W-2 tech and biotech families since 2015, and leads the education-first Age Five Family Office from Brea, California.
Connect on LinkedIn → · About KevinThis is part of how we approach Tax Management for high-income W-2 families at Bright Advisers.
Keep reading