Leaving a Job With a 401(k) Loan? The Tax Rule You Need to Know

A job change can turn an ordinary 401(k) loan into a tax decision. The key is knowing the difference between repaying the loan, a plan loan offset, and the special rollover deadline that may apply after you leave.

Why this is Money Now

401(k) loans are often explained as simple payroll loans that you “pay back to yourself.” That description leaves out the moment when the risk changes: leaving the employer. Recent retirement coverage has renewed attention on this issue, but the tax rule is often oversimplified. The practical question is not just whether the loan becomes due. It is what your plan does next, whether an offset occurs, and whether you can preserve the tax deferral.

Short version: If you leave a job with an outstanding 401(k) loan, check your plan immediately. Some plans may let you continue paying; others may require repayment or reduce your account by the unpaid balance. If that reduction is a qualified plan loan offset caused by your separation from service, you may have until the federal income-tax return due date for that tax year — including extensions — to replace the offset amount through an eligible rollover. If you do not, the taxable portion generally becomes income, and an additional 10% early-distribution tax may apply unless an exception does.

First, separate three different events

The most useful way to understand a 401(k) loan after a job change is to stop treating every unpaid loan as the same event. The IRS distinguishes among an ordinary loan that is still being repaid, a deemed distribution caused by a loan that fails the tax rules, and a plan loan offset that reduces your retirement-plan balance to satisfy the unpaid loan.

Leave employer→Check plan terms→Repay, continue, or offset

A deemed distribution and a plan loan offset are not interchangeable. A deemed distribution generally is not eligible for rollover. A plan loan offset is treated as an actual distribution for rollover purposes and may be eligible for rollover. That distinction is why reading your plan notice matters.

What can happen when you leave the job?

Your employer's plan document controls many of the operational details. Federal tax law does not require every plan to offer loans in the first place, and plans can differ in how they handle repayments after employment ends.

  • The plan may allow repayment to continue. If so, follow the plan's instructions and payment schedule carefully.
  • You may be allowed or required to repay the remaining balance. Paying it off avoids a later offset on that amount.
  • The plan may offset the unpaid balance against your account. In that case, the account is reduced by the unpaid loan amount. The tax question then becomes whether that offset qualifies for rollover treatment and whether you replace it by the deadline.
Terra takeaway

Do not assume “I left the job, so I have 60 days.” The correct deadline depends on what actually happened to the loan. A qualified plan loan offset caused by severance from employment can receive a longer rollover window than the ordinary 60-day rule.

The special rollover rule after separation from service

The IRS says that when a plan loan in good standing is offset because the employer plan terminates or because the worker separates from service, the offset can be a qualified plan loan offset. Instead of the usual 60-day rollover period, an eligible rollover can generally be completed by the due date — including extensions — for the federal income-tax return for the tax year in which the offset occurs.

That wording matters. The clock is tied to the year of the offset, not simply the last day you worked.

There is also a practical catch: the offset itself does not hand you cash. To complete the rollover, you generally need to contribute an amount equal to the eligible offset to an IRA or another eligible retirement plan using money from somewhere else. In other words, the tax law may give you more time, but it does not create the replacement cash.

A $30,000 example

Assume you leave your employer in 2026 with a $30,000 outstanding loan from a traditional pretax 401(k). Assume the plan later offsets the full $30,000 because of your separation from service, and assume the offset qualifies for the special rule.

Illustrative paths
Repay / continue under plan$0Immediate offset in this example
Offset + replace via rollover$30,000Tax deferral can generally be preserved
Offset + no replacement$30,000Potential taxable distribution

Actual plan rules, tax treatment and deadlines vary. This example assumes the full loan is pretax and does not account for state tax.

If you do not replace the eligible $30,000 offset, the taxable portion generally becomes income. At a hypothetical 22% federal marginal rate, that is about $6,600 of federal income tax. If the 10% additional early-distribution tax also applies, that could add another $3,000, for roughly $9,600 of federal tax in this simplified example before any state tax.

That is not a prediction of anyone's actual bill. Marginal tax rates, other income, Roth amounts, basis, state taxes and exceptions can change the result.

