Retirement & Tax Planning Answers

RSUs, Stock Options, and ESPP: How to Diversify Employer Stock Without a Tax Disaster

Reviewed by Raman Singh, CFP® · Enrolled AgentUpdated
Investment Planning

Quick answer

Each form of equity compensation is taxed on its own schedule, and diversifying well starts with knowing which one you hold. RSUs are taxed as ordinary W-2 income on the full value when they vest, so the tax is owed whether or not you sell, and continuing to hold vested RSUs is economically identical to taking a cash bonus and buying your employer's stock with it. Employers usually withhold federal tax on RSUs at the 22% supplemental rate (37% on supplemental wages above $1 million), which under-withholds for anyone in the 32% bracket or higher. Nonqualified stock options create ordinary income on the spread when you exercise. Incentive stock options create no regular tax at exercise, but the spread can trigger the alternative minimum tax, and you get long-term capital gains only if you hold the shares two years from grant and one year from exercise. ESPP shares bought at up to a 15% discount have similar qualifying and disqualifying disposition rules. A simple default works for most people: sell RSUs at vest, sell ESPP shares on a set schedule, exercise and sell options according to a written plan, and ask of every share you hold whether you would buy it today with cash. If you are an insider, use a 10b5-1 plan so blackout windows do not freeze your diversification.

How Each Type of Equity Compensation Is Taxed

Restricted stock units are the simplest and the most misunderstood. When RSUs vest, the full market value of the shares is added to your W-2 as wages, subject to income tax and payroll taxes, and that value becomes your cost basis. If you sell immediately, there is essentially no additional gain or loss and no further tax. If you hold, any change in value from that point is a capital gain or loss, short-term for the first year. Holding vested RSUs has no tax advantage over selling them. You already paid ordinary income tax on the full value, so holding is the same decision as receiving the cash and buying company stock. Framed that way, most people would not buy that much of a single stock, yet they hold it because it arrived as shares.

The withholding problem catches many high earners. Employers typically withhold federal income tax on RSU income at the flat 22% supplemental rate, rising to a mandatory 37% only on supplemental wages above $1 million in the year. A married couple with $400,000 of salary and $250,000 of RSU vesting is in the 32% or 35% federal bracket on those shares, so each vest leaves a gap of 10 to 13 percentage points, plus Arizona's 2.5% if state withholding is also light. On $250,000, that can be $25,000 to $35,000 owed in April, and an underpayment penalty if estimated payments were not made. Some plans let you elect a higher withholding rate on vests; otherwise, make quarterly estimated payments or raise W-4 withholding on salary.

Nonqualified stock options (NSOs) are taxed when you exercise, not when they are granted or vest. The spread between the exercise price and the market price on the exercise date is ordinary wage income, subject to payroll taxes and withholding, and it becomes part of your basis. Any gain after exercise is capital gain. Because the tax hits at exercise, a common approach is a cashless exercise-and-sell, which turns the option into cash minus tax in a single step. Holding NSOs until close to expiration concentrates both the stock risk and the tax into whatever year you finally exercise, often the same year as a large bonus or your final paycheck.

Incentive stock options (ISOs) get better treatment in exchange for more rules. Exercising ISOs creates no regular income tax, but the spread at exercise is an adjustment for the alternative minimum tax if you still hold the shares at year-end. If you hold the shares at least two years from the grant date and one year from the exercise date, the entire gain above the exercise price is long-term capital gain, a qualifying disposition. Sell earlier and it is a disqualifying disposition: the spread at exercise (or the actual gain, if smaller) becomes ordinary income. Exercising a large ISO block and holding for the capital gains clock can create a large AMT bill on shares that then fall in value, which is how some employees end up owing tax on gains they never keep. AMT paid on ISOs can generate a credit in later years, but that recovery can take years.

Employee stock purchase plans under Section 423 let you buy shares through payroll at up to a 15% discount, often with a lookback that uses the lower of the price at the start or end of the offering period. The discount is compensation, but the timing of its taxation depends on how long you hold. A qualifying disposition requires holding at least two years from the start of the offering period and one year from the purchase date, and limits ordinary income to the smaller of the actual gain or the discount measured at the offering date, with the rest as long-term gain. A disqualifying disposition, any earlier sale, makes the full discount at purchase ordinary income. For most people, the reliable benefit is the discount itself, and selling soon after purchase locks it in rather than betting it on one company's stock for two years.

