Company stock in a 401(k) can qualify for lower capital-gains tax rates

Image Credit: Unknown author/

Workers who spent a career accumulating their employer’s stock inside a 401(k) face a tax decision most retirees never encounter. A provision called net unrealized appreciation lets that company stock leave the plan and have most of its value taxed at long-term capital-gains rates — which are lower than the ordinary-income rates that otherwise apply to every dollar pulled from a traditional retirement account. For an employee sitting on shares that multiplied over decades, the difference between the two tax treatments can run into tens of thousands of dollars. The rule is narrow and easy to forfeit, which is why it tends to matter most in the weeks around retirement, when a large stock balance and an irreversible payout decision arrive at the same time.

How net unrealized appreciation splits the tax bill

The strategy works by dividing the employer stock into two pieces: what it cost when it went into the plan, and how much it grew afterward. Under the IRS rules for lump-sum distributions, that growth — the net unrealized appreciation, or NUA — is generally not taxed when the shares come out of the plan. Instead, only the original cost basis is taxed at distribution, as ordinary income. The appreciation is taxed later, at long-term capital-gains rates, when the shares are finally sold.

That split is the entire advantage. A normal 401(k) withdrawal is taxed as ordinary income on every dollar, at rates that reach 37% for high earners. Long-term capital-gains rates top out at 20%. Shifting the bulk of a concentrated stock position from the first column to the second is what makes the maneuver worth the trouble for the narrow group of savers who hold heavily appreciated company shares.


Free retirement updates: Miss an enrollment or claim deadline and it may be gone. Our free Retirement Shield newsletter keeps readers ahead of the ones that matter. Get the free newsletter.

The lump-sum rules that make or break it

The break is not available on demand. It applies only to a qualifying lump-sum distribution, which the IRS defines as the payout of a participant’s entire balance from all of the employer’s plans of one kind within a single tax year, triggered by one of four events: the participant’s death, reaching age 59-1/2, separating from service, or, for the self-employed, becoming totally and permanently disabled. The employer stock must be taken in kind — moved as actual shares into a taxable brokerage account — while the rest of the plan can be rolled into an IRA in the same year. The payer reports the appreciation in box 6 of the Form 1099-R, and the participant can either let the NUA sit untaxed until the shares are sold or elect to include it in income in the year of the distribution.

Miss any of those conditions and the opportunity disappears. Spreading the distribution across two tax years, selling the shares inside the plan first, or rolling the stock into an IRA all forfeit the treatment. Once employer stock lands in an IRA, its appreciation loses the capital-gains character permanently, and every later withdrawal is taxed as ordinary income like any other retirement distribution.

When the math favors capital-gains treatment

The calculation turns on the spread between the stock’s cost basis and its current value. The strategy pays off most when the shares have appreciated dramatically relative to what they cost inside the plan, because the taxpayer prepays ordinary-income tax only on the small basis and defers the large gain to the lower capital-gains rate. It also favors someone in a high ordinary-income bracket now who expects to sit in a lower capital-gains bracket when the shares are eventually sold. When the basis is high relative to the appreciation — a stock that entered the plan already expensive and grew only modestly — the upfront ordinary-income tax can outweigh the benefit, and a straightforward rollover into an IRA leaves the retiree better off.

There is also a risk that has nothing to do with taxes. Keeping a large block of a single employer’s stock concentrates a retiree’s savings in one company, the same company that already paid the paycheck. The tax saving is real, but it is only worth capturing if the underlying holding is one the owner is comfortable keeping. Because the rules are unforgiving and the triggering event usually happens just once, the decision is typically made in the narrow window around leaving a job or turning 59-1/2 — a moment when a wrong move cannot be undone.

How the appreciation is taxed when the shares are sold

A quirk in the rules works in the retiree’s favor at the sale. The net unrealized appreciation is automatically treated as a long-term capital gain whenever the shares are eventually sold, no matter how briefly they were actually held after leaving the plan. Someone who takes the stock in kind and sells it a week later still pays the lower long-term rate on the plan-era appreciation rather than the higher short-term rate a one-week holding would normally trigger. Any additional gain that builds up after the distribution, though, follows the ordinary holding-period clock: sold within a year of the distribution, that new growth is a short-term gain taxed as ordinary income; held longer, it too qualifies as long-term.

Two costs deserve attention before committing. The basis that is taxed as ordinary income at distribution can also be exposed to the 10% early-withdrawal penalty if the retiree is under 59-1/2 and no exception applies, because that portion counts as a taxable retirement distribution. And unlike ordinary appreciated stock held in a brokerage account, employer shares distributed under net unrealized appreciation do not receive a stepped-up basis at the owner’s death. The built-in appreciation is treated as income in respect of a decedent, so an heir who inherits the shares still owes capital-gains tax on it — making these shares one of the few appreciated assets that does not shed its embedded gain at death.

This article was produced with the assistance of artificial intelligence and reviewed by The Financial Wire editorial team.

More Financial Reading

Leave a Reply

Your email address will not be published. Required fields are marked *