Many tech employees receive both RSUs and an Employee Stock Purchase Plan (ESPP), but they work very differently. RSUs are free shares that vest on a schedule. ESPPs let you buy company stock at a discount (typically 15%) using after-tax payroll deductions. Understanding both is essential to maximizing your total equity compensation.
How Each Works
RSUs: Your company grants a number of shares that vest over time (typically 4 years with a 1-year cliff). You pay nothing. At vesting, the full fair market value becomes W-2 income.
ESPP: You elect to contribute 1-15% of your salary via payroll deductions during an offering period (typically 6 months). At the end of each period, the accumulated contributions purchase company stock at a discounted price --- usually 85% of the stock price (a 15% discount). Most plans also include a lookback provision.
The ESPP Lookback Provision
The lookback is what makes ESPPs powerful. The purchase price is 85% of the lower of the stock price on either:
- The offering date (start of the period), or
- The purchase date (end of the period)
If the stock goes up during the offering period, you buy at 85% of the starting price --- meaning your effective discount can be much larger than 15%.
Side-by-Side Comparison
| Feature | RSU | ESPP |
|---|---|---|
| Cost to you | Free | Payroll deductions (after-tax dollars) |
| Discount/value | Full FMV of shares | 15% discount (more with lookback) |
| Annual limit | No statutory limit | $25,000/year (based on FMV at offering date) |
| Tax at receipt | Ordinary income on full FMV at vest | No tax at purchase |
| Tax at sale | Capital gains on post-vest appreciation | Depends on qualifying vs disqualifying disposition |
| Holding period for favorable tax | 1 year after vest for LTCG | 2 years from offering + 1 year from purchase |
| Requires cash outlay | No | Yes (payroll deductions) |
| Risk of loss | Stock can decline after vesting | 15% discount provides downside buffer |
| Complexity | Low | Medium (offering periods, lookback, disposition rules) |
ESPP Tax Treatment
ESPP taxation depends on whether you make a qualifying or disqualifying disposition.
Qualifying Disposition
Hold shares for both: 2 years from the offering date AND 1 year from the purchase date.
| Component | Tax Treatment |
|---|---|
| Discount (15% of offering-date price, or actual discount if less) | Ordinary income |
| Remaining gain | Long-term capital gain |
Disqualifying Disposition
Sell before meeting both holding periods.
| Component | Tax Treatment |
|---|---|
| Bargain element (FMV at purchase minus price paid) | Ordinary income (W-2) |
| Additional gain above FMV at purchase | Capital gain (short-term or long-term based on holding period) |
A disqualifying disposition is not always bad. If the stock has appreciated significantly since purchase, selling early and paying ordinary income on the discount may be better than holding and risking a price decline. The optimal strategy depends on your tax bracket, stock outlook, and diversification needs.
Worked Example: ESPP With Lookback
Setup:
- Stock price at offering date (Jan 1): $100
- Stock price at purchase date (Jun 30): $140
- ESPP discount: 15%
- Payroll deductions over 6 months: $10,000
Purchase price calculation:
- Lower of offering or purchase price: $100
- 15% discount: $100 x 0.85 = $85/share
- Shares purchased: $10,000 / $85 = 117 shares
- Market value at purchase: 117 x $140 = $16,380
- Your cost: $10,000
- Immediate gain: $6,380 (63.8% return in 6 months)
The lookback turned a 15% discount into a 63.8% return because you bought at 85% of the offering-date price while the stock rose 40%.
ESPP Returns at Different Price Trajectories
The ESPP lookback creates asymmetric returns --- you benefit disproportionately when the stock rises, and the discount protects you when it falls. Here are three scenarios using a $10,000 contribution with a 15% discount and lookback, starting at $100/share offering price:
Scenario 1: Stock rises 40% (to $140)
- Lookback selects the $100 offering price (lower of $100 and $140)
- Purchase price: $100 x 0.85 = $85/share
- Shares purchased: 117.6 shares. Market value: $16,464
- Gain: $6,464 (64.6% return in 6 months)
Scenario 2: Stock stays flat (at $100)
- Lookback selects $100 (both prices identical)
- Purchase price: $100 x 0.85 = $85/share
- Shares purchased: 117.6 shares. Market value: $11,760
- Gain: $1,760 (17.6% return in 6 months)
Even with zero stock appreciation, the 15% discount alone delivers a 17.6% return (the math exceeds 15% because the discount is applied to the purchase price, not your contribution).
Scenario 3: Stock drops 20% (to $80)
- Lookback selects $80 (lower of $100 and $80)
- Purchase price: $80 x 0.85 = $68/share
- Shares purchased: 147.1 shares. Market value: $11,765
- Gain: $1,765 (17.6% return in 6 months)
The downside protection is striking. Even when the stock falls 20%, you still earn a 17.6% return because the discount is applied to the lower purchase-date price. The only scenario where you lose money is if you hold the shares and the stock drops more than 15% below your purchase price after you buy. This is why many financial advisors consider ESPP the closest thing to "free money" in equity compensation.
Tax on this ESPP gain (qualifying disposition)
If you hold and sell at $140 after meeting both holding periods:
| Component | Amount | Tax Treatment |
|---|---|---|
| Ordinary income (15% x $100 offering price) | $15/share x 117 = $1,755 | Ordinary income |
| Long-term capital gain | ($140 - $100) x 117 = $4,680 minus $1,755 = $2,925 | LTCG (15-20%) |
| Tax on ordinary income (32% bracket) | ~$562 | |
| Tax on LTCG (15%) | ~$439 | |
| Total tax | ~$1,001 on $6,380 gain | 15.7% effective rate |
Immediate Sale vs Qualifying Disposition: A Concrete Comparison
Should you sell ESPP shares immediately or hold for the qualifying disposition? Let's compare using 117 ESPP shares purchased at $85 (offering-date lookback) when the market price is $140. Assume a 32% federal marginal bracket.
Immediate sale (disqualifying disposition):
| Component | Amount | Tax Rate | Tax |
|---|---|---|---|
| Bargain element (FMV at purchase - price paid): ($140 - $85) x 117 | $6,435 | 32% ordinary income | $2,059 |
| Additional gain | $0 (sold at purchase-date FMV) | --- | $0 |
| Total tax | $2,059 | ||
| After-tax gain | $4,376 |
Hold 2+ years from offering date + 1 year from purchase (qualifying disposition):
| Component | Amount | Tax Rate | Tax |
|---|---|---|---|
| Ordinary income (15% of offering-date price): $15 x 117 | $1,755 | 32% ordinary | $562 |
| Long-term capital gain: ($140 - $100) x 117 - $1,755 | $2,925 | 15% LTCG | $439 |
| Total tax | $1,001 | ||
| After-tax gain | $5,379 |
Holding saves $1,058 --- but you must hold the shares for up to 2 years, during which the stock could decline. The break-even question: the stock would need to drop by more than $1,058 / 117 shares = ~$9/share (about 6.4% below $140) before holding becomes worse than the immediate sale. If you are already concentrated in employer stock from RSU vests, the diversification argument often favors selling immediately and reinvesting elsewhere.
For a full walkthrough of how ESPP sales appear on your tax return, see our guide to how equity compensation affects your tax return.
RSU vs ESPP: Which to Prioritize?
Most employees should do both --- but if cash flow is tight, here is the priority order:
Priority 1: Max ESPP (usually)
The guaranteed 15% discount (and potentially much more with the lookback) makes ESPP one of the highest-returning "investments" available to you. Even if you sell immediately after purchase (disqualifying disposition), you lock in at least a 15% gain minus taxes.
Math: $25,000 annual ESPP contribution at 15% discount = $3,750+ guaranteed gain. If the stock appreciates during the offering period, the return can be 30-60%+.
Priority 2: RSUs (no action needed)
RSUs vest automatically. There is no decision to make and no cash outlay. Focus your financial planning on managing the withholding shortfall and deciding whether to hold or sell vested shares.
Exception: Skip ESPP if...
- Your company's stock has been declining steadily (the discount helps, but you are still buying a falling asset)
- You are already heavily concentrated in company stock from RSU vests
- You need the cash flow more than the potential ESPP return
Calculate RSU Withholding
Estimate your RSU tax withholding and net proceeds after vesting.
Try Calculator →Combining RSUs and ESPP: Tax Planning Tips
- Track cost basis carefully. RSUs have a cost basis equal to the FMV at vesting. ESPP shares have a cost basis equal to the discounted purchase price. Mixing them up causes incorrect capital gains calculations.
- Diversification matters. Between RSUs and ESPP, you may have a very concentrated position in company stock. Consider selling vested RSUs or ESPP shares periodically to diversify.
- Use ESPP for guaranteed returns, RSUs for long-term holds. Some employees sell ESPP shares immediately (capturing the guaranteed discount) while holding RSU shares for potential long-term capital gains.
- Model your total equity income. Use our RSU calculator to understand your combined tax picture. Read our RSU tax rate guide for bracket analysis.
Maximizing Both: The ESPP + RSU Cash Flow Strategy
If you have both RSUs and an ESPP, you can create a virtuous cash flow cycle that maximizes the value of each:
Step 1: Max out ESPP contributions. Most plans allow 10-15% of salary, up to the $25,000 annual purchase limit (based on FMV at offering date). At a $200,000 salary, contributing 12.5% means $25,000/year flowing into ESPP.
Step 2: Sell ESPP shares immediately at purchase. This locks in the guaranteed 15%+ return (or much more with a lookback). On a $25,000 annual contribution, you generate roughly $3,750-$15,000 in immediate gains depending on stock movement during the offering period.
Step 3: Use ESPP sale proceeds to cover RSU withholding shortfalls. Employers withhold at the 22% supplemental rate on RSU vests, but your actual marginal rate may be 32-37% federal plus 9-13% state. This gap creates a cash crunch at tax time. The ESPP proceeds fund the estimated tax payments needed to cover the shortfall.
The result: ESPP generates reliable cash returns every 6 months. That cash covers the tax gap from RSUs. You avoid both underwithholding penalties and the need to sell RSU shares at unfavorable times just to cover taxes. For a detailed analysis of RSU withholding shortfalls, see our guide on estimated taxes on RSU income.
ESPP Section 423 Rules: Key Compliance Requirements
Your ESPP must meet specific requirements under IRC Section 423 to qualify for favorable tax treatment. These rules are set by your employer, not by you --- but understanding them helps you maximize value:
- Maximum discount: 15% off the lower of the offering-date or purchase-date price. Some companies offer less (5-10%) to reduce accounting costs.
- $25,000 annual purchase limit: You cannot purchase more than $25,000 worth of stock per year, measured by the FMV at the offering date (not the discounted price and not the purchase-date FMV). If the stock was $100 at the offering date, you can buy up to 250 shares that year.
- 5% ownership cap: Employees who own more than 5% of the company's stock cannot participate. This rarely affects rank-and-file employees but can disqualify founders or major shareholders.
- Equal terms for all eligible employees: The company cannot discriminate --- all eligible employees must have the same discount rate and contribution limits. However, companies can exclude employees with less than 2 years of tenure or part-time employees working under 20 hours/week.
- Offering periods are typically 6 months (some companies use 12 or 24 months with multiple purchase dates).
Frequently Asked Questions
Can I participate in ESPP and receive RSUs at the same time?
Yes. Most public tech companies offer both. RSU grants are part of your compensation package, while ESPP participation is voluntary. They are completely independent --- contributing to ESPP does not affect your RSU grants.
Is the ESPP $25,000 limit based on my contribution or the share value?
The $25,000 limit is based on the fair market value of the stock at the offering date (not your contribution amount). If the stock is worth $100 at the offering date, you can purchase up to 250 shares per year through ESPP, regardless of what the stock is worth at purchase.
Should I sell ESPP shares immediately after purchase?
Selling immediately (a disqualifying disposition) locks in the guaranteed discount minus taxes. For most employees, this is a reasonable strategy --- especially if you are already concentrated in company stock via RSUs. The tax cost of a disqualifying disposition is modest: you pay ordinary income rates on the bargain element instead of splitting it between ordinary income and LTCG.
Do ESPP contributions reduce my taxable income?
No. ESPP contributions are made with after-tax dollars (unlike 401(k) contributions, which are pre-tax). Your payroll deductions for ESPP do not reduce your W-2 income.
What happens to my ESPP contributions if I leave the company?
If you leave during an offering period, your accumulated contributions are refunded in full. No shares are purchased. There is no risk of losing your contributions.
Tax Disclaimer: This content is for educational purposes only. Always consult with a licensed tax professional or certified public accountant before making financial decisions related to equity compensation, tax planning, or investment strategies.