Skip to main content

Net Unrealized Appreciation: The 401(k) Tax Strategy That Saves Six Figures

· 11 min read
Mike Thrift
Mike Thrift
Marketing Manager

Imagine retiring with $1 million of your employer's stock sitting in your 401(k), most of which you accumulated at a few dollars per share. The conventional move is to roll everything into an IRA, where every dollar you eventually withdraw will be taxed as ordinary income. But there's another path—one that could cut your tax bill by $144,000 or more on that same balance. It's called the Net Unrealized Appreciation (NUA) election, and it's one of the most powerful retirement tax strategies that almost nobody uses.

If you've spent years at a public company, a manufacturer, an oil and gas firm, or any employer that contributed company stock to your 401(k) or ESOP, this is a strategy worth understanding before you make a single distribution decision.

2026-05-07-net-unrealized-appreciation-nua-401k-employer-stock-long-term-capital-gains-strategy-guide

What Is Net Unrealized Appreciation?

Net Unrealized Appreciation is the difference between two numbers:

  • The cost basis of employer stock inside your retirement plan — what the shares were worth when they were originally contributed by you or your employer.
  • The current market value of those shares — what they're worth on the day you take a distribution.

The gap between those two numbers is the NUA. Under Internal Revenue Code Section 402(e)(4) and IRS Notice 98-24, that appreciation receives a special tax treatment: instead of being taxed as ordinary income (potentially up to 37% at the federal level in 2026), it's taxed at preferential long-term capital gains rates of 0%, 15%, or 20% — regardless of how long the shares were actually held inside the plan.

Here's the trade-off that makes the strategy interesting. When you elect NUA, you transfer the employer shares in-kind to a regular taxable brokerage account. You owe ordinary income tax immediately on the cost basis. But the appreciation? You pay nothing until you sell, and when you do, it's at long-term capital gains rates. If the gap between your cost basis and current market value is large, the math can be transformative.

A Concrete Example

Let's run the numbers on a realistic scenario:

  • You're separating from your employer at age 60.
  • Your 401(k) holds $1,000,000 of company stock.
  • The cost basis of those shares is $150,000.
  • The Net Unrealized Appreciation is $850,000.
  • You're in the 32% federal marginal bracket and qualify for the 15% long-term capital gains rate.

Option A — Roll Everything into an IRA (the default move): Every future withdrawal is ordinary income. If you eventually liquidate the full $1 million through IRA distributions, you'll pay roughly $320,000 in federal income tax (32% × $1,000,000), assuming the bracket holds.

Option B — Elect NUA: You take the company stock as an in-kind distribution to a brokerage account. You pay ordinary income tax on the $150,000 cost basis right now: $48,000 (32% × $150,000). When you later sell the shares, you owe long-term capital gains tax on the $850,000 NUA: $127,500 (15% × $850,000). Total tax liability: $175,500.

The savings: $144,500.

That's not theoretical. That's the difference between a strategy you actively elected and a default rollover that may have happened reflexively the day you separated from service.

The Eligibility Rules You Cannot Get Wrong

The NUA election sounds straightforward, but the IRS has built sharp edges into the rules. Miss any one of them and the entire strategy collapses.

1. You Must Hold Employer Securities in a Qualified Plan

The shares must be inside a qualified employer-sponsored plan: a 401(k), an Employee Stock Ownership Plan (ESOP), or a profit-sharing or stock bonus plan. IRAs and SEP-IRAs do not qualify. If your employer stock is already sitting in an IRA, NUA is no longer available.

2. A Triggering Event Must Occur

Distribution must follow one of four qualifying triggering events:

  • Separation from service — leaving your employer (retirement, resignation, layoff).
  • Reaching age 59½ — even while still employed, if your plan permits in-service distributions.
  • Total disability — applies to self-employed plan participants.
  • Death — beneficiaries can elect NUA on inherited employer stock.

3. The Distribution Must Be a Lump-Sum Distribution

This is where most NUA strategies die. The IRS defines a lump-sum distribution as the entire balance of all similar plans (e.g., all 401(k)s with the same employer) distributed within a single tax year following a triggering event.

A few critical clarifications:

  • You cannot take partial distributions. The plan must be emptied in one calendar year.
  • You can split the destination. It's perfectly fine to send the company stock in-kind to a taxable brokerage account while rolling the rest of the plan (mutual funds, bonds, cash) into an IRA. Both transactions just have to happen in the same tax year.
  • The whole transaction must conclude in one tax year. Starting in December and finishing in January? You've blown the lump-sum requirement.

4. The Stock Must Be Distributed In-Kind

The actual share certificates (or electronic equivalent) must move from the plan trustee to a non-retirement brokerage account. If you sell the stock inside the plan first and then take cash out, NUA is gone.

When NUA Makes Sense — and When It Doesn't

NUA is not universally beneficial. Done at the wrong time, in the wrong situation, it can leave you worse off than a simple rollover. Run the math against these factors before you elect.

NUA Works Best When:

  • Cost basis is low relative to market value. The bigger the appreciation gap, the bigger the rate arbitrage. A 5% cost basis on a position worth $500,000 is the textbook NUA candidate.
  • You're in a high marginal income tax bracket. The wider the spread between your ordinary rate and the long-term capital gains rate, the more you save.
  • You plan to sell the stock relatively soon. If you'll liquidate within a few years to fund retirement, the deferral benefit of an IRA is small, and the rate cut from NUA dominates.
  • You have meaningful concentration risk. Selling concentrated employer stock that's already a huge percentage of your net worth has portfolio benefits beyond the tax math.

