Privately owned — not a lender and not a government agency. We're paid for referrals. Learn more

401(k) Loan vs. Personal Loan vs. Hardship Withdrawal

The short answer

A 401(k) loan lets you borrow the lesser of $50,000 or the greater of $10,000 or 50% of your vested balance, usually repaid within 5 years, and it isn't taxed if you follow the plan's rules. A personal loan is priced on your credit and costs interest paid to a lender, but it leaves your retirement savings alone. A hardship withdrawal is never repaid: it is taxable income and may face a 10% additional tax if you're under 59½. The biggest 401(k) loan risk is leaving your job with a balance, which can turn the unpaid amount into taxable income unless you roll it over by your tax-filing deadline.

The short answer

If your plan offers loans and your job is stable, a 401(k) loan can cost less than a personal loan, especially if your plan credits the interest you pay back to your own account rather than to a lender. But it puts retirement money at risk if you leave your job before it's repaid. A personal loan costs more interest but keeps your savings separate. A hardship withdrawal is the costliest of the three for most people under 59½: it's taxed, possibly penalized, and can't be put back.

Our retirees guide lists the basic 401(k) loan rules. This page compares the three options side by side and puts numbers on the trade-offs.

How a 401(k) loan works

Not every plan offers loans. The IRS says a qualified plan "may, but is not required to provide for loans." The Department of Labor adds that plan loans must "charge a reasonable rate of interest and be adequately secured."

How much you can borrow. Federal law caps a plan loan at the lesser of $50,000 or the greater of $10,000 or 50% of your vested balance. If you've had other plan loans in the past 12 months, the $50,000 cap is reduced by the difference between your highest outstanding loan balance during that time and your balance on the date of the new loan. Your plan can set lower limits.

Vested balanceFederal maximum loan
$12,000$10,000
$40,000$20,000
$60,000$30,000
$150,000$50,000

Repayment. The loan must generally be repaid within 5 years in substantially equal payments of principal and interest, made at least quarterly. A loan used to buy your main home can run longer. The IRS notes that many plans require repayment by payroll deduction, so the payment comes straight out of your paycheck.

Credit. A plan loan must be made under the plan's written loan rules and is secured by your account. Federal rules let a plan weigh the factors a commercial lender would, which "may include the applicant's creditworthiness and financial need" (29 CFR 2550.408b-1 (opens in new tab)), so ask your plan administrator how loans are approved. A personal lender is different: the CFPB says most lenders consider "your credit score and reports" when setting your rate and terms. See prequalification and credit inquiries.

Taxes. The IRS says plan loans "are not taxable distributions unless they fail to satisfy the plan loan rules."

When a 401(k) loan becomes taxable

There are two ways a loan can turn into taxable income:

  1. Missed payments (deemed distribution). If you default, the IRS treats it as "a taxable distribution from the plan of the entire outstanding balance of the loan." A plan can give you a cure period, but it can't run past the end of the calendar quarter after the quarter in which you missed the payment. The 10% additional tax on early distributions applies to a deemed distribution the same way it applies to an actual one.
  2. Leaving your job (loan offset). The IRS warns that your plan "may even require you to repay the loan in full if you leave your job." If you don't, the plan can reduce your account by the unpaid loan. That offset is an actual distribution. When it happens because you left your job or the plan ended, you have until your tax return due date, including extensions, to roll the offset amount into an IRA or another plan.

If neither happens in time, the unpaid amount is generally added to your income. If you're under 59½, an additional tax "equal to 10% of the portion of the distribution that's includible in gross income" may apply unless an exception fits. One exception covers leaving your job during or after the year you turn 55.

A few protections exist. A plan may suspend payments while you're on military service, and level payments can be paused for a bona fide leave of absence of up to one year.

How a hardship withdrawal is different

A hardship withdrawal is money taken out of your account for good. The IRS allows it only for "an immediate and heavy financial need," and the withdrawal is "limited to the amount necessary." Reasons the IRS treats as automatically qualifying include medical care, buying a main home, college costs, preventing eviction or foreclosure, funeral expenses and certain home repairs.

