← 401(k) Loan vs Withdrawal Calculator

Should I take a 401(k) loan or an early withdrawal?

The short answer: if you need cash and your plan allows a loan, the loan is usually the cheaper of the two, because a withdrawal pays tax and a 10% penalty up front and the money never goes back. The exception is the job-loss risk: an unpaid loan can turn into a taxable distribution.

Open the free 401(k) loan vs withdrawal calculator

A worked example

You need $15,000 net, have $80,000 in the plan, pay 27% income tax now and 20% in retirement, and expect 6% yearly growth over 20 years. These are the calculator's default numbers, not a forecast. Cost is how much less you hold, after tax, at the horizon.

OptionWhat you payCost at 20 years
401(k) loan, 8.5%, 5 yearsabout $309 a monthabout $34,300
Outside loan, 14%, 3 yearsabout $513 a monthabout $38,100
Early withdrawal$23,810 gross to net $15,000about $61,100

Why growth changes the ranking

The loan keeps your money out of the market while it is borrowed, so it costs more when growth is high. The withdrawal's cost grows faster still, since the whole gross amount is gone for good. At 2% yearly growth the withdrawal costs about $28,300, less than the loan ($33,800) and the outside loan ($38,100). At 6% it costs about $61,100 and is the worst option.

The job-loss risk

If you leave the job with a loan outstanding, many plans make the balance due. After 12 months in the example about $12,500 is still owed; if it is not repaid or rolled over by the tax filing deadline it is taxed as a distribution, about $4,600 of tax and penalty at the example rates. Check your plan's rules on repayment after separation.

Common questions

Is a 401(k) loan cheaper than an early withdrawal?

Usually, yes. A withdrawal triggers income tax and normally a 10% penalty before age 59½, so you take out more than you need and that money stops growing for good. A loan is repaid into your account. In the calculator's default example the loan costs about $34,300 in horizon dollars against about $61,100 for the withdrawal.

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

Generally the greater of $10,000 or 50% of the vested balance, capped at $50,000, and only if your plan offers loans. Your plan can set a lower limit or fees.

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

Many plans make the unpaid balance due. If you do not repay or roll it over by the tax filing deadline for that year, the balance is treated as a distribution: income tax, and a 10% penalty if you are under 59½.

When does the withdrawal or an outside loan win?

When expected growth is low or the outside rate is low. In the default example an outside loan at 14% APR costs about $38,100, and at 2% yearly growth the withdrawal ($28,300) beats both the loan ($33,800) and the outside loan.