Want the dollar figures for your own situation - the monthly payment, the lost growth, the tax, and the penalty side by side? Run your numbers in the calculator.
Open the 401(k) Loan vs Hardship Withdrawal Calculator →If your plan allows a loan and you can keep up the payments, a 401(k) loan is almost always cheaper than a hardship withdrawal. A loan is not a taxable distribution, so there is no income tax and no 10 percent penalty, and you repay yourself with interest. A hardship withdrawal is permanent - taxed as ordinary income, hit with a 10 percent penalty before age 59½, and gone from your retirement forever. The loan only loses when you cannot repay: an unpaid loan becomes a deemed distribution with the same tax and penalty as a withdrawal, which is why a shaky job changes the math.
- A loan is not taxed when repaid on schedule - no income tax, no 10 percent penalty (IRC §72(p)).
- A hardship withdrawal is taxed and penalized, ordinary income plus 10 percent under §72(t) before age 59½.
- Loan ceiling: the lesser of $50,000 or the greater of $10,000 or 50 percent of your vested balance.
- Repay within 5 years in level payments at least quarterly; a main-home loan can run longer.
- The default trap: miss payments or leave the job and the balance becomes a taxed, penalized deemed distribution.
- Hardship needs a reason; a loan does not. Hardship is limited to the safe-harbor list and the amount necessary.
- A withdrawal must be grossed up, so you liquidate far more than the cash you actually receive.
- You can keep contributing after a hardship withdrawal - the pre-2019 6-month deferral suspension is gone.
- IRAs cannot lend. Loans come only from employer plans like a 401(k) or 403(b).
The Core Difference: Borrowing vs Withdrawing
A 401(k) loan and a hardship withdrawal both pull cash from the same account, but they are opposites in nature. A loan is temporary - you take money out and put it back, with interest, over a set schedule. A withdrawal is permanent - the money leaves and never returns. That single difference drives almost everything else about cost and risk.
Because a loan is repaid, the tax code does not treat it as a distribution at all. There is no income tax and no early-withdrawal penalty as long as you follow the rules. A hardship withdrawal, by contrast, is a real distribution: it is added to your taxable income and, if you are under age 59½, it carries the 10 percent additional tax. The loan keeps your retirement balance whole; the withdrawal carves a permanent hole in it.
The two features also live in different parts of the law. 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). Each is an optional plan feature, so your specific plan may offer a loan, a hardship withdrawal, both, or neither. Always check your plan document or summary plan description before assuming an option is on the table.
How a 401(k) Loan Works
If your plan permits loans, IRC §72(p) sets the outer limits. The most you can borrow is the lesser of $50,000 or the greater of $10,000 or 50 percent of your vested account balance. In practice that means a $40,000 vested balance supports a $20,000 loan, a $120,000 balance supports a $50,000 loan (the cap), and a small balance under $20,000 may support up to $10,000 if the plan offers the floor. Many plans simply cap loans at 50 percent of the vested balance and skip the $10,000 floor.
The loan must be repaid in substantially equal payments, made at least quarterly, that include both principal and interest, and the whole loan generally has to be paid off within five years. The one exception is a loan used to buy your principal residence, which the plan may allow you to repay over a longer term. The interest rate is set by the plan, usually the prime rate plus one or two points - and that interest is paid back into your own account, not to a bank.
If You Already Have a Loan
The $50,000 ceiling is not a fresh limit for every loan. If you take a second loan, the $50,000 is reduced by your highest outstanding loan balance over the prior 12 months. This stops people from cycling loans to keep $50,000 out of the account indefinitely. The 50 percent-of-balance test still applies to your current balance as well.
The Default Trap: When a Loan Becomes a Distribution
The danger in a 401(k) loan is not the interest - it is the deemed distribution. If you stop making payments and blow past the plan's cure period (a plan may allow until the end of the calendar quarter following the quarter a payment was missed), the entire unpaid balance is treated as a distribution. It is taxed as ordinary income, and if you are under age 59½ the 10 percent penalty applies on top. A deemed distribution cannot be rolled over, so the tax hit is locked in.
The most common way this happens is leaving the job. Many plans require the outstanding balance to be repaid soon after you separate, or it is treated as a plan loan offset. The good news is a timing relief added in 2018: a plan loan offset triggered by separation or plan termination can be rolled into an IRA or another employer plan by the due date of your tax return for that year, including extensions. Roll the offset amount in time and you avoid the tax and penalty entirely; do nothing and the unpaid balance is a taxable, possibly penalized distribution.
This is the hidden cost that makes a loan risky for some people. For a stable employee who expects to stay put, the default trap is a remote risk. For someone in a volatile job or industry, the chance of an involuntary separation while a loan is outstanding turns a cheap loan into a potential tax disaster at the worst possible moment.
How a Hardship Withdrawal Works
A hardship withdrawal lets you take elective-deferral money out of a 401(k) before age 59½ while you are still employed, but only under tight conditions. The distribution must be on account of an immediate and heavy financial need, and it must be limited to the amount necessary to satisfy that need (which can include the taxes and penalties expected on the distribution).
The Safe-Harbor Reasons
IRS regulations provide a safe-harbor list of needs that automatically count as immediate and heavy:
- Medical care expenses for you, your spouse, dependents, or beneficiary.
- Purchase of a principal residence (excluding mortgage payments).
- Tuition and related educational fees, plus room and board, for the next 12 months of postsecondary education.
- Payments to prevent eviction from, or foreclosure on, your principal residence.
- Funeral and burial expenses for family members or a beneficiary.
- Certain repairs to casualty damage to your principal residence.
- Expenses and losses from a federally declared disaster in your area.
What Changed in 2020
The final hardship regulations (TD 9875), effective for distributions on or after January 1, 2020, made hardship withdrawals less punishing in two ways. First, you no longer have to take all available plan loans before a hardship withdrawal - the IRS confirms a distribution is not disqualified solely because you did not take a loan. Second, the old rule that suspended your elective deferrals for six months after a hardship distribution was eliminated, so you can keep contributing in the same year. Earnings on deferrals and certain employer contributions also became available for hardship.
How a Hardship Withdrawal Is Taxed
Qualifying for a hardship withdrawal gets you access to the money; it does not change how the money is taxed. A hardship distribution from a pre-tax 401(k) is included in your gross income for the year as ordinary income. On top of that, if you are under age 59½, the distribution is subject to the 10 percent additional tax under IRC §72(t), because hardship is a plan distribution rule, not a penalty exception.
That last point trips people up constantly. Being approved for a hardship withdrawal does not waive the 10 percent penalty. The only way to avoid the penalty is if your situation independently fits a §72(t) exception - for example, unreimbursed medical expenses over 7.5 percent of your AGI, total and permanent disability, or simply being 59½ or older. Otherwise, the full tax and penalty apply.
There is also a cash-flow detail: a 401(k) distribution generally has 20 percent withheld for federal tax up front. That withholding is a prepayment toward your eventual bill, not an extra cost, but it means the check you receive is smaller than the gross. To actually net the cash you need, you have to gross the withdrawal up - which is the heart of why a withdrawal is so much more expensive than a loan. The Early Withdrawal Penalty Calculator shows the tax and penalty on any withdrawal amount.
Side-by-Side: What the Same Need Costs Each Way
The clearest way to see the gap is to price the same need both ways. Suppose you need $25,000 in hand, you are 40, in the 22 percent bracket, with a $80,000 vested balance and 25 years to retirement, and you would invest at 7 percent.
| Cost | 401(k) Loan | Hardship Withdrawal |
|---|---|---|
| Amount removed | $25,000 (repaid) | $36,765 (gross to net $25,000) |
| Income tax now | $0 | $8,088 |
| 10% penalty now | $0 | $3,676 |
| Monthly payment | $519 for 60 months | None |
| Lost growth / forfeited value | $4,627 during the term | $199,538 by retirement |
| Risk if you leave the job | $8,000 deemed-distribution cost | None (already withdrawn) |
The withdrawal liquidates almost $37,000 of retirement savings to deliver $25,000 of spendable cash, loses nearly $12,000 to immediate tax and penalty, and gives up close to $200,000 of compounded retirement value. The loan costs a $519 monthly payment and a few thousand dollars of lost growth while the money is out of the market - unless you default. Run your own figures in the 401(k) Loan vs Hardship Withdrawal Calculator.
See the loan payment, the lost growth, the tax, and the penalty for your exact numbers in seconds.
Open the 401(k) Loan vs Hardship Withdrawal Calculator →How to Decide
The decision usually comes down to three questions. Answer them honestly and the right path is normally clear.
1. Does your plan even offer the option?
Loans and hardship withdrawals are optional. If your plan offers only one, the choice may be made for you. Check the summary plan description before anything else.
2. Can you keep up the loan payments?
A loan is only the cheap option if you actually repay it. If your budget cannot absorb the monthly payment, or the need itself is a sign of deeper cash-flow trouble, a loan you will default on is worse than an honest withdrawal, because you pay the tax and penalty anyway and you have damaged your savings in the meantime.
3. How stable is your job?
This is the swing factor. A loan is far riskier if there is a real chance you will leave or be let go before it is repaid, because separation can trigger the deemed distribution. If your job is secure, lean toward the loan; if it is shaky, weight the default trap heavily and consider whether a smaller, well-justified withdrawal - or a non-retirement source of cash - is safer.
A common middle path when the need exceeds the loan limit is to borrow the maximum and withdraw only the remainder. That keeps most of the money invested and limits the tax and penalty to the smaller slice you could not borrow.
Cheaper Alternatives to Check First
Before touching a 401(k) at all, it is worth confirming there is no less damaging source of cash. The compounding you give up - especially on a withdrawal - is often the most expensive money you will ever spend.
- Roth IRA contributions. Your own Roth IRA contributions come out tax-free and penalty-free at any age under the ordering rules. Many people raid a 401(k) while sitting on accessible Roth basis.
- The rule of 55. If you are 55 to 59½ and have left the employer, distributions from that employer's plan are penalty-free - cheaper than a hardship withdrawal. See the Early Withdrawal Penalty Guide.
- A home-equity line or personal loan. A bank loan keeps your retirement invested. Compare the bank's rate against the lost growth a 401(k) loan or withdrawal would cost.
- A §72(t) exception. If your reason already qualifies for a penalty exception, a direct distribution may be no more expensive than a hardship withdrawal and easier to access.
Practitioner Insight (LMN Tax Inc.)
The first thing we do with a client weighing this is the gross-up, because it reframes the entire decision. They are picturing two equal $25,000 transactions. They are not equal. A loan delivers the full $25,000; a hardship withdrawal in the 22 percent bracket before 59½ means pulling roughly $37,000 to net the same cash. Once a client sees that they would liquidate $37,000 of savings to spend $25,000, the loan suddenly looks a lot more attractive.
The figure that actually changes behavior is the forfeited growth. The tax and penalty hurt, but they are finite. The lost compounding is the real damage: a $37,000 withdrawal at age 40 that would have grown at 7 percent for 25 years is around $200,000 of retirement money, gone. We put that number on the table next to the immediate tax, and most clients decide the need is not worth $200,000.
Where we get cautious is job stability. A loan is the right answer for a secure employee, but for someone in a rocky situation we treat the default trap as a live risk, not a footnote. Leaving a job with a balance outstanding, and missing the rollover window for the offset, converts a cheap loan into a taxed and penalized distribution exactly when the person can least afford it. We would rather a nervous client take a slightly more expensive but irreversible withdrawal than gamble on staying employed long enough to repay a loan.
We also correct a stale belief almost every week: clients think a hardship withdrawal freezes their contributions for six months. That rule died at the end of 2019. You can take a hardship distribution and keep deferring in the same year. It does not undo the permanent hole, but it does mean a withdrawal no longer stops you from rebuilding - a small piece of good news in an otherwise expensive decision.
Real-World Scenarios
When the General Rules Differ
- Your plan offers neither option. Loans and hardship withdrawals are optional plan features. If neither is available while employed, an in-service distribution (if permitted) or a non-retirement source may be your only route.
- IRAs cannot lend. There is no such thing as an IRA loan. Borrowing from or pledging an IRA is treated as a distribution and can disqualify the account. With an IRA you have a distribution or a single 60-day rollover.
- 403(b) and governmental plans. Many 403(b) and governmental 457(b) plans allow loans under the same §72(p) limits, but a pure governmental 457(b) distribution is generally not subject to the 10 percent penalty.
- Roth 401(k) money. A hardship withdrawal of Roth 401(k) contributions returns your own after-tax basis with less or no tax; the earnings portion can still be taxed and penalized if the distribution is not qualified.
- SECURE 2.0 emergency withdrawals. Newer rules allow a $1,000 emergency personal-expense distribution and certain other penalty-free access that may be cheaper than a full hardship withdrawal for a small need.
- State tax. Many states tax retirement distributions and a few add their own early-withdrawal penalty on top of the federal one.
Frequently Asked Questions
What to Do Next
The loan is usually the cheaper path. Run your exact numbers with the 401(k) Loan vs Hardship Withdrawal Calculator, then confirm the repayment and default rules above before signing.
Confirm the true tax and penalty first 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.
You can keep contributing even after a hardship withdrawal. Set a plan 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.
Related Tools and Guides
- IRC §72(p) (Cornell LII) - Loans Treated as Distributions - The $50,000 / 50 percent loan limit, the 5-year repayment rule, the longer term for a principal-residence loan, and deemed-distribution treatment on default.
- IRS Retirement Plans FAQs Regarding Loans - The maximum loan calculation, the substantially-equal-payment rule, deemed distributions, plan loan offsets, and the rollover deadline.
- IRS Retirement Topics - Hardship Distributions - The immediate-and-heavy-need standard, the amount-necessary limit, and the safe-harbor reasons.
- IRS Issue Snapshot - Hardship Distributions from 401(k) Plans - The current rules under Reg. §1.401(k)-1(d)(3) and TD 9875, the no-loan-first rule, and removal of the pre-2020 deferral suspension.
- IRS Topic 558 - Additional Tax on Early Distributions - The 10 percent additional tax under §72(t) on a distribution (including a hardship withdrawal) before age 59½, and the exceptions.
- IRS Publication 575 - Pension and Annuity Income - Taxation of plan loans and distributions, deemed distributions, and the early-distribution tax.