Should you borrow from your 401(k)?
You are the lender, and the victim.

READ8 min · UPDATED
Reviewed against primary sources cited at the bottom of this page.

A 401(k) loan looks like the perfect deal: you borrow your own money, pay interest to yourself, and no credit check is involved. But two hidden costs and one job-loss trap turn it into one of the most expensive ways to raise cash for most people, most of the time.

Almost never, and never for a want. You can borrow up to 50% of your vested balance or $50,000, whichever is less, over 5 years. But you lose market growth on the money, repay with twice-taxed dollars, and if you leave the job the balance is due fast or it becomes a taxed, 10%-penalized distribution.

  • The IRS caps the loan at the lesser of $50,000 or 50% of your vested balance, and requires repayment within 5 years (longer only for a primary-home purchase).
  • If you leave or lose the job, the unpaid balance is treated as a distribution unless repaid by your tax-filing deadline, plus extensions, for that year.
  • A defaulted loan under age 59.5 gets hit with ordinary income tax plus a 10% early-withdrawal penalty. On a $20,000 balance at a 22% bracket that is roughly $6,400 gone.
  • $20,000 out of the market for 5 years at a 7% real return is about $8,000 of forgone growth you can never recover.
  • The interest you "pay yourself" was already-taxed take-home pay, and it gets taxed again on withdrawal, so a slice of your own money is double-taxed.

This page covers personal finance fundamentals that apply regardless of your view on Bitcoin or fiat currencyfiat currencyMoney declared legal tender by a government, not backed by a physical commodity. Its value rests on trust in the issuing government.Full definition.

This page covers US-specific accounts and tax law. Outside the US? The trap is the same wherever a retirement account allows loans; the rules, limits, and penalty amounts differ by country.
THE SHORT VERSION

A 401(k) loan is you lending yourself your own retirement money. The three real costs are: the market growth that money misses while it is out, the fact that you repay with after-tax dollars that get taxed a second time, and the job-loss trap that can convert the whole balance into a taxed and penalized withdrawal on short notice. It is only defensible as a bridge for short-term, high-rate debt when your job is rock-solid, and even then a fully-funded emergency fund would have been cheaper.

How does a 401(k) loan actually work?

If your plan allows loans (not all do), you can borrow the lesser of $50,000 or 50% of your vested account balance, and repay it, with interest, through automatic payroll deductions over a term of up to 5 years. The only exception to the 5-year term is a loan used to buy your primary residence, which plans may stretch longer ×DON'T TRUST, VERIFYClaim: 401(k) loans are capped at the lesser of $50,000 or 50% of the vested balance, must generally be repaid within 5 years, and repayments must be substantially level.Verify at: IRS: Retirement Topics — Plan Loans ↗The IRS page states the $50,000 / 50% limit, the general 5-year repayment rule, the primary-home exception, and the level-amortization requirement..

The interest rate is typically the prime rate plus 1–2 percentage points, set by your plan. As of mid-2026 that lands roughly in the 8–10% range. The appealing part: that interest is paid back into your own account, not to a bank. There is no credit check, no hard inquiry, and a default does not hit your credit report. On paper it feels like borrowing from yourself for free.

The catch is what "borrowing from yourself" really costs. To fund the loan, your plan sells investments and moves that cash to you. That money is now out of the market, and the three sections below are where the true bill comes due.

What is the real cost of taking the money out of the market?

This is the largest and most invisible cost. Every dollar you borrow stops compounding the day it leaves the account. The interest you pay yourself does not replace market growth; it is usually far lower than what a diversified portfolio returns over a multi-year stretch.

THE MATH THAT DECIDES IT

Borrow $20,000 for 5 years. At a 7% real annual return, that money would have grown to about $28,000 inside the account.
Forgone growth: roughly $8,000.
The ~9% interest you "pay yourself" does not close the gap, because it is far smaller than 5 years of full-balance compounding, and it comes from your own pocket either way.

It gets worse if you cut or pause your ongoing contributions to afford the loan payments, which many borrowers do. Every month you skip is a month of matching employer dollars and market growth you never get back. That silent second hit can dwarf the loan itself.

Timing risk is real too: if you borrow during a downturn, you sell low to fund the loan and buy back in over the next 5 years, potentially at higher prices, locking in the loss. The market does not wait for your repayment schedule.

Is 401(k) loan interest really double-taxed?

Yes, on the interest portion. Here is the sequence people miss. You repay the loan with money from your paycheck, which is after-tax take-home pay. That repayment, principal and interest, goes into your pre-tax 401(k). Decades later, when you withdraw in retirement, every dollar is taxed again as ordinary income.

