NUA Advisor Match

NUA Strategy with an Outstanding 401(k) Loan: What Happens at Retirement?

Employees who want to execute an NUA election sometimes have an outstanding 401(k) loan on the books when they retire or separate. Before you touch anything, you need to understand what happens to that loan — and whether it affects your ability to elect NUA on the appreciated employer stock.

Bottom line: An outstanding 401(k) loan does not disqualify NUA. But it adds a separate taxable event — the plan loan offset — that creates additional ordinary income, a potential 10% early withdrawal penalty, and a planning decision that is best made before you file separation paperwork, not after.

What happens to the loan at separation

When you separate from service — whether by retirement, resignation, or layoff — most 401(k) plans require any outstanding loan to be repaid promptly. If the loan is not repaid within the plan's grace period (typically 60 to 90 days, or as short as the pay-period cutoff), the plan executes a plan loan offset: the unpaid loan balance is subtracted from your account and treated as a distribution.

That offset distribution is:

The critical point: the loan offset is a separate event from the NUA election. The NUA election applies to the appreciated employer stock that remains in your account after the offset. The offset reduces your account balance but does not displace the employer stock or the NUA election itself.

Does the offset taint the lump-sum distribution requirement?

The NUA election requires a lump-sum distribution — all accounts of the same type with the same employer must be fully distributed within a single tax year (January 1 through December 31).2 If a prior distribution "taints" this requirement, NUA is disqualified. This is the source of most anxiety around outstanding loans.

The IRS answered this directly in IRS Notice 2002-3, Q&A 11: a deemed distribution or offset of a plan loan — whether it occurs in the same taxable year as or in a prior taxable year from the lump-sum distribution — does not prevent the remaining account balance from qualifying as a lump-sum distribution for NUA purposes.3

In plain terms: even if your loan was already in default and treated as a deemed distribution in a prior year, you can still elect NUA on the employer stock when you take the lump-sum distribution. And if the loan offset and the NUA distribution both happen in the same year, the combination can still constitute a qualifying lump-sum distribution.

The tax cost of the loan offset

Even though the loan offset doesn't kill NUA, it still adds real tax cost in the distribution year. The offset amount is ordinary income on top of the cost basis ordinary income from the NUA distribution itself.

Worked example: Michael, 60, separates from a large industrial company with $800,000 of employer stock in his 401(k) (cost basis: $55,000) and an outstanding loan balance of $32,000. Here's his distribution-year picture:

EventAmountTax treatment
Plan loan offset$32,000Ordinary income (penalty waived — age 60)
NUA distribution: cost basis$55,000Ordinary income at distribution
NUA distribution: employer stock in-kind$745,000 FMVNo tax at distribution
Distribution-year ordinary income$87,000Plus Michael's other income

Michael then holds the $745,000 of employer stock in his taxable brokerage account. When he sells, the $745,000 of NUA appreciation is taxed at long-term capital gains rates (15% or 20%, potentially plus the 3.8% NIIT) — not at ordinary income rates. The $32,000 loan offset adds ordinary income to the distribution year, but it does not change the NUA treatment on the $745,000 of appreciated stock.

For a loan balance of $32,000, the additional tax at a 22% marginal rate is roughly $7,000 — real, but typically small relative to the NUA benefit on a $745,000 appreciated position.

Rule of 55: waiving the 10% early withdrawal penalty on the offset

Under IRC § 72(t)(2)(A)(v), the 10% early withdrawal penalty does not apply to distributions from a 401(k) plan that are made after separation from service in the year the employee turns 55 or older (age 50 for public safety employees under plans described in § 414(d)).1 This includes the plan loan offset if it occurs in the same year as, or after, the qualifying separation.

Michael at age 60 qualifies — he owes only ordinary income tax on the $32,000 offset, not an additional $3,200 penalty.

If you separate before the year you turn 55, the 10% penalty applies to the loan offset amount. For a $40,000 loan, that's $4,000 in additional tax. This matters for early retirees and employees who accept incentive packages at 50-54. It's still rarely large enough to override the NUA benefit on a significant appreciated position — but it needs to be factored into the full analysis.

Note on the Rule of 55 and NUA: The Rule of 55 also waives the 10% penalty on the cost basis portion of the NUA distribution (the portion taxed as ordinary income at distribution). So employees separating at 55 or later avoid the penalty on both the loan offset and the cost basis — a meaningful benefit for employees taking early retirement packages. See the NUA before age 55 guide for the full penalty analysis.

