What Are the General Repayment Rules for a 401(k) Loan?
Borrowing from a 401(k) can feel different from other kinds of debt, since technically the money was already yours. But it comes with its own repayment structure, and the rules around paying it back are stricter than most people expect going in.
At a glance
A 401(k) loan is generally repaid through automatic payroll deductions on a set schedule, typically over five years for a general-purpose loan, with payments including both principal and interest that goes back into the borrower’s own account. The repayment structure is set by the plan itself, and if employment ends before the loan is repaid, the remaining balance often becomes due much sooner than the original schedule allowed.
How repayment typically works
Most plans set up repayment as a fixed, level amount deducted directly from each paycheck, structured so the loan is paid off within the plan’s required timeframe. Unlike a hardship withdrawal, which isn’t repaid at all and is reserved for specific qualifying situations, a 401(k) loan is meant to be paid back in full, with the interest charged going back into the borrower’s own balance rather than to a bank or outside lender.
The five-year general rule
Plans generally cap general-purpose loan terms at five years, though a longer repayment period is often allowed specifically for a loan used to purchase a primary residence. The exact terms, including interest rate and any fees, are set by the individual plan rather than being identical everywhere, so the specifics can vary by employer.
What happens if a job ends mid-repayment
This is where the rules tend to surprise people. If employment ends while a loan balance is still outstanding, plans typically require the remaining balance to be repaid by a set deadline, often tied to the following year’s tax filing date, rather than continuing on the original payroll schedule. This applies whether someone leaves a job voluntarily or otherwise, and a balance that isn’t repaid in time is generally treated as a distribution, which can trigger income tax and, depending on age, an early withdrawal penalty. It’s a very different outcome from rolling over a 401(k) balance into a new account, which doesn’t create the same kind of deadline pressure.
Other situations that affect repayment
A leave of absence, whether for medical reasons, family leave, or another qualifying circumstance, can also affect how repayment is handled, since payroll deductions may pause or need to be made up depending on how the plan treats a leave of absence more broadly. Missing scheduled payments for reasons unrelated to a leave can also put a loan at risk of being treated as a default, which carries the same tax consequences as an unpaid balance after leaving a job. Because repayment happens through payroll deductions in the first place, taking a 401(k) loan effectively reduces take-home pay for the length of the term, on top of pausing the growth that money would have otherwise had while invested.
The bottom line
Repayment terms for a 401(k) loan are more structured than they might initially seem: a defined schedule, interest that flows back to the borrower, and a shortened timeline if employment changes before the balance is paid off. The stricter deadline that kicks in after a job change is often the detail that catches people off guard, since it can turn what felt like a flexible option into a much more time-sensitive one. Understanding those mechanics ahead of time, rather than after borrowing, tends to make the decision a more informed one.