You can borrow from your 401k, but the rules are strict and the risks are real
Yes, most 401k plans allow you to borrow against your balance. The loan comes from your own money, not from the plan administrator or your employer. You repay it to yourself with interest, and the interest goes back into your account. But borrowing from retirement savings has consequences that don't show up in the loan paperwork: you stop earning investment returns on the borrowed amount, you have to repay it on a fixed schedule even if you lose your job, and if you can't repay it, the unpaid balance becomes taxable income plus a 10 percent penalty if you're under 59½.
Not all 401k plans allow loans. Some employers prohibit them entirely. If your plan does allow loans, the rules about how much you can borrow, how long you have to repay, and what happens if you leave your job are set by your employer's plan document, not by federal law. Before you assume you can borrow, you need to check your plan's specific rules.
Key Takeaways
- You can borrow up to 50 percent of your vested balance or $50,000, whichever is less, but only if your plan permits loans at all.
- You must repay the loan within five years in most cases, with payments going back into your own 401k account.
- If you leave your job, the entire loan balance usually becomes due within 60 to 90 days, and any unpaid amount is treated as a withdrawal subject to income tax and a 10 percent penalty if you're under 59½.
- While you're repaying the loan, that money earns interest for the plan, not investment returns for you, which can cost you significantly over time.
- You need to contact your plan administrator or check your plan documents to find out whether loans are even available to you.
How much you can borrow and the repayment timeline
The federal limit is 50 percent of your vested balance or $50,000, whichever is smaller. If your vested balance is $80,000, you can borrow up to $40,000. If it's $120,000, you can still only borrow $50,000. Your employer's plan may set a lower limit, so the actual amount available to you could be less than the federal maximum.
You must repay the loan within five years in most cases, with payments deducted from your paycheck. The interest rate is set by your plan administrator, usually tied to the prime rate plus 1 or 2 percentage points. The interest you pay goes back into your 401k account, but it's interest you're paying to yourself, not to a bank. That sounds better than it is: the money you borrowed stops earning the investment returns your 401k normally generates, so you lose out on growth even though you're paying interest.
If you use the borrowed money to buy a primary residence, some plans allow you to extend repayment beyond five years. Check your plan documents or ask your administrator whether this option exists for you.
What happens if you leave your job
This is where 401k loans become dangerous. If you leave your employer for any reason — you quit, you're fired, you're laid off, you retire — the entire outstanding loan balance typically becomes due within 60 to 90 days. Your employer's plan document specifies the exact deadline. If you can't repay it in that window, the unpaid amount is treated as a withdrawal from your 401k.
A withdrawal before age 59½ means you owe income tax on the amount plus a 10 percent early withdrawal penalty. If you borrowed $30,000 and can't repay it when you leave your job, you could owe $9,000 or more in taxes and penalties, depending on your tax bracket. That bill comes due when you file your taxes the following year, even if you don't have the money.
Some plans allow you to repay the loan after you leave if you do it within the grace period, but you have to contact the plan administrator immediately to find out the exact rules for your plan. Waiting to see what happens is a mistake — the clock starts the day you separate from employment.
The hidden cost: lost investment growth
When you borrow $20,000 from your 401k, that $20,000 stops being invested in stocks, bonds, or funds. Instead, it sits in a loan account earning the interest rate your plan sets — typically 5 to 8 percent. Meanwhile, the stock market or bond market might return 7 to 10 percent or more over the same period. The difference between what you could have earned and what you actually earn is real money out of your retirement.
Over a five-year repayment period, this gap compounds. If your 401k would have earned 8 percent annually and your loan interest is 6 percent, you're giving up roughly 2 percent per year on the borrowed amount. On a $30,000 loan, that's $600 in year one, $612 in year two, and so on. By the end of five years, you could have lost $3,000 to $4,000 in growth that you'll never get back.
This cost is invisible because it doesn't appear as a fee or charge. It's an opportunity cost — money you didn't earn because the borrowed amount wasn't invested. But it's as real as any interest payment you make.
When a 401k loan makes sense and when it doesn't
A 401k loan is most defensible when you have a specific, time-limited need and you're confident you'll stay employed long enough to repay it. Examples: paying off high-interest credit card debt (if the 401k loan rate is lower), covering a medical emergency, or making a down payment on a home. In these cases, you're borrowing from yourself at a rate lower than you'd pay a bank, and you have a clear path to repayment.
A 401k loan is risky when your job is unstable, when you're already struggling to save, or when you're borrowing for ongoing expenses like rent or living costs. If you lose your job three years into a five-year repayment plan, you face a sudden tax bill you may not be able to pay. If you're borrowing because you can't cover your monthly expenses, the loan is a temporary patch that doesn't fix the underlying problem.
Before you borrow, compare the 401k loan rate to other options: a personal loan from a bank, a credit union loan, or a line of credit. If the 401k rate is significantly lower and you're certain you'll stay employed, the 401k loan may be the cheapest option. If you're uncertain about your job or if other borrowing options are competitive, explore those first.
How to request a 401k loan
Contact your plan administrator — usually your employer's HR or benefits department, or a third-party administrator if your employer uses one. Ask for the loan request form and the plan's loan rules. You'll need to provide information about the loan amount, the reason for the loan (some plans ask this), and how you plan to repay it.
The administrator will verify your vested balance, calculate the maximum you can borrow, and process the request. Approval typically takes one to two weeks. Once approved, the money is usually deposited into a bank account you specify, and your repayment schedule begins immediately. Your first payment is typically due within 30 to 60 days of the loan being issued.
Keep copies of all loan documents, including the promissory note, the repayment schedule, and any correspondence with the administrator. If you change jobs or the plan changes administrators, you'll need these records to prove the loan exists and to arrange repayment.
Frequently Asked Questions
Can I borrow from my 401k if I'm self-employed or have a Solo 401k?
Solo 401k plans can include loan provisions, but you set the rules yourself. You can borrow from your own Solo 401k, but you must document the loan formally and repay it according to the terms you set. The same five-year repayment rule and $50,000 limit apply. Consult a tax professional before borrowing from a Solo 401k, because the rules are more complex than employer plans.
What if I can't repay the loan before I leave my job?
You have a grace period — usually 60 to 90 days — to repay the outstanding balance in full. If you can't, the unpaid amount becomes a taxable withdrawal. You'll owe income tax on it plus a 10 percent penalty if you're under 59½. Some plans allow you to roll the loan into an IRA if you leave your job, which can defer the tax hit, but this requires immediate action and professional guidance.
Does borrowing from my 401k affect my credit score?
No. A 401k loan doesn't appear on your credit report because you're borrowing from yourself, not from a lender. It won't help or hurt your credit score. However, if you default on the loan and it becomes a taxable withdrawal, the resulting tax bill could affect your finances if you can't pay it.
Can I borrow from my 401k while I'm still working?
Yes, if your plan allows loans. You can borrow and repay while employed. The risk is lower because you have a steady paycheck to make repayments. But if you leave your job before the loan is repaid, the full balance becomes due within the grace period, so employment stability matters.
What's the difference between a 401k loan and a hardship withdrawal?
A loan must be repaid; a hardship withdrawal is permanent. A withdrawal is taxable and subject to the 10 percent penalty if you're under 59½. A loan lets you use the money and return it without immediate tax consequences. However, a hardship withdrawal doesn't require repayment if you leave your job, whereas a loan does. Hardship withdrawals are also limited to specific situations like medical expenses or preventing eviction.