What Happens to a 401(k) Loan When You Retire?
A 401(k) loan can feel orderly while you are working. Payments leave each paycheck, the loan balance declines, and the money returns to your workplace account. Retirement interrupts that familiar loop.
What happens next depends first on the plan’s written terms. The plan may permit payments after employment ends, require repayment, or reduce the account by the unpaid balance. Each path changes a different part of the retirement transition. Before settling on your last day, ask the plan administrator when payroll deductions stop, whether you can keep paying from a bank account, and when any unpaid balance would be due or taken out of the account.
Does retiring automatically make the whole loan due?
Not under one universal rule. A 401(k) plan may offer participant loans, but it is not required to do so. Its loan procedures and repayment terms determine how the loan is handled.[1] Some plans allow a former employee to continue scheduled payments from a bank account. Others accelerate the loan or treat it as in default after separation.
That makes the plan administrator’s answer more important than a general rule of thumb. Before setting the last day of work, request the current payoff amount, the date payroll deductions stop, the post-employment payment policy, and the date an unpaid balance would be offset. Vanguard similarly cautions that outstanding loans can complicate the choices available after leaving an employer.[2]
What does a plan-loan offset actually do?
An offset does not mean the plan sends you another check. The plan reduces your account balance by the unpaid loan amount and treats that amount as an actual distribution. If a $25,000 balance is offset against a $500,000 account, the account may then hold $475,000 before other market or distribution changes. In this example, the $500,000 includes the $25,000 loan balance. The offset removes that loan asset from the account; it does not mean another $25,000 of invested securities has just been sold.[3]
The same unpaid balance can change from a loan to a distribution
Before separation
A repayment obligation matched by a loan asset inside the 401(k).
After an offset
A reduced account balance and a distribution that must be resolved through rollover funding or the tax return.
Can you prevent the offset from becoming taxable?
A qualifying offset caused by separation from employment may receive an extended rollover period. If the requirements for a qualified plan loan offset are met, an amount equal to the offset may generally be contributed to an eligible retirement plan by the due date, including extensions, for the federal income-tax return for the year of the offset.[4]
Ask the plan administrator whether the event is an actual loan offset or a deemed distribution caused by missed payments. A deemed distribution is not eligible for rollover; an offset may be. Do not assume the extended deadline applies to every unpaid loan. [1] The loan itself does not move into an IRA. Avoiding current taxation generally requires outside money equal to the amount being rolled over. That creates the central tradeoff: using readily accessible assets to restore the retirement account may preserve tax-deferred money, but those same assets may be supporting the first years without a paycheck.
If the offset is not rolled over, its taxable portion is generally included in income. After-tax contributions or designated Roth amounts can change that tax treatment. An additional early-distribution tax may also apply when an exception is unavailable. FINRA notes that leaving a job with an outstanding loan can therefore produce both income tax and a smaller retirement balance.[5]
Dovetail Principle: Financial Decisions Need to Fit Together
The loan decision touches more than debt. It can change available cash, the amount remaining invested for retirement, and taxable income in the work-exit year. A choice that looks efficient in one place should still fit the other jobs your money must perform.
How should you decide what to do before retiring?
Consider the loan as part of your retirement transition rather than evaluating it alone. Compare the cash you can readily access after a payoff with the cash needed for taxes, health premiums, planned spending, and the gap before retirement income begins. Then estimate the account reduction and tax effect if the balance is offset. Fidelity also notes that money borrowed from a 401(k) is outside the invested account while the loan remains outstanding, which can reduce potential growth.[6]
Keep the broader workplace-account decision separate. Retiring may allow you to leave the remaining balance in the former plan, roll it to another eligible account, or take distributions, depending on plan provisions.[7] Do not let the loan’s deadline force a rollover before fees, investments, withdrawal access, creditor protection, and any employer-stock issues have been reviewed.
The right answer is not automatically “pay it off” or “let the plan settle it.” It is the path that resolves the loan without weakening the cash reserve, tax plan, or retirement account more than the household intends. Confirm the plan’s rule first, translate each available path into dollars, and settle the loan as part of your plan for leaving work—not as an administrative surprise after the paycheck stops.
If retirement begins before age 59½, continue with How Can You Access Retirement Money Before 59½ Without Creating an Avoidable Penalty?.