Net Unrealized Appreciation: An Often-Overlooked IRS Provision for Company Stock in a 401(k)

This post is for educational purposes only. It describes an IRS provision — net unrealized appreciation — as it applies to company stock in employer-sponsored retirement plans. It is not a recommendation to pursue any particular strategy. Individual tax situations vary significantly. Investors should consult a qualified tax professional and financial advisor before making any distribution decisions.


A stock certificate and retirement account statement resting on a clean desk, representing the decision of how to handle company stock inside a 401(k) at retirement.
How company stock is distributed from a 401(k) — and the sequence in which distribution decisions are made — can affect what portion of the appreciation is taxed at ordinary income rates versus long-term capital gains rates. The NUA provision is a one-time-only opportunity that is easy to miss or inadvertently disqualify.
Image generated with AI assistance from CoPilot.

Summary — Key Points at a Glance

What this post covers

  • What net unrealized appreciation (NUA) is and how the IRS treats it
  • How the provision works in plain terms, with a side-by-side example
  • The factors that affect whether NUA may be relevant to a given situation
  • The qualifying requirements — and what disqualifies NUA treatment
  • Important nuances, including early withdrawal penalties and NIIT

The core concept

  • Company stock in a 401(k) that has grown significantly may qualify for favorable tax treatment at distribution under IRS rules
  • Instead of ordinary income tax applying to all the growth, the appreciation inside the plan — the NUA — may be taxed at long-term capital gains rates when the shares are eventually sold
  • The maximum federal long-term capital gains rate is currently 20% — compared to a top ordinary income rate of 37%
  • This is a one-time decision — once company stock is rolled into an IRA, the NUA provision no longer applies
  • IRS Notice 98-24 provides guidance on the applicable capital gains rates for NUA

For the full detail, continue reading.


The IRS Provision — In Plain Terms

When an investor leaves an employer or retires, there are several options for the balance in a 401(k): leaving it in the existing account, rolling it over into a traditional IRA, rolling it into another employer's 401(k), cashing out, or a combination of approaches. Each path carries different tax implications and should be evaluated in the context of the investor's overall financial situation.

For investors who hold company stock inside a 401(k) that has grown significantly, there is a specific IRS provision worth understanding: net unrealized appreciation (NUA).

The relevant statute is found in Section 402(e)(4) of the Internal Revenue Code, and the applicable capital gains rate guidance is provided in IRS Notice 98-24. The provision establishes that:

When qualifying company stock is distributed from a retirement plan in a lump-sum distribution, the net unrealized appreciation — the increase in value inside the plan — is excluded from gross income at the time of distribution. That appreciation is instead taxed at long-term capital gains rates when the shares are eventually sold.

The cost basis — what the plan originally paid for the shares — is taxed as ordinary income in the year of distribution. But the appreciation built up inside the plan (the NUA) is deferred and, when realized, taxed at the more favorable capital gains rate.

As IRS Notice 98-24 specifies, the NUA amount is treated as gain from the sale or exchange of a capital asset held for more than 18 months, qualifying for the applicable long-term capital gains rate — regardless of the actual holding period inside the plan.


What NUA Means in Numbers

NUA is the difference between the original cost basis of company stock inside the retirement plan and its market value at the time of distribution.

A simple illustration:

Per Share1,000 Shares
Original purchase price (cost basis)$25$25,000
Market value at distribution$130$130,000
NUA — the appreciation inside the plan$105$105,000

Under a standard IRA rollover, the entire $130,000 would eventually be taxed as ordinary income when withdrawn. Under the NUA provision — if all qualifying conditions are met — only the $25,000 cost basis is taxed as ordinary income at distribution. The $105,000 NUA is deferred and taxed at long-term capital gains rates when the shares are sold.


Two Scenarios — A Side-by-Side Comparison

The following is a hypothetical illustration only, using simplified assumptions for educational purposes. It does not represent any actual investor's situation, and actual tax outcomes will vary based on individual circumstances.

