You can borrow from your 401k, but you repay yourself with interest, and the loan has strict rules
A 401k loan lets you borrow money from your own retirement account and pay it back over time. You are not withdrawing the money permanently — you are borrowing it and returning it with interest. The interest goes back into your account, not to a bank or lender. However, the loan comes with real costs: if you leave your job, the loan typically becomes due within 60 days, and if you cannot repay it, the IRS treats it as a withdrawal and you owe income tax plus a 10% penalty if you are under 59½.
Not all 401k plans allow loans. Your plan document determines whether borrowing is an option. If your plan does allow it, you work directly with your plan administrator — usually the company that manages your employer's retirement plan — to set up the loan. There is no credit check, and the process typically takes one to two weeks.
Key Takeaways
- You can borrow up to 50% 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 for general loans, or up to 15 years if you are borrowing to buy a primary residence, depending on your plan rules.
- If you leave your job, the loan is usually due in full within 60 days; if you cannot repay it, you face income tax and a 10% penalty on the unpaid balance.
- The interest rate is typically the prime rate plus 1% to 2%, and that interest goes back into your retirement account, not to an external lender.
- While you have the loan outstanding, you cannot contribute to your 401k beyond the amount needed to make loan payments.
How much you can borrow and the repayment timeline
The IRS sets a ceiling: you can borrow up to 50% of your vested account 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. Your plan administrator can tell you your vested balance and the exact amount available to borrow.
Repayment terms depend on the type of loan. A general 401k loan must be repaid within five years. If you are borrowing to purchase a primary residence — your main home, not a vacation property or investment property — your plan may allow up to 15 years, though this varies by plan. You make payments through payroll deduction, usually monthly, and the payments include both principal and interest.
The interest rate is set by your plan and is typically the prime rate plus 1% to 2%. Unlike a bank loan, this interest flows back into your 401k account. You are paying interest to yourself, which is one reason some people view 401k loans as less costly than external borrowing.
What happens if you leave your job
This is the critical risk. If you resign, are laid off, or are fired, your 401k loan becomes due in full, usually within 60 days. If you cannot repay the entire balance by that deadline, the IRS treats the unpaid amount as a withdrawal. You owe income tax on that amount at your ordinary tax rate, plus a 10% early withdrawal penalty if you are under 59½.
For example: you borrowed $20,000 and have repaid $5,000. You leave your job with $15,000 still owed. If you cannot repay it within 60 days and you are 45 years old, you owe income tax on $15,000 plus a $1,500 penalty. If your tax bracket is 22%, that is $3,300 in tax plus the $1,500 penalty — $4,800 total on top of the $15,000 you already borrowed.
Some plans allow you to roll the loan into an IRA or another employer's 401k plan to extend the repayment window, but this is not automatic and depends on the receiving plan's rules. Ask your plan administrator about this option before you borrow if job stability is uncertain.
The cost of borrowing versus the benefit of keeping money invested
A 401k loan feels cheaper than a personal loan or credit card because you pay interest to yourself and there is no credit check. However, there is a hidden cost: while you have the loan outstanding, the money you borrowed is no longer invested and earning returns. If the stock market rises 8% per year and you are paying yourself 6% interest, you are effectively losing 2% annually on that borrowed amount.
Over five years, this gap compounds. A $20,000 loan at 6% interest costs you $3,100 in interest payments, but if that $20,000 would have grown at 8% annually, it would have become $29,387. By borrowing, you give up roughly $9,387 in growth — far more than the $3,100 you save on interest.
This calculation changes if you would otherwise borrow from a credit card at 18% or take a personal loan at 10%. In those cases, a 401k loan at 6% is genuinely cheaper. The trade-off is the job-loss risk: a credit card company does not call your loan due if you are laid off.
Restrictions on contributions while you have an outstanding loan
While repaying a 401k loan, you cannot make regular contributions to your 401k beyond the amount needed to cover your loan payments. If your loan payment is $400 per month and your employer match is $300 per month, you can receive the match, but you cannot contribute an additional $500 from your paycheck to your 401k. This restriction lasts until the loan is repaid.
This means you lose the opportunity to save additional money on a tax-deferred basis and to receive any employer match beyond what is needed for the loan payment. Over a five-year loan, this can reduce your retirement savings significantly.
Alternatives to 401k loans
Before borrowing from your 401k, consider other options. A personal loan from a bank or credit union typically has a fixed interest rate and does not become due if you change jobs. A home equity line of credit (HELOC) or home equity loan offers lower interest rates if you own a home. A 0% credit card offer, if you have good credit, can provide short-term borrowing at no interest.
If you are facing a financial emergency, some employers offer hardship withdrawals, which let you take money out of your 401k without a loan. Hardship withdrawals are permanent — you do not repay the money — but they also trigger income tax and the 10% penalty if you are under 59½. A hardship withdrawal makes sense only if you cannot repay a loan and need the money anyway.
If you are unemployed or between jobs, borrowing from your 401k is especially risky because you may not have the income to repay it if the job search takes longer than expected. In this situation, a personal loan or assistance from family is usually safer.
How to request a 401k loan
Contact your plan administrator — the company name is on your 401k statement or in your plan documents. Ask whether loans are permitted under your plan. If they are, request a loan application. You will need to provide the loan amount, the reason (general or home purchase), and your desired repayment term.
The plan administrator will verify your vested balance, calculate the maximum you can borrow, and confirm the interest rate. You will sign loan documents that spell out the repayment schedule and what happens if you leave your job. Processing typically takes one to two weeks. Once approved, the money is deposited into a designated account, often a money market fund within your 401k, and you begin repayment through payroll deduction.
Keep copies of all loan documents and your repayment schedule. If you change jobs, notify your new employer's plan administrator immediately so they understand you have an outstanding loan and can discuss rollover or repayment options.
Frequently Asked Questions
Can I borrow from my 401k if I am self-employed?
If you have a Solo 401k (a 401k for self-employed people), you can borrow from it under the same rules as a traditional 401k. However, if you have a SEP-IRA or Solo Roth IRA, you cannot borrow. Check your plan documents or ask your plan provider which type you have.
What if I cannot repay the loan before I leave my job?
You have 60 days to repay the full balance after you leave. If you cannot, the unpaid amount is treated as a withdrawal, and you owe income tax plus a 10% penalty if you are under 59½. Some plans allow you to roll the loan into another 401k or IRA to extend the deadline, but this is not may provide. Ask your plan administrator about this option as soon as you know you are leaving.
Does borrowing from my 401k hurt my credit score?
No. A 401k 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.
Can I pay back my 401k loan early without a penalty?
Yes. Most plans allow you to repay the loan early without penalty. Paying it back faster reduces the interest you pay and gets the money back into your investments sooner. Check your plan documents or ask your administrator whether there are any restrictions on early repayment.
What happens to my loan if I die?
The unpaid loan balance is typically forgiven, and your beneficiaries receive the remaining account balance. However, plan rules vary, so confirm this with your plan administrator. In some cases, the loan balance may be treated as a taxable distribution to your estate.