401k Loan: Rules, Costs & Hidden Risks

Quick Summary
Everything you need to know about a 401k loan — how it works, repayment rules, what happens if you leave your job, the true cost, and smarter alternatives.
In This Article
What Is a 401k Loan and When Does It Make Sense?
A 401k loan lets you borrow against your own retirement savings — no credit check, no bank approval, no closing costs. On the surface, it sounds like a straightforward solution when you need cash fast. But the mechanics, costs, and risks are more nuanced than most people realise, and the wrong move can turn a short-term cash problem into a long-term retirement shortfall.
Related Post
This guide breaks down exactly how a 401k loan works, what it truly costs you, and whether it's the right call for your situation.
How a 401k Loan Works: The Core Rules
Not every employer-sponsored plan allows loans — that's the first thing to verify. Whether the option exists depends entirely on how your employer structured the plan when it was set up. Some employers deliberately exclude it to discourage early withdrawals. Others leave the door open.
If your plan does allow it, here's what the rules typically look like:
- Borrowing limit: The lesser of 50% of your vested balance or $50,000. If your vested balance is $40,000, you can borrow up to $20,000. If it's $200,000, you're capped at $50,000.
- Vested balance matters: Only your vested funds count. Your own contributions are always 100% vested immediately. Employer matching or profit-sharing contributions may be subject to a vesting schedule — meaning some of that money technically isn't yours yet.
- No credit check: Eligibility is based on your account balance and plan rules, not your credit score. This makes it accessible when traditional lending options aren't.
- No closing costs: Unlike a home equity loan or personal loan, there are no origination fees or closing costs, though most plans charge a modest administrative fee — typically around $50–$100 upfront plus an annual maintenance fee.
- Current employees only: If you have money sitting in a 401k from a previous employer, you cannot borrow against it. The loan option is reserved for active participants in the plan.
- Outstanding loans: If you already have a loan, your plan may restrict you from taking another until the first is repaid. Always confirm with your HR or benefits department before assuming you can stack loans.
Practical note on timing: Getting the money isn't instant. Depending on your plan administrator, the process can take anywhere from one business day to several weeks. Electronic transfers are fastest; mailed checks add days of processing and mail time on top. If you have an urgent need, ask your HR team upfront about the fastest available payment method.
The True Cost of a 401k Loan (With a Worked Example)
Here's where most articles get lazy. Yes, the interest rate is competitive — typically the prime rate plus roughly 1%, which in a moderate-rate environment might land between 4% and 6%. And yes, you pay that interest back to yourself, not to a bank. That sounds like a win.
But there's a cost hiding in plain sight: opportunity cost.
When money leaves your 401k as a loan, it stops working for you. The borrowed funds are no longer invested. If markets rise during that period, you miss those gains.
Worked example:
Suppose you borrow $30,000 from your 401k for five years at 5% interest. Over that period, your loan repayments rebuild your balance — with interest paid to yourself. So far, so good.
Now consider the alternative: if that $30,000 had remained invested and grown at an average annual return of 7% (a reasonable long-run equity assumption, not a guarantee), it would grow to approximately $42,100 over five years. The difference — roughly $12,100 — is the opportunity cost you absorb even if you repay every cent on schedule.
The higher your expected market return and the longer the loan term, the more painful that gap becomes. The math flips in your favour only if markets fall during the loan period, since you'd have effectively sidestepped the decline.
There's also a subtle tax drag on the interest. When you repay loan interest into your 401k, you do so with after-tax dollars. When you eventually withdraw those funds in retirement, you pay income tax on them again. So the interest portion is effectively taxed twice — once when you earn the repayment income, and again at distribution. This applies only to the interest, not the principal repayment, but it's a real cost that's easy to overlook.
Repayment Rules and What Happens If You Leave Your Job
Repayment is largely automated — your employer deducts instalments directly from your paycheck. Most plans require full repayment within five years, amortised in equal payments. The exception is loans used to purchase a primary residence, where some plans extend the term to as long as 30 years, though your employer decides whether to offer this option.
The critical scenario most people ignore: what happens if you leave your job?
If you quit, are laid off, or are terminated while a 401k loan is outstanding, the remaining balance typically becomes due — often within 60 days, though some plans provide slightly longer. If you cannot repay in full by that deadline, the IRS treats the outstanding balance as a taxable distribution.
The consequences:
- The unpaid balance is added to your ordinary income for that tax year
- If you're under age 59½, a 10% early withdrawal penalty applies on top of income tax
- Combined federal and state income taxes could push your effective rate to 30–40% or more
Illustration: A $40,000 outstanding loan balance that defaults becomes $40,000 of additional income. At a combined 25% tax rate, that's $10,000 in income tax. Add the 10% penalty — $4,000 — and you're looking at a $14,000 tax bill on money you already spent.
There is a partial lifeline: in some circumstances, you may be able to repay the defaulted loan balance by rolling it into an IRA by your tax filing deadline (including extensions). But this requires careful coordination with a tax professional before you act — not after the deadline has passed.
If you're considering a job change and have an outstanding 401k loan, run the numbers before you hand in your notice.
401k Loan vs. Alternatives: How to Compare Your Options
A 401k loan isn't always the best or only tool. Compare it honestly against these alternatives before committing:
| Option | Credit Check | Interest Goes To | Retirement Impact | Risk If You Leave Job |
|---|---|---|---|---|
| 401k loan | No | Yourself | Lost growth potential | High — balance due on exit |
| Home equity line of credit | Yes | Lender | None directly | Low |
| Personal loan | Yes | Lender | None directly | None |
| Hardship withdrawal | No | N/A | Permanent reduction | None (already distributed) |
| 0% APR credit card | Yes | Lender (after promo) | None directly | None |
Key distinctions:
- A hardship withdrawal permanently removes money from your retirement account. It's taxable, often carries the 10% penalty, and the funds cannot be repaid. A 401k loan, by contrast, is temporary and keeps your retirement savings intact if fully repaid.
- High-interest credit card debt is frequently cited as a justification for 401k loans. If you're carrying a balance at 20–25% APR, a 5–6% self-repaid 401k loan may well be the better option — but only if you're disciplined enough to repay it and your job security is solid.
- Home equity options typically carry lower rates and longer terms but require equity, involve closing costs, and put your home at risk if you default.
If your cash flow situation is broader than a single debt, use a structured repayment tool to map your obligations. Our Debt Payoff Tracker can help you model different payoff scenarios before you decide whether borrowing from your retirement account is the right move.
Contribution Limits, Tax Rules, and Where to Check
Free Weekly Newsletter
Enjoying this guide?
Get the best articles like this one delivered to your inbox every week. No spam.
Retirement account tax rules are updated regularly by the IRS. Contribution limits, income thresholds, and penalty exceptions are adjusted annually — so any specific dollar figure cited here could be outdated by the time you read it. For current limits and rules, go directly to IRS.gov or speak with a qualified tax professional.
What doesn't change year to year is the core structure:
- Loans from 401k plans are not taxable events as long as they are repaid according to plan terms
- Defaults are treated as distributions — taxable income, plus penalties if you're under 59½
- Interest repayments are after-tax dollars, creating a modest double-taxation effect on the interest portion only
- Continuing your regular contributions during the loan period — at least up to the employer match — is strongly advisable. Pausing contributions to fund loan repayments means forfeiting free money from your employer, which compounds the retirement shortfall
The Bottom Line: When a 401k Loan Is and Isn't Worth It
A 401k loan isn't inherently good or bad — it's a tool, and like any tool, it works well in the right situation and creates problems in the wrong one.
Consider it when:
- You have a genuine short-term need and a realistic repayment plan
- You're wiping out high-interest debt (20%+ APR) and your job is stable
- No other credit options are available or affordable
- The loan term is short, minimising opportunity cost
Avoid it when:
- Your employment situation is uncertain — the job-change risk is real and underestimated
- You're close to retirement and the growth foregone cannot be recovered
- You're likely to reduce or pause your contributions to cover repayments
- You're treating it as a lifestyle expense rather than a genuine emergency
The most important variable isn't the interest rate — it's job stability. A 401k loan taken in a secure, long-tenure role looks very different from one taken six months into a new position. Run both scenarios before you decide.
Frequently Asked Questions
Does taking a 401k loan affect my credit score?
No. A 401k loan does not involve a credit check and is not reported to credit bureaus. It will not appear on your credit report or affect your credit score, regardless of whether you repay it on time or default.
Can I still contribute to my 401k while repaying a loan?
Yes, and financial planners generally recommend you do — especially up to the level required to receive your employer's full match. Stopping contributions to free up cash for loan repayments means losing employer matching funds, which compounds the long-term cost of the loan significantly.
What happens to my 401k loan if my company goes bankrupt?
Your 401k assets are held in a trust separate from your employer's assets, so they are protected if the company fails. However, your loan repayment schedule would need to be addressed. The outstanding balance may become due upon plan termination. Contact the plan administrator and a tax advisor immediately if your employer enters bankruptcy while you have a loan outstanding.
Is there a limit on how many 401k loans I can have at once?
Plan rules vary, but many plans restrict participants to one outstanding loan at a time, or cap the total outstanding balance. The IRS sets an overall limit (50% of vested balance or $50,000, whichever is less) across all outstanding loans. Check your plan documents or speak to your HR department for the specifics of your plan.
Can I repay a 401k loan early?
Yes. Most plans allow early repayment with no prepayment penalty. You can increase the size of your payroll deductions or make lump-sum payments to pay the loan off ahead of schedule. Doing so reduces the opportunity cost and your exposure to the job-departure risk.
Contribution limits and tax rules referenced in this article are subject to annual IRS adjustments. Visit IRS.gov for current figures. This article is for informational purposes only and does not constitute financial advice. Always consult a qualified financial professional before making investment decisions.
Free Investing Tools
Recommended Reading
The Simple Path to Wealth
by JL Collins
A plain-English case for low-cost index funds and financial independence.
Die With Zero
by Bill Perkins
A different way to think about spending your savings in retirement.
As an Amazon Associate, Zeebrain earns from qualifying purchases.
Frequently Asked Questions
What Is a 401k Loan and When Does It Make Sense?
A 401k loan lets you borrow against your own retirement savings — no credit check, no bank approval, no closing costs. On the surface, it sounds like a straightforward solution when you need cash fast. But the mechanics, costs, and risks are more nuanced than most people realise, and the wrong move can turn a short-term cash problem into a long-term retirement shortfall.
This guide breaks down exactly how a 401k loan works, what it truly costs you, and whether it's the right call for your situation.
How a 401k Loan Works: The Core Rules
Not every employer-sponsored plan allows loans — that's the first thing to verify. Whether the option exists depends entirely on how your employer structured the plan when it was set up. Some employers deliberately exclude it to discourage early withdrawals. Others leave the door open.
If your plan does allow it, here's what the rules typically look like:
- Borrowing limit: The lesser of 50% of your vested balance or $50,000. If your vested balance is $40,000, you can borrow up to $20,000. If it's $200,000, you're capped at $50,000.
- Vested balance matters: Only your vested funds count. Your own contributions are always 100% vested immediately. Employer matching or profit-sharing contributions may be subject to a vesting schedule — meaning some of that money technically isn't yours yet.
- No credit check: Eligibility is based on your account balance and plan rules, not your credit score. This makes it accessible when traditional lending options aren't.
- No closing costs: Unlike a home equity loan or personal loan, there are no origination fees or closing costs, though most plans charge a modest administrative fee — typically around $50–$100 upfront plus an annual maintenance fee.
- Current employees only: If you have money sitting in a 401k from a previous employer, you cannot borrow against it. The loan option is reserved for active participants in the plan.
- Outstanding loans: If you already have a loan, your plan may restrict you from taking another until the first is repaid. Always confirm with your HR or benefits department before assuming you can stack loans.
Practical note on timing: Getting the money isn't instant. Depending on your plan administrator, the process can take anywhere from one business day to several weeks. Electronic transfers are fastest; mailed checks add days of processing and mail time on top. If you have an urgent need, ask your HR team upfront about the fastest available payment method.
The True Cost of a 401k Loan (With a Worked Example)
Here's where most articles get lazy. Yes, the interest rate is competitive — typically the prime rate plus roughly 1%, which in a moderate-rate environment might land between 4% and 6%. And yes, you pay that interest back to yourself, not to a bank. That sounds like a win.
But there's a cost hiding in plain sight: opportunity cost.
When money leaves your 401k as a loan, it stops working for you. The borrowed funds are no longer invested. If markets rise during that period, you miss those gains.
Worked example:
Suppose you borrow $30,000 from your 401k for five years at 5% interest. Over that period, your loan repayments rebuild your balance — with interest paid to yourself. So far, so good.
Now consider the alternative: if that $30,000 had remained invested and grown at an average annual return of 7% (a reasonable long-run equity assumption, not a guarantee), it would grow to approximately $42,100 over five years. The difference — roughly $12,100 — is the opportunity cost you absorb even if you repay every cent on schedule.
The higher your expected market return and the longer the loan term, the more painful that gap becomes. The math flips in your favour only if markets fall during the loan period, since you'd have effectively sidestepped the decline.
There's also a subtle tax drag on the interest. When you repay loan interest into your 401k, you do so with after-tax dollars. When you eventually withdraw those funds in retirement, you pay income tax on them again. So the interest portion is effectively taxed twice — once when you earn the repayment income, and again at distribution. This applies only to the interest, not the principal repayment, but it's a real cost that's easy to overlook.
Repayment Rules and What Happens If You Leave Your Job
Repayment is largely automated — your employer deducts instalments directly from your paycheck. Most plans require full repayment within five years, amortised in equal payments. The exception is loans used to purchase a primary residence, where some plans extend the term to as long as 30 years, though your employer decides whether to offer this option.
The critical scenario most people ignore: what happens if you leave your job?
If you quit, are laid off, or are terminated while a 401k loan is outstanding, the remaining balance typically becomes due — often within 60 days, though some plans provide slightly longer. If you cannot repay in full by that deadline, the IRS treats the outstanding balance as a taxable distribution.
The consequences:
- The unpaid balance is added to your ordinary income for that tax year
- If you're under age 59½, a 10% early withdrawal penalty applies on top of income tax
- Combined federal and state income taxes could push your effective rate to 30–40% or more
Illustration: A $40,000 outstanding loan balance that defaults becomes $40,000 of additional income. At a combined 25% tax rate, that's $10,000 in income tax. Add the 10% penalty — $4,000 — and you're looking at a $14,000 tax bill on money you already spent.
There is a partial lifeline: in some circumstances, you may be able to repay the defaulted loan balance by rolling it into an IRA by your tax filing deadline (including extensions). But this requires careful coordination with a tax professional before you act — not after the deadline has passed.
If you're considering a job change and have an outstanding 401k loan, run the numbers before you hand in your notice.
401k Loan vs. Alternatives: How to Compare Your Options
A 401k loan isn't always the best or only tool. Compare it honestly against these alternatives before committing:
| Option | Credit Check | Interest Goes To | Retirement Impact | Risk If You Leave Job |
|---|---|---|---|---|
| 401k loan | No | Yourself | Lost growth potential | High — balance due on exit |
| Home equity line of credit | Yes | Lender | None directly | Low |
| Personal loan | Yes | Lender | None directly | None |
| Hardship withdrawal | No | N/A | Permanent reduction | None (already distributed) |
| 0% APR credit card | Yes | Lender (after promo) | None directly | None |
Key distinctions:
- A hardship withdrawal permanently removes money from your retirement account. It's taxable, often carries the 10% penalty, and the funds cannot be repaid. A 401k loan, by contrast, is temporary and keeps your retirement savings intact if fully repaid.
- High-interest credit card debt is frequently cited as a justification for 401k loans. If you're carrying a balance at 20–25% APR, a 5–6% self-repaid 401k loan may well be the better option — but only if you're disciplined enough to repay it and your job security is solid.
- Home equity options typically carry lower rates and longer terms but require equity, involve closing costs, and put your home at risk if you default.
If your cash flow situation is broader than a single debt, use a structured repayment tool to map your obligations. Our Debt Payoff Tracker can help you model different payoff scenarios before you decide whether borrowing from your retirement account is the right move.
Contribution Limits, Tax Rules, and Where to Check
Retirement account tax rules are updated regularly by the IRS. Contribution limits, income thresholds, and penalty exceptions are adjusted annually — so any specific dollar figure cited here could be outdated by the time you read it. For current limits and rules, go directly to IRS.gov or speak with a qualified tax professional.
What doesn't change year to year is the core structure:
- Loans from 401k plans are not taxable events as long as they are repaid according to plan terms
- Defaults are treated as distributions — taxable income, plus penalties if you're under 59½
- Interest repayments are after-tax dollars, creating a modest double-taxation effect on the interest portion only
- Continuing your regular contributions during the loan period — at least up to the employer match — is strongly advisable. Pausing contributions to fund loan repayments means forfeiting free money from your employer, which compounds the retirement shortfall
The Bottom Line: When a 401k Loan Is and Isn't Worth It
A 401k loan isn't inherently good or bad — it's a tool, and like any tool, it works well in the right situation and creates problems in the wrong one.
Consider it when:
- You have a genuine short-term need and a realistic repayment plan
- You're wiping out high-interest debt (20%+ APR) and your job is stable
- No other credit options are available or affordable
- The loan term is short, minimising opportunity cost
Avoid it when:
- Your employment situation is uncertain — the job-change risk is real and underestimated
- You're close to retirement and the growth foregone cannot be recovered
- You're likely to reduce or pause your contributions to cover repayments
- You're treating it as a lifestyle expense rather than a genuine emergency
The most important variable isn't the interest rate — it's job stability. A 401k loan taken in a secure, long-tenure role looks very different from one taken six months into a new position. Run both scenarios before you decide.
Frequently Asked Questions
Does taking a 401k loan affect my credit score?
No. A 401k loan does not involve a credit check and is not reported to credit bureaus. It will not appear on your credit report or affect your credit score, regardless of whether you repay it on time or default.
Can I still contribute to my 401k while repaying a loan?
Yes, and financial planners generally recommend you do — especially up to the level required to receive your employer's full match. Stopping contributions to free up cash for loan repayments means losing employer matching funds, which compounds the long-term cost of the loan significantly.
What happens to my 401k loan if my company goes bankrupt?
Your 401k assets are held in a trust separate from your employer's assets, so they are protected if the company fails. However, your loan repayment schedule would need to be addressed. The outstanding balance may become due upon plan termination. Contact the plan administrator and a tax advisor immediately if your employer enters bankruptcy while you have a loan outstanding.
Is there a limit on how many 401k loans I can have at once?
Plan rules vary, but many plans restrict participants to one outstanding loan at a time, or cap the total outstanding balance. The IRS sets an overall limit (50% of vested balance or $50,000, whichever is less) across all outstanding loans. Check your plan documents or speak to your HR department for the specifics of your plan.
Can I repay a 401k loan early?
Yes. Most plans allow early repayment with no prepayment penalty. You can increase the size of your payroll deductions or make lump-sum payments to pay the loan off ahead of schedule. Doing so reduces the opportunity cost and your exposure to the job-departure risk.
Contribution limits and tax rules referenced in this article are subject to annual IRS adjustments. Visit IRS.gov for current figures. This article is for informational purposes only and does not constitute financial advice. Always consult a qualified financial professional before making investment decisions.
About Zeebrain Editorial
Zeebrain publishes independent analysis of markets, investing, personal finance, and business. We disclose affiliate relationships, never accept payment for coverage, and fact-check all claims against primary sources. Read our editorial policy →
How this article was produced: Zeebrain articles are created with AI assistance from primary sources (including cited videos and market data) and reviewed under our editorial standards before publication. Spot an error? Tell us and we will correct it.
Disclaimer: Content on Zeebrain is for informational and educational purposes only and does not constitute financial advice or a recommendation to buy or sell any security. Always conduct your own research and consult a qualified financial adviser before making investment decisions. Past performance is not indicative of future results.
More from Business & Money
Related Guides
Keep exploring this topic
How to Say No to a 1% AUM Fee Advisor
Business & Money · AUM fees · Roth conversion
How Inflation Erodes Wages, Savings, and Retirement Income
Business & Money · inflation · personal finance
How to Make Investing Automatic and Build Wealth Faster
Business & Money · personal finance · investing for beginners
Why Chasing a Bigger Salary Can Backfire Your Career
Business & Money · career advice · salary negotiation
Explore More on Zeebrain
Keep browsing by topic, or put the numbers to work with our free tools.



