A 401(k) loan lets you borrow up to 50% of your vested balance, capped at $50,000, and pay yourself back with interest over five years. It’s not automatically a bad idea, unlike a hardship withdrawal, you don’t owe taxes or a penalty as long as you repay it, but leaving your job with an unpaid balance can turn it into an expensive mistake fast.
KEY TAKEAWAYS
- You can borrow up to 50% of your vested balance, capped at $50,000, with no taxes or penalty if you repay on time.
- Standard repayment is 5 years (longer, up to 15 years, if the loan is used to buy your primary home), through automatic payroll deductions.
- Interest is typically prime rate plus 1-2%, and unlike a bank loan, you pay that interest back to yourself, not a lender.
- If you leave or lose your job with an outstanding balance, you generally have until your tax filing deadline (including extensions) the following year to repay it in full, or it becomes a taxable distribution.
- Money borrowed from your 401(k) isn’t invested while the loan is outstanding, which is a real, often overlooked cost.
How Does a 401(k) Loan Actually Work?
You borrow from your own account balance, not a bank, so there’s no credit check and no impact on your credit score. Repayments, principal plus interest, typically come out of your paycheck automatically, and the interest you pay goes back into your own account rather than to an outside lender. Most plans allow the standard five-year term, extending to as long as 15 years specifically if the loan funds a down payment on your primary home.
What Happens If You Leave Your Job With a Loan Outstanding?
This is the single biggest risk. If you leave your employer, whether by choice, layoff, or otherwise, with an unpaid 401(k) loan balance, current rules give you until your federal tax filing deadline (including any extension) for that year to repay the full remaining balance, either out of pocket or by rolling it into an IRA. Miss that window, and the unpaid balance is treated as an early distribution: you’ll owe ordinary income tax on it, plus a 10% penalty if you’re under 59½.
If your job situation feels unstable, that’s a real reason to think twice before taking a 401(k) loan, since an unexpected departure can turn a manageable loan into a surprise tax bill at the worst possible time.
What Are the Real Costs of a 401(k) Loan?
- Lost investment growth. While your loan is outstanding, that money isn’t invested in the market, so you miss out on any gains it would have earned, this is often the most underestimated cost.
- Reduced future contributions. Some people cut back on new contributions while repaying a loan, which compounds the lost-growth problem further.
- Double taxation on the interest, in a sense. You repay the loan with after-tax paycheck dollars, and then that money is taxed again when you eventually withdraw it in retirement, unlike your original pre-tax contributions.
- The job-change risk covered above, which can turn a loan into an unplanned taxable withdrawal.
When Might a 401(k) Loan Actually Make Sense?
- You need funds for a genuine short-term need (medical bill, essential home repair) and have exhausted lower-cost options like an emergency fund.
- Your job is stable and you’re confident you can repay on schedule without a disruptive job change.
- The interest rate compares favorably to your other borrowing options, like a high-APR credit card or personal loan. See our personal loan rates by credit score guide for comparison.
- You’ve confirmed your specific plan allows it and understand its exact terms, since rules on interest rate, fees, and number of loans allowed vary by employer plan.
401(k) Loan vs. Hardship Withdrawal: What’s the Difference?
These are often confused but work very differently. A loan must be repaid and, if repaid on schedule, creates no tax event at all. A hardship withdrawal is not a loan, it’s a permanent withdrawal that you never pay back, and it’s fully taxable as ordinary income in the year you take it, plus a 10% early withdrawal penalty if you’re under 59½ (unless a specific exception applies). A loan is almost always the better option if your plan allows one and you can reasonably repay it.
Is There a Better Alternative?
If you’re weighing a 401(k) loan against leaving your job entirely and needing the money, it’s worth understanding the separate rollover rules for an old 401(k) too, since the loan repayment clock and the rollover process interact if you’re changing jobs while a loan is outstanding. And if the real issue is high-interest debt rather than a one-time need, our debt payoff strategy guide may solve the underlying problem without touching your retirement savings at all.
FAQ
How much can I borrow from my 401(k)?
Up to 50% of your vested balance, capped at $50,000, whichever is less, under standard IRS rules.
Do I pay taxes on a 401(k) loan?
Not if you repay it on schedule. It only becomes taxable, plus a possible 10% penalty, if you default or fail to repay the balance after leaving your job.
What happens to my 401(k) loan if I get laid off?
You generally have until your tax filing deadline (including extensions) for that year to repay the full remaining balance, or it’s treated as a taxable early distribution.
Is a 401(k) loan better than a hardship withdrawal?
Usually yes, since a loan avoids taxes and penalties if repaid, while a hardship withdrawal is permanent and immediately taxable.
Bottom Line
A 401(k) loan can be a reasonable option if your job is stable and you can repay it on schedule, but the risk of an unpaid balance turning into a taxable distribution if you leave your job is real and worth weighing seriously. Compare it honestly against other borrowing options before tapping your retirement savings.
A quick note: this guide explains how 401(k) loans generally work, not personalized advice for your situation. Since job stability and repayment ability vary widely, a financial advisor can help you weigh a 401(k) loan against your other options before you borrow.