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 →
Short Answer

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.

Key Takeaways
  • 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).
M
Written by Munib Ur Rehman · Reviewed by Nausheen Shahid (LMN Tax Inc.) · Tax Years 2025 & 2026 · Last Reviewed: June 2026

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.

$25,000 Need - 401(k) Loan vs Hardship Withdrawal
Cost401(k) LoanHardship 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 monthsNone
Lost growth / forfeited value$4,627 during the term$199,538 by retirement
Risk if you leave the job$8,000 deemed-distribution costNone (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.)

LMN Tax Inc. - Planning Notes

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

Scenario 1 - $25,000 need, age 40, 22%, stable job - loan wins
Loan: tax + penalty now$0
Hardship: tax + penalty now$11,765
Hardship: retirement value lost$199,538
Scenario 2 - $30,000 need, $40,000 balance - loan capped
Loan maximum (50%)$20,000
Shortfall to cover by withdrawal$10,000
Best moveBorrow $20k, withdraw $10k
Scenario 3 - Age 61, over 59½ - no penalty either way
Withdrawal penalty$0
Withdrawal costIncome tax only
Loan still avoids the taxIf repaid
Scenario 4 - $45,000 loan, age 45, then leaves the job
Unpaid balance = deemed distribution$45,000
Tax (24%) + 10% penalty$15,300
EscapeRoll offset by tax deadline
Scenario 5 - Job is shaky - withdrawal may be safer
Loan default risk on separationHigh
Sized, justified withdrawalIrreversible but certain

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

Should I take a 401(k) loan or a hardship withdrawal?
If your plan allows a loan and you can repay it, the loan is almost always cheaper. 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 and is taxed as ordinary income plus a 10 percent penalty before age 59 and a half, and the money is gone for good. The loan only loses when you cannot repay, because an unpaid loan becomes a deemed distribution with the same tax and penalty as a withdrawal.
How much can I borrow from a 401(k)?
IRC section 72(p) caps a plan loan at the lesser of 50,000 dollars or the greater of 10,000 dollars or 50 percent of your vested account balance. With a 60,000 dollar vested balance the most you can borrow is 30,000 dollars; with a 200,000 dollar balance the cap is 50,000 dollars. The 50,000 dollar ceiling is reduced by your highest outstanding loan balance over the prior 12 months. A loan must be repaid within five years, in substantially equal payments at least quarterly, although a loan to buy your main home can run longer.
What happens if I do not repay a 401(k) loan?
If you miss payments beyond the plan's cure period, or you leave the job and do not repay the balance, the unpaid amount becomes a deemed distribution. It is taxed as ordinary income, and if you are under age 59 and a half it is also hit with the 10 percent early-withdrawal penalty. A deemed distribution cannot be rolled over. A plan loan offset on separation can be rolled into an IRA or another plan by your tax-return due date, including extensions, to avoid the tax and penalty.
What reasons qualify for a hardship withdrawal?
A hardship withdrawal requires an immediate and heavy financial need and is limited to the amount necessary. The IRS safe-harbor reasons are medical expenses, the purchase of a principal residence, tuition and related education costs for the next 12 months, payments to prevent eviction or foreclosure, funeral and burial expenses, certain casualty repairs to a principal residence, and expenses or losses from a federally declared disaster. Your plan decides whether to offer hardship withdrawals and which reasons it allows.
Do I pay the 10% penalty on a hardship withdrawal?
Yes, in most cases. A hardship withdrawal is ordinary income and, if you are under 59 and a half, it carries the 10 percent additional tax under IRC section 72(t) unless a separate exception applies. Being approved for a hardship withdrawal does not waive the penalty, because hardship is a distribution rule, not a penalty exception. Some underlying reasons, such as unreimbursed medical expenses over 7.5 percent of AGI, may independently qualify for a 72(t) exception.
Does a hardship withdrawal stop my contributions?
No, not anymore. Under the final hardship regulations effective for distributions on or after January 1, 2020, the rule that suspended your elective deferrals for six months after a hardship withdrawal was eliminated. You can keep contributing in the same year you take a hardship distribution. The earlier requirement to take all available plan loans before a hardship withdrawal was also removed.
Can I borrow from an IRA instead?
No. Loans are not permitted from an IRA, SEP-IRA, or SIMPLE IRA. If you borrow from an IRA or pledge it as collateral, the pledged portion is treated as a distribution and the account can lose its tax-favored status. Loans are only available from qualified employer plans such as a 401(k) or 403(b), and only if the plan offers them. With an IRA your options are a distribution or, within 60 days, a single rollover.

What to Do Next

If You Can Repay and Your Job Is Stable

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.

If a Withdrawal Is Unavoidable

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.

If You Want to Rebuild After

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.

If the Withdrawal Raises Your Other Taxes

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

Official Sources
Disclaimer: This guide describes IRC §72(p) and Reg. §1.72(p)-1 for plan loans, Reg. §1.401(k)-1(d)(3) and the IRS hardship guidance for hardship distributions, and IRC §72(t) for the early-distribution tax, for tax years 2025 and 2026. It is educational only and not tax, legal, or financial advice. Loans and hardship withdrawals are optional plan features; your plan may offer one, both, or neither. A loan repaid on schedule is not taxed; default or separation can convert the unpaid balance into a taxed and penalized deemed distribution. A hardship withdrawal is ordinary income plus the 10 percent penalty before age 59½ unless a separate exception applies. Roth and after-tax basis, mandatory withholding, and state tax are summarized rather than computed. Consult a qualified tax professional and your plan document for your specific facts.