Assumptions: 1,000 shares of company stock, cost basis $25,000, current market value $130,000, NUA $105,000. The investor is in the 24% federal income tax bracket and the 15% long-term capital gains rate bracket. Shares are sold two years after distribution for $150,000. State taxes are excluded for simplicity. Distribution is assumed to occur at or after age 59½.


Scenario A: Roll All Shares Into a Traditional IRA

The company stock is rolled into a traditional IRA. Two years later, the stock is sold inside the IRA for $150,000 and the proceeds are withdrawn.

ComponentAmount
IRA withdrawal amount$150,000
Tax rate applied (ordinary income)24%
Estimated federal tax$36,000

The NUA provision does not apply once shares enter an IRA. All appreciation — both the NUA and post-rollover gains — is taxed as ordinary income upon withdrawal.


Scenario B: Lump-Sum Distribution With NUA Treatment

The company stock is distributed in-kind to a taxable brokerage account. The remaining 401(k) balance is rolled into an IRA. Shares are sold two years after distribution.

ComponentAmountRateEstimated Federal Tax
Cost basis — taxed at distribution$25,00024% ordinary income$6,000
NUA — taxed at sale$105,00015% long-term capital gains$15,750
Post-distribution gain ($150K − $130K)$20,00015% long-term capital gains*$3,000
Total estimated federal tax$24,750

Post-distribution gain taxed at long-term rates because shares were held more than one year after distribution.

In this hypothetical, Scenario B results in $11,250 less in estimated federal tax — from the same shares, sold at the same price.

Important: Scenario B requires paying tax on the $25,000 cost basis in the year of distribution — before the shares are sold. Available cash flow in the year of distribution is a relevant planning consideration.

Early withdrawal: If the distribution occurs before age 59½, a 10% early withdrawal penalty may apply to the cost basis amount in addition to ordinary income tax. The penalty does not apply to the NUA portion. This can significantly affect the analysis for investors who have not yet reached age 59½.


A Note on the Net Investment Income Tax (NIIT)

The 3.8% Net Investment Income Tax does not apply to the NUA itself — the appreciation built up inside the plan prior to distribution. However, NIIT does apply to any additional gains in the company stock that occur after distribution from the 401(k), for investors whose modified adjusted gross income exceeds the applicable thresholds ($250,000 for married filing jointly in 2025).

ComponentNIIT Applies?
Cost basis (ordinary income at distribution)No
NUA (long-term capital gains at sale)No
Post-distribution gainYes — if MAGI exceeds threshold

The Five Qualifying Requirements

IRS rules apply strictly. If any one of these conditions is not met, NUA treatment is disqualified for the entire distribution.

RequirementWhat It Means
1. Lump-sum distributionThe entire vested balance from all qualified plans of the same type with that employer must be distributed within a single tax year
2. Triggering eventDistribution must follow separation from service, reaching age 59½, total disability (self-employed workers only), or death
3. Actual sharesCompany stock must be distributed as shares — it cannot be converted to cash before the distribution
4. All plans of the same typeAll qualified plans of the same type with that employer must be included, even if only one holds company stock
5. No prior-year RMDsIf required minimum distributions were taken from this 401(k) in any prior year, NUA treatment is disqualified. Taking only the current-year RMD and then distributing the remaining balance by year-end may still qualify

Rollover timing: Rolling company stock directly into a traditional IRA — before completing the in-kind distribution to a taxable account — permanently disqualifies the NUA treatment for those shares. There is no way to reverse this once completed.


Factors Commonly Considered in the NUA Analysis

Whether the NUA provision may be relevant to a given investor depends entirely on individual circumstances. The following describes factors that commonly arise in this analysis. This is not a recommendation or a determination of suitability for any investor.

