
Your 401(k) After a Tech Layoff: Rollover, Cash Out, or Net Unrealized Appreciation
The layoff email lands on a Tuesday. By Wednesday you have inventoried severance terms, health insurance deadlines, and the unvested RSUs evaporating on your last day. Then you open your 401(k) portal and see a six-figure balance, a chunk of it in company stock you bought or received as a match over the years. The tax result depends on which path you take.
Here is the short answer. You have four options for your 401(k) after a layoff: leave it with your former employer, roll it into an IRA or a new employer's plan, cash it out, or (if you hold employer stock inside the plan) use a rule called net unrealized appreciation (NUA) to separate the shares from the rest of the account. Leaving it or rolling it over triggers no tax today. Cashing out triggers ordinary income tax plus a 10% early withdrawal penalty if you are under 55. The NUA move is more complex: it can turn the built-up gain in your employer shares into long-term capital gains instead of ordinary income, but it comes with strict timing and procedural rules that cannot be undone.
Before any strategy, here is who this post applies to and who it does not. This is for you if you were laid off, quit, or otherwise separated from a tech employer and have a 401(k) balance, especially one holding employer stock. It applies whether you are 30 or 55, whether you have your next role lined up or not. It does not cover 403(b) plans, which have different rules on in-service withdrawals, or pension lump sums.

