The 401(k) loan is advertised by plan administrators as a flexible borrowing option. You're borrowing from yourself, paying interest back to yourself, no credit check required. The logic is seductive, and in narrow circumstances it even makes sense. But the downside scenarios — the ones HR doesn't mention during the cheerful enrollment presentation — can turn a $30,000 loan into a $45,000 tax problem overnight.
Understand the mechanics before you borrow. Most people don't, and that's how they end up in the worst possible tax situation at the worst possible moment.
How the Loan Works
Most 401(k) plans allow loans up to 50% of vested balance, maximum $50,000. The interest rate is typically prime + 1% (currently about 9%). The repayment term is 5 years for general-purpose loans, up to 30 years if used for a primary residence purchase.
Repayments come directly from your paycheck via payroll deduction. You cannot skip a payment — the plan administrator automates the deduction. The interest you pay goes back to your own 401(k) account, not to the plan company.
So on paper: you're borrowing at 9% and paying yourself 9%. Net cost to you: zero interest expense. Better than a HELOC or credit card. What could go wrong?
The Opportunity Cost You Don't See
When you borrow $30,000 from your 401(k), that money leaves the investments it was in. You're no longer participating in market gains on that $30,000 until you repay it. If the S&P 500 returns 8% during your repayment period, you've missed $2,400 on the first year alone. Over a 5-year loan, missed returns compound to around $13,000 on the original $30,000.
Yes, you're "paying yourself 9% interest." But you're paying it with after-tax money, and the interest goes into a pre-tax account where it will be taxed again at withdrawal. The double-taxation on interest is a real cost that most loan advocates miss.
And the opportunity cost is the biggest factor. Every dollar of 401(k) loan is a dollar not invested. In bull markets, this is extremely expensive.
The Layoff Scenario (The One That Ruins Everything)
You borrow $30,000. You're paying $630/month for 5 years. Two years in, you lose your job. You've repaid $10,000. Outstanding balance: $20,000.
Most plans require full repayment within 60-90 days of employment termination. You don't have $20,000 in cash.
If you can't repay, the IRS treats the unpaid balance as a distribution. You owe:
- Federal income tax on $20,000 at your marginal rate (24% = $4,800)
- State income tax ($1,200 at 6%)
- 10% early withdrawal penalty if under 59.5 ($2,000)
- Total tax cost: $8,000 on $20,000 of "phantom income"
The Tax Cuts and Jobs Act of 2017 extended the repayment window to the following year's tax filing deadline — so you have a bit more time than you used to. But you still owe full repayment at some point, and if you don't have the cash, the distribution is taxed.
This scenario is the main reason 401(k) loans are dangerous. You're borrowing with an implicit covenant that you stay employed for 5 years. If you leave or are laid off, the loan accelerates.
When 401(k) Loans Actually Make Sense
Three specific scenarios can justify the loan:
- Short-term cash flow bridge where you have high confidence you'll repay within 12 months — like bridging to a real estate transaction that will generate the cash
- Down payment on primary residence with 30-year repayment terms, where the alternative is PMI or a high-rate mortgage
- High-interest debt consolidation where you're 95%+ certain you'll stay at your current employer for 5+ years
Outside these scenarios, the loan is almost always worse than the alternatives.
The Primary Residence Exception
Some plans allow primary residence loans with extended repayment terms — up to 30 years. This changes the math meaningfully.
If you need $40,000 for a down payment and the alternative is PMI (Private Mortgage Insurance) of 1% of loan balance annually, the 401(k) loan can be cheaper:
- PMI on $300K mortgage: $3,000/year until you reach 20% equity, typically 5-7 years = $15,000-$21,000 total
- 401(k) loan opportunity cost: $40K × 7% forgone returns × ~5 years avg balance = $10,000-$14,000
Roughly comparable, depending on market returns during the period. But the 401(k) loan also carries layoff risk that PMI doesn't.
Alternatives to Consider First
Before taking a 401(k) loan, exhaust cheaper options:
- HELOC: typically 8-10% currently, but no employment-termination risk, interest is tax-deductible for home improvements
- Cash-out refinance (for homeowners): might be higher rate than original mortgage but simpler
- 0% APR credit card: if the amount is small (under $15K) and you can repay within the promotional period
- Personal loan: 7-15% unsecured, no retirement account implications
- Roth IRA contributions: can withdraw original contributions tax-free and penalty-free anytime
Roth contribution withdrawal is often the best option if you're desperate. No tax, no penalty, no loan mechanics. But you lose the tax-free growth on withdrawn contributions permanently.
The Contribution Suspension Trap
Many plans prohibit new 401(k) contributions while you have an outstanding loan. This is crucial: for the 5 years you're repaying the loan, you can't contribute new money. You lose:
- 5 years of employer match (potentially $25,000+)
- 5 years of tax-deferred compounding on new contributions
- 5 years of dollar-cost averaging through whatever market happens
If your plan has this restriction (check the SPD), the true cost of the loan is dramatically higher than the nominal "paying myself interest" story.
Partial Loans vs. Full Loans
If you must take a loan, take the minimum you absolutely need. The smaller the loan, the smaller the opportunity cost, the smaller the termination risk, the smaller the potential tax bomb if things go wrong.
Don't borrow the maximum just because it's available. That's treating your retirement account like a credit line, which is exactly the behavior that makes 401(k) loans problematic.
The Behavioral Problem
People who take 401(k) loans are more likely to take second loans. They're more likely to reduce their contribution rate. They're more likely to leave their employer with an outstanding balance. Research from the Employee Benefit Research Institute shows 401(k) loan takers retire with 15-25% less balance than otherwise-similar non-borrowers.
Some of this is selection bias — people in cash crunches take loans and also have worse outcomes generally. But the loan itself is clearly part of the causation. The normalized access to retirement money changes how people think about it.
If You've Already Taken One
Pay it off as fast as cash flow permits. The real cost of the loan is the opportunity cost during the repayment period — minimize that by minimizing the repayment period.
If you lose your job with an outstanding balance, explore:
- New employer's plan: can you roll the loan over? Most plans don't allow this, but some do
- Paying from savings or taxable accounts to avoid the distribution treatment
- Accepting the distribution and planning for the tax bill
The worst outcome is failing to repay and also failing to withhold for the tax bill. Pay the tax in April at the latest — or risk underpayment penalties on top.
The Rule of Thumb
Don't take a 401(k) loan unless you've exhausted every other option, have high confidence in continued employment, and are borrowing for a specific asset-purchase purpose. The "easy" part of the loan is the mechanics. The "hard" part is all the ways it can go wrong, and most of those ways show up at exactly the moment when you can least afford them.
The most expensive loan in personal finance is the one that looks free.