Factors that may increase potential relevance:

  • A low cost basis relative to current market value — When most of the stock's current value represents appreciation, more of the distribution qualifies for long-term capital gains treatment rather than ordinary income rates
  • A significant NUA dollar amount — The larger the absolute NUA, the greater the potential difference in tax treatment between the two approaches
  • Lower income in the year of distribution — Since the cost basis is taxed as ordinary income at distribution, a year of lower income may reduce the immediate tax impact of that component
  • A shorter anticipated holding period before selling — The longer assets remain in a tax-deferred account, the more continued deferral may offset the NUA benefit. Shorter time horizons before anticipated distribution may make the provision comparatively more relevant

Factors that may reduce relevance:

  • High income in the year of distribution — If an investor remains at peak earnings, the cost basis will be taxed at the highest ordinary income bracket, reducing the potential benefit
  • Expectation of a meaningfully lower tax bracket in the future — If future ordinary income rates are expected to be significantly lower, the value of converting NUA to capital gains rates narrows
  • A small NUA relative to cost basis — If the stock has not appreciated significantly, the tax benefit is correspondingly limited
  • Inability to cover the upfront tax on the cost basis — The ordinary income tax on the cost basis is due in the year of distribution; this is a real cash flow consideration regardless of the NUA benefit

California note: California does not recognize preferential capital gains tax rates. All capital gains — including NUA — are taxed as ordinary income at the state level. The federal benefit of NUA still applies to California residents, but the overall after-tax outcome will differ from a purely federal analysis. State-specific modeling is an important part of evaluating this approach for California residents.


How Company Stock Distribution and IRA Rollovers Can Be Structured Together

An investor does not necessarily have to choose between NUA treatment and an IRA rollover for the entire 401(k) balance.

A common structure — where all qualifying conditions are met — is:

  • Distribute the company stock in-kind to a taxable brokerage account (to preserve NUA treatment on the appreciated shares)
  • Roll the remaining non-stock balance directly into a traditional IRA (to maintain tax deferral on that portion)

This structure allows the NUA provision to apply to the stock while sheltering the remaining balance from immediate taxation. The non-stock portion in the IRA continues to grow tax-deferred.


Tax Treatment Summary After Distribution

Once company stock has been distributed to a taxable brokerage account, the following tax treatment generally applies:

ComponentWhen TaxedTax Treatment
Cost basisYear of distributionOrdinary income rates; 10% early withdrawal penalty may apply if under age 59½
NUA — appreciation inside the planYear shares are soldLong-term capital gains rates — per IRS Notice 98-24, treated as held more than 18 months regardless of actual plan holding period; NIIT does not apply
Post-distribution gainYear shares are soldLong-term capital gains if held 12+ months from distribution date; ordinary income (short-term) if sold within 12 months
NIIT on post-distribution gainYear shares are sold3.8% NIIT applies if MAGI exceeds applicable threshold — does not apply to NUA itself

Estate Planning Considerations

For investors who pass away before selling the distributed company stock, the following distinctions generally apply:

  • Post-distribution appreciation (gain after the stock left the 401(k)) may receive a step-up in basis for heirs, potentially eliminating capital gains tax on that portion
  • The NUA portion does not receive a step-up in basis — it is treated as income in respect of a decedent (IRD) and remains taxable as a long-term capital gain when heirs eventually sell the shares
  • Estate tax and, where applicable, state inheritance tax may also apply — these are separate from the income tax considerations described in this post

Questions Worth Raising With a Qualified Professional

NUA treatment is a one-time opportunity. Once company stock is rolled into an IRA, the provision no longer applies and cannot be recovered.

For investors approaching a qualifying event — retirement, separation from service, or age 59½ — the following questions are commonly relevant to raise with a qualified tax professional and financial advisor before making any distribution decisions:

  • What is the cost basis of the company stock as recorded by the plan administrator?
  • What percentage of the current market value represents NUA versus cost basis?
  • What will the investor's income and tax bracket look like in the year of the intended distribution?
  • Have required minimum distributions already been taken from this account in any prior year?
  • What does the overall retirement income picture look like — Social Security, pensions, other account withdrawals — and how does NUA interact with that picture?
  • For California residents: has the state-specific analysis been modeled separately from the federal analysis?

