He Has $600,000 of Company Stock in His 401(k) That Cost $100,000. Roll It to an IRA and All of It Is Taxed as Ordinary Income. Move the Shares to a Brokerage Account and $500,000 Gets Capital Gains Rates

Published December 5, 2026, 6:18am ET · 4 min read

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

A woman with long brown hair wearing a dark short-sleeved dress sits at a light wooden desk, facing another person whose back is to the viewer. She holds papers in her left hand and gestures with her right, appearing to speak. On the desk to the right are stacks of documents, some with charts. The background features large office windows with a blurred view of city buildings.
A professional engages in a detailed financial discussion, underscoring the value of expert advice when navigating complex monetary decisions. © Hispanolistic / E+ via Getty Images

A corporate employee approaching retirement holds employer stock in his 401(k) with a market value of $600,000 and a cost basis of $100,000. How those shares leave the plan determines whether the $500,000 gain is taxed at ordinary-income rates or at long-term capital gains rates. Once the payout starts, the whole decision has to be carried out within one taxable year[1].

If he rolls the shares into an IRA with the rest of the 401(k), the move itself is not taxed. Every dollar he later withdraws from the IRA, including the gain on the stock, is taxed as ordinary income. Moving the shares in kind into a taxable brokerage account instead triggers a different rule.

Net Unrealized Appreciation Divides the Shares Into Two Tax Treatments

Under 26 U.S.C. § 402(e)(4)(B)[1], when a lump-sum distribution includes employer securities, the net unrealized appreciation (NUA) is excluded from gross income. NUA is the net increase in the securities’ value while they were in the trust. Here, that increase is $500,000.

IRS Publication 575 (2025) explains how the rest of the transaction is taxed. The employer stock’s basis is taxed as ordinary income in the year of distribution. The NUA is generally tax free until you sell or exchange the securities. When he sells, any gain up to the NUA amount is long-term capital gain. Gain above the NUA is long-term or short-term depending on how long he held the shares after the distribution. The plan reports the deferred NUA in box 6 of Form 1099-R.

One Taxable Year and a Triggering Event Set the Window

The exclusion requires a lump-sum distribution as § 402(e)(4)(D)(i)[1] defines it. The entire balance to the employee’s credit must be paid within one taxable year, and the payout has to follow one of four events: death, reaching age 59 and a half[1], separation from service, or disability. All of one employer’s profit-sharing plans are treated as a single plan[1] for this test.

The non-stock holdings can still be rolled to an IRA in the same year. Only the employer shares go to the brokerage account.

Two Paths With the Same Pension and Different Rate Schedules

Assumptions: tax year 2026; federal income tax applies, since state tax varies; married filing jointly as the example filing status; employer stock $600,000, basis $100,000, NUA $500,000; the same pension under both paths; no growth rate assumed; no total dollar tax computed, because taxable income varies by household.

Item Roll everything to an IRA NUA path
Tax at distribution None on the rollover $100,000 basis taxed as ordinary income
The $500,000 gain Ordinary income when withdrawn, at 2026 rates of 10% to 37% Long-term capital gain when sold, at 2026 rates of 0%, 15% or 20%
Growth after the move Ordinary income when withdrawn Long-term or short-term, based on the holding period after distribution
Required minimum distributions Begin at age 75 for those with 1960 or later birth years Shares in a brokerage account are outside the IRA RMD rules
Pension Unchanged Unchanged

Pension Income Lifts Both Rate Schedules

For joint filers in 2026, the standard deduction is $32,200. The 22% bracket runs to $211,400 of taxable income, 24% to $403,550, and 32% to $512,450. Long-term gains are taxed at 0% below $98,900 of taxable income and at 15% up to $613,700. Above that, the rate is 20%.

The capital gains rate is set by taxable income, and that income includes the gain itself. A pension fills the lowest layers first. On the NUA path, a pension that already uses up the 0% range pushes the gain straight into the 15% rate. On the IRA path, withdrawals stack on top of the pension and are taxed at whatever ordinary bracket that combined income reaches. In the year of distribution, the $100,000 basis also lands on top of the pension and any final salary.

NUA Lowers the Rate on the Gain but Gives Up Deferral

The NUA path requires paying tax up front on the basis. It also leaves $600,000 in a single company’s stock until the shares are sold, and selling to diversify triggers the capital gains tax. The shares that move out lose tax deferral, so dividends and later growth are taxed in the brokerage account.

The IRA path defers all tax until withdrawal. Withdrawals can be spread across years, and IRA assets remain available for Roth conversions before RMDs begin, although every converted dollar is ordinary income.

What to Check in Your Own Case

  • The cost basis of the employer shares on the 401(k) statement, and what the plan expects to report in box 6 of Form 1099-R.
  • Whether the summary plan description allows employer shares to be distributed in kind.
  • Any other profit-sharing plan with the same employer, since all such plans count as one plan[1] for the lump-sum test.
  • Projected 2026 taxable income with the pension included, compared against the $98,900 and $613,700 capital gains thresholds.
  • The deadline: December 31 of the taxable year in which the distribution begins. The entire balance must be paid out within one taxable year[1] to qualify as a lump-sum distribution.

Contact [email protected] for any questions or corrections.

Jake FitzGerald

Jake has been been working in financial media for almost 15 years. He focuses on all things personal finance for 24/7 Wall St. with high hopes to educate and entertain. Most recently, Jake spent 12 years working various roles at The Motley Fool. He started copy editing fool.com content, worked on premium and marketing campaigns, and helped launch The Ascent, a personal finance brand.

His work has been featured on platforms like MSN, Yahoo Finance, USA Today, and more. He's written about credit cards, social security, ETFs, savings accounts, and just about anything else you can imagine when thinking about money. Jake love to cook, play golf, and tell people he's never had a cavity. (It's true!)

All articles →

Sources

  1. 26 U.S.C. § 402 — Taxability of beneficiary of employees’ trustOffice of the Law Revision Counsel, U.S. House of Representatives