Yes, you can borrow from your 401(k), but the rules are strict and the consequences of not repaying are severe
Most 401(k) plans allow you to take a loan against the money you have already contributed, though not all do. When you borrow from your 401(k), you are borrowing your own money — the balance in your account — not money from your employer or the plan itself. You repay the loan to yourself with interest, and the interest goes back into your account. The catch is that if you leave your job or fail to repay on time, the loan is treated as a withdrawal, which means taxes and penalties explore.
The IRS sets the outer limits on 401(k) loans, but your specific plan document determines whether loans are even offered and what the actual terms are. Some employers prohibit loans entirely. Before you assume you can borrow, check with your plan administrator — usually your HR department or the company that manages your plan — to confirm loans are available and what the process is.
Key Takeaways
- You can borrow up to 50 percent of your vested balance, with a maximum of $50,000, though your plan may set a lower limit.
- You must repay the loan within five years in most cases, with payments made through payroll deduction, and you pay interest to your own account.
- If you leave your job before the loan is repaid, the remaining balance is usually due within 60 to 90 days or it becomes a taxable withdrawal subject to income tax and a 10 percent penalty if you are under 59½.
- While the loan is outstanding, you cannot contribute to your 401(k) in some plans, and you lose the growth that money would have earned in the market.
- Not all 401(k) plans offer loans, so you must check with your plan administrator first.
How much you can borrow
The IRS allows you to borrow up to 50 percent of your vested balance — the portion of your 401(k) that you own outright, not the part that is still subject to employer vesting schedules. The absolute maximum is $50,000. So if your vested balance is $100,000, you can borrow up to $50,000. If your vested balance is $80,000, you can borrow up to $40,000.
Your plan may impose a lower limit. Some employers cap loans at $10,000 or $25,000 regardless of your balance. Check your plan documents or ask your HR department what the actual limit is for your plan.
The amount you borrow reduces the balance that continues to grow in the market. If you borrow $30,000 and the market rises 8 percent that year, you miss out on the growth that $30,000 would have earned. That lost growth is a real cost that does not show up as a fee.
Repayment terms and interest rates
You must repay a 401(k) loan within five years in most cases. The exception is a loan taken for the purchase of a primary residence, which may have a longer repayment period — sometimes up to 15 years, though this varies by plan. Your plan administrator will tell you the specific term when you take the loan.
Repayment happens through payroll deduction. Your employer withholds the loan payment from your paycheck and deposits it back into your 401(k) account. The interest rate is set by your plan and is typically the prime rate plus 1 or 2 percentage points. Unlike a bank loan, the interest you pay goes back into your own account, not to a lender. This is an advantage compared to a personal loan, but it does not change the fact that you are paying interest on money that is already yours.
If you miss a payment, the loan is in default. The consequences depend on your plan, but typically the entire remaining balance becomes due when ready. If you cannot pay it, the balance is treated as a withdrawal, which triggers income tax and a 10 percent penalty if you are under 59½.
What happens if you leave your job
If you leave your employer while a 401(k) loan is still outstanding, you usually have 60 to 90 days to repay the full remaining balance. The exact important date is in your plan documents. If you repay within that window, there are no tax consequences — you straightforward paid back a loan.
If you do not repay by the important date, the IRS treats the unpaid balance as a distribution from your 401(k). You owe income tax on the amount at your ordinary tax rate, plus a 10 percent early withdrawal penalty if you are under 59½. This can be a substantial tax bill. For example, if you have an unpaid $20,000 loan balance, are in the 22 percent tax bracket, and are 45 years old, you would owe roughly $6,400 in taxes and penalties.
Some employers allow you to continue repaying the loan after you leave, but this is not required by law and depends entirely on your plan. Ask your plan administrator about this option before you take the loan.
Restrictions on contributions while you have a loan
Some 401(k) plans suspend your ability to make new contributions while you have an outstanding loan. This means you cannot add money to your account until the loan is repaid. Other plans allow contributions to continue. Check your plan documents to know which rule applies to you.
If contributions are suspended, you lose the opportunity to save and get any employer match during the loan period. This is another hidden cost of borrowing from your 401(k). If your employer matches contributions — for example, matching 50 cents for every dollar you contribute up to 6 percent of your salary — you forfeit that match while the loan is active.
Tax consequences and penalties
A 401(k) loan itself is not a taxable event. You do not owe income tax on the money you borrow, and the interest you pay is not tax-deductible. The loan is straightforward a transfer of money within your own account.
However, if the loan goes into default or you leave your job and do not repay by the important date, the unpaid balance becomes a distribution. You owe income tax on the full amount at your ordinary income tax rate. If you are under 59½, you also owe a 10 percent early withdrawal penalty. These two together can consume 30 to 40 percent of the unpaid balance, depending on your tax bracket.
There is no way to avoid this penalty by rolling the money into an IRA or another 401(k) — once the loan is treated as a distribution, it is taxable and subject to the penalty.
Alternatives to borrowing from your 401(k)
Before you take a 401(k) loan, consider other options. A personal loan from a bank or credit union typically has a lower interest rate and does not put your retirement savings at risk. A home equity line of credit (HELOC) or home equity loan is often cheaper if you own a home. A credit card cash advance is expensive but does not require you to leave your job to trigger a default.
If you are facing a financial emergency, look into whether your employer offers a hardship withdrawal from your 401(k). This is different from a loan — you withdraw the money permanently and owe taxes and penalties on it. It sounds worse than a loan, but if you cannot repay a loan anyway, a hardship withdrawal might be the only option. Not all plans offer hardship withdrawals, and the rules about what qualifies as a hardship are strict.
If you have a Roth IRA (not a Roth 401(k)), you can withdraw your contributions — not the earnings — at any time without tax or penalty. This is not true for a traditional IRA or a 401(k). If you have a Roth IRA with enough in contributions, that may be a better source of emergency funds than a 401(k) loan.
Frequently Asked Questions
Can I borrow from my 401(k) if I am self-employed?
If you have a Solo 401(k) or a self-employed 401(k), you can set up a loan provision in your plan. The rules are the same as for employer plans — you can borrow up to 50 percent of your vested balance, with a $50,000 maximum, and you must repay within five years. You will need to document the loan in writing and track repayment yourself.
What happens to my loan if I get laid off?
You typically have 60 to 90 days to repay the full remaining balance. If you cannot repay by that important date, the unpaid amount is treated as a distribution and you owe income tax plus a 10 percent penalty if you are under 59½. Some plans allow you to continue repaying after you leave, but this is not may provide — ask your plan administrator before taking the loan.
Can I take out a 401(k) loan for any reason?
Yes. The IRS does not restrict what you can use a 401(k) loan for. You can borrow for medical bills, home repairs, debt consolidation, or any other purpose. However, some employers restrict loans to hardship situations in their plan documents, so check with your HR department about your specific plan's rules.
Do I pay taxes on the interest I pay back into my 401(k)?
No. The interest you pay on a 401(k) loan goes back into your account and is not taxed. You also cannot deduct the interest as a tax expense. The interest is straightforward part of your repayment, and it grows tax-deferred like the rest of your 401(k) balance.
Can I borrow from my 401(k) twice at the same time?
Most plans allow only one outstanding loan at a time, though some allow two. Check your plan documents or ask your HR department. If you want to borrow more than the single-loan limit allows, you would need to repay the first loan before taking a second one.