You're changing jobs, preparing to retire, or you've just learned that your position is being eliminated. Among everything else you need to think about, there's one question you may not have considered: What happens to the money you borrowed from your 401(k)?
It's an important question because the answer may affect your taxes, your savings, and how you handle the retirement account you're leaving behind.
Many employees borrow from their workplace retirement plans with every intention of repaying the money through regular payroll deductions.
Perhaps the loan helped cover a home improvement project, an unexpected expense, or a financial obligation that couldn't wait.
As long as you're employed and the payments are coming out of your paycheck, it's easy to treat the loan like any other recurring deduction.
But what happens when those paychecks stop?
Does the entire balance become due? Can you continue making payments? Will you owe income taxes on the money?
The answer depends on your employer's retirement plan, the loan agreement, and what happens to the outstanding balance after you leave.
Leaving your job does not automatically mean your 401(k) loan becomes taxable. But it can start a series of events that make the loan much more complicated.
What Happens to a 401(k) Loan When You Leave Your Employer?
If you have an outstanding 401(k) loan when your employment ends, your first step should be to find out what your retirement plan requires.
Some plans allow former employees to continue making loan payments directly, rather than through payroll deductions.
Other plans may require repayment of the outstanding balance within a specified period after employment ends.
If repayment is required and you don't satisfy the terms, the plan may reduce your retirement account balance by the unpaid loan amount. This is known as a plan loan offset.
That distinction matters because a plan loan offset is generally treated as a distribution from the retirement plan for federal income tax purposes.
And if the distribution is taxable, you could owe income taxes on money you never actually receive in cash when leaving your employer.
The IRS explains these rules in its guidance on borrowing from a 401(k) plan.
Do You Have to Repay Your 401(k) Loan Immediately?
Not necessarily.
There is no universal rule requiring every employee to repay an outstanding 401(k) loan on their final day of employment.
Your employer's plan document and loan agreement determine what happens next.
For example, depending on the plan's provisions, you may be allowed to:
- Continue making scheduled payments using an approved payment method
- Repay the outstanding loan balance in full within a specified period
- Allow the plan to offset the unpaid loan balance against your retirement account, subject to applicable rules
Not every plan offers all of these options.
That's why I would contact the plan administrator before your last day of employment whenever possible.
Ask for the remaining loan balance, the required repayment schedule, the repayment deadline, and the consequences of missing that deadline.
Most importantly, get the information in writing.
You don't want to discover a repayment deadline after it has already passed.
What Is a 401(k) Loan Offset?
A plan loan offset occurs when your retirement account balance is reduced to satisfy an unpaid plan loan.
Here's a simplified example.
Suppose you're leaving an employer and your 401(k) has a total account value of $120,000, including an outstanding loan balance of $20,000.
That means approximately $100,000 is invested in the account, while $20,000 represents the loan you still owe.
Your employer's plan requires you to repay the loan after leaving, but you don't have the money available to do so.
The plan subsequently offsets the $20,000 loan balance.
Here's what that could look like:
- Total account value before the offset: $120,000
- Outstanding loan: $20,000
- Loan offset: $20,000
- Remaining invested account balance: $100,000
The $20,000 loan is no longer outstanding because the plan has reduced your account by that amount.
But for tax purposes, the $20,000 offset is generally treated as a distribution from the retirement plan.
If the offset represents previously untaxed retirement money and you don't complete an eligible rollover, that amount will generally be included in your taxable income.
Depending on your age and circumstances, an additional early-distribution tax may also apply.
This example is hypothetical and assumes the loan and account consist entirely of pre-tax retirement money. Different tax treatment may apply to loans involving designated Roth or other after-tax amounts.
The IRS provides additional information about plan loan offsets and their tax treatment.
Will You Owe Income Taxes on an Unpaid 401(k) Loan?
Possibly.
When a 401(k) loan is properly established and repaid according to the plan's requirements, the borrowed money is generally not treated as taxable income.
But when a loan goes into default or the plan offsets the unpaid balance, the tax treatment changes.
Previously untaxed amounts treated as distributed are generally included in your income for the year in which the taxable event occurs.
Consider someone who earns $110,000 during the year and then leaves their employer with an unpaid $20,000 401(k) loan.
If the entire $20,000 becomes a taxable distribution that year, it could increase the person's federal taxable income before deductions and other tax adjustments.
The actual tax consequences would depend on their complete financial situation, including filing status, other income, deductions, and applicable tax rules.
But the important point is that the unpaid loan can create a tax bill at a time when the person may already be experiencing a significant employment or income change.
And receiving no additional cash does not necessarily mean there is no taxable income.
Could You Also Owe a 10% Early-Distribution Tax?
Yes, depending on your age and whether an exception applies.
Generally, taxable retirement-plan distributions received before age 59½ may be subject to an additional 10% federal income tax.
However, the IRS recognizes several exceptions.
One particularly important exception involves employees who separate from service during or after the calendar year in which they turn 55.
Under that rule, certain distributions from the employer's qualified retirement plan may avoid the additional 10% tax.
For example, someone who leaves their employer at age 56 may be treated differently from someone who leaves at age 52.
But this exception doesn't automatically eliminate regular income taxes on taxable distributions.
It also does not apply to distributions from IRAs.
You can review the applicable exceptions in the IRS guidance on early retirement-plan distributions.
Before deciding whether to repay a loan, allow an offset, or roll over retirement assets, it's important to understand which rules apply to your particular circumstances.
Can You Avoid Taxes by Rolling Over the Unpaid Loan Amount?
Potentially, yes.
This is an important provision that many employees may not know about.
Under certain circumstances, you can avoid current income taxation on an eligible plan loan offset by contributing an equivalent amount of money to an eligible retirement account within the applicable rollover deadline.
But there's an important distinction.
You are not transferring the outstanding loan itself into an IRA.
IRAs do not permit participant loans.
Instead, if the unpaid balance qualifies as an eligible rollover distribution, you may be able to use money from another source to replace the amount that was offset.
Let's return to the previous example.
You leave your employer with $120,000 in your 401(k), including a $20,000 outstanding loan.
The plan offsets the $20,000 loan balance, leaving $100,000 in invested assets.
You arrange a direct rollover of the remaining $100,000 to a traditional IRA.
If the $20,000 offset qualifies for rollover treatment and you have $20,000 available from another source, you may be able to contribute that amount to the eligible retirement account within the applicable deadline.
Assuming the requirements are satisfied, this could prevent the $20,000 offset from being included in your current taxable income.
But you must have the money available to make that replacement contribution.
And the deadline matters.
How Long Do You Have to Complete a 401(k) Loan Offset Rollover?
It depends on whether the offset qualifies as a qualified plan loan offset.
Normally, eligible rollover distributions are subject to a 60-day rollover deadline.
However, federal tax rules provide a longer deadline for certain plan loan offsets caused by termination of the employer's retirement plan or separation from employment.
When the applicable requirements are satisfied, a qualified plan loan offset may be rolled over by the due date of your federal income tax return, including extensions, for the tax year in which the offset occurred.
That can provide significantly more time than the ordinary 60-day rollover period.
Here's How That Could Work
Suppose you separate from your employer in November 2026.
Your outstanding 401(k) loan is in good standing when you leave, and the plan subsequently offsets the balance because of your separation from employment.
If the offset qualifies under the special rules and occurs during 2026, you generally have until the due date of your 2026 federal income tax return, including applicable extensions, to complete the rollover.
That doesn't mean you can assume every unpaid loan receives the extended deadline.
The circumstances surrounding the offset matter.
For example, a loan that was already in default before you left your employer may raise different issues.
It's also important to distinguish a plan loan offset from a deemed distribution caused by failing to satisfy the loan's requirements.
A deemed distribution generally cannot be rolled over, while an eligible plan loan offset may qualify for rollover treatment.
The IRS explains this distinction in its retirement-plan loan FAQs.
Before assuming you have until tax-filing season to address an unpaid loan, confirm that the transaction actually qualifies for the extended rollover period.
What Should You Do Before Leaving Your Job With a 401(k) Loan?
If you know an employment change is coming, I would address the outstanding loan before making broader decisions about your retirement account.
Here's the order I would follow.
1. Find Out Exactly How Much You Owe
Contact your plan administrator or log in to your retirement plan's website.
Confirm your current outstanding principal, accrued interest, remaining repayment term, and any upcoming payment dates.
Don't rely exclusively on the amount you remember borrowing.
2. Ask Whether Payments Can Continue After Employment Ends
Some plans allow former employees to continue repayments directly.
Others may require a lump-sum payoff.
Ask what your specific plan permits and whether arrangements need to be established before your employment ends.
3. Get the Deadline in Writing
If the plan requires repayment after termination, ask for the exact deadline.
Find out whether there are administrative processing requirements or other conditions that affect your options.
A verbal explanation may be helpful, but written information gives you something to refer to later.
4. Estimate the Tax Consequences Before Allowing a Default or Offset
If you cannot repay the balance, determine how the unpaid amount would be treated.
Would it be reported as a deemed distribution or a plan loan offset?
Could an early-distribution tax apply?
Would the offset qualify for rollover treatment?
Those distinctions can materially affect the outcome.
5. Review the Loan Before Rolling Over the Rest of Your 401(k)
It's natural to want to move your retirement savings when changing employers.
But an outstanding loan can complicate that process.
Before requesting a rollover, understand how the plan will handle the unpaid loan and what amount will actually be available for transfer.
Also determine whether rolling the remaining account into an IRA could affect other retirement planning opportunities, including access to certain plan-specific early-distribution exceptions.
Don't assume that moving the invested balance automatically resolves the outstanding loan.
What If You're Leaving Your Job Unexpectedly?
This is where the situation can become particularly stressful.
If you're changing employers voluntarily, you may have time to plan for the outstanding loan.
If you've been laid off, your available cash may already be needed for household expenses, health insurance, and the transition to new employment.
Using a substantial amount of emergency savings to repay a 401(k) loan may not be an easy decision.
And immediately replacing the loan with another form of borrowing may create additional financial obligations at a time when your income is uncertain.
That's why I would look at the entire situation before deciding what to do.
How much cash do you have available?
How long could you cover your expenses without employment income?
Are you expecting severance payments?
What are the tax consequences if the loan is offset?
Would the extended rollover deadline provide time to replace the offset amount later?
There may not be a perfect solution.
But understanding the rules early can help you avoid making a difficult financial transition even more expensive.
Frequently Asked Questions About 401(k) Loans After Leaving a Job
Does My 401(k) Loan Become Due When I Quit?
It depends on your employer's retirement plan and the terms of the loan.
Some plans require repayment within a specified period after separation from employment, while others may permit continued payments.
Contact your plan administrator to confirm the exact requirements before leaving.
What If I Get Laid Off With a 401(k) Loan?
A layoff can trigger the same plan loan provisions as other types of separation from employment.
Your plan may require repayment or permit you to continue payments.
If the unpaid balance is offset because of the separation, special rollover rules may apply if the transaction meets the applicable requirements.
Can I Transfer My 401(k) Loan to My New Employer?
You generally cannot assume that an outstanding 401(k) loan will transfer to your new employer's retirement plan.
Some employer-plan transactions may involve special arrangements, but an ordinary rollover does not automatically transfer the loan obligation.
Ask the administrators of both plans about the specific options available before initiating any transfer.
Can I Roll My 401(k) Loan Into an IRA?
No. An IRA cannot hold an outstanding participant loan in the same way a 401(k) plan can.
However, if the outstanding loan results in an eligible plan loan offset, you may be able to roll over an amount equal to that offset using money from another source.
The transaction must satisfy the applicable rollover requirements and deadlines.
What Happens If I Don't Have the Money to Repay My 401(k) Loan?
If your plan requires repayment and you cannot satisfy the loan terms, the plan may treat the loan as defaulted or offset the unpaid balance against your retirement account.
The tax consequences depend on the circumstances.
Previously untaxed amounts may become taxable, and an additional 10% early-distribution tax may apply unless an exception is available.
An eligible loan offset may also qualify for rollover treatment.
Does the Rule of 55 Apply to an Unpaid 401(k) Loan?
It may be relevant if the unpaid loan results in a taxable distribution from a qualified employer retirement plan.
Generally, the age-55 separation-from-service exception can eliminate the additional 10% early-distribution tax on qualifying distributions when an employee separates from service during or after the calendar year in which they turn 55.
The exception does not eliminate ordinary income taxes, and it does not apply to IRA distributions.
Other requirements and circumstances may affect eligibility.
Will I Receive a Tax Form If My 401(k) Loan Is Offset?
Generally, yes.
Plan loan offsets are reported on IRS Form 1099-R.
A qualified plan loan offset is generally identified using distribution Code M.
Review the form carefully because the reported amount, distribution classification, and any applicable rollover or early-distribution exception can affect your tax return.
Should I Pay Off My 401(k) Loan Before I Retire?
If you're planning to retire with an outstanding 401(k) loan, it's worth reviewing the repayment terms before your employment ends.
You may have more flexibility while you're still receiving employment income.
But I wouldn't automatically recommend using all available cash to pay off the loan without also considering your emergency reserves, retirement income needs, and overall tax situation.
The appropriate decision depends on your financial circumstances and the plan's requirements.
Don't Let a 401(k) Loan Become an Unexpected Retirement Expense
A 401(k) loan may have seemed straightforward when you borrowed the money.
You had a job, regular income, and a repayment schedule that worked with your paycheck.
But employment doesn't always unfold the way we expect.
People change careers. Companies reorganize. Positions are eliminated. Sometimes retirement arrives earlier than planned.
And when that happens, financial decisions that once seemed routine can suddenly require attention.
If you're leaving an employer with an outstanding 401(k) loan, don't assume you have to repay everything immediately.
But don't assume you can ignore the loan, either.
Find out what your plan requires.
Understand the potential taxes.
Ask about repayment options.
And determine whether an eligible rollover could help you preserve more of your retirement savings.
The time to understand what happens to your 401(k) loan is before a deadline passes—not after you receive an unexpected tax form.
Your retirement savings are too important to let an overlooked plan provision determine what happens next.