401(k) Loan vs Hardship Withdrawal: Real Cost Comparison

Last updated: October 27, 2026 · Written by Sarah Mitchell

Taking money out of your 401(k) before retirement is one of the most expensive financial decisions you can make. The difference between choosing a 401(k) loan vs a hardship withdrawal can cost you tens of thousands of dollars in lost retirement savings — and choosing the wrong option can trigger immediate taxes and penalties that set your retirement back a decade.

Why You Might Need Money From Your 401(k)

Life happens. Medical bills pile up, you lose your job, you need to make a down payment on a house, or you have unexpected home repairs. When you've maxed out your emergency fund, cut your budget, and still need cash, your 401(k) might look like the only option.

But taking money out of your retirement account early is one of the most expensive financial moves you can make. The difference between a 401(k) loan and a hardship withdrawal can be tens of thousands of dollars in lost retirement savings over 30 years.

What Is a 401(k) Loan?

Most 401(k) plans let you borrow money from your own account. It's not free money — you have to pay it back with interest — but you're borrowing from yourself, not a bank.

401(k) Loan Rules (2026)

  • Maximum amount: 50% of your vested balance, up to $50,000
  • Repayment term: 5 years maximum (10-15 years if it's a primary residence loan)
  • Interest rate: Usually prime rate + 1%, currently ~8.5%
  • Repayment: Automatic payroll deduction
  • Tax treatment: No tax, no penalty — as long as you pay it back on time

The "Hidden" Benefit of a 401(k) Loan

When you pay interest on a 401(k) loan, you're paying interest to yourself, not to a bank. The interest goes right back into your 401(k) account. That doesn't make it free — you're still missing out on compound growth on the borrowed money — but it's way better than paying interest to a credit card company.

What Is a Hardship Withdrawal?

A hardship withdrawal is when you permanently take money out of your 401(k) for an immediate and heavy financial need. It's not a loan — you never pay it back. And the tax cost is brutal.

What Counts as a Hardship (IRS Rules)

Your 401(k) plan has to follow IRS rules about what counts as a valid hardship. Qualifying reasons include:

  • Medical expenses not covered by insurance (yours or your family's)
  • Down payment on a primary residence
  • Tuition and educational fees for the next 12 months
  • Preventing eviction or foreclosure from your primary home
  • Funeral expenses
  • Repairs to your primary home after a natural disaster

The Tax Cost of a Hardship Withdrawal

  • Federal income tax (22% bracket example)
  • State income tax (average 5%)
  • Early withdrawal penalty (under 59.5)
  • Total tax bite
  • Cost Amount
    22% of withdrawal
    5% of withdrawal
    10% of withdrawal
    ~37% of what you withdraw

    If you withdraw $20,000, you only get to keep about $12,600. The other $7,400 goes straight to taxes and penalties.

    Side-by-Side Comparison

    Factor 401(k) Loan Hardship Withdrawal
    Taxes / penalties None (if repaid) 10% penalty + income tax (~37% total)
    Do you pay it back? Yes, over 5 years No, permanent withdrawal
    Interest You pay interest to yourself No interest, but lost growth
    Job loss risk Must repay within 60 days or it becomes a taxable distribution No risk (already withdrawn)
    Long-term growth impact Moderate (temporarily missing compound growth) Severe (permanently lost growth)
    Maximum amount $50,000 Only what's needed for the hardship

    The Real Cost: 30-Year Compound Growth Lost

    Let's run the numbers. Say you're 35 years old, and you need to take out $20,000 from your 401(k).

    Option 1: 401(k) Loan

    • You borrow $20,000 at 8.5% interest, paid back over 5 years
    • Monthly payment: ~$410
    • Total interest paid: ~$4,600 (paid back to yourself)
    • You temporarily miss out on 5 years of compound growth on $20k
    • After 30 years (age 65), that $20k would have grown to: $172,000 (at 7% average return)
    • But you paid the loan back, so the impact is smaller than it looks

    Option 2: Hardship Withdrawal

    • You withdraw $20,000
    • Taxes + penalty: ~$7,400 gone immediately
    • You only get to keep $12,600
    • That $20,000 is permanently gone from your retirement account
    • After 30 years, that $20k would have grown to: $172,000
    • Total retirement lost: $172,000

    The difference is staggering. The hardship withdrawal costs you 8x more in long-term retirement value than the 401(k) loan.

    When Each Makes Sense

    When a 401(k) loan makes sense

    • You have stable job security and can definitely pay it back
    • You need the money for a short-term emergency
    • You've already tried all other options (HELOC, personal loan, family)
    • You'll keep contributing to your 401(k) while paying back the loan

    When a hardship withdrawal might make sense

    • You have no other way to pay for life-saving medical care
    • You're facing eviction or foreclosure with no other options
    • You can't get a loan, and the alternative is bankruptcy
    • Even then, exhaust every other option first

    What to Do Instead

    Before touching your 401(k), try these options first:

    1. Build a $1,000 starter emergency fund
    2. Cut non-essential expenses (subscriptions, dining out, travel)
    3. Sell things you don't need
    4. Pick up a side gig or extra hours
    5. Ask family for a low-interest or interest-free loan
    6. Compare personal loan rates (they might be cheaper than you think)

    Use our free 401(k) calculator to see how much you'll have at retirement, and what happens if you take a loan or withdrawal early.

    Important Note: Figures on this page are based on 2026 public data and are intended as rough guides. Actual amounts will vary based on your specific situation. We recommend speaking with a licensed advisor for personalized guidance.

    Written by Sarah Mitchell · Updated October 2026
    Sources: IRS Publication 590 (Individual Retirement Arrangements), IRC Section 72(t) early withdrawal penalty rules, Plan Sponsor Council of America 401(k) loan data.
    Disclaimer: This guide is for informational purposes only and does not constitute financial advice. Always consult a qualified fiduciary financial advisor before making decisions about your retirement accounts.

    Common Mistakes to Avoid

    Methodology & Sources

    This loan calculator uses current 2026 market average interest rates for the corresponding loan type. Calculations include principal, monthly interest, and any required insurance or escrow payments, following standard amortization schedules.

    Example Calculations

    Example 1: 30-year-old, $60k salary

    Example 2: 45-year-old, $120k salary

    Example 3: 55-year-old catch-up contributions