What Happens to Company Stock in My 401(k) When I Retire?
Back to Blog

Retirement Planning

What Happens to Company Stock in My 401(k) When I Retire?

Company stock inside a workplace plan follows a different set of tax rules than everything else in the account, and those rules only stay available if you handle the stock before you move the account.

By David Talley, CFP®, EA August 12, 2026 9 min read

Short Answer

It follows a different set of tax rules than everything else in the account, and those rules only stay available if you handle the stock before you move the account. Most of a 401(k) comes out as ordinary income. Company stock held inside the plan can be treated differently under the net unrealized appreciation rules, because the growth on those shares can be taxed as long-term capital gain instead. The catch isn't the math. The catch is sequence: roll the whole account into an IRA first and the special treatment is gone, with no way back.

Long-term capital gain rates are generally lower than ordinary income rates, and for some households they're zero. That's why this question deserves an answer before any rollover paperwork gets signed, and why it shows up in two sentences of the bigger 401(k) conversation and then quietly matters more than almost anything else in it.

The rule has an unfriendly name, net unrealized appreciation, usually shortened to NUA. The idea underneath it is straightforward, and it's worth understanding before you decide whether it applies to you.

Twenty-five years of payroll shares, one rollover form

Think of the company shares in the plan as having two parts. The first is what was paid for them: the cost basis, built up over years of payroll contributions and matches. The second is what they grew to. The difference between that original cost and today's value is the net unrealized appreciation.

Under the NUA rules, those two parts can be taxed on two different schedules when the shares are distributed as shares rather than sold inside the plan. The cost basis is ordinary income in the year of the distribution. The growth isn't taxed at distribution. It's taxed later, when the shares are actually sold, at long-term capital gain rates.

For someone who bought shares steadily for twenty-five years, the basis can be a small fraction of today's value. That's the situation where this rule is worth real money. For someone whose shares were bought recently, or whose basis sits close to today's price, the rule is mostly paperwork.

Why the rollover form is the point of no return

Surface question What happens to the company stock in my plan when I retire?
Deeper question Which move do I make first, so the standard consolidation advice doesn't permanently erase a tax treatment I never knew I had?
Why it matters The standard advice when leaving a job is to consolidate: roll the old plan, in one direct transfer, into an IRA. It's usually the right answer. But if company stock is sitting in the plan, that single transfer settles this question permanently. Once the shares are inside an IRA, everything that comes out is ordinary income forever, including all the growth that could have been a capital gain. There's no repair path and no late election.

The conditions that all have to line up

NUA treatment isn't something you elect on a form later. It depends on how the distribution is done, and a handful of conditions all have to hold at once.

1

A triggering event has to have happened

Separation from service is the common one at retirement. Reaching 59 1/2, disability, or death also qualify. Without a triggering event, the rest of this doesn't apply yet.

2

The shares come out as shares

They move in kind to a taxable brokerage account. If the plan sells them and sends cash, there's nothing left to apply the rule to. This is a box on the distribution paperwork, and it's easy to miss.

3

The whole account empties in the same tax year

This is the condition people miss. The plan has to be fully distributed as a lump-sum distribution, which usually means the shares go to a taxable account and everything else rolls to an IRA, all inside one calendar year. A partial move doesn't qualify.

4

The basis gets taxed now, and you plan for that

The cost basis shows up as ordinary income on that year's return. If you're under 59 1/2, an early-distribution penalty can apply to it too, which is one of several reasons this rule and the age-55 separation provision often come up in the same conversation.

Before you sign anything that moves the account

This takes an afternoon, and it only works before the rollover:

  • Find out whether company stock is actually in the plan. Many people aren't sure.
  • Ask the plan administrator for a cost basis statement on those shares. Most people have never asked for one.
  • Compare the basis to today's value. That single ratio tells you whether this conversation is worth having at all.
  • Decide the order of moves before you sign a rollover form, because the form is the point of no return for this option.
  • If the numbers say it matters, get the specific case looked at. The pieces interact, and they only interact once.

Why using NUA isn't automatically the right call

It'd be convenient if the answer were always to use the rule. It isn't, and the reasons are ordinary rather than exotic.

Taking the basis as income lands in one year, and a large basis can push that year into a higher bracket. Income-based costs like Medicare premium surcharges look back two years, so a benefit realized slowly can be paid for quickly. The shares also leave the plan's shelter and become a single-stock position in a taxable account, and concentration is a planning question in its own right. And a capital gain rate that's zero for one household isn't zero for another: the value of the whole strategy depends on the tax picture of the years you actually sell in, and that's a projection. Projections change.

Sometimes the honest answer is that the basis is too high to bother. Running the numbers and deciding not to do it is a real outcome. This is general education, and whether any of it applies depends on your plan, your basis, and the rest of your tax picture.

Follow-Up Questions

What if the plan sells my shares and sends me cash?

Then there's nothing left to apply the rule to. NUA treatment requires the shares to be distributed in kind, as shares, to a taxable account. How the distribution is executed decides everything, which is why the paperwork deserves more attention than it usually gets.

Can I roll most of the account and keep the stock for NUA later?

The qualifying distribution generally has to empty the whole account within one tax year after a triggering event. The usual shape is shares to a taxable account and everything else to an IRA, in the same calendar year. A rollover that leaves this for later usually forecloses it.

How do I find out what my cost basis is?

Ask the plan administrator for a cost basis statement on the employer stock. It's a routine request, it's free, and the answer is the single most useful number in this whole decision.

I'm under 59 1/2. Does a penalty apply?

It can apply to the cost basis portion, which is taxed as ordinary income in the distribution year. If you separated from service in or after the year you turned 55, the age-55 exception may cover it. The two rules interact, which is a good reason to map the timing before acting.

I already rolled everything to an IRA. Is NUA still available?

Generally no. Once the shares are inside an IRA, distributions are ordinary income, including the growth. For this particular treatment there's no repair path, which is exactly why the order of moves is the decision.

Sources

One afternoon, before the point of no return

If there's company stock in your plan and a rollover on your to-do list, the sequencing question is worth settling first. An Explore Call is a short, no-pressure way to see whether this deserves a real look in your situation.

Start with an Explore Call

For discussion purposes only. This is general education about how the net unrealized appreciation rules work, not individualized tax or investment advice, and no dollar figures here describe any actual client. Whether NUA fits depends on your plan, your cost basis, and your full tax picture, so review the specifics with the right professional before anything moves.