Mathstub

← All posts · RSU basics

Is there a way to avoid taxes on RSUs? (Honest answer: no, but 5 ways to optimize)

Tax year 2026 · Last updated May 19, 2026

6 min read · 1,316 words

Short answer: no, you cannot legally avoid the tax owed on an RSU vest. The fair-market value of the shares is taxed as ordinary wage income under IRC §83(a) the moment they deliver — same as a cash bonus. Anyone selling you an "RSU tax loophole" is either misinformed or breaking the law. But there are five legitimate strategies that legally reduce, defer, or offset the total tax bite. Here is the honest list.

There is no "avoid" button. You can only reduce taxable income elsewhere (deductions), defer when tax is paid (timing), or convert ordinary income to lower-rate capital gain on the appreciation portion (post-vest holding). The vest itself always hits ordinary rates.

Strategy 1 — State residency arbitrage (before vest, not after)

If you move from a high-tax state (California 13.3%, New York 10.9%) to a no-tax state (Texas, Florida, Washington) before the vesting date, the vest may be sourced to your new state under that state's rules. Caveat: most states use "workday allocation" or "trailing nexus" — California sources RSU income to CA based on the percentage of vesting period you worked in CA, not where you live on vest day.

Concrete savings: 100% remote tech worker moves from CA to TX one year before a $200,000 vest. CA might still claim 50-100% of the income depending on facts. But for the next year's vest where the entire vesting period was in TX, CA claims nothing — saving $26,600 (13.3% × $200k). The move only pays off if you actually establish bona fide TX residency (driver's license, voter registration, no CA real-estate, etc.) and your equity vests over multiple years.

Strategy 2 — Max pre-tax 401(k) and HSA the same year as vesting

Pre-tax retirement and health-savings contributions reduce your W-2 Box 1 ordinary income dollar-for-dollar. The RSU vest is still taxed in full as ordinary income, BUT pushing your total taxable income lower may keep you out of higher brackets, reduce AMT exposure, and lower the marginal rate that applies to the next dollar of vest:

  • 401(k) contribution limit 2026 (projected): $24,000 elective deferral + $8,000 catch-up if 50+. Employer match adds nothing taxable.
  • HSA contribution limit 2026 (projected): $4,400 self-only / $8,750 family + $1,000 catch-up if 55+.
  • Mega backdoor Roth (if your plan allows): up to $46,500 in after-tax 401(k) contributions, immediately converted to Roth. Does not reduce current taxes but locks in tax-free growth on the contribution AND any earnings.

For a $400,000 W-2 earner in California in the 32% federal bracket, maxing 401(k) + HSA saves approximately $13,150 in combined federal + state tax that year. Real money, totally legal, no tradeoff except the cash is locked until retirement.

Strategy 3 — Charitable stock gifts (donate appreciated shares, not cash)

If you already plan to donate to charity, donate appreciated RSU shares directly instead of selling them and donating cash. You get:

  • A charitable deduction equal to the current FMV of the shares (up to 30% of AGI for long-term appreciated stock to a public charity per IRC §170(b)(1)(C)).
  • Zero capital gain on the appreciation — the charity sells the shares tax-free.
  • No "deemed sale" — you skip the cap-gain tax you would have owed on selling the appreciated shares yourself.

Example: 100 shares vested at $50 (cost basis $5,000), now worth $80 each ($8,000). Donate the shares directly: $8,000 deduction, zero cap-gain tax. Donate cash $8,000 after selling: $8,000 deduction, but you owe ~$840 in LTCG tax (15% federal + 3.8% NIIT). The stock donation is ~$840 better per $8,000 donated. For larger gifts, consider a donor-advised fund (Fidelity Charitable, Schwab Charitable, Vanguard) to time the deduction.

Strategy 4 — Tax-loss harvesting (offset cap gains, not ordinary income)

If you have other investment positions sitting at unrealized losses, sell them in the same calendar year as your RSU vest. The realized capital losses offset:

  1. Capital gains on RSU shares sold at appreciation (dollar-for-dollar offset).
  2. Up to $3,000 of ordinary income per year if your losses exceed your gains.
  3. Excess losses carry forward indefinitely under IRC §1212(b).

Limitation: tax-loss harvesting does not offset the ordinary-income portion of an RSU vest. The vest FMV is W-2 wages, not capital gain. Harvesting only helps if you have capital gains to offset (from selling vested shares post-appreciation, or other investments). Watch the wash-sale rule under IRC §1091 — do not buy back the same security within 30 days.

Strategy 5 — Hold for long-term capital gains on appreciation

