NUA Advisor Match

NUA and RSUs: The 401(k) Tax Opportunity Most Tech Employees Miss

If you work at Apple, Google, Microsoft, Meta, or another company that grants RSUs, you probably know how RSUs are taxed. What many tech employees don't know is that they may also have a separate—and potentially larger—tax opportunity buried inside their 401(k): the Net Unrealized Appreciation (NUA) election. These are completely different rules, and confusing them is expensive.

The Short Version

RSUs and NUA are separate programs with separate rules. RSUs vest in a taxable brokerage account and are taxed as ordinary income—they never qualify for NUA. But if your employer also contributes company stock to your 401(k) (via employer match, profit-sharing contributions, or company stock fund purchases you've made inside the plan), that stock inside the 401(k) may qualify for NUA treatment at retirement. Most tech employees with 10+ years of tenure at a public company have both—and many have never been told about the 401(k) opportunity.

RSUs: How They Work and How They're Taxed

A restricted stock unit is a promise to deliver company shares once you satisfy a vesting schedule. When RSUs vest:

Key point: RSU shares are held in a taxable account, not inside your 401(k). They're outside the retirement plan system entirely.

Why RSUs Don't Qualify for NUA

The NUA election under IRC §402(e)(4) applies only to employer stock held inside a qualified retirement plan—a 401(k), profit-sharing plan, or ESOP. The mechanics require:

  1. The stock must be distributed in-kind from the plan (actual shares, not cash)
  2. It must be employer stock (shares of the company that sponsors the plan)
  3. The distribution must be part of a lump-sum distribution triggered by a qualifying event (retirement, separation, disability, or death)

RSU shares never enter your 401(k)—they vest directly into a taxable account. There's no "qualified plan" involved, so there's no NUA election to make on RSU shares. Full stop.

What Does Qualify for NUA: Employer Stock Inside Your 401(k)

Many tech employees at large public companies have a separate pool of employer stock inside their 401(k) that they may not pay close attention to. This stock can come from three sources:

SourceDescriptionQualifies for NUA?
Employer match in company stockMany plans match employee contributions with company shares instead of cash. Each match adds shares at their then-market price—which becomes the cost basis.Yes
Profit-sharing contribution in company stockSome plans make profit-sharing contributions as employer shares rather than cash.Yes
Employee-directed purchase via company stock fundIf your plan offers a "company stock fund" (or direct brokerage window), shares you bought there also qualify.Yes
RSU shares vested into a taxable accountShares you receive when RSUs vest. Held outside the plan.No
ESPP shares in a taxable accountShares from an employee stock purchase plan. Also outside the retirement plan.No

The Tax Difference: Why This Matters for Long-Tenure Tech Employees

Here's why the 401(k) employer stock pool deserves more attention than it typically gets:

A software engineer who joined Apple, Google, or Microsoft 12 years ago and has been receiving an employer match of 50% up to 6% of salary was likely receiving those match dollars as company stock (or cash that was invested in a company stock fund). The cost basis of those shares—set when each contribution was made—reflects prices from 2013, 2014, 2015, and so on.

For a major tech company that has appreciated 10–30× over that period, the ratio of current value to cost basis can easily be 10:1 or higher inside the 401(k).

Worked example. Allison joined a major tech company in 2014 at a salary of $150,000. Her employer matched 50% of contributions up to 6% of salary—$4,500/year in company stock. Over 12 years, those contributions at various prices resulted in a 401(k) employer stock balance of $420,000 with a cost basis of $52,000 (roughly 8:1 ratio). She also has $1.8M in RSUs in her taxable account.

If she retires this year and rolls the 401(k) stock into an IRA, she pays 35–37% federal on every dollar she later withdraws—about $155,000 in additional federal tax versus electing NUA. Under NUA, she pays ordinary income tax on the $52,000 cost basis (~$18,200 at 35%) and then 20% + 3.8% NIIT on the $368,000 appreciation when sold—about $87,600. Total NUA path: ~$106,000. IRA rollover path (at 37%): ~$155,000. Difference: $49,000 in her favor with NUA, just from the 401(k) stock. That's on top of optimizing her much larger RSU portfolio.

If she holds the NUA shares until death, her heirs get a step-up in basis on the post-distribution appreciation—the $368,000 NUA amount remains taxable as LTCG whenever sold, but any further gain from distribution date to death escapes tax entirely.

How to Check If You Have Employer Stock in Your 401(k)

Log into your 401(k) account (Fidelity NetBenefits, Vanguard, Empower, Principal, or your plan's recordkeeper) and look for:

If you see company stock there, request the lot-level cost basis from your plan administrator. Plans are required to track this, though some may need to reconstruct it from older records. Full guide on finding your NUA cost basis.

A Practical Decision Framework for Tech Employees

You may be an NUA candidate if all of the following are true:

  1. You have actual employer shares (not just a stock-tracking mutual fund) inside your 401(k) — check with your recordkeeper
  2. The current value of those shares is significantly higher than the cost basis — at minimum a 3:1 ratio; 6:1+ is where NUA typically dominates rollover
  3. You have a qualifying event coming up — retirement, separation from service, turning 59½ (if your plan allows in-service distributions), or disability
  4. Your plan allows in-kind distribution of company stock — most large 401(k) plans do, but ESOP plans sometimes don't for closely-held stock; confirm before planning
  5. You haven't already rolled those shares to an IRA — the IRA rollover permanently disqualifies NUA

If you check all five boxes, the NUA election may save you $50,000–$300,000 in federal tax on the 401(k) stock alone, depending on the balance and ratio. That's separate from—and in addition to—any RSU optimization you're doing.

The Most Expensive Mistake: Rolling the 401(k) Stock into an IRA First

Here's what happens at many tech company retirements: HR hands the departing employee an IRA rollover form and says "sign here to move your 401(k) to Fidelity." The employee—experienced with RSU sales, used to taxable-account thinking—signs. The 401(k) assets roll to an IRA. The NUA election is gone permanently. There is no do-over.

Once employer stock is inside an IRA, 100% of future withdrawals are ordinary income. The long-term capital gains treatment that NUA would have provided—on what might be $300K–$1M+ of appreciation—is forfeited. At a 37% marginal rate vs. 23.8% (20% + NIIT), that's a permanent tax drag on every dollar.

If you're within two years of a qualifying event, consult a specialist before moving anything. The IRA rollover decision for company stock deserves its own analysis separate from the rest of your 401(k).

NUA Does Not Affect Your RSU Strategy

To be clear: electing NUA has no effect on your RSU shares in your taxable account. Those are separate assets with separate tax treatment. NUA is solely about the stock inside your 401(k).

A comprehensive retirement plan for a long-tenure tech employee might include:

Each strategy is independent. NUA optimizes the 401(k) stock layer; the other tools handle the rest.

Frequently Asked Questions

Does it matter that I also hold company stock in my taxable account from RSUs?

No. Your taxable-account company stock (from RSUs, ESPP, or open-market purchases) is entirely separate from the 401(k) stock. NUA applies only to shares inside the qualified plan.

My 401(k) company stock has the same ticker as my RSU shares—does that matter?

No. Same stock, different accounts, different tax rules. The 401(k) shares get NUA treatment when distributed in-kind. The taxable-account RSU shares are subject to standard capital gains rules based on when they vested and when you sell.

What if my employer switched from a company stock match to a cash match several years ago?

The shares accumulated during the company-stock-match period still have the cost basis set at the time of each contribution. Those historical lots still qualify for NUA. The switch to cash match just means new employer contributions are no longer adding to the NUA pool—but the existing balance with its original cost basis remains eligible.

Can I do NUA on just the company stock portion and roll the rest of the 401(k)?

Yes. This is a partial NUA strategy—distribute the employer stock in-kind to a taxable account, and roll the remaining 401(k) balance (bonds, mutual funds, non-company assets) to an IRA. The two moves can happen in the same year as part of the lump-sum distribution. See the partial NUA strategy guide for the mechanics.

My company was recently acquired. Did I lose the NUA opportunity?

Possibly not. If the acquisition involved a layoff or an ERIP package, that separation from service is itself a qualifying event. If the acquirer assumed the plan, there may still be a window before assets are merged. See the NUA in M&A guide for the four scenarios.

Working with a Specialist

Most financial advisors—including many fee-only CFPs—will model your RSU portfolio extensively but never ask about the NUA opportunity in your 401(k). The two strategies don't get looked at together, partly because RSU management is a well-known service and NUA is a narrow specialty.

An advisor who focuses on NUA will look at both. They'll identify whether you have qualifying 401(k) stock, model the NUA vs. rollover tax difference with your actual cost basis and current value, and sequence the NUA election with your RSU sales, Roth conversions, and IRMAA exposure in a single retirement-year plan.

Get matched with an NUA specialist

Fee-only advisor with no commission conflict. Free match.

Fee-only · No commissions · Free match · No obligation

NUA Advisor Match is a matching service. We connect you with vetted fee-only financial advisors in our network — we don't manage money or provide advice ourselves. Advisors in our network are fiduciaries who charge transparent fees (not product commissions), and we match you based on your specific situation.

Sources

  1. IRS Publication 575 — Pension and Annuity Income (IRC §402(e)(4) NUA rules)
  2. Tax Foundation — 2026 Federal Tax Brackets and Rates
  3. IRS — Tax Inflation Adjustments for Tax Year 2026 (Rev. Proc. 2025-32)
  4. IRS Notice 2002-3 — NUA rules on lump-sum distributions

Tax values in this guide reflect 2026 rules: 37% top ordinary income rate above $640,600 (single)/$768,700 (MFJ); 20% LTCG rate above $533,400 (single)/$600,050 (MFJ); 3.8% NIIT on investment income above $200,000 (single)/$250,000 (MFJ). 2026 brackets per IRS Rev. Proc. 2025-32 and OBBBA (July 2025).