If you get laid off with an outstanding 401k loan, your former employer’s plan will almost certainly require you to repay the full balance within a short window after your last day, and if you can’t, the unpaid amount is offset against your account balance and treated as a taxable distribution. That distribution is added to your income for the year and, if you’re under 59½, generally hit with an extra 10% penalty. Federal law gives you a way out: deposit an equivalent amount into an IRA or a new employer’s 401k by your tax filing deadline, and the offset is treated as a tax-free rollover instead.
How Soon You Have to Repay
While you’re employed, a 401k loan runs on a five-year repayment schedule with at least quarterly payments, with a longer term allowed for loans used to buy a primary residence. Once you separate from service, the plan’s own rules take over. The IRS doesn’t set a single federal deadline, so the window depends on how your plan document is written.1Internal Revenue Service. Retirement Topics – Plan Loans
Some plans give you 30 days. Some allow 90. A few let former employees keep paying by personal check or ACH transfer. Your summary plan description spells out the exact rules, and the plan administrator can confirm the deadline. Check right away, because the clock starts whether you’re paying attention or not.
What the Plan Does If You Don’t Repay
Two different things can happen to an unpaid loan after separation, and the difference decides whether you can still fix it.
A plan loan offset is when the plan reduces your account balance to settle the loan. It typically happens when you leave your job and don’t repay in time, or when the plan itself terminates. The offset amount is treated as an actual distribution, which means you can roll it over into an IRA or another employer’s plan.2Internal Revenue Service. Retirement Plans FAQs Regarding Loans When the offset is specifically caused by severance from employment or plan termination and the loan was in good standing, it’s a “qualified plan loan offset” (QPLO), which comes with a longer rollover deadline.
A deemed distribution under IRC Section 72(p) is different. This happens when you default on payments while the loan is still technically outstanding, such as missing scheduled payments beyond the plan’s cure period. A deemed distribution cannot be rolled over at all.2Internal Revenue Service. Retirement Plans FAQs Regarding Loans You owe the taxes and there is no escape hatch.
Plan administrators report offsets with Code M on Form 1099-R and deemed distributions with Code L, so you can verify which event happened when your tax documents arrive.3Internal Revenue Service. Instructions for Forms 1099-R and 5498 For most people laid off with a loan balance, the plan closes out the loan through an offset, which means the rollover option below is available.
What It Costs If You Do Nothing
If you don’t roll over the offset, the unpaid balance becomes taxable income for the year. It stacks on top of whatever you earned before the layoff. Someone with a $15,000 loan balance who earned $45,000 in wages could see the extra $15,000 push part of their income from the 12% bracket (which covers income up to $50,400 for single filers in 2026) into the 22% bracket.4Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026
The 10% Early Withdrawal Penalty
If you’re under age 59½ when the offset occurs, the IRS adds a 10% early distribution penalty on top of the ordinary income tax.5Office of the Law Revision Counsel. 26 USC 72 On a $20,000 balance, that’s $2,000 to the federal government before any state tax. Combined federal income tax and the penalty can easily consume 30% or more of the loan balance.
The Age 55 Exception
If you separate from service during or after the calendar year you turn 55, the 10% penalty does not apply to distributions from that employer’s qualified plan, including loan offsets. Public safety employees get this break starting at age 50.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions You still owe income tax, but eliminating the penalty on a $20,000 balance saves $2,000. The exception is limited to employer plans. If you’ve already rolled your 401k into an IRA before the offset, this protection is gone.
No Automatic Withholding on an Offset
An offset by itself does not trigger the 20% mandatory withholding that applies to most 401k cash distributions. If the only distribution is the offset amount with no additional cash paid out, no withholding is required. That creates a cash-flow problem: you owe income tax on the full amount with nothing already set aside. If you receive a cash distribution alongside the offset, the 20% withholding applies to the combined total but is deducted entirely from the cash portion.7Internal Revenue Service. Plan Loan Offsets
How to Avoid the Tax Hit
Replace the offset amount by depositing equivalent funds into an IRA or a new employer’s 401k. When you do that, the IRS treats the event as a tax-free rollover, and the 10% penalty doesn’t apply either.7Internal Revenue Service. Plan Loan Offsets
How Long You Have
If your offset qualifies as a QPLO (caused by severance from employment or plan termination, with the loan in good standing), the deadline to complete the rollover is the due date of your federal income tax return for the year of the offset, including extensions. A six-month extension pushes that to October 15 of the following year.7Internal Revenue Service. Plan Loan Offsets Even without an extension, an automatic six-month window may be available under Treasury Regulation Section 301.9100-2(b).
The extended deadline covers the QPLO portion only. Any cash distribution paid alongside the offset is still subject to the standard 60-day rollover window.7Internal Revenue Service. Plan Loan Offsets
You Can Roll Over Part of It
You don’t have to replace the entire balance. If your QPLO was $12,000 and you can only scrape together $8,000, rolling over the $8,000 means only $4,000 is treated as a taxable distribution. Tax and penalty apply only to the unreplaced portion. Every dollar you roll over avoids both.
Where the Money Goes
You can roll into a traditional IRA at any brokerage or into a new employer’s 401k that accepts rollover contributions.1Internal Revenue Service. Retirement Topics – Plan Loans The receiving institution reports the rollover to the IRS on Form 5498. On your tax return, you report the distribution from the original plan and designate the rolled-over amount as a nontaxable rollover.
The hard part is finding the cash while unemployed. Savings, a family loan, or a short-term personal loan can serve. The math usually favors borrowing temporarily at a personal loan rate over permanently losing 25% to 35% of the balance to taxes and penalties.
A New Employer’s Plan
If you land a new job quickly and the new 401k accepts incoming rollovers, you can move the offset amount there instead of opening an IRA. Some people take a new 401k loan from the new plan to generate the cash to cover the old offset, though that only works if the new plan permits loans and you’re eligible right away.
If the Loan Was for a Home Purchase
401k loans used to buy a primary residence can have repayment terms longer than five years, but the longer term doesn’t shield you when you lose your job. The plan can still demand full repayment on separation, and the offset and tax rules work the same way.1Internal Revenue Service. Retirement Topics – Plan Loans Because home-purchase loans tend to be larger, the tax consequences of an unrolled offset are often bigger too.
If You’re Called to Active Military Duty
Under USERRA, plans can suspend loan repayments during the period of military service. When you return and are rehired, you resume payments at the pre-service frequency and amount, and the maximum repayment term is extended by the length of your service. Interest accrued during the military period is capped at 6%, but you have to provide a copy of your military orders to the plan sponsor and request the reduced rate.8Internal Revenue Service. Retirement Plans FAQs Regarding USERRA and SSCRA
Don’t Forget State Tax
Most states with an income tax also tax 401k distributions, including loan offsets. Rates on retirement distributions run from zero in no-income-tax states to 13.3% at the top. A few states exclude some retirement income or offer partial exemptions, but those breaks often carry age or dollar thresholds a younger laid-off worker won’t meet. No state imposes a separate early withdrawal penalty on top of the federal 10%, but state income tax alone can add several thousand dollars to a large offset.
Between federal tax, the 10% penalty, and state tax, failing to roll over a $20,000 loan offset can cost anywhere from $4,000 to $8,000 or more depending on bracket and location. Whatever you can move into an IRA or a new plan before the filing deadline stays in retirement, and stays untaxed.