How a 401(k) loan works

A 401(k) loan lets you borrow money from your own retirement account instead of taking out a personal loan or using a credit card. Your employer's plan administrator handles the loan — not a bank. You repay yourself with interest, and that interest goes back into your account.

The loan amount comes directly from your vested balance, which is the money that legally belongs to you. You cannot borrow from unvested money (the portion your employer contributed that you have not yet earned). The loan is secured by your account balance, so there is no credit check and no approval process based on your income or credit score.

The repayment terms are set by your plan document, but federal law caps the loan at either 50% of your vested balance or $50,000, whichever is less. If your vested balance is $100,000, you can borrow up to $50,000. If it is $60,000, you can borrow up to $30,000.

Key Takeaways

  • You can borrow up to 50% of your vested 401(k) balance or $50,000, whichever is smaller, and the loan is not subject to income tax when you take it out.
  • Repayment terms vary by plan but typically run 2 to 5 years, with payments deducted from your paycheck and interest rates usually 1% to 2% above the prime rate.
  • If you leave your job, your plan usually requires you to repay the full loan balance within 60 to 90 days or face taxes and penalties on the unpaid amount.
  • Money borrowed from your 401(k) stops earning investment returns while it is out of the account, which can reduce your retirement savings over time.
  • You must contact your plan administrator or log into your plan's website to request a loan; the process typically takes one to two weeks.

Interest rates and repayment terms

Your plan sets the interest rate, which is usually the prime rate plus 1% to 2%. The prime rate changes, so your rate may vary depending on when you take the loan. Unlike a bank loan, this interest goes into your own account, not to a lender.

Repayment terms are set by your plan document and typically range from 2 to 5 years. You repay through payroll deduction, which means the payment comes out of your paycheck before taxes. Your plan administrator sends you a repayment schedule showing the exact payment amount and due dates.

If your plan allows it, you may be able to take multiple loans at once, but the total borrowed cannot exceed the $50,000 cap. Some plans also allow you to extend the repayment term if you have a financial hardship, though this is not required by law.

What happens if you leave your job

If you resign, are laid off, or are fired, your plan usually requires you to repay the entire loan balance within 60 to 90 days. The exact deadline is in your plan document. If you do not repay by that date, the unpaid balance is treated as a distribution and you owe income tax on it plus a 10% early withdrawal penalty if you are under 59½.

For example: you borrowed $20,000 and still owe $15,000 when you leave. If you do not repay within 60 days, you owe income tax on $15,000 plus a $1,500 penalty (10%). At a 22% tax rate, that is $3,300 in taxes plus $1,500 in penalties — $4,800 total.

Some employers allow you to repay the loan after you leave, but this is not standard. Ask your plan administrator before you leave whether you can continue making payments from a personal bank account. If your new job has a 401(k), you cannot roll a loan into the new plan — you must repay it in full or face the tax consequences.

The cost of borrowing from your retirement account

Even though you pay interest back to yourself, borrowing from your 401(k) has a real cost: the money you borrowed stops earning investment returns. If your account normally grows at 7% per year and you borrow $30,000, that $30,000 earns 0% while it is out.

Over a 5-year loan, that difference adds up. A $30,000 loan at 7% annual growth would become roughly $42,000 if left invested. If you repay it with 4% interest, you put back $36,500. The gap — about $5,500 — is the opportunity cost of borrowing.

This cost is invisible because you do not write a check to anyone. But it reduces your retirement balance at the exact time you should be building it. The younger you are, the larger this cost becomes because you have more years for compound growth ahead.

How to request a 401(k) loan

Contact your plan administrator — usually your employer's HR or benefits department — and ask for a loan request form. Many plans now let you request a loan through the plan's website or mobile app. You will need to provide basic information: the loan amount you want, the reason (though most plans do not require a reason), and your preferred repayment term.

The plan administrator reviews your request to confirm you have enough vested balance and that you are not already at the loan limit. This typically takes 3 to 10 business days. Once approved, the funds are usually deposited into your bank account within 1 to 2 weeks.

You will receive a loan agreement showing the interest rate, repayment schedule, and terms. Read it carefully — this is the contract between you and your plan. Keep a copy for your records and make sure your payroll deductions start on the date specified.

Loans versus hardship withdrawals

A hardship withdrawal is different from a loan. With a hardship withdrawal, you take money out permanently and do not repay it. You owe income tax on the amount withdrawn plus a 10% penalty if you are under 59½. Hardship withdrawals are only available for specific reasons: medical bills, home purchase, education, or preventing eviction.

A loan is better than a hardship withdrawal if you can repay it, because you avoid the taxes and penalties. You also keep the money in your account earning returns once you repay. However, a loan requires you to make payments, and if you leave your job you must repay it quickly or face taxes anyway.

If you cannot repay a loan within the required timeframe, the unpaid balance becomes a taxable distribution — so you end up in the same tax situation as a hardship withdrawal, but without the option to take it in the first place. This is why understanding the job-change rules is critical before you borrow.

Frequently Asked Questions

Can I borrow from my 401(k) if I am still working?

Yes. Most plans allow loans while you are employed. You must have a vested balance to borrow from, and you must be able to repay according to the plan's terms. Some plans restrict loans to active employees only, so check with your HR department.

What if I cannot repay the loan before I leave my job?

You have 60 to 90 days after you leave to repay the full balance. If you do not, the unpaid amount becomes a taxable distribution and you owe income tax plus a 10% penalty if you are under 59½. Some employers allow continued repayment after you leave, but you must ask before you resign.

Does borrowing from my 401(k) affect my credit score?

No. A 401(k) loan does not appear on your credit report because it is not a loan from a lender. It does not affect your credit score or your ability to borrow from banks. However, the loan does reduce your retirement account balance.

Can I take a loan if my plan is in default or being terminated?

No. If your employer's plan is being terminated or has been frozen, you cannot take new loans. Your plan administrator will notify you if this happens. You may be able to roll your balance into an IRA or another employer's plan, but you cannot borrow against it.

What if I want to repay the loan faster than the schedule requires?

Most plans allow you to repay early without penalty. Contact your plan administrator to ask about making extra payments or paying the full balance early. Repaying faster reduces the total interest you pay and gets the money back into your account earning returns sooner.