You can borrow from your own 401k, but the IRS sets strict rules and your plan may not allow it
A 401k loan lets you borrow money from your own retirement savings and pay yourself back with interest. The IRS permits it, but your employer's plan does not have to offer it — roughly half of all 401k plans do. If your plan does allow loans, you can typically borrow up to 50 percent of your vested balance, with a maximum of $50,000. The loan must be repaid within five years unless you use the money to buy a primary home, in which case the timeline can extend.
The real cost is not the interest rate, which is usually reasonable. The cost is what you lose by removing money that would have grown tax-free. If you borrow $20,000 and the market rises 7 percent annually, you give up roughly $1,400 in growth that year alone. You also stop making contributions to that borrowed amount while you repay the loan.
Key Takeaways
- Your plan must offer loans before you can take one — contact your plan administrator or HR to learn about yours does.
- You can borrow up to 50 percent of your vested balance or $50,000, whichever is less, and must repay it within five years for most purposes.
- If you default on the loan, the IRS treats the unpaid balance as a withdrawal, which triggers income tax plus a 10 percent penalty if you are under 59½.
- Interest rates on 401k loans are typically lower than bank loans, but the real cost is the investment growth you miss while the money is out.
- If you leave your job, most plans require you to repay the loan within 60 to 90 days or face default consequences.
How much you can borrow and the repayment timeline
The IRS allows you to borrow the lesser of these two amounts: 50 percent of your vested account balance, or $50,000. If your vested balance is $80,000, you can borrow up to $40,000. If it is $150,000, you can still only borrow $50,000. Your plan administrator can tell you your vested balance — this is the portion you own outright, separate from employer matching that may not be fully vested yet.
Repayment terms depend on the loan's purpose. For a home purchase, you may have up to 15 or even 30 years to repay, depending on your plan. For any other reason — medical bills, debt consolidation, a car — the standard term is five years. You repay through payroll deductions, so the money comes out of your paycheck before taxes. Your plan sets the interest rate, which is typically the prime rate plus 1 to 2 percent. You are paying interest to yourself, not to a bank, so that interest goes back into your 401k account.
What happens if you cannot repay the loan
If you stop making payments, your plan will declare the loan in default. The unpaid balance is then treated as a taxable withdrawal. You owe federal income tax on the full amount at your current tax rate. If you are under 59½, you also owe a 10 percent early withdrawal penalty on top of the income tax. On a $20,000 defaulted loan, if you are in the 22 percent tax bracket, you would owe roughly $6,400 in taxes plus $2,000 in penalty — a total of $8,400.
The most common trigger for default is leaving your job. Most plans require you to repay the entire loan balance within 60 to 90 days of separation. If you cannot repay it in full by that deadline, the loan defaults and you face the tax and penalty consequences. Some plans allow you to extend the repayment period if you negotiate with the plan administrator, but this is not may provide. A few plans permit you to keep making payments on the original schedule even after you leave, but this is rare.
The hidden cost: lost investment growth
The interest rate on a 401k loan is usually lower than a personal bank loan or credit card, which makes it seem like a good deal. But the real cost is invisible: the money you borrow stops growing tax-free. If you borrow $30,000 from a 401k that averages 7 percent annual returns, that $30,000 would become roughly $60,000 in 10 years if left untouched. By borrowing it, you lose that $30,000 in growth.
You also lose the tax benefit of contributions. While you repay the loan, you are not adding new money to your 401k (or you are adding less), so you miss years of tax-deferred growth on those contributions. Over a 30-year career, this compounds significantly. A financial advisor can model what you would lose in your specific situation, but the general rule is: a 401k loan is cheaper than credit card debt but more expensive than you think.
Alternatives to borrowing from your 401k
Before taking a 401k loan, explore other options. A personal bank loan or home equity line of credit often has a lower interest rate and does not put your retirement at risk. If you are facing a medical or hardship expense, some 401k plans allow hardship withdrawals without the five-year repayment requirement — though you still owe income tax and the 10 percent penalty if you are under 59½. A hardship withdrawal is permanent; a loan is not. Ask your plan administrator which hardships your plan recognizes.
If you need money for a home purchase, a mortgage is almost always cheaper than a 401k loan because mortgage rates are lower and the term can be 15 to 30 years. If you are facing a temporary cash shortage, a short-term personal loan from a credit union or online lender may cost less in lost growth than a 401k loan, especially if you can repay it in under a year. The key is to compare the total cost — interest paid plus growth lost — across all your options before deciding.
How to request a loan from your 401k plan
Contact your plan administrator or your HR department and ask whether your plan permits loans. If it does, request a loan application form. You will need to specify the loan amount, the purpose, and your preferred repayment term. Some plans require you to provide documentation for certain purposes — for example, a purchase agreement for a home or an invoice for a medical procedure. The plan will review your request and, if approved, disburse the funds, usually within one to two weeks.
Before you submit the application, confirm three things: whether your plan allows loans, what the maximum loan amount is for your vested balance, and what the interest rate will be. Also ask about the consequences of leaving your job while the loan is outstanding. Some employers are more flexible than others about extending the repayment deadline. Getting these details in writing before you borrow protects you from surprises later.
Frequently Asked Questions
Can I borrow from my 401k if I am still working?
Yes. As long as your plan permits loans, you can borrow while employed. You repay through payroll deductions, so the money comes directly out of your paycheck. The loan does not affect your ability to continue making regular 401k contributions, though you may choose to reduce contributions while repaying.
What if I leave my job before the loan is repaid?
Most plans require you to repay the full balance within 60 to 90 days of leaving. If you cannot repay it, the unpaid amount is treated as a taxable withdrawal, and you owe income tax plus a 10 percent penalty if you are under 59½. Some plans allow you to keep the repayment schedule, but this is uncommon — ask your plan administrator before you borrow.
Can I borrow from my 401k to pay off credit card debt?
Yes, the IRS allows it. However, compare the cost carefully. A 401k loan may have a lower interest rate than credit cards, but you lose investment growth on the borrowed amount. If you can repay credit card debt in under two years, the growth loss may be smaller than the interest you would pay. For longer repayment periods, a personal loan or balance transfer may be cheaper overall.
Do I pay taxes on a 401k loan?
No, not while you are repaying it. The loan is your own money, so there is no tax on the withdrawal or the repayment. You only owe taxes if the loan defaults and the unpaid balance is treated as a withdrawal. Interest you pay goes back into your account and is not taxed until you withdraw it in retirement.
Can my employer deny my loan request?
Yes, if your plan does not permit loans or if you do not meet the plan's requirements. Some plans limit loans to certain purposes or require you to have worked there for a minimum time. If your plan allows loans, the plan administrator can deny your request only if you exceed the maximum loan amount or do not have enough vested balance. Ask for the plan's loan policy in writing.