For the principal, this mostly washes out; you took pre-tax money out and put after-tax money back, roughly a timing wrinkle. But the interest is genuinely taxed twice: once when you earned the paycheck it came from, and again when you eventually withdraw it. If you pay $2,500 in interest over the life of the loan and you are in a 22% bracket both now and in retirement, that double-tax costs you roughly $550 in real dollars for the privilege of paying yourself.

It is not catastrophic on its own, but it quietly demolishes the "you pay interest to yourself, so it's free" pitch. You are paying interest to a version of your future self that the IRS taxes again on the way out.

THE TRAP THAT WRECKS PEOPLE

Leave or lose the job, and the clock starts. If you separate from your employer with an outstanding loan, the balance must be repaid by your federal tax-filing deadline (including extensions) for the year you left, or the unpaid amount becomes a deemed distribution: taxed as ordinary income, plus a 10% early-withdrawal penalty if you are under 59.5.

On a $20,000 balance in a 22% bracket, that is about $4,400 in income tax + $2,000 penalty = roughly $6,400 owed at tax time, on money you no longer have, right when you may have just lost your income. Layoffs and loans are a brutal combination, and you do not control the timing of a layoff.

What are the alternatives to a 401(k) loan?

Before touching retirement money, walk down this list. In most cases something above the 401(k) loan is cheaper or safer.

OPTION TYPICAL COST THE CATCH
Emergency fund $0, and your cash earns ~4% in a HYSA as of mid-2026. You have to have built it first. This is the whole point of an emergency fund.
HELOC / home equity Roughly 8–10% APRAnnual Percentage Rate (APR)The yearly cost of borrowing money, shown as a percentage.Full definition as of mid-2026, interest may be tax-deductible if used on the home. Secured by your house; miss payments and you risk foreclosure. Requires equity and approval.
Personal loan Roughly 8–18% APR depending on credit. Unsecured and no job-loss trap, but leaves your retirement untouched, which is the point.
401(k) hardship withdrawal Ordinary income tax + 10% penalty under 59.5. Not repaid. Only for an "immediate and heavy financial need" and limited to that amount; the money is gone forever ×DON'T TRUST, VERIFYClaim: A 401(k) hardship distribution requires an immediate and heavy financial need, is limited to the amount necessary, and is generally subject to income tax plus a 10% early-withdrawal penalty.Verify at: IRS: Hardship Distributions ↗The IRS page defines the "immediate and heavy financial need" standard, the amount-necessary limit, and that hardship distributions are taxable and cannot be repaid..
401(k) loan ~8–10% interest paid to yourself + forgone market growth + double-taxed interest. The job-loss trap above. Defensible only in the narrow case in the next section.

Rates and HYSA yields are as of mid-2026 and move with the market. Tax rules cited are federal and current; verify penalty and hardship specifics with the IRS before acting.

Note the key difference between a loan and a hardship withdrawal: the withdrawal is permanent, you cannot pay it back, and it is taxed and penalized immediately. A loan at least lets you restore the balance, if the job holds.

When is a 401(k) loan actually defensible?

There is a narrow window where the math can work. All of these should be true at once:

  • You are replacing high-rate debt. If you are killing a 24%+ APR credit card balance and the 401(k) loan is ~9%, the rate spreadspreadThe difference between the market price of Bitcoin and what an exchange actually charges you, a hidden cost on top of stated transaction fees.Full definition can beat the forgone-growth cost, especially if the payoff frees you to keep contributing.
  • Your job is genuinely stable. The entire trap is job loss. If you have no realistic layoff risk over the 5-year term, you have neutralized the biggest downside. Be honest; almost no one controls this.
  • It is short-term and you keep contributing. A quick bridge you can repay in 1–2 years, without cutting your ongoing contributions or losing the employer matchemployer matchFree money your employer adds to your 401k when you contribute. Not capturing the full match leaves guaranteed returns behind.Full definition, limits the compounding damage.
  • It is a genuine need, not a want. Debt payoff, a medical bill, closing costs. Never a vacation, a car upgrade, a wedding you can right-size, or anything you could delay.
THE ONE-LINE RULE

Never borrow from your 401(k) for a want. A want does not justify raiding a 40-year compounding engine, exposing yourself to a five-figure tax-and-penalty trap, and double-taxing your own interest. If the purchase can wait, it should. If it can't and it's a want, it's a budgeting problem, not a financing problem.

Even in the defensible case, understand what you are really doing: you are trading long-run retirement growth for short-run cash flowcash flowMoney coming in minus money going out over a month or year. A positive number means you earn more than you spend; negative means the opposite.Full definition. That trade is sometimes worth it under duress. It is never worth it for convenience. Run your specific debt-payoff-versus-invest math through the debt vs invest calculator before you decide.

No plan provider, bank, or lender pays this site. See /how-this-site-makes-money/.

Last updated 2026-07-04. Not financial advice. Tax rules cited are federal and current; limits and penalties change, verify with the IRS before relying on them.

Subscribe via RSS for new articles.