Yes, you can borrow from your 401k, but the rules are strict and the costs are real
Most 401k plans allow you to borrow against your own balance — the money you and your employer have already contributed. You are borrowing from yourself, not from a bank, which is why the process exists. But the IRS sets hard limits on how much, how long you can take to repay, and what happens if you leave your job before you pay it back. A loan that looks like a solution can become a tax penalty if you do not understand the rules.
Whether a 401k loan makes sense depends on what you need the money for, what interest rate your plan charges, and whether you can repay it on schedule. This guide explains how the mechanics work, what disqualifies you, and what the real cost is.
Key Takeaways
- You can borrow up to 50 percent of your vested balance, with a maximum of $50,000, and you must repay it within five years (or longer if the loan is for a home purchase).
- Your plan administrator sets the interest rate, which is typically 1 to 2 percent above the prime rate, and you pay interest to your own account, not to a lender.
- If you leave your job before the loan is repaid, you usually have 60 to 90 days to pay back the full balance or face income tax plus a 10 percent early withdrawal penalty.
- Borrowing from your 401k reduces the balance that grows tax-free and can lower your retirement savings significantly if you do not repay on time.
- Some plans do not allow loans at all, so you must check your plan documents or call your plan administrator before assuming you can borrow.
How much you can borrow and the repayment timeline
The IRS allows you to borrow up to 50 percent of your vested balance — the portion of your account that legally belongs to you, not the portion still subject to a vesting schedule. If your vested balance is $100,000, you can borrow up to $50,000. The absolute maximum is $50,000 regardless of your balance size, so if your vested balance is $200,000, you still cannot borrow more than $50,000.
Repayment must happen within five years for most loans, paid back through payroll deductions. If you borrow the money to buy a primary residence, some plans allow a longer repayment period — often 10 to 30 years — but you must check your specific plan documents. The interest rate is set by your plan administrator and typically ranges from 1 to 2 percent above the prime rate. You pay that interest back into your own 401k account, so the interest becomes part of your retirement savings.
If you stop making payments, your plan administrator will treat the unpaid balance as a withdrawal. That withdrawal is subject to income tax in the year it occurs, plus a 10 percent early withdrawal penalty if you are under 59½. The tax bill can be substantial and arrives on your next tax return.
What happens to your loan if you change jobs
If you leave your employer before the loan is repaid, the rules change immediately. Most plans require you to pay back the entire remaining balance within 60 to 90 days. Some plans are stricter and demand repayment within 30 days. Check your plan documents or ask your plan administrator what the deadline is for your specific plan.
If you cannot repay the full balance by that deadline, the unpaid amount is treated as a taxable withdrawal. You owe income tax on the withdrawn amount in the year it is treated as a withdrawal. If you are under 59½, you also owe a 10 percent early withdrawal penalty on top of the income tax. A $30,000 loan balance could result in a tax bill of $10,000 or more, depending on your tax bracket.
Some people roll over their 401k to an IRA or to a new employer's 401k plan and assume the loan transfers with it. It does not. The loan must be repaid or it becomes a taxable withdrawal. This is one of the most common and costly mistakes people make when changing jobs.
Plans that do not allow loans and how to learn about yours does
Not every 401k plan permits loans. Some employers, particularly smaller companies or those with certain plan designs, prohibit borrowing entirely. If your plan does not allow loans, you cannot borrow regardless of your balance or your reason.
To find out whether your plan allows loans, contact your plan administrator directly — usually the human resources department or the company that manages your 401k. Ask for a copy of the plan's loan provisions or summary plan description. You can also log into your 401k account online; many providers show loan options in the account dashboard if loans are available. If you see no loan option in your account, loans are likely not permitted under your plan.
The real cost of borrowing from your 401k
The interest rate on a 401k loan is lower than a personal loan or credit card, which makes borrowing seem attractive. But the true cost goes beyond interest. Every dollar you borrow is a dollar that stops growing tax-free in your 401k. If you borrow $30,000 at age 40 and repay it over five years, that $30,000 could have grown to $60,000 or more by age 65, depending on market returns. You lose that growth permanently.
If you fail to repay on schedule or leave your job before the loan is repaid, the tax penalty is steep. A $30,000 unpaid loan balance at age 50 triggers income tax plus a 10 percent penalty — potentially $12,000 or more in taxes owed immediately. That money comes out of your pocket, not your 401k.
Borrowing also reduces the amount of money you have working toward retirement. If you are behind on retirement savings already, a 401k loan makes that problem worse, not better.
Alternatives to a 401k loan
Before borrowing from your 401k, consider other options. A personal loan from a bank or credit union usually has a higher interest rate but does not put your retirement savings at risk. A home equity line of credit, if you own a home, often has a lower rate than a personal loan and may have tax-deductible interest. A 0 percent credit card offer, if you have good credit, can bridge a short-term need with no interest for 6 to 12 months.
If you are facing a genuine emergency — medical bills, job loss, eviction risk — look into hardship programs first. Some 401k plans allow hardship withdrawals for specific reasons like medical expenses or preventing foreclosure. A hardship withdrawal is taxable and may carry a penalty, but it does not require repayment. If you are going to owe taxes anyway, a hardship withdrawal might be simpler than a loan you cannot repay.
If you are borrowing to pay off credit card debt, a debt consolidation loan or balance transfer card is usually cheaper than a 401k loan when you factor in the lost growth and the risk of penalties.
The loan application process and timeline
If your plan allows loans and you decide to proceed, contact your plan administrator to request a loan application. Most plans require you to submit the application in writing, though some allow online submission through the plan's website. You will need to specify the loan amount and the reason for the loan (though the reason does not usually affect whether you are approved).
The plan administrator will verify your vested balance, calculate the maximum you can borrow, and confirm you do not have an outstanding loan already. Most plans limit you to one or two active loans at a time. Processing typically takes one to three weeks. Once approved, the money is deposited into a bank account you specify, usually by check or electronic transfer.
Your repayment schedule begins immediately. Payments are deducted from your paycheck, so you do not have to remember to pay manually. If you are self-employed or do not receive a regular paycheck, ask your plan administrator how payments are collected — you may need to pay quarterly or annually.
Frequently Asked Questions
Can I borrow from my 401k if I am still working at the same company?
Yes. You can borrow from your 401k while still employed. The five-year repayment rule applies, and you repay through payroll deductions. The risk is lower than if you change jobs, because you keep your job and your income stream to make payments.
What if I cannot repay the loan on time?
Contact your plan administrator immediately. Some plans allow you to extend the repayment period or restructure the loan, though this is not may provide. If you do not repay by the deadline, the unpaid balance becomes a taxable withdrawal and you owe income tax plus a 10 percent penalty if you are under 59½.
Can I borrow from my 401k to pay off credit card debt?
Technically yes, but it is usually not the best option. You lose the tax-free growth on the borrowed amount, and if you leave your job before repaying, you face a large tax bill. A personal loan or balance transfer card is often cheaper when you account for the full cost.
Does borrowing from my 401k affect 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 help or hurt your credit score.
What if my plan does not allow loans?
You cannot borrow from that 401k. Your options are a personal loan, a home equity line of credit, a credit card, or a hardship withdrawal if your plan permits it. Some employers allow you to change plans during open enrollment, but this is rare and does not may provide loan access.