Insiders have one more layer. Officers, directors, and employees with access to material nonpublic information are usually limited to trading windows and blacked out around earnings, which can leave only a few weeks a quarter to sell. A Rule 10b5-1 trading plan, adopted while you are not in possession of inside information, sets sales in advance by date, price, or formula and can execute even during blackout periods. Since the SEC's 2022 amendments, plans carry a cooling-off period before the first trade (for directors and officers, at least 90 days and up to 120 days; 30 days for other employees), and overlapping plans are restricted. That delay makes it more important to set one up early, well before you need the cash or plan to retire.

A Selling System That Fits Your Retirement Timeline

Adopt a default rule and let exceptions be deliberate. For most people in their late 50s and 60s, that rule is: sell RSUs at vest, sell ESPP shares within a set period after each purchase, and exercise and sell options on a written schedule. Holding becomes an active choice you make only for shares you would buy today with cash, sized to a limit you set in advance, such as no more than 10% of your investable assets in the company.

Tie the selling plan to your retirement date. Your employer stock is correlated with your paycheck, your bonus, your unvested awards, and possibly your pension or deferred compensation. In the last five years before retirement, that correlation is the worst kind of risk, because a bad year for the company can hit your savings and your job at once. Many people should be diversifying faster as retirement approaches, not waiting for one more vest cycle. Know which unvested awards you forfeit on departure and which continue to vest under retirement provisions, and plan your date around that where you can.

Manage the tax side on purpose. Calculate the gap between your withholding and your actual bracket after each vest or exercise, and send quarterly estimated payments to cover it. The safe harbor is paying 100% of last year's total tax through withholding and estimates (110% if last year's AGI was above $150,000), or 90% of this year's. For ISOs, model the AMT before exercising and consider exercising only up to the point where the AMT begins, year by year, rather than all at once.

Separate the low-basis legacy shares from the ongoing flow. Shares you have held for years with large gains are the concentrated position problem, which calls for multi-year sale schedules, charitable gifts of appreciated shares, and similar tools. The ongoing vests and purchases are a flow problem, and the answer is simply to stop adding to the concentration. Fixing the flow first keeps the legacy position from growing while you work through it.

Watch the bracket and Medicare stacking in your final working years. A large final-year RSU vest, option exercise, or severance can push income into the 35% bracket and raise Medicare premiums two years later through IRMAA. Spreading exercises across the years before and after retirement, when salary is gone but RMDs have not started, can lower the total tax on the same shares.

Common Mistakes

  • Holding vested RSUs because selling feels like a taxable event, when the ordinary income tax was already owed at vest and selling immediately adds little or no tax.
  • Relying on the 22% supplemental withholding on RSU income while in the 32% or 35% bracket, and facing a large April balance plus an underpayment penalty.
  • Exercising a large block of ISOs and holding for long-term treatment without modeling the AMT, then watching the stock fall while still owing tax on the original spread.
  • Holding ESPP shares for two years to get a qualifying disposition and losing more than the 15% discount to a drop in the stock.
  • Letting NSOs sit until the last year before expiration, stacking the stock risk and a large ordinary income hit into a single year.
  • Waiting until a blackout window closes, or until right before retirement, to start a 10b5-1 plan, not realizing the cooling-off period delays the first sale by months.
  • Measuring concentration only by vested shares and ignoring unvested RSUs, options, deferred compensation, and the paycheck itself, which all depend on the same company.

How Equity Compensation Is Taxed

General federal rules. Arizona taxes the same income at its flat 2.5% rate. Individual plan terms, holding periods, and AMT exposure vary; model your specific grants before acting.

Compensation typeWhen taxedHow taxedKey trap
RSUsAt vestOrdinary W-2 income on full value, plus payroll taxes; later gain or loss is capital22% supplemental withholding often too low, and holding is the same as buying the stock
Nonqualified stock options (NSOs)At exerciseOrdinary W-2 income on the spread; later gain or loss is capitalWaiting until expiration stacks risk and income into one year
Incentive stock options (ISOs)At sale (AMT possible at exercise)Long-term capital gain if held 2 years from grant and 1 year from exercise; otherwise ordinary income on the spreadAMT on the spread for shares that later decline
ESPP (Section 423)At saleDiscount taxed as ordinary income (amount depends on qualifying vs disqualifying disposition); rest is capital gainHolding for qualifying treatment and losing more than the discount

Source: Internal Revenue Service · Verified

Sources

Authoritative references that back the claims on this page.

Continue exploring

Deeper resources on this topic: guides, calculators, and the planning process.

Related Questions

Need a coordinated retirement tax strategy?

Every vest and every ESPP purchase is a decision to buy more of your employer, whether you make it on purpose or not. If you want to talk through how this applies to your situation: Schedule a Strategic Fit Interview.