A 401(k) loan lets you borrow from your own retirement savings, but you repay yourself with interest, and you risk losing the money if you leave your job

A 401(k) loan is a withdrawal of money from your retirement account that you repay over time, usually through payroll deductions. You borrow from your own balance, not from a bank or lender. The plan administrator sets the interest rate — typically the prime rate plus 1 to 2 percent — and you pay that interest back into your own account. The IRS allows this only if your plan document permits it; not all plans do.

The main appeal is speed and lower interest than a personal loan or credit card. The main risk is that if you leave your job — whether you quit, get laid off, or are fired — you typically have 60 to 90 days to repay the full balance. If you do not, the IRS treats the unpaid amount as a distribution, which means you owe income tax on it plus a 10 percent early withdrawal penalty if you are under 59½. That can turn a $10,000 loan into a $3,000 or $4,000 tax bill.

Key Takeaways

  • You can borrow up to 50 percent of your vested balance, with a cap of $50,000, and you repay through payroll deductions over a set term.
  • If you leave your job, you must repay the full loan balance within 60 to 90 days or face income tax and a 10 percent penalty on the unpaid amount.
  • The interest rate is set by your plan and is typically the prime rate plus 1 to 2 percent; you pay that interest to yourself, not to a lender.
  • While you have an outstanding loan, you cannot make additional contributions to the account, and your borrowed balance does not grow with market gains.
  • Your plan administrator or HR department can tell you whether loans are permitted and what the current terms are.

Loan amount limits and what you can borrow

The IRS sets a ceiling: you can borrow up to 50 percent of your vested account balance, or $50,000, whichever is less. If your vested balance is $60,000, you can borrow up to $30,000. If it is $120,000, you can still borrow only $50,000. Vested means the money that legally belongs to you; employer matching contributions often vest gradually over three to six years, so your vested balance may be lower than your total balance.

Some plans allow multiple loans at once; others permit only one. If you already have an outstanding loan and want to borrow again, your plan document determines whether you can. The plan administrator can tell you your current vested balance and the maximum you are permitted to borrow right now.

How the repayment term and interest rate work

Repayment terms typically range from one to five years, though some plans allow longer terms for loans used to buy a primary residence. You repay through payroll deductions — the money comes out of your paycheck before taxes — so the payments are automatic and you cannot miss them unless you leave your job.

The interest rate is set by your plan and is usually the prime rate (the rate banks charge their best customers, published daily by the Federal Reserve) plus 1 to 2 percentage points. If the prime rate is 8 percent and your plan adds 1.5 percent, your rate is 9.5 percent. That rate is fixed for the life of the loan. The interest you pay goes back into your 401(k) account, not to a bank or third party. Over a five-year loan, the interest can add up to thousands of dollars, but it stays in your retirement savings.

What happens to your loan if you leave your job

This is the critical risk. Most plans require you to repay the full outstanding balance within 60 to 90 days of leaving employment. If you do not repay it, the IRS treats the unpaid amount as a taxable distribution. You owe federal income tax on it at your ordinary tax rate, plus a 10 percent early withdrawal penalty if you are under 59½. If you borrowed $20,000 and are in the 22 percent tax bracket, you could owe $4,400 in taxes plus $2,000 in penalty — $6,400 total — on top of losing the $20,000 from your retirement account.

Some plans allow a "loan offset" — they deduct the unpaid balance from your final paycheck or from any other retirement accounts you have with that employer. Others do not. A few plans extend the repayment window if you have a valid reason, but this is rare and plan-specific. Before you take out a loan, ask your plan administrator what happens if you leave and whether there are any exceptions.

The cost of borrowing from your own money

Even though you are borrowing from yourself, there are real costs. First, the money you borrow stops growing. If you borrow $20,000 and the market returns 7 percent that year, you lose $1,400 in potential growth on that $20,000. Over five years, that lost growth can be substantial. Second, you pay interest — even though it goes back into your account, it is money you have to earn and repay. Third, while you have an outstanding loan, many plans do not allow you to make new contributions, which means you lose the employer match on those contributions during the loan period.

A 401(k) loan can make sense for a short-term, urgent need — a medical bill, a car repair, a down payment — when the alternative is a credit card at 18 to 25 percent interest. It makes less sense for discretionary spending or for money you could borrow elsewhere at a lower rate.

Steps to request a 401(k) loan

Contact your plan administrator, usually through your HR or benefits department. Ask whether loans are permitted under your plan — some plans prohibit them entirely. If they are allowed, request a loan application form. You will need to provide the amount you want to borrow and the repayment term you prefer (one to five years, typically).

The administrator will calculate your maximum borrowing amount based on your vested balance and the plan's rules. They will also provide the interest rate and show you the monthly payment amount. Review the repayment schedule and the consequences of leaving your job before the loan is repaid. Once you sign, the money is usually deposited into your bank account within one to two weeks. Repayment begins immediately through payroll deduction.

Alternatives to a 401(k) loan

Before you borrow from your retirement account, consider other options. A personal loan from a bank or credit union often has a lower interest rate and no penalty if you leave your job. A home equity line of credit (if you own a home) typically has a lower rate than a 401(k) loan. A credit card cash advance is expensive but does not tie up your retirement savings. Asking family or friends for a loan avoids interest altogether.

If you are facing a hardship — medical emergency, eviction, foreclosure — some 401(k) plans allow a hardship withdrawal instead of a loan. A withdrawal is permanent (you do not repay it), but you avoid the risk of a tax penalty if you leave your job. The trade-off is that you lose that money from retirement forever. Ask your plan administrator whether a hardship withdrawal is an option and what documentation you need to provide.

Frequently Asked Questions

Can I borrow from my 401(k) if I am self-employed or have a Solo 401(k)?

Yes, if your Solo 401(k) plan document permits loans. The same rules apply: you can borrow up to 50 percent of your vested balance or $50,000, whichever is less. You set the interest rate yourself. However, you must repay the loan on schedule; if you miss payments, the IRS treats it as a distribution and you owe taxes and penalties.

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

You have 60 to 90 days (depending on your plan) to repay the full balance. If you cannot, the unpaid amount becomes a taxable distribution. You owe income tax at your ordinary rate plus a 10 percent penalty if you are under 59½. Some plans allow you to roll the unpaid balance into an IRA to avoid the penalty, but this is rare. Ask your plan administrator about your options before you leave.

Does taking out a 401(k) loan hurt my credit score?

No. A 401(k) loan does not appear on your credit report because you are borrowing from yourself, not from a lender. It does not affect your credit score or your ability to borrow from banks or credit card companies. However, the loan does reduce your retirement savings, which is a separate financial concern.

Can I pay back a 401(k) loan early without a penalty?

Yes. Most plans allow you to repay the loan in full at any time without penalty. Early repayment stops the interest from accruing and gets the money back into your account to grow with market returns. There is no downside to paying it back early if you have the cash.

What if my plan does not allow loans?

Not all 401(k) plans permit loans; it is up to the plan sponsor (your employer). If your plan does not allow loans, you cannot borrow from it. Your options are a personal loan, a credit card, a home equity line of credit, or a hardship withdrawal if your plan permits one. Ask your HR department whether a hardship withdrawal is available.