You can borrow from your 401k, but the process and rules depend on your plan and your employer

A 401k loan lets you borrow your own money from your retirement account without triggering the early withdrawal penalty that normally applies before age 59½. Your employer's plan administrator handles the loan, not a bank. The money comes directly from your account balance, and you repay it through payroll deductions over a set period — typically two to five years, though some plans allow longer terms for home purchases.

Not every 401k plan permits loans. Your employer decides whether to offer this feature. Even if your plan does allow loans, you must meet the plan's specific rules about how much you can borrow, what you can use it for, and how quickly you must repay it. The IRS sets broad limits, but individual plans are often stricter.

Key Takeaways

  • You can borrow up to 50 percent of your vested account balance, or $50,000, whichever is less, though your plan may set a lower limit.
  • Repayment typically happens through automatic payroll deductions, and you pay interest to your own account rather than to a lender.
  • If you leave your job, most plans require you to repay the full loan balance within 60 days or face taxes and penalties on the unpaid amount.
  • Taking a loan reduces the money that continues to grow in your retirement account, which can cost you significantly in compound growth over time.
  • Your plan administrator can tell you within days whether loans are permitted and what the current terms are.

Loan limits: how much you can actually borrow

The IRS allows you to borrow up to 50 percent of your vested account balance, with an absolute maximum of $50,000. If your vested balance is $80,000, you can borrow up to $40,000. If your vested balance is $120,000, the IRS cap of $50,000 applies, not $60,000.

Your employer's plan may impose a lower limit. Some plans cap loans at $25,000 or $35,000 regardless of your balance. A few plans do not permit loans at all. You will not know your plan's specific rules until you contact your plan administrator — usually your company's HR or benefits department, or a third-party administrator they hire.

The amount you can borrow also depends on whether you have other outstanding 401k loans. If you already have one loan being repaid, the IRS counts both the outstanding balance and the new loan toward your $50,000 limit. Some plans treat multiple loans differently, so confirm this with your administrator.

Interest rates and repayment terms

You pay interest on the loan, but the interest goes back into your own 401k account, not to a bank or lender. The interest rate is typically the prime rate plus 1 to 2 percentage points, though plans vary. Your plan administrator sets the rate when you take the loan and it usually stays fixed for the life of the loan.

Repayment happens through payroll deductions. Your employer withholds the loan payment from each paycheck and sends it to the plan. Standard repayment is five years for general loans, but plans may allow longer terms — typically up to 15 years — if you are borrowing to buy a primary residence. Shorter repayment periods mean higher monthly payments but less total interest paid.

If you stop making payments, the plan may declare the loan in default. A defaulted loan is treated as a distribution, which means you owe income tax on the unpaid balance plus a 10 percent early withdrawal penalty if you are under 59½. This can create a large tax bill in the year the default occurs.

What happens if you leave your job

If you resign, are laid off, or are fired while you have an outstanding 401k loan, your plan typically requires you to repay the full remaining balance within 60 days. If you do not repay it in that window, the unpaid amount is treated as a taxable distribution. You owe income tax on it, and if you are under 59½, you also owe a 10 percent early withdrawal penalty.

Some plans offer a grace period or allow you to roll the loan into an IRA, but this is uncommon and depends entirely on your plan's rules. A few plans permit you to continue making loan payments after you leave, but you must confirm this in writing before you leave your job — do not assume it is allowed.

This is one of the largest hidden costs of 401k loans. If you are considering a loan and your job stability is uncertain, the risk of being forced to repay immediately or face a large tax bill should weigh heavily in your decision.

The long-term cost of borrowing from your retirement account

Even though you repay the loan with interest, borrowing from your 401k costs you money in lost compound growth. Money you borrow stops earning investment returns while it is out of the account. When you repay it, it resumes growing, but it has lost years of compounding.

Example: if you borrow $20,000 from a $100,000 balance and your account normally grows at 7 percent annually, that $20,000 would grow to roughly $55,000 over 20 years if left untouched. If you borrow it for five years and then repay it, you lose the growth on that $20,000 for those five years, plus the compounding effect on that lost growth for the remaining 15 years. The actual cost is often $10,000 to $15,000 or more, depending on market performance and how long the money is out.

This cost is invisible because you do not see a bill for it. You only see the interest you pay back into your account. But the opportunity cost — the money your account did not earn because the balance was lower — is real and often substantial.

How to request a 401k loan

Contact your plan administrator or your company's HR or benefits department. Ask whether your plan permits loans and request a loan application form. Most administrators can tell you your current vested balance, the maximum you can borrow, the interest rate, and available repayment terms within one to three business days.

You will need to complete a loan application. The form typically asks for the loan amount, the repayment term you want, and sometimes the reason for the loan (though many plans do not restrict loans by purpose). Some plans require a spousal consent form if you are married, because the loan affects your marital assets.

Processing time varies. Some plans approve and fund loans within five to ten business days. Others take two to three weeks. Ask your administrator for an expected timeline when you submit the application. Once approved, the money is usually deposited into your bank account or a designated account within a few business days.

Alternatives to 401k loans

Before borrowing from your 401k, consider whether other options exist. A personal loan from a bank or credit union may carry a higher interest rate, but you do not lose the compound growth on your retirement savings. A home equity line of credit, if you own a home, often has a lower interest rate than a 401k loan and does not affect your retirement account.

If you are facing a financial emergency, look into whether you have access to hardship distributions. Some 401k plans permit withdrawals for specific hardships — medical expenses, home purchase, education, or preventing eviction — without the 10 percent early withdrawal penalty, though you still owe income tax. Hardship distributions are permanent; you cannot repay the money and restore it to your account the way you can with a loan.

If your employer offers a Roth IRA or a regular IRA outside your 401k, you may be able to borrow from that instead, though the rules are different and more restrictive. Discuss all options with your plan administrator or a tax professional before deciding.

Frequently Asked Questions

Can I borrow from my 401k if I am self-employed or own a small business?

If you have a Solo 401k (a 401k for self-employed people or business owners with no employees), you can borrow from it under the same IRS rules as a regular 401k. However, if you have a SEP IRA or a Simple IRA instead, loans are not permitted. Check your plan documents or ask your plan provider which type of account you have.

What happens to my loan if the stock market crashes?

Your loan balance does not change if the market crashes. You still owe the same amount and must make the same payments. However, the value of the remaining balance in your account may drop, which means you have less money invested to recover when the market rebounds. This is another reason why borrowing during market downturns can be costly.

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

Yes. Most plans allow you to repay a loan early without penalty. Paying it back faster reduces the total interest you pay and gets the money back into your account sooner so it can resume growing. Check your plan documents or ask your administrator whether there are any restrictions on early repayment.

Do I owe taxes on the interest I pay back into my 401k?

No. The interest you pay goes back into your account as part of the loan repayment. You do not owe income tax on it because it is your own money being returned to your account. However, when you eventually withdraw money from your 401k in retirement, you will owe taxes on the entire balance, including the interest that was repaid.

What if I cannot afford the monthly loan payment?

Contact your plan administrator immediately. Some plans allow you to extend the repayment period or temporarily reduce payments, though this is not may provide. If you miss payments, the loan may be declared in default, which triggers the tax and penalty consequences described above. Do not ignore missed payments — work with your administrator to find a solution before the loan goes into default.