These questions connect to withdrawal sequencing, RMD planning, and the overall structure of retirement income — all of which are best evaluated together with a qualified professional before any distribution decision is made.


This post is for educational purposes only and does not constitute individualized investment, tax, or legal advice. The examples in this post are hypothetical and simplified for illustration purposes only — they do not represent the experience or results of any actual individual or client of Trusted Path Wealth Management, LLC. The NUA rules are complex and fact-specific. Whether they apply to a given investor's situation, and whether they are advantageous, depends on individual circumstances including account balances, cost basis, income level, expected tax rates, time horizon, state of residence, estate planning considerations, and many other factors. Tax rates, laws, and regulations are subject to change and may differ materially from those described in this post. California does not recognize preferential capital gains rates; the NUA analysis for California residents will differ from the federal analysis described in this post. A 10% early withdrawal penalty may apply to the cost basis component of a distribution taken before age 59½; investors should consult a tax professional regarding their specific situation. References to IRS Notice 98-24 are for informational purposes only; investors should consult the notice directly and discuss its applicability with a qualified tax professional. We do not provide tax preparation services. Please consult a qualified tax professional and financial advisor regarding individual circumstances before making any distribution or rollover decisions. Advisory services offered through Trusted Path Wealth Management, LLC, an investment adviser registered with California. Registration does not imply a certain level of skill or training.

Frequently Asked Questions

  • What is net unrealized appreciation (NUA)?

    NUA is the increase in value of company stock from the time it was purchased inside a retirement plan to the time it is distributed to the plan participant. For example, if company stock was purchased at $20 per share inside a 401(k) and is now worth $80, the $60 increase is the NUA. Under IRS rules, that appreciation may be taxed at the long-term capital gains rate — not at ordinary income rates — when the shares are eventually sold. Guidance on the applicable capital gains rates for NUA is provided in IRS Notice 98-24.

  • What are the requirements to use NUA treatment?

    A lump-sum distribution is required — meaning the entire balance of all qualified plans of the same type with that employer must be distributed within a single tax year. The triggering event must be one of four things: separation from service, reaching age 59½, total disability (for self-employed workers only), or death. The company stock must be distributed as actual shares — not converted to cash before distribution. And if required minimum distributions were already taken from that 401(k) in prior years, NUA treatment is disqualified.

  • Is any tax owed upfront when using the NUA approach?

    Yes. When the lump-sum distribution is taken, the cost basis of the company stock — what the plan originally paid for the shares — is taxed at ordinary income rates in the year of distribution. If the distribution occurs before age 59½, a 10% early withdrawal penalty may also apply to the cost basis amount. The NUA itself is not taxed at that point; it is taxed at long-term capital gains rates when the shares are eventually sold.

  • What happens to gains in the stock after the distribution?

    Any additional appreciation after the distribution date is taxed separately based on the holding period from the distribution date. If the shares are held for more than one year before selling, the additional gain is taxed at the long-term capital gains rate. If sold within one year, the additional gain is taxed as short-term capital gains at ordinary income rates.

  • Does rolling company stock into an IRA affect NUA treatment?

    Yes — and this is a critical point. If company stock is rolled directly into a traditional IRA, the NUA tax provision is permanently lost. All future withdrawals from the IRA — including all appreciation — would be taxed as ordinary income. The NUA decision must be made before any rollover is completed.

  • Does this apply to California residents?

    Yes, though California does not recognize preferential capital gains rates — the state taxes capital gains as ordinary income. For California residents, the federal capital gains benefit still applies, but the state tax analysis will differ from the federal analysis. This makes the NUA evaluation more complex for California residents and underscores the importance of working with a qualified tax professional.

About the Author

Hardik Patel is the founder of Trusted Path Wealth Management, LLC, a fee-only firm based in Santa Rosa, California. The firm provides personalized financial planning and investment management services with a focus on transparency, simplicity, and long-term clarity. As a fiduciary, the firm never earns commissions, ensuring every recommendation is made with your best interest in mind.