401(k) Net Unrealized Appreciation: Turn Company Stock Into Capital Gains Tax Rates
It is possible to get capital gains tax treatment on the employer stock in your 401(k). This is a provision that often surprises my clients during our retirement and tax planning conversations.
The strategy takes advantage of a concept called net unrealized appreciation (NUA), and I've found most people are unaware of it. That is not because it is a complicated or 'grey area' tax planning strategy. It is because it only applies to a specific situation, there are some pitfalls, and a lot of financial advisors and tax preparers rarely encounter it in practice.
This article walks through what NUA is, when it might make sense for you, situations where it should be avoided, and the specific steps to execute it correctly. If you have company stock sitting inside a 401(k), I hope this article is helpful as you consider your retirement tax planning.
What Is Net Unrealized Appreciation?
Net unrealized appreciation is the difference between what you paid for employer stock inside your 401(k) and what that stock is worth today. For example, your plan bought shares of your company for $100,000 over the years and those shares are now worth $500,000, your net unrealized appreciation is $400,000.
Under normal circumstances, when you take money out of a traditional 401(k), all of it is taxed as ordinary income, no matter how it grew. You enjoyed tax-deferral during your working years and withdrawals will be at your ordinary income tax rate, which can be as high as 37 percent under current law.
The NUA rule, found in Internal Revenue Code Section 402(e)(4) and clarified further in IRS Notice 98-24, creates an exception specifically for employer stock. If you distribute that stock in-kind, meaning you move the actual shares rather than cash, out of your 401(k) into a regular taxable brokerage account, something unusual happens. You pay ordinary income tax immediately on the cost basis, which is what the shares actually cost the plan to acquire. But the appreciation, the growth on top of that basis, is taxed at long-term capital gains rates whenever you eventually sell the shares, regardless of how long you personally held them after the distribution.
That last part is worth repeating because it surprises people. Even if you sell the stock the same afternoon it leaves the 401(k), the appreciation still qualifies for long-term capital gains treatment. IRS Notice 98-24 confirms that the net unrealized appreciation is always taxed at long-term capital gains rates, regardless of how long the stock was actually held inside the plan.
Given the gap between ordinary income tax rates and long-term capital gains rates, the NUA strategy can be a significant tax savings.
Ordinary Income vs. Capital Gains
For 2026, long-term capital gains rates are 0 percent, 15 percent, or 20 percent, depending on your taxable income. Above certain income thresholds, an additional 3.8 percent net investment income tax applies on top of the capital gains rate, bringing the effective top rate to 23.8 percent in some cases (U.S. Tax Tools, 2026 Capital Gains Tax Rates). Ordinary income tax rates, by contrast, run from 10 percent up to 37 percent for the highest earners.
That means a dollar of NUA gain taxed as a long-term capital gain could be taxed at roughly half the rate of a dollar taxed as ordinary income, or less, depending on your bracket. On a stock position with hundreds of thousands of dollars in appreciation, that rate difference can have a significant impact on your after-tax retirement cash flow.
A Simple Example
Let's say you have worked at a public company for twenty years and contributed to an employee stock purchase arrangement inside your 401(k) along the way. The plan's cost basis in that stock is $100,000. Today, those shares are worth $500,000. Your net unrealized appreciation is $400,000.
If you retire and simply roll the entire 401(k), including the stock, into a traditional IRA, you have locked in continued tax-deferral and ordinary income treatment upon distribution. Every dollar you eventually withdraw, including that $400,000 of appreciation, gets taxed as ordinary income when it comes out. For simplicity, say you needed to withdrawal those funds all at once (unlikely, but for the example) and are in the 32 percent bracket at that time. That would generate roughly $128,000 in federal tax on the appreciation and $32,000 on the 'basis', not counting state tax or the impact of pushing other income into higher brackets.
Now compare that to the NUA approach. You elect to distribute the stock in-kind to a taxable brokerage account instead of rolling it into an IRA. You immediately owe ordinary income tax on the $100,000 cost basis. At a 32 percent marginal rate, that is $32,000 due in the year of distribution. The remaining $400,000 of appreciation is not taxed at all until you sell the shares, and when you do sell, it is taxed at long-term capital gains rates. If you are in the 15 percent long-term capital gains bracket, that is $60,000 in tax, compared to the $128,000 you would have owed under the ordinary income scenario.
The NUA strategy saves roughly $68,000 in federal tax! That is probably overstated for the typical taxpayer as it is unlikely you would distribute from your IRA immediately and all at once, but it is a significant savings none the less. Consider this example an extreme illustration to make the point rather than comprehensive and specific.
The Specific Requirements to Qualify
To use NUA treatment, three conditions generally need to be met.
First, the distribution has to be a lump sum distribution of your entire 401(k) balance, not just the stock portion. This means the whole account, including any cash, mutual funds, and other holdings, needs to be distributed within a single tax year, following a triggering event such as separation from service, reaching age 59 and a half, disability, or death.
Second, a triggering event actually needs to occur. You cannot execute an NUA strategy while you are still actively employed and simply want to move stock out of the plan.
Third, the employer stock has to be distributed in-kind, as actual shares, into a taxable brokerage account, not sold within the plan and distributed as cash. The moment it is sold inside the plan, the NUA benefit is gone.
There is also a technical nuance around what counts as basis. If your plan allowed you to buy company stock at a discount through payroll deductions, the discount itself may be treated differently. A tax professional familiar with NUA rules should review your specific plan documents and cost basis records before you proceed.
The Pros of Using NUA
The primary advantage is the rate arbitrage described above. Converting a large chunk of what would be ordinary income into long-term capital gains can meaningfully reduce your lifetime tax bill, particularly if you expect to be in a high tax bracket during retirement or if you have a large embedded gain relative to your basis. This is extra money you can use on your retirement lifestyle, family, charity, and whatever you value.
NUA can also help you avoid required minimum distribution complications. Once the stock is out of the 401(k) and into a taxable account, it is no longer subject to RMD rules from that plan. This can give you more control over the timing of when you realize gains.
The stock can used as collateral in a portfolio based loan, although I am not a big fan of this type of borrowing.
There could be some giving and estate benefits as well. Shares held in a taxable account may allow for more flexible charitable giving strategies, such as donating appreciated shares directly to a donor advised fund or qualified charity, which can avoid capital gains tax entirely on the donated portion. Growth that happens after the NUA distribution (but not the basis, or the growth from before the distribution) is eligible for a step-up in basis after death.
The Cons and the Risks
Like most tax planning strategies, NUA is a trade-off.
The most immediate downside is the tax bill due in the year of distribution. You owe ordinary income tax on the entire cost basis right away, in cash, even though you have not sold anything yet. If you do not have other funds available to pay that tax bill, you may be forced to sell some of the shares immediately, which reduces the benefit of the strategy and can push you into a higher bracket in the same year you are also dealing with severance, bonuses, or other income from a job transition.
Concentration risk should be considered. If your employer stock is a large percentage of your net worth, you may want to consider diversifying. The future performance of the company you just left should not determine your retirement success.
The strategy also loses much of its appeal if the appreciation is small relative to the basis. If your company stock has only grown modestly, the tax savings from NUA treatment may not be worth giving up the simplicity, protection, and diversification benefits of an IRA rollover. NUA works best when there is substantial appreciation.
Some states do not conform to federal treatment of NUA, or tax capital gains and ordinary income at the same rate, which can reduce or eliminate the benefit depending on where you live and where you plan to retire. For example, in my home state of Washington there is a capital gains tax on NUA sales, but no income tax on IRA distributions (yet). In this case the NUA could be taxed in Washington as a capital gain, whereas the IRA or 401(k) distribution (ordinary income) would not!
Finally, once shares are in a taxable account, they lose the tax deferred growth that a retirement account provides going forward. Future dividends are taxable in the year received, and you no longer have the shelter of tax deferred compounding on that portion of your portfolio.
401(k)s and IRAs have certain protections against creditors that taxable brokerage accounts do not.
Alternatives to Consider
Before committing to NUA, it is worth understanding the other paths available, because NUA is not an all or nothing decision. These are some of the alternatives I like to consider with my hourly financial planning clients:
Roll the entire 401(k) into an IRA. This is the default and simplest choice. It preserves tax deferral, avoids an immediate tax bill, and lets you diversify the underlying holdings inside the IRA without triggering current taxation. For people whose company stock has not appreciated significantly, or who are not comfortable with concentration risk, this is often the wisest route.
A partial NUA strategy. You are not required to apply NUA treatment to the entire stock position. Some investors elect NUA on a portion of the shares, perhaps the lots with the largest embedded gains, while rolling the rest, along with any cash and other fund holdings, into an IRA. This can reduce the immediate tax bill while still capturing meaningful savings on the shares with the most appreciation.
Roth conversion planning. In some cases, particularly for people with a gap year of lower income between jobs, a partial Roth conversion of the non-stock portion of the 401(k) might make more sense than either an IRA rollover or an NUA election, depending on your bracket in the conversion year versus your expected bracket in retirement.
Selling and diversifying immediately after distribution. If you do use NUA but you are concerned about concentration risk, nothing requires you to hold the shares indefinitely. You can sell some or all of the position soon after distribution, pay the long-term capital gains tax on the appreciation, and reinvest the proceeds into a diversified portfolio. You still capture the NUA rate benefit on whatever appreciation existed at the time of distribution, even if you diversify shortly afterward.
Implementing the Net Unrealized Appreciation Strategy
If, after weighing the pros and cons, NUA looks like it could be a fit, here is generally how the process unfolds.
First, confirm you have a qualifying triggering event, such as separation from your employer, reaching age 59 and a half while still employed if your plan allows in-service distributions, disability, or death of the account holder.
Second, request a complete accounting of your 401(k) from the plan administrator, including the specific cost basis of the employer stock held inside the account. This figure is critical and should come directly from plan records, not an estimate.
Third, model the numbers. Compare the tax cost of the NUA election against the tax cost of a full IRA rollover, factoring in your current bracket, your expected future bracket, your state of residence, and whether you have the cash available to pay the tax due on the basis. Having an estimate of your retirement income needs on a year by year basis helps tremendously with this calculation.
Fourth, if you proceed, instruct the plan administrator to distribute the entire 401(k) as a lump sum within the same tax year. The employer stock should be moved in-kind directly into a taxable brokerage account. Any remaining cash or other investments in the plan can be rolled over to an IRA as part of the same lump sum distribution without disqualifying the NUA treatment on the stock.
Fifth, in the year of the distribution, you will owe ordinary income tax on the cost basis of the shares. This typically shows up on a Form 1099-R from the plan, and you will want to plan for that tax liability, potentially through estimated tax payments, so it does not create a surprise the following April.
Sixth, going forward, any future appreciation on the shares after the distribution date is treated as a separate capital gain, and whether it is short term or long term depends on how long you hold the shares after the distribution, not before. Only the appreciation that existed at the time of distribution gets the automatic long-term treatment.
The Bottom Line
Net unrealized appreciation is one of the more powerful, and more overlooked, provisions in the tax code for people who have built up substantial company stock inside a 401(k). Used correctly, it can shift a large chunk of future tax liability from ordinary income rates down to long-term capital gains rates, which can mean real savings over the course of retirement.
NUA is not a strategy to execute on a whim. It requires precise timing, a full lump sum distribution, accurate cost basis records, and honest thinking about concentration risk and your own comfort holding a large single stock position. Getting any of the mechanics wrong, such as selling the shares inside the plan before distribution, can disqualify the entire strategy.
If you are approaching a separation from an employer where you hold company stock in your 401(k), this is exactly the kind of decision worth running by a professional before you sign any distribution paperwork, since the choice is generally irreversible once made. An hourly financial advisor can walk through the specific numbers with you, model the trade-offs against your full financial picture, and help you decide whether NUA, a full rollover, or some blend of the two makes the most sense, without requiring you to hand over management of your entire portfolio to get that guidance.
This article is for educational purposes only and does not constitute tax, legal, or investment advice, nor is it a recommendation to buy, sell, or hold any specific security, including employer stock. Tax laws are subject to change. Please consult a qualified tax professional and financial advisor regarding your individual circumstances before making decisions about your 401(k) or employer stock.



