age, and bracket to compare borrowing vs withdrawing
IRC §72(p) Loan · Reg. 1.401(k)-1(d)(3) Hardship · Borrow vs Withdraw · TY 2025 & 2026
Need cash and your 401(k) is the only place to get it? Compare borrowing against withdrawing. Enter the amount you need and see both paths side by side: the loan's monthly payment and lost growth versus the hardship withdrawal's income tax, 10 percent penalty, and the retirement value you give up for good.
Want the full rulebook - the §72(p) loan limits, the deemed-distribution default trap, the hardship safe-harbor reasons, and how each path is taxed? Read the companion guide.
Read the 401(k) Loan vs Hardship Withdrawal Guide →If you can repay it, a 401(k) loan almost always beats a hardship withdrawal. A loan is not a taxable distribution, so there is no income tax and no 10 percent penalty, and the interest you pay flows back into your own account. A hardship withdrawal is permanent: to net $25,000 at age 45 in the 22 percent bracket you must withdraw about $36,765, losing roughly $11,765 to tax and penalty now and forfeiting close to $200,000 of retirement value over 25 years. The loan's true cost is its lost growth while the money is out of the market (a few thousand dollars over the term) plus the real risk that leaving your job turns the balance into a taxed, penalized deemed distribution.
| Feature | 401(k) Loan (§72(p)) | Hardship Withdrawal |
|---|---|---|
| Income tax now | None (if repaid) | Yes - ordinary income |
| 10% penalty under 59½ | None (if repaid) | Yes (unless a §72(t) exception) |
| Money returns to account | Yes - you repay with interest | No - permanent |
| Maximum amount | Lesser of $50,000 or 50% vested | Amount of the need |
| Must show a "need" | No | Yes - immediate & heavy |
| Repayment required | Yes - 5 years, level payments | No |
| Risk if you leave the job | Balance becomes a deemed distribution | None - already withdrawn |
| Long-term cost | Lost growth during repayment | Forfeited growth to retirement |
A 401(k) loan and a hardship withdrawal are governed by different rules. Loans come from IRC §72(p) and the plan's loan provisions; hardship withdrawals come from the elective-deferral distribution rules in Treas. Reg. §1.401(k)-1(d)(3). Both are optional plan features - your plan may offer one, both, or neither. Sources: IRC §72(p), Reg. §1.72(p)-1, Reg. §1.401(k)-1(d)(3), IRS Retirement Plans FAQs regarding loans, and the IRS hardship distribution guidance.
The tool prices the same dollar of need two ways - as a loan and as a hardship withdrawal - so you can see the real difference. For the full rules behind each path, see the 401(k) Loan vs Hardship Withdrawal Guide.
Under IRC §72(p), a plan may let you borrow the lesser of $50,000 or the greater of $10,000 or 50 percent of your vested balance. The tool applies that ceiling, caps it at your balance, and flags a shortfall if the amount you need is larger than the most you can borrow.
The loan is amortized into a level monthly payment over the term you choose (5 years standard, longer for a primary-residence loan). The tool totals the interest you pay - which goes back into your own account, not to a lender - and the full amount repaid.
While the borrowed money is out of the account being repaid, it is not invested. The tool walks the amortization month by month and adds up the market return that the declining outstanding balance would have earned at your chosen rate. That opportunity cost is the loan's true economic cost even when every dollar is repaid.
A withdrawal is taxed and (before 59½) penalized, so to put your needed cash in hand you must take out more. The tool divides the need by one minus the marginal rate minus the penalty rate to find the gross withdrawal, then shows the income tax and the 10 percent penalty on that gross amount.
The gross withdrawal leaves the account permanently. The tool compounds it forward at your expected return over your years to retirement to show what that money would have become - the lifetime cost of a withdrawal, which typically dwarfs the up-front tax and penalty.
When a client asks whether to borrow or withdraw, we start with the gross-up, because it reframes the whole decision. A client who needs $25,000 thinks the choice is between two $25,000 transactions. It is not. A loan hands over the full $25,000; a hardship withdrawal in the 22 percent bracket before 59½ requires pulling closer to $37,000 to net the same cash, because tax and penalty eat the difference. Once clients see that they would liquidate $37,000 of retirement savings to spend $25,000, most stop and look for the loan first.
The number nobody pictures is the forfeited growth. The tax and penalty are painful but finite; the lost compounding is the real damage. A $37,000 withdrawal at 40 that would have grown at 7 percent for 25 years is roughly $200,000 of retirement money gone. We put that figure on the page next to the $11,765 of immediate tax, and the conversation changes. A loan keeps that compounding alive because the money goes back in.
The honest case against a loan is the job-change risk. If a client is shaky at work or in an industry with layoffs, we weight the default trap heavily: leave the job with a balance outstanding and, unless they can roll the offset by the tax deadline, it becomes a taxed and penalized distribution at the worst possible moment. For a stable employee, a loan is usually the right call; for someone who may not be there in a year, we are far more cautious.
We also remind clients that a hardship withdrawal no longer suspends their contributions. Before 2020, taking a hardship distribution froze your deferrals for six months; that rule is gone. So a withdrawal does not stop you from rebuilding - but it also does not undo the permanent hole it leaves. When the need is real and a loan is not available or not safe, we make sure the withdrawal is sized to the actual need and nothing more.
The loan is usually the cheaper path. Run your exact numbers above, then read the repayment and default rules in the 401(k) Loan vs Hardship Withdrawal Guide before you sign the loan paperwork.
Confirm the true tax and penalty first. Model the full cost with the Early Withdrawal Penalty Calculator and check the §72(t) exceptions in the Early Withdrawal Penalty Guide in case your reason waives the 10 percent.
The rule of 55 may let you take penalty-free distributions from that employer's plan. Compare it against a loan, and weigh contributions with the 401(k) Contribution Calculator and the 401(k) Contribution Limits guide.
A large distribution lifts your AGI, which can make more of your Social Security taxable. Check the ripple with the Social Security Tax Calculator and the AGI & MAGI Calculator.