The key differences from a loan:

  • It can't be repaid. The IRS says hardship distributions "are not repaid to the plan" and can't be rolled over to an IRA or another plan.
  • It's taxed. It's included in income unless it comes from Roth contributions, and it may face the 10% additional tax.
  • Plans don't have to offer it. A plan "may, but is not required to" allow hardship distributions.
  • A loan may or may not be required first. Your plan can choose whether to require a plan loan before a hardship withdrawal.
  • You can keep contributing. For hardship withdrawals after 2019, plans can no longer suspend your contributions afterward.

Side-by-side comparison

401(k) loanPersonal loanHardship withdrawal
Offered?Only if your plan allowsLender decidesOnly if your plan allows
LimitLesser of $50,000 or greater of $10,000 / 50% of vested balanceLender decidesAmount needed for the hardship
Credit reviewSet by plan's loan rules; ask if credit is checkedLender considers credit score and reportsPlan rules, not credit
Repaid?Yes, usually within 5 years, at least quarterlyYes, fixed payments over a set termNo, can't be repaid
Taxed?No, unless rules are broken or it's offset and not rolled overNoYes, plus possible 10% additional tax
Job-change riskUnpaid balance may be offsetNone tied to your jobNone
Effect on retirementMoney out of the market while borrowedNonePermanent reduction

Worked example: $5,000 three ways

Assumptions (examples, not offers or predictions): you need $5,000 for 24 months. The 401(k) loan rate is 9% and loan payments, including interest, are credited back to your own account. The personal loan APR is 20% with no fees. Money left in your 401(k) earns an assumed 7% a year, compounded monthly. For taxes we assume a 22% federal bracket, no state tax, you're under 59½ and no exception applies. Payments use standard amortization.

401(k) loan at 9%Personal loan at 20%
Monthly payment$228.42$254.48
Total paid over 24 months$5,482.08$6,107.52
Interest$482.08 (to your account)$1,107.52 (to the lender)

Lost growth. If the $5,000 stayed invested at 7%, it would grow to about $5,749.03 in 24 months. In the 401(k) loan case, your repayments rebuild the account to about $5,866.06, but $482.08 of that is interest you paid from your paycheck. Adding it up (account value minus what you paid), the 401(k) loan leaves you about $742 better off than the personal loan at a 7% return.

The gap depends on what the market does, which no one knows in advance:

Assumed annual return401(k) loan advantage over personal loan
0%about $1,108
7%about $742
15%about $236

If you leave your job after 12 months. About $2,612.05 would still be owed on the 401(k) loan. If you can't repay it or roll it over by your tax deadline, that amount could be taxed: about $574.65 in federal income tax at 22%, plus about $261.21 in additional tax, roughly $835.86 in total. That's more than the 401(k) loan saved you in this example.

As a hardship withdrawal. A $5,000 hardship withdrawal could mean about $1,100 in federal income tax and $500 in additional tax, leaving about $3,400 in hand, and the $5,000 never goes back into your account. Get your own estimate from a tax professional or the IRS before you choose this.

Run your own numbers with the 401(k) loan calculator.

Mistakes and traps

  • Assuming the loan is tax-free no matter what. It stays tax-free only if you follow the plan's limits and repayment rules.
  • Borrowing just before a job change. Leaving with an unpaid balance can turn a plan loan into a tax bill.
  • Cutting your contributions to afford the payment. The IRS points out that any unpaid loan "means you'll have less money saved for your retirement," and contributing less adds to that.
  • Ignoring payroll errors. If repayments stop coming out of your paycheck, the loan can be treated as a taxable distribution. Check your pay stubs.

Scams to watch for

Your 401(k) loan comes from your plan, through your employer or plan administrator. Be careful with anyone who calls offering to "unlock" your retirement money, asks for your plan login, or wants a fee to arrange a loan or withdrawal. See loan scam warning signs.

When each option fits, and when it doesn't

