When you quit a job with an outstanding 401(k) loan, the balance stops coming out of your paycheck and your plan will demand the rest of the money back, typically within a short window after your last day. If you can’t repay it, the unpaid amount is treated as a taxable distribution: ordinary income tax applies, and a 10% early withdrawal penalty is added if you’re under 59½. Federal law does give you a way out. You have until your tax filing deadline for that year, including extensions, to deposit an equivalent amount into an IRA or another employer’s plan and avoid the tax entirely.
How Fast You Have to Repay After You Leave
A 401(k) loan is repaid through payroll deductions. Once your paychecks stop, so does the repayment mechanism, and your plan document takes over. Most plans require the full remaining balance shortly after your last day, often within 60 to 90 days, though the exact window depends entirely on your plan’s terms.1Internal Revenue Service. Retirement Topics – Loans
The IRS does not set that deadline. It sets outer boundaries: loans generally must be repaid within five years with at least quarterly payments.2Internal Revenue Service. Plan Loan Failures and Deemed Distributions Everything else is up to the plan sponsor. A few plans allow former employees to keep making payments after separation, but it’s uncommon. Call the plan administrator before your last day and get the exact deadline, and ask whether any continued-payment arrangement is available.
If you don’t repay in time, the administrator closes out the debt by reducing your account balance by the unpaid amount and reports the transaction to the IRS on Form 1099-R.1Internal Revenue Service. Retirement Topics – Loans That’s when the tax consequences kick in, but it isn’t the end of your options.
What the Unpaid Balance Actually Costs
An unpaid balance treated as a distribution counts as ordinary income for the year the offset happens. It stacks on top of your wages and other income. A worker in the 22% federal bracket with a $10,000 unpaid balance owes $2,200 in additional federal tax on that amount alone. State income tax comes on top, at rates ranging from zero in no-income-tax states to over 13% in the highest-bracket states. It’s common for a third or more of the outstanding balance to end up with tax authorities.
If you’re under 59½ when the offset happens, the IRS also adds a 10% early distribution penalty.3Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions On a $10,000 balance, that’s another $1,000.
A few exceptions waive the 10% penalty, and one matters especially at the moment you’re leaving a job:
- Separation from service at age 55 or older. If you leave your employer during or after the calendar year you turn 55, distributions from that employer’s 401(k) are exempt from the 10% penalty. Public safety employees qualify at age 50. This exception applies to plan loan offsets treated as distributions, and it’s the one people in their mid-50s most often miss.3Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
- Total and permanent disability, under the IRS definition, regardless of age.4Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs
- Unreimbursed medical expenses above 7.5% of adjusted gross income, for the portion exceeding that threshold.4Internal Revenue Service. Topic No. 558, Additional Tax on Early Distributions From Retirement Plans Other Than IRAs
Exceptions waive only the 10% penalty. Income tax on the unpaid balance still applies.
The Rollover Deadline That Fixes the Problem
The Tax Cuts and Jobs Act of 2017 created a longer deadline for what the IRS calls a qualified plan loan offset, or QPLO. A QPLO happens when your account balance is reduced to repay your loan because you left the company or the plan terminated.5Internal Revenue Service. Plan Loan Offsets
For a QPLO, you have until your tax filing deadline for the year the offset happens, including any extension, to complete a rollover.6Office of the Law Revision Counsel. 26 USC 402 – Taxability of Beneficiary of Employees Trust If you quit in 2026 and the loan is offset that year, you have until April 15, 2027, or until October 15, 2027, with a six-month extension.5Internal Revenue Service. Plan Loan Offsets
To use the rollover, deposit cash equal to the offset amount into an IRA or another eligible retirement plan before the deadline. The money has to come from outside the plan, since the original loan proceeds are long gone. On your federal return, report the rollover on the pensions and annuities line of Form 1040, enter the full distribution, put zero as the taxable amount, and write “Rollover” next to the entry.7Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions
You don’t have to roll over the full amount. If you can only cover part of the offset, roll over what you can and pay tax on the rest. The IRS treats each dollar independently: roll over $7,000 of a $10,000 offset and you owe income tax, plus any applicable penalty, only on the remaining $3,000.5Internal Revenue Service. Plan Loan Offsets
Offset Versus Deemed Distribution
Two things that sound alike have very different consequences, and the difference decides whether you can use the rollover at all.
A plan loan offset reduces your actual account balance to close out the debt. It’s a real distribution, and it’s eligible for rollover into an IRA or another employer’s plan.8Internal Revenue Service. Retirement Plans FAQs Regarding Loans
A deemed distribution is what happens when a loan defaults, usually from missed payments, but the plan doesn’t reduce your account. The loan stays on the books, the plan still holds the assets, and the IRS treats the outstanding balance as taxable anyway. A deemed distribution cannot be rolled over.8Internal Revenue Service. Retirement Plans FAQs Regarding Loans
Your Form 1099-R shows which one you got. In Box 7, Code M identifies a qualified plan loan offset, which carries the extended rollover deadline. Code L identifies a deemed distribution, which does not.5Internal Revenue Service. Plan Loan Offsets If you’re under 59½ and no exception applies, Code 1 appears alongside Code M.9Internal Revenue Service. Instructions for Forms 1099-R and 5498 Check Box 7 when the form arrives. If you see Code L but you left employment, contact the administrator, because incorrect coding can block your ability to roll the amount over.
How to Avoid the Offset in the First Place
The cleanest outcome is not needing the rollover. If you know you’re about to leave, especially if the timing is your choice, work the problem before your last day.
- Accelerate repayment while you’re still employed. Some plans accept lump-sum payments or extra contributions against the loan. Cutting the balance in half cuts the potential tax exposure in half.
- Ask about post-separation repayment. It’s rare, but a few plans allow it. The question costs nothing.
- Use a personal loan or line of credit to fund the rollover. Converting a tax bill into fixed-rate debt often comes out ahead, since a 10% personal loan rate is cheaper than losing 30% or more of the balance to combined taxes and penalties.
- Consider a home equity line of credit. HELOC rates tend to run lower than personal loan rates. Interest on a HELOC used to repay a 401(k) loan is generally not tax-deductible, since the funds aren’t being used to buy, build, or improve your home.
Each approach has tradeoffs, and the right one depends on how much you owe, your tax bracket, and how close you are to 59½. The approach that almost never works is waiting to see how bad the tax bill is. Income tax, the 10% penalty if it applies, and decades of lost compounding usually cost far more than finding the cash to complete the rollover.