Yes, you can borrow from your 401(k), but the IRS limits how much and charges you interest
Most 401(k) plans allow you to borrow against your own balance — the money you and your employer have contributed. The IRS sets the rules: you can borrow up to 50% of your vested balance, with a maximum of $50,000, and you must repay it within five years (longer if you use the money to buy a primary home). You pay interest to your own account, not to a bank, but the loan still costs you money in ways that aren't always obvious.
Whether borrowing makes sense depends on your situation. If you need cash for an emergency and have no other source, a 401(k) loan avoids the credit check and approval delays of a personal loan. But if you leave your job before repaying, the loan becomes taxable income when ready — and if you're under 59½, you'll owe a 10% early withdrawal penalty on top. That's why understanding the mechanics before you borrow is critical.
Key Takeaways
- You can borrow up to 50% of your vested 401(k) balance or $50,000, whichever is less, and must repay within five years (or longer for a home purchase).
- You pay interest on the loan, but that interest goes back into your own account — however, you lose the investment growth that money would have earned.
- If you leave your job before repaying the loan, the remaining balance becomes taxable income and is subject to a 10% penalty if you're under 59½.
- Your plan administrator sets the interest rate, usually 1% to 2% above the prime rate, and you repay through payroll deductions.
- Borrowing reduces the balance that grows tax-deferred, which can significantly lower your retirement savings over time.
How much you can borrow and the repayment timeline
The IRS allows you to borrow the lesser of two amounts: 50% of your vested balance or $50,000. "Vested" means the money that legally belongs to you — employer contributions often vest gradually over several years, so check your plan documents to see what portion you actually own. If your vested balance is $100,000, you can borrow up to $50,000. If it's $80,000, you can borrow up to $40,000.
Standard repayment is five years through payroll deductions, meaning your employer withholds the payment from each paycheck. If you use the loan to buy or build a primary residence, some plans allow a longer repayment period — check with your plan administrator for the exact term. You cannot extend the five-year term for other reasons, so if you borrow for a car or medical bills, you're locked into that timeline regardless of your income changes.
The interest rate is set by your plan, not by the IRS. Most plans charge 1% to 2% above the prime rate — currently between 8.5% and 9.5% depending on when you borrow — but this varies by plan. Call your plan administrator or check your plan documents to learn the exact rate before you borrow.
What happens to the interest you pay
Unlike a bank loan, the interest you pay goes back into your 401(k) account. This sounds like a benefit, but it's not a free lunch. You're paying interest to yourself, which means you're moving money from your paycheck into your retirement account — money you could have spent or invested elsewhere. The real cost is the investment growth you lose.
If you borrow $30,000 and repay it over five years at 9% interest, you'll pay roughly $7,500 in interest. That $7,500 goes back into your account, but the $30,000 you borrowed stops earning returns while you're repaying it. If your 401(k) historically returns 7% annually, that $30,000 would have grown to about $42,000 over five years. Instead, you're repaying the loan, and the money sits idle until it's back in the account. The opportunity cost — the growth you gave up — is real.
The tax and penalty trap if you leave your job
This is the biggest risk most people miss. If you leave your job — whether you quit, are laid off, or retire — before you finish repaying the loan, the remaining balance is treated as a distribution. You owe income tax on that amount in the year you leave, and if you're under 59½, you owe a 10% early withdrawal penalty on top.
Say you borrowed $40,000 and have repaid $15,000. You leave your job with $25,000 still owed. That $25,000 becomes taxable income on your tax return for that year. If you're in the 22% tax bracket, you owe $5,500 in federal income tax plus $2,500 in the 10% penalty — $8,000 total — before state taxes. You don't have the cash to pay this because the money is still in your 401(k), so you'd need to withdraw more to cover the tax bill, which triggers more penalties. This spiral is why borrowing is risky if your job is uncertain.
Some plans allow you to repay the loan after you leave if you do it quickly — usually within 60 to 90 days — but this depends on your specific plan. Contact your plan administrator before you borrow to understand what happens if you separate from the company.
How borrowing reduces your long-term retirement savings
The math on borrowed money is straightforward but sobering. Every dollar you borrow is a dollar that stops growing tax-deferred. Over decades, that compounds into a significant shortfall.
Imagine you're 35 and borrow $25,000 from your 401(k). You repay it over five years. During those five years, that $25,000 earns nothing. If your 401(k) averages 7% annual growth, that $25,000 would have grown to roughly $35,000 by age 65. Instead, you're $10,000 short in retirement. If you borrow multiple times over your career, the losses stack. This is why financial advisors generally recommend borrowing only when you have no alternative — not as a convenient source of low-interest cash.
Alternatives to borrowing from your 401(k)
Before you borrow, explore other options. A personal loan from a bank or credit union typically charges 6% to 12% interest, which is higher than a 401(k) loan, but you don't risk your retirement savings if you change jobs. A home equity line of credit (HELOC) or home equity loan is cheaper if you own a home — rates are often 7% to 10% — and the interest may be tax-deductible. A 0% credit card offer can work for short-term needs if you can repay within the promotional period.
If you're facing a hardship — medical emergency, foreclosure, eviction — some 401(k) plans allow hardship withdrawals instead of loans. These are permanent withdrawals, so you lose the money and the growth, but you avoid the repayment obligation and the job-change trap. Hardship withdrawals are still subject to income tax and the 10% penalty if you're under 59½, so they're not cheaper than loans — but they're worth understanding if you're in crisis.
The loan process and repayment process
To borrow from your 401(k), contact your plan administrator — this is usually your employer's HR or benefits department, or a third-party company that manages the plan. They'll provide a loan process that asks how much you want to borrow and what the money is for. The process is straightforward; there's no credit check or approval delay like a bank loan.
Once approved, the funds are typically deposited into your bank account within one to two weeks. Your employer then sets up payroll deductions to repay the loan. Each paycheck, a portion is withheld and returned to your 401(k) account. You'll receive statements showing the loan balance and remaining repayment term, just like any other loan.
If you want to repay early — which reduces the interest cost and gets the money growing again sooner — most plans allow it. Check your plan documents or ask your administrator whether there are prepayment penalties. Most plans have none, so paying extra when you can is usually a smart move.
Frequently Asked Questions
Can I borrow from my 401(k) if I'm self-employed?
If you have a Solo 401(k) or a SEP-IRA, the rules are different. Solo 401(k)s allow loans under the same IRS limits as employer plans. SEP-IRAs do not allow loans at all. If you have a Solo 401(k), contact your plan provider to learn the loan process and any plan-specific rules.
What if I can't repay the loan on time?
If you miss a payment, your plan administrator will notify you. Most plans give you a grace period — often 90 days — to catch up. If you don't repay within that window, the loan is treated as a distribution, and you owe income tax and penalties. Contact your plan administrator when ready if you're struggling with repayment; some plans offer payment deferrals or extensions in hardship situations.
Can I borrow from my 401(k) while I'm still working?
Yes. You can borrow while employed and continue working at the same company. The risk arises only if you leave the job before the loan is repaid. As long as you're employed and making payroll deductions, the loan is in good standing.
Does borrowing from my 401(k) affect my credit score?
No. A 401(k) loan is not reported to credit bureaus, so it doesn't appear on your credit report and doesn't affect your credit score. This is one advantage over a personal loan or credit card, but it doesn't change the retirement savings cost.
Can I borrow from my 401(k) to pay off credit card debt?
Technically yes, but it's usually not a good idea. You're replacing high-interest debt (credit card rates are often 15% to 25%) with a lower-interest loan (8% to 9%), which saves on interest. However, you're still raiding your retirement savings and risking the job-change penalty. If you're considering this, explore balance transfer cards, debt consolidation loans, or a debt management plan first.