Yes, you can borrow from your 401k, but the loan comes from your own money and you repay it to yourself with interest

Most 401k plans allow you to take a loan against your vested balance — the money that legally belongs to you right now. You borrow from your own account, not from the plan administrator or your employer. The plan sets the terms: how much you can borrow, how long you have to repay it, and what interest rate applies. The interest you pay goes back into your own account, not to a bank or lender.

The catch is that while the loan is outstanding, that money stops growing through investment gains. If the stock market rises 10 percent and your borrowed amount would have grown with it, you miss that gain. You also have to repay the loan on a strict schedule — if you miss payments or leave your job, the unpaid balance may be treated as a withdrawal, which triggers taxes and penalties.

Key Takeaways

  • You can borrow up to 50 percent of your vested balance, or $50,000, whichever is less, though your plan documents may set a lower limit.
  • Repayment terms are typically five years for a general loan, but loans taken to buy a primary home may allow up to 15 years.
  • If you leave your job, most plans require you to repay the full loan balance within 60 to 90 days or face taxes and a 10 percent early withdrawal penalty if you are under 59½.
  • The interest rate is set by your plan, usually prime rate plus 1 to 2 percent, and that interest goes back into your account as you repay.
  • While you have an outstanding loan, you cannot borrow again until that loan is repaid, and you may not be able to make new contributions to the plan.

How much you can borrow and what the limits are

The federal limit is 50 percent of your vested balance or $50,000, whichever is smaller. If your vested balance is $100,000, you can borrow up to $50,000. If it is $80,000, you can borrow up to $40,000. Your plan administrator can set a lower limit, so check your plan documents or call the benefits department at your employer to confirm the actual maximum.

Vested balance means the money that is legally yours right now. If your employer makes matching contributions and you have not worked there long enough to be fully vested, only your vested portion counts toward the borrowing limit. For example, if your total balance is $100,000 but only $60,000 is vested, your borrowing limit is $30,000 (50 percent of $60,000).

You cannot borrow more than once at the same time. If you already have an outstanding 401k loan, you must repay it in full before taking out another one. Some plans also suspend your ability to make new contributions while a loan is active, so you lose the chance to add money and get employer matching during that period.

Interest rates and repayment terms

Your plan sets the interest rate, which is typically the prime lending rate plus 1 to 2 percent. As of early 2024, prime rate is around 8.5 percent, so a 401k loan might carry a rate of 9.5 to 10.5 percent. This rate is fixed for the life of the loan. The interest you pay goes directly back into your 401k account, so you are essentially paying yourself.

Standard repayment is five years for a general loan, paid in equal installments (usually monthly). If you borrow to buy a primary residence — your main home, not a vacation property — your plan may allow up to 15 years. Some plans offer shorter or longer terms; check your plan documents or ask your benefits department.

Payments are deducted from your paycheck automatically, so you do not have to remember to send money. If you leave your job, the repayment schedule does not change — you still owe the full balance on the original timeline, but you now have to arrange payments on your own instead of through payroll deduction.

What happens if you leave your job before the loan is repaid

This is the biggest risk of a 401k loan. When you leave your employer, most plans require you to repay the entire outstanding balance within 60 to 90 days. If you do not repay it in that window, the unpaid amount is treated as a withdrawal from your 401k.

A withdrawal before age 59½ normally triggers two penalties: income tax on the amount withdrawn, plus a 10 percent early withdrawal penalty. If you borrowed $30,000 and cannot repay it, you owe income tax on $30,000 (at your marginal rate, which could be 22 to 35 percent depending on your income) plus $3,000 in penalties. In total, you might owe $9,600 to $13,500 to the IRS, on top of losing the $30,000 from your retirement savings.

Some employers offer a grace period or allow you to continue repaying on the original schedule even after you leave. This is rare and depends entirely on your plan. Before taking a loan, ask your benefits department what happens to the loan if you resign or are laid off.

Taxes and penalties if the loan is not repaid

If you cannot repay the loan by the deadline after leaving your job, the IRS treats the unpaid balance as a taxable distribution. You owe federal 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 on top of the income tax.

Some states add state income tax as well. If you live in a state with a 5 percent income tax and you cannot repay a $30,000 loan, you might owe $9,000 in federal tax (at 30 percent) plus $1,500 in state tax, plus $3,000 in federal penalties — a total of $13,500 in taxes and penalties alone.

There is one exception: if you are age 55 or older and you leave your job in that year or later, the 10 percent early withdrawal penalty does not apply to withdrawals from that employer's 401k plan. The income tax still applies, but not the penalty. This is called the Rule of 55. If you are 55 and leave your job, and you cannot repay a 401k loan, you owe income tax but not the 10 percent penalty.

Reasons to borrow from your 401k versus other options

A 401k loan is faster and easier than a personal loan or credit card. You do not have to may have access to based on credit score or income verification — the money is already yours. There is no credit check, no application process with a bank, and no waiting for approval. You can often get the money within days.

The interest rate is usually lower than a credit card or personal loan. Credit cards charge 18 to 25 percent; personal loans run 8 to 15 percent depending on credit. A 401k loan at 9 to 10 percent is competitive, and the interest goes back to you, not to a lender.

However, a 401k loan is not the right choice if you are likely to leave your job soon, if you cannot afford the monthly payment, or if you are already behind on retirement savings. A personal loan or line of credit does not have the "repay in full or face penalties" rule if you change jobs. If job stability is uncertain, the risk of a 401k loan is higher.

How to request a 401k loan from your plan

Contact your plan administrator or benefits department at your employer. They will give you a loan application form and explain your plan's specific terms: the maximum loan amount, interest rate, repayment period, and what happens if you leave your job. Read the plan documents carefully before signing.

You will need to provide basic information: your name, account number, the amount you want to borrow, and the reason (general or home purchase). Some plans require a statement of financial hardship, though this is not a legal requirement — it depends on your plan's rules.

Once approved, the money is usually deposited into your bank account or issued as a check within 5 to 10 business days. Your first payment is typically due 30 to 60 days after the loan is issued. Payments are deducted from your paycheck automatically unless you leave your job, at which point you must arrange payments on your own.

Frequently Asked Questions

Can I borrow from my 401k if I am unemployed or between jobs?

No. You can only borrow from a 401k while you are employed by the company that sponsors the plan. If you have already left your job, you cannot take a new loan. If you have an outstanding loan and you become unemployed, you must repay it within 60 to 90 days or face taxes and penalties.

What if I cannot afford the monthly payment?

Contact your plan administrator immediately. Some plans allow you to temporarily reduce or pause payments, though this is not may provide. If you miss a payment, the loan is typically considered in default, and the full unpaid balance may be treated as a withdrawal, triggering taxes and penalties. Do not ignore a missed payment.

Does borrowing from my 401k affect my credit score?

No. A 401k loan does not appear on your credit report and does not affect your credit score. It is a loan from your own account, not a debt reported to credit bureaus. However, if you cannot repay it and it is treated as a withdrawal, the tax bill may affect your finances.

Can I pay back a 401k loan early?

Yes. Most plans allow you to repay the loan in full at any time without penalty. Paying early stops the interest from accruing and gets the money back into your account to grow. Check your plan documents to confirm there is no prepayment penalty.

What is the difference between a 401k loan and a hardship withdrawal?

A loan must be repaid; a hardship withdrawal does not. However, a hardship withdrawal is taxed immediately and may be subject to the 10 percent early withdrawal penalty if you are under 59½. A loan avoids the immediate tax hit, but you must repay it. If you cannot repay a loan, it becomes a taxable withdrawal anyway, so the loan is only better if you can actually repay it.