401(k) Loan vs Hardship Withdrawal Calculator 2026: Which Route Really Costs Less
A 401(k) is the largest pool of money most households can reach in an emergency, and there are only three ways to get at it: borrow it, withdraw it as a hardship, or leave it alone and borrow somewhere else. The three routes look similar on the surface and are priced completely differently underneath. A loan costs no tax and no penalty, but it takes the money out of the market and creates a debt to your own account. A hardship withdrawal is taxable income, carries a 10% additional tax before 59 and a half, and cannot be put back. A personal loan keeps the plan intact and sends interest to a lender instead.
This calculator prices all three on the same term, in the same units: dollars of household wealth you give up. Enter the cash you need, your vested balance and your tax rate, and the tool returns the cost of each route, the monthly payment, the tax bill waiting inside a hardship withdrawal, and the expected cost of a default if you change jobs before the loan is repaid. The default case is deliberately ordinary, a 42-year-old with $85,000 vested and a $25,000 need, because that is where the answers are least obvious.
Run the Numbers
| Route | Monthly payment | Paid over the term | Total cost at horizon |
|---|
What Each Route Actually Does
A 401(k) loan is a real loan from the plan to you, secured by your account balance. The plan sells investments, sends you the cash, and you repay principal plus interest through payroll deduction, usually over five years. The interest rate is set by the plan, commonly prime plus one or two points. Nothing is reported as income, nothing is penalized, and the interest you pay is credited to your own account rather than to a bank. The costs are indirect: the borrowed dollars stop compounding, the repayments come from after-tax pay, and the loan becomes immediately due if you leave the employer.
A hardship withdrawal is a distribution. You must certify an immediate and heavy financial need under the plan's safe-harbor list, the plan may limit the withdrawal to the amount needed plus taxes, and the money leaves the account permanently. It is taxable income in the year paid, it carries the 10% additional tax under IRC section 72(t) unless you are 59 and a half or qualify for an exception, and there is no mechanism to repay it. The contribution room it consumes is not restored in a later year, so the loss compounds for the rest of your working life.
A personal loan leaves the retirement account untouched. You borrow from a bank or credit union at a market rate, unsecured or secured, and repay on a fixed schedule. Your 401(k) keeps compounding in full, but every dollar of interest leaves the household for good and the payment is usually larger than the plan loan payment for the same amount because the rate is higher. A credit card is the same route at a much worse rate.
| Feature | 401(k) loan | Hardship withdrawal | Personal loan |
|---|---|---|---|
| Income tax at the time | None | Ordinary rates on the full amount | None |
| 10% additional tax before 59 and a half | None | Yes, unless an exception applies | None |
| Repayment | Required, payroll deduction, five years generally | Not allowed | Required, fixed schedule |
| Interest goes to | Your own account | Not applicable | The lender |
| Money stays tax-deferred | Yes, repaid over the term | No, permanently removed | Yes, account untouched |
| Credit check | None | None | Yes, and the payment reports to bureaus |
| Main risk | Job change with a balance outstanding | Permanent loss of principal and growth | Interest cost and a hard inquiry |
How the Calculator Prices the Three Routes
Every comparison of these routes goes wrong in the same way: it compares a tax bill with a monthly payment. A hardship withdrawal has no payment, so it looks free after the tax; a personal loan has a payment, so it looks expensive; a plan loan has both a payment and an interest charge that goes back to you, so it is almost impossible to price in your head. This tool converts all three into one number, the dollars of household wealth given up over the term you select.
- 401(k) loan: the borrowed dollars stop compounding while they are out, and each principal repayment starts compounding again from the month it lands. The cost is the growth the account would have earned minus the growth the repayments do earn, plus a probability-weighted tax bill for a default if you leave the job first. The interest you pay is ignored as a cost because it is paid into your own account.
- Hardship withdrawal: to net the amount you need, you must withdraw more, because the tax and penalty come out of the distribution. The cost is that gross amount grown at your expected return for the full term, minus the cash you actually received.
- Personal loan: the cost is interest paid to the lender, compounded at your plan return, because in a world where you did not borrow, that interest would have stayed invested. The plan balance keeps growing untouched, which is the offsetting advantage.
The default profile makes the trade-off concrete. On $25,000 repaid over five years, the 401(k) loan costs $5,621, or 22.5% of the amount needed. The personal loan at 12.5% costs $10,617. The hardship withdrawal costs $26,093, more than the cash the household receives, because $12,879 leaves as tax and penalty and the remaining principal never earns another dollar. The spread between the cheapest and the most expensive route is $20,472 on a $25,000 decision.
Why a Plan Loan Is Usually the Cheapest Borrowing Available
Two features make the plan loan hard to beat. The first is that the interest is a transfer, not a cost: on the default numbers you pay $30,057 over five years on a $25,000 loan, and $5,057 of that is interest that lands back in your own account. No bank loan has that property. The second is that the alternative to borrowing is not "leave the money invested"; it is "leave the money invested and borrow at a market rate," and the market rate is typically five to ten points higher than the plan rate.
What the loan actually costs is the growth gap while the principal is out. On a five-year term with a 6% expected return, $25,000 borrowed and repaid on schedule gives up about $4,920 of growth, because the repayments rebuild the balance month by month. Shorten the term and the cost falls: at one year the same loan costs about $1,554 before default risk. Stretch it to five years and you pay $5,621. The term is the lever you control, and it cuts both ways, because a shorter term means a larger payroll deduction.
| Repayment term | Monthly payment | 401(k) loan cost | Hardship cost | Personal loan cost |
|---|---|---|---|---|
| 1 year | $2,168.94 | $1,554 | $15,215 | $1,789 |
| 2 years | $1,124.99 | $2,428 | $17,695 | $3,652 |
| 3 years | $777.66 | $3,393 | $20,329 | $5,733 |
| 4 years | $604.47 | $4,455 | $23,125 | $8,050 |
| 5 years | $500.95 | $5,621 | $26,093 | $10,617 |
Read the one-year row closely. At a one-year term the personal loan almost ties the plan loan, $1,789 against $1,554, because the interest bill is small when the balance disappears quickly. The gap widens fast as the term extends, because the personal loan charges 12.5% on a declining balance while the plan loan charges 7.5% into your own account. That is the single most useful thing this tool shows: the term matters more than the rate for the personal-loan route, and the plan-return assumption matters more than either for the hardship route.
Two Ways a Plan Loan Goes Wrong
The first is a job change. Most plans require the outstanding balance to be repaid within 60 to 90 days of separation, and if it is not, the plan offsets the loan: the outstanding amount becomes a deemed distribution, taxable as ordinary income in that year, plus the 10% additional tax if you are under 59 and a half. Nothing lands in your bank account. On the default profile, leaving at the midpoint with about $13,000 outstanding would produce roughly $4,400 of federal tax, which is why the calculator carries a probability input rather than pretending the risk is zero. At a 15% chance the expected cost is $701; at 60% it is $2,666.
The second is the loan limit. The statute caps a plan loan at the lesser of $50,000 or 50% of the vested balance, reduced by the highest outstanding balance in the previous 12 months. A small balance is the binding constraint: $40,000 vested supports $20,000, and a $25,000 need cannot be met by the plan alone. The calculator flags that case and prices the loan on the amount it can actually cover, so you can see what the remaining dollars would cost through the other two routes.
| Vested balance | 50% of balance | Maximum plan loan |
|---|---|---|
| $25,000 | $12,500 | $12,500 |
| $50,000 | $25,000 | $25,000 |
| $85,000 | $42,500 | $42,500 |
| $100,000 | $50,000 | $50,000 |
| $250,000 | $125,000 | $50,000 |
The Hardship Withdrawal Is Priced Like a Last Resort
There is no scenario in which a hardship withdrawal is cheaper than a plan loan at the same tax rate, because the withdrawal starts by destroying a third of the money before anything else happens. At a 24% federal rate and age 42, getting $25,000 in cash requires withdrawing $37,879 so that $9,091 of income tax and $3,788 of additional tax can be paid. The $25,000 you keep would have compounded to $33,721 in five years at 6%. Add the two effects and the cost is $26,093, which is why the tool shows a number larger than the withdrawal itself.
The picture improves at 59 and a half, when the 10% additional tax disappears: the same $25,000 need costs $19,370 instead of $26,093, and the gross withdrawal drops to $32,895. It never becomes cheap. The money still leaves the tax shelter permanently, and the growth it would have earned is still gone. The only route that improves more with age is the plan loan, and only because a smaller balance is usually outstanding for a shorter time.
When a Personal Loan Beats the Plan
Set the personal loan APR to 6% in the calculator and the ordering flips: $4,866 against $5,621 for the plan loan. That is not a bug. When the plan loan rate is higher than the return you expect on the account, and the market rate is low, the plan loan is doing two unhelpful things at once: it pulls money out of an account that would have grown faster than the interest credited back, and it forces a payroll deduction that could have gone into the plan directly. A borrower with a 4% expected return and a 9.5% plan loan rate can find the plan loan clearly more expensive than a credit-union loan at 8%.
Compare Free Life Insurance Quotes
Answer a few questions and see personalized rates from 50+ carriers in about two minutes. No obligation.
Secure form — your information is encrypted and never sold.
The practical test is the one the tool runs for you: compare the three costs at your own numbers, not at the averages in an article. If the personal loan wins, check whether you can actually qualify and whether the payment fits your budget, because the calculator treats a payment you cannot make as free, and it is not.
Cost by How Much You Need
Cost scales almost linearly with the amount, with one discontinuity: once the need passes the plan loan limit, the loan route stops covering the whole expense and the calculator flags it. The table below holds every other input at the default profile and moves only the amount needed.
| Cash needed | 401(k) loan cost | Hardship cost | Personal loan cost | Cheapest route |
|---|---|---|---|---|
| $10,000 | $2,248 | $10,437 | $4,247 | 401(k) loan |
| $25,000 | $5,621 | $26,093 | $10,617 | 401(k) loan |
| $40,000 | $8,994 | $41,748 | $16,987 | 401(k) loan |
| $50,000 | $9,556 (capped at $42,500) | $52,186 | $21,234 | 401(k) loan, with $7,500 short |
Six Steps to Take a Plan Loan Without Wrecking the Account
- Read the plan's loan policy before you apply. It sets the minimum, the maximum, the number of open loans, the rate and whether a job change accelerates the balance.
- Borrow the smallest amount that solves the problem. The cost is proportional to the principal, so a $12,000 loan instead of $25,000 halves the growth you give up.
- Choose the shortest term your payroll can absorb. A five-year term is the maximum, not the target; the one-year term costs about a third as much on the default profile.
- Confirm how repayment works. Payroll deduction is automatic; if you are paid irregularly, ask how the plan handles a missed deduction, because that is how most defaults start.
- Line up a repayment plan for a job change. Know whether the new plan accepts a loan transfer and whether you could cover the balance with a personal loan if it does not.
- Keep contributing while you repay. The payroll deduction is not a contribution, and pausing deferrals to afford the payment gives up the match and the contribution room at the same time.
Mistakes That Make the Loan Expensive
- Treating the loan as free money. The payment is a real budget item for five years, and the account stops growing on the borrowed balance the day the loan is issued.
- Taking the maximum because it is available. The limit is a ceiling, not a recommendation. Borrowing $42,500 when $15,000 solves the problem triples the cost for no benefit.
- Ignoring the separation rule. A plan loan is callable when you leave. If a job change is plausible, price the default risk instead of assuming it will not happen.
- Choosing a hardship withdrawal to avoid a payment. The absence of a monthly payment is exactly what makes the route expensive: the principal never comes back.
- Repeating the loan. Taking a new loan while one is open reduces the available limit and, on many plans, blocks a second loan entirely.
- Comparing the payment instead of the cost. A personal loan payment is usually larger, but the cost difference over five years runs the other way in most scenarios.
Assumptions and Limits
The model uses federal rates you select, applies no state income tax, and assumes a constant expected return on the account and a constant personal loan APR. The plan loan cost is computed as forgone growth on the borrowed principal net of the growth earned by each principal repayment, plus the probability-weighted deemed-distribution tax at your average outstanding balance. The hardship cost assumes the withdrawal is grossed up so that the cash received equals the need, and that the entire gross amount is taxable, which is true for pre-tax deferrals but not for after-tax or Roth money. Personal loan fees, origination costs, credit-score effects and the tax treatment of any itemized interest are not modeled. Plan-specific rules on in-service loans, loan transfers between plans, and the treatment of a terminated plan override every number here.
Frequently Asked Questions
Is a 401(k) loan better than a hardship withdrawal?
For almost every borrower with a stable job, yes. A 401(k) loan is not a distribution, so no income tax and no 10% additional tax apply, and the interest you pay goes back into your own account. A hardship withdrawal is taxable income in the year you take it, carries the 10% additional tax if you are under 59 and a half, permanently removes the money from the tax shelter, and cannot be repaid. On a $25,000 need repaid over five years, the loan typically costs a fifth of the amount borrowed while the withdrawal costs more than the amount you receive.
How much can I borrow from my 401(k)?
The statutory maximum is the lesser of $50,000 or 50% of your vested account balance, reduced by the highest outstanding loan balance during the prior 12 months. An $85,000 vested balance therefore supports a $42,500 loan, and a $40,000 balance supports $20,000. Plans may set a lower limit, a minimum loan amount, and a cap on the number of loans open at once, so the plan document controls in practice.
What happens if I leave my job with a 401(k) loan outstanding?
Most plans require the balance to be repaid within 60 to 90 days of separation. If it is not, the outstanding amount becomes a deemed distribution: taxable income in that year, plus the 10% additional tax if you are under 59 and a half and do not qualify for an exception. You may be able to continue payments if the new employer's plan accepts a loan transfer, but that is uncommon. The tax is charged on the outstanding balance even though you never received that money as cash.
Do I pay taxes on a 401(k) loan?
No, as long as the loan is repaid on schedule. A plan loan is a loan, not a distribution, so it is not reported as income. The repayments come from after-tax payroll deductions and the interest is paid with after-tax dollars into your own account, which is why the loan does not create a deduction or a tax bill. Tax appears only if the loan defaults or the plan offsets the balance after you leave.
How long do I have to repay a 401(k) loan?
Five years is the maximum for a general-purpose loan, and payments must be substantially level and made at least quarterly. A loan used to buy your main home can run longer, up to the period the plan allows, which is often 10 to 15 years. Most plans amortize the loan on a fixed schedule through payroll deduction, and a missed payment or a payroll interruption can trigger a default.
Can I take a hardship withdrawal and still contribute to my 401(k)?
Yes. Since the 2019 SECURE Act changes, a hardship distribution no longer suspends your deferrals for six months. You can keep contributing, but the withdrawn dollars are gone for good and the annual deferral limit does not rise to replace them, so the account loses both the money and the compounded growth on it. The distribution is still limited to the amount needed to satisfy the hardship, plus the taxes on it.
Is a personal loan ever cheaper than borrowing from my 401(k)?
Yes, when the personal loan rate is low relative to your expected plan return and your 401(k) loan rate. A 6% personal loan against a 7.5% plan loan and a 6% expected return prices out cheaper in the calculator, because the plan keeps compounding in full and the interest you avoid paying to yourself is smaller than the growth you would have given up. The crossover depends on the three rates, the term and the size of the need, which is why the tool is built to price all three at once.
Watch the Walkthrough
If you want the difference between a loan and a withdrawal explained before you run your own numbers, this walkthrough covers why the tax treatment changes the answer so much.
Related Tools
- Rule of 55 Withdrawal Planner for penalty-free access to a plan after leaving a job in or after the year you turn 55.
- 72(t) Calculator for substantially equal periodic payments before 59 and a half, when a hardship withdrawal is the only other option.
- NUA Calculator for employer stock, the one asset where the tax rate depends on how the money leaves the plan.
- Life Insurance in a 401(k) Calculator for the incidental-benefit rules on plan-owned policies.
- Inherited IRA Tax Calculator for what heirs keep when a retirement account passes outside the ten-year rule assumptions.
Related Resources
- IRS retirement topics: plan loans covers the $50,000 and 50% limits, the five-year term and the deemed-distribution rule.
- IRS retirement topics: tax on early distributions explains the 10% additional tax and the exceptions that remove it.
- Department of Labor Employee Benefits Security Administration publishes participant rights, claim procedures and plan disclosure guidance.
One practical warning before you sign the loan paperwork: the plan loan is the cheapest route on paper because it keeps your account working, and it stays cheap only while the repayments actually happen. Price the default risk honestly, choose a term your paycheck can carry through a bad quarter, and keep the deduction separate from your contribution. If a job change is likely in the next two years, run the numbers with the risk slider set to 50% or higher before you decide, because that is the scenario where the cheapest route quietly becomes an ordinary distribution.
Do not let an emergency force a hardship withdrawal
Term life insurance costs a fraction of what a 401(k) withdrawal costs when the emergency is a death in the family. Compare rates and keep the retirement account untouched.
Get Free Life Insurance Quotes