401(k) loan vs withdrawal: which costs less in 2026
A 401(k) loan caps at $50,000 with no tax or penalty; an early withdrawal loses ~37% to a 10% penalty plus 22% federal and ~5% state tax in 2026.
Every retirement account holds a quiet contradiction. It is, on paper, your money — yet the moment you reach for it before age 59½, the rules turn that money into something expensive and slippery. When an emergency lands and the 401(k) is the only pool deep enough to cover it, the decision narrows to two doors: borrow from the balance, or withdraw from it. They look similar from across the room. The arithmetic says they are not remotely the same.
The difference is not a matter of taste or risk tolerance. It is a hard number, set by the tax code, and for the overwhelming majority of people under 59½ it points in one direction. A loan, taken correctly, costs nothing in tax or penalty and pays its interest back to you. A withdrawal surrenders a third or more of the money to the IRS and your state before you spend a dollar of it — and that surrendered amount never compounds again. The folklore around 401(k) loans being “taxed twice” muddies this, so it is worth settling the math before the emergency forces a rushed choice.
A 401(k) loan is capped at the lesser of $50,000 or 50% of your vested balance under IRC §72(p), carries no tax and no penalty when repaid — generally within five years via payroll deduction — and pays its interest back into your own account. An early withdrawal before 59½ is taxed as ordinary income plus a 10% federal penalty under §72(t): in a 22% federal and ~5% state bracket, a $20,000 withdrawal nets only ~$12,600, and netting a true $20,000 requires pulling ~$31,700 and permanently surrendering ~$11,700. The loan only loses if you leave the job and cannot repay, converting the balance into a taxed, penalized distribution.
How a 401(k) loan actually works
A loan against your 401(k) is governed by Internal Revenue Code §72(p), and the ceiling is fixed: you may borrow the lesser of $50,000 or 50% of your vested balance. A worker with $60,000 vested can take up to $30,000; a worker with $300,000 vested is still capped at $50,000, because the dollar limit binds first. One wrinkle catches repeat borrowers — that $50,000 cap is reduced by your highest outstanding loan balance during the prior 12 months, so you cannot repay a loan and immediately borrow the full amount again to dodge the limit.
Taken correctly, the loan is not a distribution at all. There is no income tax and no 10% penalty, because you are borrowing your own money and contractually promising to return it. Repayment generally runs through payroll deduction over five years, in level installments of principal and interest. The exception is a loan used to buy your primary residence, which most plans allow you to stretch over a much longer, plan-defined term. Crucially, the interest you pay does not vanish to a bank — it lands back in your own account. That is the kernel of truth that the “double taxation” myth distorts, and it is worth understanding before deciding the loan is a trap.
A worked example: $20,000, two doors
Consider a worker — call him Marcus — with an $80,000 vested balance, comfortably under 59½, sitting in the 22% federal bracket with roughly 5% state tax on top. He needs $20,000 for an unavoidable expense. Both doors are open to him. They do not lead to the same place.
Through the loan door, Marcus borrows $20,000 — well within his 50% cap of $40,000. No tax, no penalty. He repays it over about five years via payroll deduction, with interest credited back to his own account. His real cost is not a tax bill but an opportunity cost: that $20,000 stops compounding in the market while it is out on loan, and the interest he pays himself is funded with after-tax dollars.
Through the withdrawal door, the tax code takes its cut immediately. A $20,000 gross withdrawal triggers the 10% early-distribution penalty ($2,000), 22% federal income tax ($4,400), and roughly 5% state tax ($1,000) — about $7,400 in total, leaving Marcus with only $12,600 in hand. If he actually needs a full $20,000 net, the problem compounds: because a combined 10% + 22% + 5% rate of 37% leaves only 63% of any withdrawal, he must pull roughly $31,700 ($20,000 ÷ 0.63 ≈ $31,746) to net his $20,000 — permanently surrendering about $11,700 to tax and penalty, money that will never compound for his retirement again.
| Scenario | Cash to Marcus | Tax + penalty cost | Amount removed from retirement |
|---|---|---|---|
| Loan of $20,000 | $20,000 | $0 (repaid with interest to self) | $0 net — repaid over ~5 years |
| Withdraw $20,000 gross | ≈ $12,600 | ≈ $7,400 (10% + 22% + ~5%) | $20,000, gone for good |
| Withdraw to net $20,000 | $20,000 | ≈ $11,700 | ≈ $31,700, gone for good |
The table understates the gap, because it stops at the cash. The ~$11,700 surrendered in the bottom row is not merely a fee; it is principal that would otherwise have grown for decades. That is the real reason the loan wins for most people — and the same logic that makes a fully funded emergency fund the cheapest emergency strategy of all.
The double-taxation myth, retired
The most persistent objection to a 401(k) loan is that you “pay it back with after-tax money and then get taxed again in retirement.” It sounds damning. It is mostly wrong.
You do repay loan principal with after-tax dollars — but so does every loan you have ever held. A car loan, a mortgage, a credit-card balance: all are repaid from income that was already taxed. The principal was always going to be repaid from taxed money, loan or no loan, so nothing is double-taxed there. The only genuinely double-taxed dollars are the interest you pay yourself: that interest enters the account after tax and is taxed a second time when you withdraw it in retirement. On a modest loan repaid over five years, that double tax amounts to a small sum — a rounding error next to the ~$11,700 a withdrawal would forfeit outright.
The costs that actually matter for a loan are two, and neither is double taxation. The first is opportunity cost: the borrowed balance is out of the market and not compounding, which is a real drag if markets rise while the loan is outstanding. The second is default risk, and it is the one that can genuinely turn a loan into a withdrawal. Both belong in the same disciplined framework you would use to rank where every retirement dollar should go, and they matter more than the myth that scares people away.
The caveats that actually bite
The clean comparison above assumes the loan goes to plan. The scenario that breaks it is losing the job. If you leave your employer — voluntarily or not — with a loan outstanding and cannot repay it, the balance becomes a “deemed distribution” or “loan offset.” At that point it is taxed as ordinary income, and if you are under 59½ it picks up the same 10% penalty a withdrawal would have. The loan, in other words, has quietly converted into the expensive door you were trying to avoid.
There is a release valve. Since the 2017 tax law took effect in 2018, a plan-loan offset can be rolled into an IRA up to your tax-filing deadline, including extensions, for the year of the offset — which wipes out the tax and penalty entirely, provided you have the cash on hand to replace the offset amount. That last clause is the catch: the rescue works only if you can come up with the money you just lost the job over. Treating that rollover as a backstop is reasonable; treating it as a plan is not.
The withdrawal side has its own asterisks worth knowing. SECURE 2.0, effective 2024, created a narrow penalty-free path: one “emergency personal expense” distribution of up to $1,000 per calendar year, with no second one allowed for three years unless you repay it. Other carve-outs exist for specific hardships — a qualified federally declared disaster up to $22,000, reported on Form 8915-F with its 3-year income spread and repayment window, terminal illness, or domestic-abuse victims up to the lesser of $10,000 or 50% of the account. None of these rescue an ordinary early withdrawal. And the most dangerous misconception of all: taking a “hardship” withdrawal does not, by itself, waive the 10% penalty. Hardship governs whether you may access the money, not whether the penalty applies.
Who should borrow, who should withdraw — and who should do neither
For the worker under 59½ facing a short-term cash need, with stable employment and a realistic repayment plan, the loan is almost always the cheaper door. The math is lopsided: nothing surrendered to tax versus a third or more gone forever. If you are weighing this against high-interest debt, run the numbers the same way you would in a head-to-head of debt-payoff methods before deciding the 401(k) is even the right tool.
A withdrawal earns consideration only in narrow cases: you have already separated from the job (so no loan is available), your need genuinely fits a SECURE 2.0 penalty exception, or you are at or past 59½ and the penalty is moot. Outside those, an early withdrawal is the most expensive money you can spend.
And there is a third answer that beats both: don’t touch the 401(k) at all. If you are changing jobs, the question is usually not loan-versus-withdrawal but how to move the balance intact — which is exactly what a direct rollover, done right, protects you from. If you are retiring early and bridging the years before 59½, a Roth conversion ladder can deliver penalty-free access on a schedule rather than in a panic. And before any of this, capturing every dollar of your employer match is the highest-return move in personal finance — the account you are tempted to raid is worth protecting precisely because it is so hard to rebuild.
Sources
- IRS — Retirement plans FAQs regarding loans — the lesser of $50,000 or 50% of the vested balance under §72(p), the 12-month highest-balance reduction, the general five-year repayment term, and the primary-residence exception.
- IRS — Topic No. 558, Additional tax on early distributions — the 10% additional tax under §72(t) on distributions before age 59½, and the statutory exceptions.
- Fidelity — SECURE 2.0 Act summary — the $1,000 emergency personal-expense distribution and other penalty-free withdrawal provisions effective 2024.
- IRS — Notice 2025-67 — 2026 retirement-plan limits, including the $24,500 elective-deferral limit, the $8,000 age-50 catch-up, and the $11,250 catch-up for ages 60–63.
This is general education, not tax or financial advice. Figures are illustrative, assume a 22% federal and ~5% state bracket, and depend on your plan’s specific terms; confirm your situation with a CPA or qualified advisor before tapping a retirement account.
Quick answers
Is it better to take a 401(k) loan or a withdrawal in 2026?
For almost anyone under age 59½, the loan is cheaper. A 401(k) loan carries no tax and no penalty when repaid on schedule, and the interest you pay flows back into your own account. An early withdrawal is taxed as ordinary income and hit with a 10% federal penalty under IRC §72(t) — in a 22% federal plus 5% state bracket, that is roughly 37% gone before the money is even spent. The loan only turns expensive if you lose the job and cannot repay, which converts the balance into a taxed, penalized distribution.
How much can I borrow from my 401(k)?
The legal ceiling is the lesser of $50,000 or 50% of your vested balance, under IRC §72(p). So a worker with a $60,000 vested balance can borrow up to $30,000, while one with $200,000 is still capped at $50,000. The $50,000 limit is reduced by your highest outstanding loan balance over the prior 12 months, which prevents serial borrowers from resetting the cap. Repayment is generally required within five years through payroll deduction, with a longer plan-defined term allowed when the loan buys your primary residence.
Does a hardship withdrawal avoid the 10% penalty?
No — this is the single most common misconception. A hardship withdrawal lets you access the money for an approved need, but it does not by itself waive the 10% early-distribution penalty under IRC §72(t). You still owe ordinary income tax on the full amount plus the penalty unless a separate statutory exception applies. SECURE 2.0 did add narrow penalty-free options, including one emergency personal-expense distribution of up to $1,000 per calendar year, but "hardship" and "penalty-free" are not the same thing.
Is a 401(k) loan really taxed twice?
Mostly no — the "double taxation" claim is a myth. You repay loan principal with after-tax dollars, but that is true of every loan you have ever taken; the principal was always going to be repaid from taxed income. The only genuinely double-taxed money is the interest you pay yourself: it goes in after tax and is taxed again when you eventually withdraw it in retirement. The real costs of a 401(k) loan are opportunity cost — the borrowed balance stops compounding while it is out — and default risk if you leave the job before repaying.
Educational content only. finbarrow is an independent editorial publication, not a licensed financial advisor, broker, tax preparer, or attorney. Verify rates and terms with the issuer or relevant regulator. See disclaimers and funding disclosures.