A 401(k) loan may fit if your plan offers it, your job is secure, you can afford the payroll deduction, and you'd otherwise pay a high personal loan rate. It's a poor fit if you might change jobs soon, your budget is already tight or you're close to retirement.

A personal loan may fit if you want your retirement savings left alone or your job is uncertain. It's a poor fit if the APR is very high. Compare personal loan offers on APR and total repayment.

A hardship withdrawal is usually a last resort for a qualifying need when you can't repay a loan. If you're facing eviction, foreclosure or debts you can't pay, a nonprofit credit counselor or legal aid office can help you review options first.

What to do next

  1. Ask your plan administrator whether loans and hardship withdrawals are offered, the loan rate and what happens if you leave your job.
  2. Get at least one personal loan quote to compare. See how prequalification works first.
  3. Compare total cost, job-change risk and tax risk using the calculators above.
  4. For tax questions about your situation, talk to a tax professional.

This page is general education, not tax or legal advice. State rules on personal loans vary; see state guides.

Frequently asked questions

How much can I borrow from my 401(k)?

If your plan offers loans, the IRS limit is the lesser of $50,000 or the greater of $10,000 or 50% of your vested balance. With a $40,000 vested balance, that's $20,000. Your plan can set lower limits, and the $50,000 cap is reduced if you had other plan loans in the past 12 months.

What happens to my 401(k) loan if I leave my job?

Your plan may require repayment and, if you don't repay, offset your account by the unpaid balance. That offset is treated as a distribution, but when it happens because you left your job, you have until your tax return due date, including extensions, to roll that amount into an IRA or another plan and avoid tax on it.

Is a 401(k) loan better than a hardship withdrawal?

Often, if you can afford the payments. A loan is repaid to your account and isn't taxed if you follow the rules. A hardship withdrawal can't be repaid or rolled over, is generally taxable income and may face a 10% additional tax before age 59½. In our example, a $5,000 hardship withdrawal leaves about $3,400 after assumed taxes.

Will my plan look at my credit for a 401(k) loan?

A 401(k) loan is made under your plan's written loan rules and secured by your account. Federal rules allow a plan to consider factors such as creditworthiness, so ask your plan administrator whether it checks credit. A personal lender, by contrast, considers your credit score and reports when it sets your rate.

Do I have to take a 401(k) loan before a hardship withdrawal?

Not necessarily. Under IRS rules, your plan can choose whether to require a plan loan first. Check your plan's rules or summary plan description.

Sources

  1. 29 CFR § 2550.408b-1 - General statutory exemption for loans to plan participants and beneficiaries who are parties in interest with respect to the plan, Legal Information Institute, Cornell Law School. Accessed Invalid Date.
  2. Retirement plans FAQs regarding loans, Internal Revenue Service. Accessed Invalid Date.
  3. 26 U.S. Code § 72 (subsections (p) and (t)), Cornell Law School Legal Information Institute. Accessed Invalid Date.
  4. 26 CFR 1.72(p)-1 Loans treated as distributions, Cornell Law School Legal Information Institute. Accessed Invalid Date.
  5. Retirement topics: Hardship distributions, Internal Revenue Service. Accessed Invalid Date.
  6. Retirement plans FAQs regarding hardship distributions, Internal Revenue Service. Accessed Invalid Date.
  7. Topic no. 558, Additional tax on early distributions from retirement plans other than IRAs, Internal Revenue Service. Accessed Invalid Date.
  8. Considering a loan from your 401(k) plan?, Internal Revenue Service. Accessed Invalid Date.
  9. 401(k) plan fix-it guide - Participant loans don't conform to the requirements of the plan document and IRC Section 72(p), Internal Revenue Service. Accessed Invalid Date.
  10. What You Should Know About Your Retirement Plan, U.S. Department of Labor, Employee Benefits Security Administration. Accessed Invalid Date.
  11. What is a personal installment loan?, Consumer Financial Protection Bureau. Accessed Invalid Date.

Found an error? Tell us. We correct mistakes and note significant changes.