The FMV at vest is taxed as ordinary income — unavoidable. But if you hold the shares for 366+ days after vest, any appreciation from vest price to sale price is taxed at long-term capital gains rates (0/15/20% federal) instead of ordinary rates (22-37%). The saving is real but only applies to the gain ABOVE the vest FMV.

Example: 100 RSUs vest at $50/share ($5,000 FMV, taxed as ordinary income at ~$2,140 in CA). Hold 18 months, sell at $80/share. The $3,000 appreciation is taxed at 15% LTCG + 3.8% NIIT + 9.3% CA = ~$840. If sold inside 1 year, that same $3,000 would have been ~$1,330 at ordinary rates. Saving: $490 on $8,000 of gross sale. Tradeoff: 18 months of single-stock concentration risk on $8,000.

For most tech workers with diversification concerns, the LTCG saving is too small to justify holding. See our separate post on when to sell RSUs after vesting for the full risk math.

What does NOT work (avoid these "loopholes")

  • **"83(b) election" on RSUs** — does NOT apply. The §83(b) election only works for restricted STOCK (granted at vesting commencement) or stock OPTIONS, not RSUs. RSUs are taxed at vesting per §83(a), with no election available.
  • **"Refuse the vest"** — you cannot refuse a vest to avoid tax. The grant agreement controls. Forfeiting unvested shares forfeits the entire grant; vested shares cannot be returned to the employer for a tax do-over.
  • **"Defer with an NQDC plan"** — some companies offer non-qualified deferred compensation plans that can defer RSU income, but these have strict §409A rules, are usually only available to executives, and carry counterparty risk (your deferred comp is a general unsecured creditor claim on your employer).
  • **"Move to Puerto Rico under Act 60"** — Puerto Rico's tax incentives apply to Puerto Rico-source income earned after bona fide residency is established. RSU income from US-sourced work performed before the move is still federally taxable to the US, and IRS Pub 570 + Act 60 sourcing rules are aggressively audited.
  • **"Set up an offshore entity to hold the RSUs"** — illegal. RSU income is W-2 wages assigned to you personally. Funneling it through an entity is tax evasion under IRC §61 and §7201.

The takeaway

No magic trick erases tax on an RSU vest. The FMV at vest is ordinary wage income under §83(a), full stop. What you can do is reduce other taxable income (pre-tax retirement, charitable giving), defer or smooth out the timing (state arbitrage, NQDC), or convert future appreciation to capital gain (hold past 1 year). For a high-earner with significant equity, combining strategies 2 + 3 + 5 typically saves $5,000–$30,000 per year of vesting — without any aggressive positions.

For complex situations (multi-state residency, $1M+ vests pushing into 37% federal supplemental, ISO/AMT interactions, or pre-IPO equity), talk to a fee-only fiduciary CPA who specializes in equity compensation. The Harness Wealth network is a good starting point — Mathstub matches you with vetted equity-comp pros.

Sources: IRC §83(a) (taxation of property transferred for services); IRC §170(b)(1)(C) (charitable contribution limits for appreciated property); IRC §1091 (wash sale rule); IRC §1212(b) (capital loss carryover); IRC §1411 (Net Investment Income Tax); IRC §409A (nonqualified deferred compensation); IRC §61 (gross income definition); IRC §7201 (tax evasion); IRS Publication 525 (Taxable and Nontaxable Income); IRS Publication 526 (Charitable Contributions); IRS Publication 570 (Tax Guide for Individuals With Income From U.S. Possessions); Treas. Reg. §1.83-7 (taxation of options vs RSUs).

Run your own numbers

Recommended next step

Affiliate link · Mathstub earns a commission if you sign up. Your price does not change.

Harness Wealth

Sponsored

Talk to a CPA who specializes in equity comp

For high earners with mixed RSU / ISO / NSO / ESPP situations. Vetted tax pros who know §83(b), §409A, and AMT. Highest payoff if your shortfall is >$5k.

Match with a tax pro

Affiliate link — we may earn a commission

Affiliate link · Mathstub earns a commission if you sign up. Your price does not change.

TurboTax Premier

Sponsored

File your equity-comp taxes with TurboTax Premier

Built for people with RSUs, ESPP, and capital gains. Imports W-2 and broker 1099-Bs automatically.

Get TurboTax Premier

Affiliate link — we may earn a commission

By Mathstub Editorial · Reviewed by Reviewed against IRS primary sources

Was this helpful?

Spotted a bug, edge case, or numbers that look off? Tell us — we read every report.