Editorial note:This content is for informational purposes only and does not constitute financial, lending, or legal advice. Lender rates, fees, and eligibility change frequently — confirm details on the lender's own site before applying. Information is believed accurate as of publication but may not reflect the latest lender disclosures.
401(k) Loans: When They Make Sense and When to Look Elsewhere
A plain-English guide to borrowing from your retirement savings—rules, costs, risks, and smarter alternatives
Introduction
A 401(k) loan lets you borrow money from your own retirement account, usually without a credit check or origination fee. The IRS allows you to borrow up to 50% of your vested balance—capped at $50,000—and repay yourself with interest over five years, but if you leave your job or default, you'll face taxes and penalties that can wipe out years of savings. This guide walks through the IRS rules, true costs, worked examples, and when a personal loan or HELOC makes more sense.
Key takeaways
- You can borrow the lesser of $50,000 or 50% of your vested 401(k) balance, repaid within five years (longer for a primary-residence purchase).
- Interest you pay goes back into your own account, but you lose market growth on borrowed funds and pay taxes twice on loan interest.
- If you leave your job or are laid off, most plans require full repayment within 60–90 days; otherwise the outstanding balance becomes a taxable distribution plus a 10% early-withdrawal penalty if you're under 59½.
- Personal loans from SoFi, LightStream, or Marcus often cost less in real terms and carry no job-loss repayment trigger.
How 401(k) loans work under IRS rules
A 401(k) loan is a withdrawal from your retirement plan that must be repaid with interest, typically through automatic payroll deductions. The IRS sets the maximum at the lesser of $50,000 or 50% of your vested account balance, measured across all employer-sponsored plans. According to a 2023 Vanguard report, about 13% of participants had an outstanding 401(k) loan at year-end, with a median balance around $10,300.
The standard repayment term is five years, though the IRS allows up to 15 years if you use the funds to buy your primary home. Your employer's plan administrator sets the interest rate—usually prime plus 1–2%—so if the Wall Street Journal prime rate is 8.50% in early 2026, your loan might carry a 9.50% or 10.50% rate.
Interest payments and principal go back into your 401(k), not to a bank. That sounds appealing, but you miss out on potential market returns during the loan period, and you repay the loan with after-tax dollars; when you eventually withdraw in retirement, you'll pay income tax again on those same dollars.
Who can borrow and who cannot
Not every 401(k) plan permits loans. Safe-harbor and traditional 401(k) plans may offer loan features, but your employer must opt in. Solo 401(k) plans—popular with self-employed individuals—also permit loans if the plan document allows it. Roth 401(k) balances count toward your borrowing limit, and you repay both traditional and Roth contributions into the same loan account.
You cannot borrow from an IRA or a rolled-over 401(k) that now sits in an IRA. Once your old employer's 401(k) becomes an IRA rollover, loan privileges disappear.
When a 401(k) loan makes sense
Borrowing from your 401(k) can be the cheapest, fastest option in a narrow set of scenarios:
- Emergency expenses with no other credit. If your credit score is below 580 and a high-APR personal loan from Avant or Oportun would cost 30%+, a 10% 401(k) loan may save hundreds in interest.
- Short-term bridge loan. You're closing on a new home in 60 days and need a down-payment gap filled; you'll repay from the sale of your current house before the 401(k) loan term matters.
- Avoiding bankruptcy. A lump sum can prevent foreclosure or a car repossession while you restructure finances, and the loan doesn't appear on your credit report.
In each case, job security is critical. If layoffs loom or you're considering a career change, the acceleration clause—requiring full repayment within 60–90 days of separation—turns a manageable loan into a taxable disaster.
The true cost: a worked example
Suppose you have a $100,000 vested 401(k) balance and borrow $20,000 at 10% APR over five years. Your bi-weekly payroll deduction will be roughly $212, totaling $5,500 in interest paid back into your account over 60 months.
Scenario A: Market returns 8% annually If that $20,000 had remained invested and earned 8% per year, it would grow to approximately $29,387 after five years. By borrowing it, you give up $9,387 in growth—even though you "pay yourself" $5,500 in interest, netting a $3,887 opportunity cost.
Scenario B: Market returns 0% In a flat or bear market, your opportunity cost shrinks or even reverses; the 10% loan interest may exceed what the funds would have earned in bonds or cash equivalents.
Double taxation You repay the $20,000 loan principal and $5,500 interest with after-tax paycheck dollars. When you retire and withdraw that $25,500, you'll pay ordinary income tax again on the full amount—effectively taxing the $5,500 interest twice.
| Cost factor | 401(k) loan | Personal loan (12% APR) |
|---|---|---|
| Interest rate | ~10% (prime + 1–2%) | 12.00% (LightStream, excellent credit) |
| Total interest on $20k/5yr | ~$5,500 | ~$6,640 |
| Opportunity cost (8% market) | ~$9,387 lost growth | $0 (funds remain invested) |
| Job-loss repayment trigger | Yes—60–90 days | No |
| Tax on interest | Twice (repay after-tax, taxed again) | Once (only on earnings if applicable) |
| Net five-year cost | ~$14,887 | ~$6,640 |
In this example, the personal loan is cheaper by more than $8,000 once you account for opportunity cost and double taxation.
Risks and what to avoid
Losing your job or changing employers
Most plans require full repayment within 60–90 days of separation. If you cannot repay, the IRS treats the outstanding balance as a taxable distribution. On a $20,000 loan, that could mean $4,400 in federal taxes (22% bracket) plus a $2,000 early-withdrawal penalty (10%) if you're under 59½—$6,400 gone.
Taking multiple loans
Some plans allow two simultaneous loans, but each reduces your vested balance and compounds opportunity cost. Vanguard data show that serial borrowers—those taking three or more loans over a decade—end retirement with account balances 20–25% lower than non-borrowers.
Using 401(k) loans for non-essentials
A vacation, wedding, or new car financed through your retirement account means you're spending future security on present consumption. If the expense can wait or can be funded through a 0% introductory APR credit card (Discover it®, Citi® Double Cash) paid off within 12–18 months, that path preserves your nest egg.
Stopping contributions while repaying
Some employers prohibit new 401(k) contributions during an active loan, and even when allowed, borrowers often reduce deferrals to manage cash flow. This forfeits employer match—free money—and delays compounding. If your employer matches 50% on the first 6% of salary, skipping contributions for five years on a $60,000 salary costs you $9,000 in match alone.
Alternatives that often cost less
Personal loans
Lenders like SoFi (6.99–25.81% APR), LightStream (7.49–25.49% APR with autopay), and Marcus by Goldman Sachs (7.99–24.99% APR) offer unsecured personal loans from $5,000 to $100,000 with no origination fees and fixed terms of two to seven years. If your FICO is above 670, the APR may be lower than your 401(k) loan rate—and you keep your retirement funds invested.
- Pros: No job-loss trigger, no opportunity cost, single taxation on interest (if any).
- Cons: Hard credit inquiry, monthly payment outside payroll, potential origination fee at other lenders (Upgrade, Avant).
Home equity line of credit (HELOC)
If you own a home with at least 15–20% equity, a HELOC from Figure (6.99–19.99% APR as of early 2026) or Discover offers a revolving credit line secured by your property. Interest may be tax-deductible if used for home improvements (consult a CPA).
- Pros: Often the lowest APR for borrowers with strong credit and equity.
- Cons: Your home is collateral; closing costs can run $500–$1,500; variable rates rise with the Fed.
0% APR credit cards
For expenses under $5,000 that you can repay within 12–21 months, cards like the Citi® Diamond Preferred® (21 months 0% intro APR) or Wells Fargo Reflect® (21 months 0% intro) cost nothing in interest if paid off before the promotional period ends.
- Pros: No interest, no retirement account risk.
- Cons: Deferred-interest trap if you miss the deadline; requires strong credit (700+).
Employer hardship withdrawal or 401(k) in-service distribution
Some plans allow penalty-free hardship withdrawals for medical bills, funeral costs, or primary-residence purchases under IRS rules. You'll still owe income tax but avoid the loan's repayment requirement. This is a last resort—consult a fee-only financial advisor before tapping retirement savings in any form.
Common mistakes to avoid
- Borrowing the maximum. Just because you can take $50,000 doesn't mean you should. Borrow only what you need plus a small cushion; the rest continues compounding.
- Ignoring the loan in your budget. Payroll deductions are automatic, but if your take-home pay drops by $400/month, you may lean on credit cards to cover the gap—creating a debt spiral.
- Forgetting about taxes and penalties. A $30,000 default at age 45 in the 24% federal bracket costs $7,200 in tax and $3,000 in penalty, plus any state income tax.
- Not comparing real APRs. A 10% 401(k) loan sounds cheaper than a 12% personal loan until you add opportunity cost and double taxation.
- Treating it as "free money." You're borrowing from Future You, who will need every dollar when paychecks stop.
How to decide: a three-question checklist
Before you request a 401(k) loan, answer these:
- Is my job secure for the next five years? If there's any layoff risk, a personal loan or HELOC is safer.
- What's my all-in cost? Add up loan interest, opportunity cost (assume 6–8% annual market return), and double taxation. Compare that to the total interest on a personal loan.
- Can I preserve my 401(k) contributions and employer match? If the loan forces you to stop contributing, the real cost skyrockets.
If any answer is "no" or "uncertain," explore alternatives first. Use our Personal Loan Calculator to model payments and total interest, then prequalify with two or three lenders (soft pull, no credit impact) before deciding.
Conclusion
A 401(k) loan can be a low-barrier source of cash when credit is poor or time is short, but the hidden costs—lost growth, double taxation, and the job-loss acceleration clause—often make personal loans, HELOCs, or even 0% credit cards the smarter play. Run the numbers, factor in your job security, and preserve your retirement balance whenever possible. If you're weighing a 401(k) loan against other options, prequalify with SoFi, LightStream, or Marcus to see real rates and terms—then compare the five-year total cost side by side before you tap your nest egg.
Related guides
- Secured vs Unsecured Loans: A Complete Comparison
- The Complete Guide to Unsecured Personal Loans 2026
- Origination Fees: Why They Matter More Than the Rate
- Best Online Personal Loan Lenders 2026
- Home Equity Loans Explained: How Second Mortgages Work in 2026
Run the numbers
People also ask
How much can I borrow from my 401(k)?
The IRS allows you to borrow the lesser of $50,000 or 50% of your vested account balance. For example, if your vested balance is $80,000, you can borrow up to $40,000. If it's $120,000, the cap is $50,000.
What happens if I leave my job with an outstanding 401(k) loan?
Most plans require full repayment within 60–90 days of separation. If you cannot repay, the outstanding balance becomes a taxable distribution, and if you're under 59½, you'll owe a 10% early-withdrawal penalty on top of ordinary income tax.
Do I pay taxes on a 401(k) loan?
You don't pay taxes when you receive the loan, but you repay it with after-tax dollars. When you retire and withdraw those funds, you'll pay income tax again—effectively taxing the interest portion twice.
Is a 401(k) loan better than a personal loan?
Not always. While 401(k) loans have lower stated interest rates and no credit check, you lose market growth on borrowed funds and face a job-loss repayment trigger. Personal loans from SoFi, LightStream, or Marcus often cost less in real terms once you account for opportunity cost.
How long do I have to repay a 401(k) loan?
The IRS sets a standard five-year repayment term, extended to 15 years if you use the funds to purchase your primary residence. Payments are typically made through automatic payroll deductions.
Can I borrow from my IRA?
No. IRAs do not permit loans. You can take a distribution, but it will be taxable and may incur a 10% penalty if you're under 59½. Only employer-sponsored 401(k), 403(b), and similar plans offer loan features.
Related Articles
Line of Credit vs Installment Loan: Which Should You Choose?
Confused by lines of credit versus term loans? Learn how each works, what they cost, and which fits your cash-flow needs—backed by real examples.
Title Loans Explained — and Why to Avoid Them
Title loans use your car as collateral for fast cash—but triple-digit APRs and repossession risk make them a debt trap. Learn how they work and what to do instead.
Cash Advance Loans and Their True Cost
Cash advance loans carry APRs of 25–400%+ and fees that start accruing immediately. Understand how they work, what you'll pay, and better options.
Weekly newsletter
One borrowing tip and current rate watch, every Monday.