Stack Math

Learn · Retirement

401(k) loan vs hardship withdrawal: which is better?

By Stack Math team · Reviewed by Levi Rosenthal · Updated

8 min read5 sources

The short answer

If you must use your 401(k), a loan is usually less costly than a hardship withdrawal. A loan lets you borrow up to $50,000 or half your vested balance and pay yourself back, with interest, within five years; it is not taxed if you repay it. A hardship withdrawal is permanent: it is taxed as income, often hit with a 10% additional tax if you are under 59½, and cannot be paid back. To net $10,000 at a 22% tax rate plus the 10% penalty, you would have to withdraw about $14,700.

Key points

Try it with your numbersRetirement calculatorFree, no sign-up

How does a 401(k) loan work?

If your plan allows loans (the IRS notes not all do), you borrow from your own 401(k) balance and repay it through payroll, with interest that goes back into your account. The IRS limits a loan to the lesser of $50,000 or the greater of $10,000 or 50% of your vested balance. It must be repaid within five years with payments at least every quarter, unless it is for buying your main home. If you repay on schedule, it is not taxed.

$50,000maximum 401(k) loanIRS
5 yearsstandard repayment limitIRS
86%of people who left a job with a loan defaulted on itLu et al., 2017

How does a hardship withdrawal work?

A hardship withdrawal takes money out for good. The IRS says it must be for an immediate and heavy financial need and limited to the amount needed. Its safe-harbor list includes medical bills, buying a main home, college tuition, preventing eviction or foreclosure, funeral costs and certain home repairs. The withdrawal is taxable income (except for Roth contributions), may face a 10% additional tax if you are under 59½, and cannot be repaid to the plan.

Myth vs fact

Myth A hardship withdrawal is a loan.

Fact It is permanent. You cannot put it back.

Myth 401(k) loans are free money.

Fact You pay interest to yourself, but you lose market growth on the borrowed money while it is out.

Myth You only pay tax on a hardship withdrawal if you are under 59½.

Fact It is taxable at any age; the 10% extra applies before 59½ unless an exception fits.

What each costs on $10,000

You need $10,000. You are 35 and in the 22% federal bracket.

Getting $10,000 in hand
401(k) loan: amount taken out$10,000
Hardship withdrawal: amount taken out to net $10,000About $14,706

Hardship: $10,000 ÷ (1 − 22% − 10%). State tax would raise it further. Loan example at a plan rate of 8.5% over 5 years: $205 a month, about $2,310 of interest paid back into your own account.

The loan costs you mainly the growth the $10,000 misses while it is out. The hardship withdrawal costs about $4,706 in taxes and penalties right away, plus the growth on $14,706, forever.

The job-change risk

The weak spot of a 401(k) loan is leaving your job. Plans often require the remaining balance to be repaid soon after you go. If you cannot pay, the unpaid loan is treated as a withdrawal: taxed and possibly penalized. In a large study of 401(k) plan records, Lu, Mitchell, Utkus and Young found about 86% of people who left their jobs with a loan outstanding defaulted on it.

Quick answer for your situation

Stable job, need cash for a true emergency, can repay from payroll
A loan is usually the better of the two.
You expect to leave your job soon
A loan is risky. Look at other options first.
No loan option, and the need fits the hardship rules
A hardship withdrawal may be the only route. Take only what you need.

What research says

Try these first

  1. 1
    Use emergency savings

    That is what it is for.

  2. 2
    Ask the creditor for a payment plan

    Hospitals, utilities and landlords often have them.

  3. 3
    Check Roth IRA contributions

    They can come out tax- and penalty-free.

  4. 4
    Compare a low-rate personal loan

    Especially from a credit union.

  5. 5
    If you use the 401(k), borrow only what you need

    And keep contributing, at least enough to get any employer match.

See what $10,000 left in your account could grow to in the retirement calculator. Read can you take money out of a Roth IRA? and what happens to your 401(k) when you leave a job.

The bottom line

Use retirement money only after savings and cheaper options. If you must, a loan you can repay usually beats a hardship withdrawal, as long as you do not expect to leave your job soon.

Common questions

Does a 401(k) loan affect your credit score?

No. It is not reported to the credit bureaus, and there is no credit check.

What happens to a 401(k) loan if I quit?

Plans often require the balance soon after you leave. If you do not repay it, the unpaid amount is treated as a distribution: taxed, and possibly hit with the 10% additional tax.

Can I pay back a hardship withdrawal?

No. The IRS says hardship distributions cannot be repaid to the plan.

Sources

  1. IRS: Retirement plans FAQs regarding loans (limit: lesser of $50,000 or greater of $10,000 or 50% of vested balance; repay within 5 years; not all plans offer loans) (checked November 29, 2026)
  2. IRS: Retirement topics, hardship distributions (immediate and heavy need; taxable; may have 10% additional tax; cannot be repaid) (checked November 29, 2026)
  3. IRS: IRS releases tax inflation adjustments for tax year 2026 (brackets) (checked November 29, 2026)
  4. Lu, T. J., Mitchell, O. S., Utkus, S. P. and Young, J. A. (2017). Borrowing from the Future? 401(k) Plan Loans and Loan Defaults. National Tax Journal (checked November 29, 2026)
  5. Argento, R., Bryant, V. L. and Sabelhaus, J. (2015). Early Withdrawals from Retirement Accounts During the Great Recession. Contemporary Economic Policy (checked November 29, 2026)

Keep reading

Also worth knowing

General education, not financial, tax or legal advice. Rates and rules change, so check the sources above before you act. Disclaimers