When a financial emergency hits — a medical bill, sudden job loss, a furnace that dies in January — the money sitting in your 401(k) looks like the obvious solution. It’s right there. It’s yours. And the difference between tapping it the right way versus the wrong way is the difference between a temporary setback and a permanent one. On a $15,000 need, the gap between taking a 401(k) loan and taking an early withdrawal can run $5,000 to $7,000 in immediate costs — before you count the long-term damage to your retirement balance.
This article runs the actual math on both options so you can make an informed decision rather than a panicked one.
How a 401(k) Loan Works
A 401(k) loan lets you borrow from your own balance and repay yourself with interest. The IRS limits you to the lesser of $50,000 or 50% of your vested account balance. On a $60,000 balance, the max is $30,000. On a $24,000 balance, the max is $12,000 — which means a $15,000 need may not even be fully fundable if your balance is small.
Repayment is typically spread over five years through automatic payroll deductions. The interest rate is set by your plan — usually prime rate plus 1% or 2%, which at current rates puts it somewhere in the 9–10% range. But here’s the key distinction that trips people up: you’re paying that interest back to yourself, into your own account. It’s not a fee paid to a bank. The actual cost is the opportunity cost — the investment returns you forgo on the borrowed amount while the money is sitting outside the market being repaid to you in cash.
No taxes are withheld. No 10% penalty applies. The loan doesn’t show up on your credit report. If you repay on schedule, the IRS treats the entire transaction as a "wash." You borrow $15,000, you repay $15,000 plus interest to yourself, done.
How an Early Withdrawal Works
An early withdrawal — taking money out of a traditional 401(k) before age 59½ without meeting a qualifying exception — triggers two simultaneous hits:
- 10% early withdrawal penalty, paid to the IRS
- Ordinary income tax on the full withdrawn amount, at your marginal federal rate plus any applicable state income tax
These don’t stack neatly — the penalty applies to the gross withdrawal, and the income tax applies to the gross withdrawal. On $15,000 withdrawn by someone in the 22% federal bracket, the math looks like this:
- Federal income tax: $15,000 × 22% = $3,300
- Early withdrawal penalty: $15,000 × 10% = $1,500
- Total tax bite: $4,800
- Net received: $10,200
That’s assuming zero state income tax. Add a state like California (up to 13.3%) or New York (up to 10.9%) and the number falls further. In a high-tax state, a $15,000 withdrawal in the 22% federal bracket might net $8,500 to $9,000 after all taxes and penalties combined.
And that $4,800 to $6,500 in taxes and penalties? Gone forever. You can never recover that from the transaction itself. You simply lost it.
The Side-by-Side on $15,000
Here’s what both options look like on a realistic $15,000 emergency for someone in the 22% federal bracket, no state income tax:
| Factor | 401(k) Loan | Early Withdrawal |
|---|---|---|
| Amount received | $15,000 | $10,200 |
| Immediate tax cost | $0 | $4,800 |
| Penalty | $0 | $1,500 |
| Repayment required | Yes — to yourself over 5 years | No |
| Effect on credit report | None | None |
| Lost compound growth | Partial, recovers as repaid | Permanent on withdrawn amount |
The loan wins on every immediate measure. You get the full $15,000. You owe nothing to the IRS. You repay on a schedule that comes out of your paycheck automatically. The cost is the opportunity cost of the borrowed amount sitting outside the market during repayment — real, but recoverable.
The withdrawal hands $4,800 to the government immediately and permanently removes $15,000 from a balance that could have compounded for decades. At 7% annual growth, $15,000 left invested for 20 years becomes roughly $58,000. Withdraw it today, and that future value is gone.
The Hidden Risk With 401(k) Loans: Job Loss
Here’s the scenario that turns a 401(k) loan from smart to disastrous: you lose your job — or leave for a better opportunity — while a loan is outstanding.
When you separate from your employer with an active 401(k) loan, the remaining balance typically becomes due by your tax filing deadline for that year (April of the following year, or October with an extension). If you can’t repay the full outstanding balance by then, it’s treated as a distribution — subject to the same 10% penalty and ordinary income tax as if you’d withdrawn it from the start.
This isn’t an obscure edge case. People take 401(k) loans during rough patches, and rough patches often involve job instability. If you’re borrowing because you’ve already been laid off and you’re not sure what comes next, the loan option carries real risk. You have 12–16 months to repay the balance in full out of pocket. If you can’t, you’ve created the tax problem you were trying to avoid — plus you’ve added the complexity of managing a deadline during an already stressful period.
The decision about what to do with a 401(k) when leaving an employer gets much more complicated when a loan is outstanding. Rolling the 401(k) to an IRA won’t solve the loan — you’d still owe the balance or face the distribution. This is worth thinking through before you borrow, not after.
SECURE 2.0: The Emergency Withdrawal Exception
The SECURE 2.0 Act created a new provision allowing up to $1,000 per year in early withdrawal from a retirement account for personal or family emergencies — without the 10% penalty. Income tax still applies, but the penalty is waived. You have the option to repay the withdrawal within three years; if you don’t, you’re limited in taking another emergency withdrawal during that window.
The practical implication: $1,000 is not $15,000. For a genuine large emergency, this provision is helpful context but not a solution. It reduces the cost of a small emergency withdrawal somewhat — a $1,000 withdrawal in the 22% bracket costs $220 in federal taxes rather than $320 (the $100 difference being the waived penalty). That’s meaningful on a small withdrawal, essentially irrelevant on a $15,000 need.
Your plan may or may not have adopted this provision — SECURE 2.0 allows but doesn’t require plans to offer it. Check with your HR department or plan administrator before assuming it’s available.
What to Try Before Either Option
Both 401(k) loans and early withdrawals are expensive in different ways. Before going either route, consider these alternatives in order of preference:
1. Negotiate with the creditor directly. Medical bills in particular are often negotiable — hospitals have financial assistance programs, and a direct call asking about payment plans or charity care can reduce the total owed before you need to fund it at all. The same applies to some tax debts (IRS installment agreements) and even certain utility or loan servicers.
2. 0% intro APR credit card. If your credit is solid, a 0% introductory APR offer gives you 15–21 months to fund an emergency without interest — better terms than a 401(k) loan and no retirement account impact. This only works if you’re disciplined enough to pay the balance before the intro period ends and the rate jumps.
3. Personal loan. A personal loan at 10–15% from a bank or credit union is painful but cheaper than an early withdrawal in most brackets, and it doesn’t touch retirement savings. Online lenders like LightStream, SoFi, and Marcus have made personal loans faster to fund than they used to be — sometimes same day for creditworthy borrowers.
4. HELOC or home equity loan. If you own a home with equity, a HELOC typically carries lower interest than a personal loan and has no retirement account impact. Setup takes longer (2–4 weeks typically), so it’s less useful for a genuine emergency but worth having in place before you need it.
5. 401(k) loan as fifth choice, withdrawal as last resort. If none of the above is viable, the loan beats the withdrawal in almost every scenario except high job instability. The withdrawal should be genuinely the last option — not because the rules are complicated, but because the math makes it one of the most expensive ways to access your own money.
The broader lesson from all of this is that a well-funded emergency fund makes the entire 401(k) loan vs. withdrawal question irrelevant. How much you actually need in an emergency fund depends on your income stability, your expenses, and how much income volatility your situation carries — but the goal is specifically to avoid this choice.
The Verdict
The 401(k) loan is almost always the better choice between these two options — as long as your job situation is stable. You receive the full $15,000. You owe nothing to the IRS. The interest you pay goes back into your own account. The total cost is the lost investment growth on the borrowed amount during repayment, which is real but recoverable over time.
The early withdrawal is significantly more expensive in almost every scenario. You lose $4,800 to $7,500 of a $15,000 withdrawal to taxes and penalties before you touch a dollar. That money doesn’t come back.
The exception: if your job is genuinely unstable — you’re in an industry contracting, your company is in trouble, you have real reason to think a layoff is possible within the next year or two — the loan’s hidden risk (due in full upon job separation) may make the withdrawal the more predictable option. Not the cheaper one. Just the one without an unknown future call on a balance you may not have.
Before taking either step, log into your 401(k) plan’s online portal — Fidelity NetBenefits, Vanguard Retirement, Empower, or wherever your plan is held — and model the loan option directly. Most plan portals let you see the repayment schedule, current interest rate, and available balance before you commit to anything. That takes 10 minutes and costs nothing. Do that before calling anyone.
For building your understanding of how retirement accounts work under stress, Ed Slott’s retirement tax guides go deep on the rules around distributions, penalties, and exceptions across 401(k)s and IRAs. I Will Teach You to Be Rich by Ramit Sethi covers the emergency fund foundation that makes this choice irrelevant in the first place. And if you’re trying to decide what to do with a 401(k) at a job you’re considering leaving, a practical rollover and retirement account guide can help you think through the sequencing without making the loan problem worse by rolling the account before the loan is resolved.