NUA Often Fails When:

  • Cost basis is high. If the cost basis is 60% or more of the current value, the up-front ordinary income tax hit may exceed the future savings.
  • You have a long investment horizon. Decades of tax-deferred compounding inside an IRA frequently beats the NUA rate cut. The shorter your timeline to liquidation, the better NUA looks.
  • You're under 55 and already separated from service. The cost basis portion is treated like a cash distribution, so the 10% early withdrawal penalty can apply unless you qualify for an exception.
  • The stock might decline. NUA shifts unrealized gains into a taxable brokerage account where they remain tied up in a single concentrated position. If the stock drops 40%, the tax savings can vanish.

The Most Common (and Costly) Mistakes

Most NUA-eligible employees never elect it. Among those who do, a handful of mistakes recur:

Rolling the entire 401(k) into an IRA on the way out the door. Once the employer stock lands inside an IRA, NUA treatment is permanently lost. Every distribution from that IRA — for the rest of your life — will be ordinary income. This is the single biggest mistake. Pause before you sign rollover paperwork.

Splitting the distribution across two tax years. Plan administrators sometimes process distributions slowly. If your in-kind stock transfer settles December 28 and the residual cash rolls in January 4, you've broken the lump-sum requirement and lost NUA on the entire balance.

Selling and rebuying the company stock inside the plan. Some employees, fearing concentration, swap company shares for an index fund inside the 401(k) before separation. That sale resets the cost basis and reduces — sometimes eliminates — the NUA benefit.

Failing to inform your tax preparer. NUA elections require specific Form 1099-R coding from the plan administrator and proper reporting on your return. A preparer who doesn't know an NUA election occurred will likely tax the appreciation as ordinary income by mistake.

Trading the stock immediately after distribution. Once the shares are in your brokerage account, the NUA portion locks in long-term capital gains treatment when sold. But any additional gain that accrues after distribution is subject to standard capital gains rules — short-term if held less than a year. Day-trading the position negates the strategy.

Forgetting about state taxes. A handful of states tax retirement distributions differently than capital gains. Run your state's rules before assuming the federal savings carry through.

The Step-by-Step NUA Process

If you're approaching a triggering event and considering NUA, here's the workflow:

  1. Pull your plan statement and identify the cost basis. The plan administrator can provide the cost basis of each share lot of employer stock. Some lots may have lower basis than others — and you can elect NUA on a per-lot basis.
  2. Calculate the break-even. Compare the up-front ordinary income tax on cost basis against the lifetime capital gains savings on the appreciation. Spreadsheet it.
  3. Confirm the triggering event date. This locks the start of your one-tax-year window.
  4. Notify the plan administrator in writing. Specify the in-kind distribution of employer shares to a non-retirement brokerage account, and the rollover of all remaining assets to an IRA — both within the same tax year.
  5. Receive Form 1099-R. It should show the fair market value as the gross distribution, the cost basis as the taxable amount, and the NUA in Box 6.
  6. Report on Form 1040. The cost basis flows as ordinary income. Hang onto the 1099-R; you'll need it years later when you sell the shares to support the long-term capital gains treatment of the NUA.
  7. Track your basis going forward. When you eventually sell, the cost basis becomes your tax basis for the appreciated portion, and you'll owe long-term capital gains on the NUA plus any post-distribution appreciation (which may be short- or long-term depending on holding period).

What About Inherited Employer Stock?

If you inherit a 401(k) holding employer stock, NUA can still apply — but the rules differ from a standard step-up in basis. The decedent's cost basis carries over for purposes of the ordinary income calculation, and the NUA itself remains taxable at long-term capital gains rates when the beneficiary sells. Any appreciation after the date of death gets the step-up. Beneficiaries facing this scenario should consult a qualified tax advisor before any rollover decisions, because once the inherited assets land in an inherited IRA, NUA is gone.

A Quick Note on Cost Basis Optionality

One nuance worth knowing: you don't have to elect NUA on every share. If your employer stock has multiple lots with different cost bases (some bought at $5, others at $50), you can apply NUA only to the lots with low basis and roll the higher-basis lots into an IRA. This optimization can squeeze additional savings out of the strategy, but it requires meticulous recordkeeping from the plan administrator. Ask before you assume it's possible.

Why Recordkeeping Matters Long After the Election

Tax savings of this size only stick if your records are airtight. The NUA election creates a multi-year reporting trail: the up-front ordinary income reported in the year of distribution, the per-share cost basis carried into your taxable brokerage account, and the eventual capital gains realization possibly years or decades later. Each piece needs to tie back to the original 1099-R, the plan administrator's basis statement, and your sale confirmations.

This is where structured, transparent financial recordkeeping pays for itself. Spreadsheets get lost. Software exports break. The IRS, on the other hand, has a long memory. A clean, version-controlled record of cost basis, NUA per share, distribution date, and subsequent sale activity protects you the day a notice arrives in the mail.

Keep Your Retirement Records Clear from Day One

Strategies like NUA are only as durable as the records that support them. As you plan distributions, manage cost basis across lots, and report multi-year tax events, maintaining transparent financial records becomes essential. Beancount.io provides plain-text accounting that gives you complete transparency and full version control over every basis adjustment, distribution, and sale — no black boxes, no vendor lock-in. Get started for free and see why developers, finance professionals, and serious retirement savers are turning to plain-text accounting for the financial events that matter most.