When might the extra 10% tax not apply?

Most taxable retirement-plan distributions before age 59½ can be subject to an additional 10% tax, but the tax code includes exceptions. One especially relevant exception applies to qualified-plan distributions after separation from service when the separation occurs during or after the calendar year in which the employee reaches age 55. Certain public-safety employees have a separate age-50 rule.

That exception does not make the distribution tax-free. It can remove the additional 10% tax while ordinary income tax may still apply to taxable amounts. The exact facts matter, so this is a place to confirm treatment with the plan administrator and, when needed, a tax professional.

Why the rollover deadline is easy to misunderstand

Two similar-looking situations can have very different rollover rights:

  • Qualified plan loan offset after separation: potentially the extended tax-return deadline, including extensions.
  • Loan failure for another reason: the special extended deadline may not apply; the normal rollover rules or deemed-distribution rules may control instead.

This is why “my 401(k) loan defaulted” is not enough information to determine the tax result. You need the plan's description of what occurred and the Form 1099-R treatment.

Before you retire, quit, or change employers, check these five things

  1. Your current payoff balance. Get the exact amount, not the original loan amount.
  2. Your plan's post-employment loan policy. Ask whether payments may continue from a bank account, whether full repayment is required, and when an offset would occur.
  3. The expected offset date. The tax year of the offset determines the special rollover deadline if the offset qualifies.
  4. Your available replacement cash. If an offset occurs, preserving tax deferral may require outside cash equal to the eligible offset amount.
  5. Your age and possible exceptions. Age 59½ and the separation-from-service age-55 rule can materially change whether the additional 10% tax applies.

Should you drain other savings just to avoid the tax?

Not automatically. This is a household-balance-sheet decision, not simply a tax-minimization contest. Using emergency savings to replace a 401(k) loan offset may preserve retirement tax deferral, but it can also leave you short of cash during a job transition. Borrowing at a high interest rate to replace the offset can create a different problem.

Compare the tax cost of allowing the offset to remain taxable with the liquidity cost and borrowing cost of replacing it. If severance, a bonus, taxable savings or other resources are available, the tradeoff may be different than it is for someone whose emergency fund is already thin.

The decision test

Ask three questions: What tax would I actually owe if I do nothing? What cash would I have to give up to preserve the retirement balance? And what financial risk does that cash protect me from during the job transition?

What should you do first?

If you currently have a 401(k) loan and expect to retire or leave your employer, the first call is usually to the plan administrator — before your last day if possible. Ask for the written loan policy and specifically ask what happens to the outstanding balance after separation.

If an offset has already happened, identify the offset date, the amount, and whether the plan describes it as a qualified plan loan offset. Then determine the applicable federal tax-return deadline and whether an eligible rollover is still possible.

Go deeper with Terra

Put the loan decision in the rest of your retirement plan.

A 401(k) loan should not be evaluated in isolation. These Terra tools and guides help you check contributions, account choices and retirement income around the job change.

Primary and supporting sources

  1. Internal Revenue Service — Retirement plans FAQs regarding loans. Explains plan loan offsets, deemed distributions and the extended rollover deadline for certain offsets after severance from employment.
  2. Internal Revenue Service — Plan loan offsets. Technical guidance on when an unpaid participant loan reduces a plan account and is treated as an actual distribution.
  3. Internal Revenue Service — Topic No. 413: Rollovers from retirement plans. Covers the ordinary 60-day rollover rule and the longer deadline for a qualified plan loan offset.
  4. Internal Revenue Service — Exceptions to tax on early distributions. Includes the age-59½ rule and the separation-from-service exception beginning in the year a qualified-plan participant reaches age 55.
  5. Internal Revenue Service — 401(k) Resource Guide — general distribution rules. Background on plan loans, borrowing limits and repayment requirements.

Educational information only. Money Now explains general financial concepts and current developments; it is not individualized investment, tax, legal or retirement advice. Plan terms and individual tax circumstances can change the result.

Help improve TerraWas this explanation useful?

One click helps Terra decide which Money Now topics deserve deeper follow-up.

← Back to Money Now