The Four Paths: Tax-Neutral vs. Tax-Triggering
The four options break into two categories: tax-neutral moves and tax-triggering moves. The distinction matters because the tax-neutral paths keep your money growing tax-deferred without a bill today, while the tax-triggering paths produce a bill the year you act.
Leave it where it is. You can keep your 401(k) with your former employer if the balance is above the plan's minimum. The account stays invested as before. You cannot contribute new money, but you also owe no tax. The downside is administrative: you are now managing a 401(k) at a company you no longer work for, alongside whatever plan your next employer offers.
Roll it over. You move the balance into an IRA or your next employer's 401(k). A direct rollover, custodian to custodian, triggers zero tax. An indirect rollover, where the check is made out to you, triggers mandatory 20% federal withholding on the taxable portion, and you have 60 days to deposit the full amount into a qualified account to avoid tax on the withheld portion. The direct route avoids the withholding and the 60-day clock.
These first two paths are tax-neutral and mechanically straightforward. The next two are where the tax bill lives.
Cashing Out: What It Triggers
Cashing out a 401(k) after a tech layoff means the entire pre-tax balance becomes ordinary income in that year, taxed at your marginal rate. On top of that, if you are under 55, the IRS adds a 10% early withdrawal penalty on the full amount, not on the after-tax portion.
For a tech professional who was earning $300,000 or more before the layoff, the withdrawal stacks on top of salary and severance for the year, so it can be taxed at your highest federal bracket plus California's rates. On a large balance, the combined bill can be a meaningful share of the account.
There are narrow exceptions to the penalty. The rule of 55 lets you avoid the 10% penalty if you separate from service in or after the year you turn 55. Substantially equal periodic payments under Section 72(t) can also avoid the penalty. But the income tax still applies.
Net Unrealized Appreciation: When Your 401(k) Holds Employer Stock
This is the rule most tech employees have never heard of, and it matters most when your employer stock has appreciated significantly inside the 401(k). We covered what happens to your RSUs themselves in our post on RSUs after a layoff and the tax deadlines you cannot miss.
Net unrealized appreciation, or NUA, is the difference between what your employer stock cost inside the plan (the cost basis) and its current market value. Under the NUA rules, you can take the employer shares out of the 401(k) in kind, as actual shares moved to a taxable brokerage account, and pay ordinary income tax only on the cost basis. The NUA itself is not taxed until you sell the shares, and when you do, it is taxed at long-term capital gains rates, not ordinary income rates.
For a tech employee whose company stock inside the 401(k) has a cost basis of $40,000 and a current value several times that, the difference in tax treatment can be substantial. Long-term capital gains top out at 20% federally, plus the 3.8% net investment income tax above the modified adjusted gross income threshold of $200,000 single or $250,000 married filing jointly. California taxes capital gains as ordinary income, so the state piece is the same either way. But the federal difference between ordinary income rates of 32%, 35%, or 37% and the 20% long-term capital gains rate is where the NUA strategy matters.
The NUA rules are strict. The distribution must be a lump-sum distribution of the entire 401(k) balance in a single tax year, triggered by a qualifying event: separation from service, reaching age 59 and a half, or death. You must take all assets from all plans of that employer. The employer stock must be distributed in kind, not sold inside the plan and then distributed as cash. You don't have to take every employer share out in kind: shares rolled into an IRA lose NUA treatment, and only the shares distributed in kind keep it.
This is not something to attempt without a tax strategist who has done it before. One wrong step, selling the shares inside the plan, missing the lump-sum requirement, or misjudging the cost basis, eliminates NUA treatment entirely, and there is no way to fix it after the fact. If you are navigating severance and withholding alongside this decision, our post on why RSU withholding often fails to cover the full tax bill explains the parallel withholding issue that many laid-off tech employees face.
The Gap Year: A Low-Tax Window
A layoff year often creates a lower-income gap: six or eight months of salary, then severance, then a drop before the next role starts. That reduced-income year can open two planning windows.
First, a Roth conversion. If your taxable income for the layoff year lands in a lower bracket than your normal earnings, converting pre-tax 401(k) money to a Roth IRA costs less in tax that year than it would during full employment. The converted amount becomes ordinary income, so the math depends on which bracket it fills. We covered the mechanics in our piece on Roth IRA conversions for high earners.
Second, the 0% long-term capital gains bracket. In 2026, a single filer with taxable income up to $49,450 pays 0% on long-term capital gains. In a gap year, taxable income may dip into or below that range after the standard deduction of $16,100 single or $32,200 married filing jointly. This bracket is narrow for a high earner, but when a tech professional with appreciated stock in a taxable account finds themselves in it, selling appreciated shares can mean zero federal capital gains tax on those gains. California still taxes them as ordinary income.
Both of these are one-way doors: the tax year closes on December 31 and those brackets do not wait. For the bigger picture on why the 401(k) alone does not carry the full retirement load for high earners, see our post on the 60% tax trap and why your 401(k) cannot protect your retirement income alone, and for the case for multi-year planning, read when your tax strategy needs more than one calendar year.
What to Ask a Tax Strategist
A layoff is a tax event, not just an employment event. The 401(k) decision, the severance withholding, the RSU vesting schedule, and the gap-year planning all interact. The order you do things matters, and the deadlines are firm. In our quarter-by-quarter playbook for year-round tax planning, we walk through how a strategist sequences these moves so nothing is missed.
The best first step is a free 15-minute discovery call, where we walk through the questions that apply to what you are holding. The paid strategy session is where the full plan gets built. You can reach us at (619) 280-2700 or info@RoadmapTax.com. We work with tech professionals across California, Texas, and Florida.
FAQ
Can I leave my 401(k) with my former employer after a layoff?
Yes, in most cases. If your balance exceeds the plan's minimum, you can keep the account with your former employer indefinitely. You cannot make new contributions, but the existing balance continues to grow tax-deferred.
What happens if I cash out my 401(k) after a layoff?
The entire pre-tax balance becomes ordinary income in that tax year, taxed at your marginal rate, plus a 10% early withdrawal penalty if you are under 55, with limited exceptions. Federal tax, California tax, and the penalty together can take a large share of the balance.
What is net unrealized appreciation (NUA) on employer stock?
NUA is the difference between the cost basis of employer stock in your 401(k) and its current market value. Under NUA rules, you can take the shares out in kind, pay ordinary income tax only on the cost basis, and have the net unrealized appreciation taxed at long-term capital gains rates when you sell.
How long do I have to decide what to do with my 401(k) after leaving a job?
There is no federal deadline that forces an immediate decision on a 401(k) balance above the plan minimum. But the NUA election requires a lump-sum distribution in a single tax year, so your deadline for that strategy is the end of the calendar year in which you want to execute it.
Does rolling over a 401(k) to an IRA trigger taxes?
A direct rollover from your 401(k) custodian to an IRA custodian triggers no tax. An indirect rollover, where you receive a check, triggers mandatory 20% federal withholding on the taxable portion, and you must redeposit the full amount within 60 days to avoid tax on the withheld amount.
Can I do a Roth conversion in the year I am laid off?
Yes. The converted amount becomes ordinary income, so if your taxable income in the layoff year is lower than usual, the conversion is taxed at lower rates than it would be in a full-salary year. Run the numbers with a tax strategist before executing.
This article is for educational purposes only and does not constitute tax, legal, or investment advice.
Want this applied to your situation?
Send us a note and we will walk through your entities, income, and the strategies worth pursuing this year.
Get in touchPrefer to talk now? Call (619) 280-2700 or email info@RoadmapTax.com