The TCJA rollover extension for offset amounts

Before the Tax Cuts and Jobs Act of 2017, employees had only 60 days from the loan offset to roll over the offset amount into an IRA or new employer's plan. Most employees didn't have the cash on hand, so the offset resulted in immediate ordinary income and a potential penalty.

The TCJA changed this: under IRC § 402(c)(3)(C), a "qualified plan loan offset" — defined as an offset occurring due to severance from employment — can now be rolled over until the due date of the federal tax return (including extensions) for the year of the offset. For an offset in 2026, the extended deadline is October 15, 2027.4

This means you could contribute $32,000 in cash from outside funds to a rollover IRA by October 15, 2027, effectively replacing the offset amount and deferring the ordinary income tax.

What this is not: The TCJA extension applies to the cash offset — the loan balance. It does not interact with the NUA election. The employer stock goes in-kind to your taxable brokerage account under the NUA election, not to an IRA. Separately, if you want to roll over the non-employer-stock portion of the distribution (bonds, cash, mutual funds) to an IRA, you can do so within the standard 60-day window. The TCJA extension is specifically for the loan offset amount.

Best practice: repay the loan before distribution

If you have the cash available, repaying the 401(k) loan before initiating the NUA distribution eliminates the offset entirely. Advantages:

Timing the repayment: confirm with your plan administrator that repayment and distribution processing can be sequenced correctly. Most plans can accommodate this with 30-60 days of runway. Request written confirmation that the loan has been marked paid before you submit the distribution election form.

If the loan balance is large enough that repayment from outside funds would deplete emergency reserves or trigger other tax events (e.g., selling taxable investments), weigh the cost of not repaying (extra ordinary income + potential penalty) against the cost of repaying. For most employees, the break-even is modest — the offset amount is small relative to the NUA benefit on a large position.

Planning checklist: NUA with an outstanding 401(k) loan

  1. Confirm the loan balance. Contact your recordkeeper for the exact outstanding balance, accrued interest, and the plan's separation repayment deadline.
  2. Evaluate repayment first. If you can repay from outside funds before distribution, do so — it simplifies everything.
  3. If not repaying, determine the offset timing. Ask whether the plan processes the loan offset before, simultaneous with, or after the distribution request. Most plans offset at the time of processing.
  4. Model the combined income. Add the loan offset to your distribution-year income projection (offset + cost basis + other income sources) to assess bracket, IRMAA two-year lookback, and Social Security taxation impacts. See the NUA + IRMAA guide and the NUA + Social Security guide.
  5. Apply Rule of 55. Confirm whether the 10% penalty applies to the offset — you need to be separating in the year you turn 55 or later for the waiver.
  6. Decide on the TCJA rollover option. If the offset is large and you have cash available later, you can roll over the offset amount to an IRA by October 15 of the following year to defer the income tax.
  7. Confirm the lump-sum distribution qualification. Ask your plan administrator in writing that the loan offset does not affect lump-sum distribution eligibility. Reference IRS Notice 2002-3, Q&A 11 if any question arises.

Get an NUA specialist review before you distribute anything

An outstanding loan is one of several factors that needs to be verified before you initiate any retirement distribution. A fee-only NUA specialist will model the full tax picture — including loan offset, cost basis ordinary income, IRMAA exposure, and distribution timing — before recommending when and how to execute. Free match, no obligation.

Sources

  1. IRC § 72(t)(2)(A)(v) — Exceptions to 10% early withdrawal penalty: distributions after separation from service in the year the employee attains age 55 (age 50 for public safety employees under § 414(d)).
  2. IRS Topic No. 412 — Lump-Sum Distributions: single-tax-year requirement, qualifying triggering events, and NUA election mechanics under IRC § 402(e)(4).
  3. IRS Notice 2002-3, Q&A 11 — Deemed distribution or offset of a plan loan does not prevent the remaining account balance from qualifying as a lump-sum distribution for NUA purposes.
  4. IRC § 402(c)(3)(C) — TCJA (P.L. 115-97, 2017): qualified plan loan offsets triggered by severance from employment can be rolled over until the federal tax return due date (including extensions) for the year of the offset.

NUA is a one-shot, irreversible election under IRC § 402(e)(4). Tax rules verified against IRC, IRS Notice 2002-3, and IRS publications as of 2026. The TCJA loan offset rollover extension was enacted P.L. 115-97 (2017), codified at IRC § 402(c)(3)(C). This page does not constitute tax or legal advice — consult a qualified specialist before making any distribution decision.