Borrowing from Your 401(k)

While your 401(k) Savings Plan is primarily for long-term investments, you might find yourself in a situation where you need to access these funds early. If that’s the case, you have options like taking a hardship withdrawal or a plan loan. To initiate any loan or withdrawal, you’ll need to go through your 401(k) management company, such as Vanguard or Fidelity. If your bank account is already linked for electronic transfers, processing times are typically 3–5 business days for a general purpose loan and 7–10 days for a principal residence loan or hardship withdrawal.

The limits are statutory, not plan policy, so no amount of negotiating moves them. IRC §72(p), “Loans treated as distributions” caps a plan loan at the lesser of $50,000 or half your vested balance, requires substantially level amortization at least quarterly, and imposes the five-year repayment term — with an exception, not a mandate, for loans used to acquire a principal residence, which is why the longer term is plan-dependent and commonly set at 10 to 15 years. Miss the terms and the loan is deemed distributed: taxable, and penalized if you are under 59½.

When you borrow from your 401(k), you’re expected to repay the borrowed amount plus interest within 5 or 10 years. The good news is that all the repayment, including the interest, goes back into your 401(k) account, benefiting your future self. Repayments are made biweekly, directly deducted from your paycheck, and are generally in the low hundreds. However, if you prefer, you can also make manual repayments of any amount at any time through your plan administrator.

Consider using the Retirement Plan Loan Calculator to determine what a plan loan will cost. There are loans and hardship withdrawals, and the rules are different for each — see Table 16.2

Table 16.2: Comparison of loans and hardship withdrawals from 401(k) accounts
Loan Hardship Withdrawals
Money is borrowed directly from your 401(k) balance. You’ll replenish your retirement savings over time through a loan repayment schedule and interest is paid back to yourself. Loans do not have an impact to your taxes unless you default on payments. Money is removed directly from your 401(k) balance and there is no option to repay yourself. Withdrawals are a taxable event in the calendar year taken and also potentially subject to a 10% federal penalty.
General loans can be taken for any reason and do not require supporting documentation. Principal residence loans can be taken if it is for your primary residence and your purchase/closing/settlement date is within 90 days of the loan request (before or after). You can withdraw money from your account for an immediate and heavy financial hardship as defined by the IRS, including:
  • Purchase of a principal residence.
  • Tuition and fees for post-secondary education.
  • Unreimbursed medical expenses.
  • Prevention of eviction or mortgage foreclosure.
  • Burial or funeral expenses for a parent, spouse, child, or dependent.
  • Certain expenses for repairing your principal residence if the expenses qualify as a casualty deduction.
Minimum amount: $1,000
Maximum amount: the lesser of $50,000 or 50% of your vested account balance (some plans let you borrow up to $10,000 even when that exceeds 50% of a small balance), reduced by your highest outstanding loan balance in the prior 12 months. Maximum outstanding loans allowed: 1 (plan-dependent; some plans permit more).
Repayment: up to 5 years for a general purpose loan; up to 10 years for a loan taken to purchase a principal residence.
Before making a hardship withdrawal, you must certify that you lack other liquid resources to meet the need. (You are no longer required to take a plan loan first, and plans may no longer suspend your contributions afterward — both were pre-2019 requirements that have since been eliminated.)

Borrowing from your retirement plan might seem like an easy cash solution, but it comes with strings attached. If you take a plan loan, your paycheck will shrink since you’ll be repaying the loan with interest. Plus, if you don’t repay it on time or leave your job, you could face taxes and a 10% federal penalty. Hardship withdrawals are taxable and may also incur the 10% penalty.

The job-change escape hatch. Leaving your employer with a loan outstanding does not automatically force the tax-and-penalty result. When the plan offsets the unpaid balance against your account (a “qualified plan loan offset”), IRC §402(c)(3)(C) gives you until the due date of that year’s tax return — including extensions — to deposit an equivalent amount into an IRA or your new employer’s plan as a rollover. Do that and the offset is treated as a completed rollover, not a taxable distribution: no income tax, no 10% penalty. Miss the deadline and the full offset balance becomes a taxable distribution (plus the penalty if you are under 59½). The practical move on departure with a loan outstanding is to line up the rollover cash before that filing deadline, not to scramble to repay the plan directly.

Dipping into retirement funds permanently forfeits tax-free compound growth. A 401(k) loan is fundamentally a self-funded liquidity bridge: you liquidate plan investments tax-free and repay the principal plus statutory interest back to your own account over 5 to 10 years.

1.
A bank loan leaves invested assets compounding while obligating you to pay external debt service.
2.
Liquidating taxable brokerage investments requires no loan repayment, but realizes taxable capital gains.
3.
A 401(k) loan avoids immediate tax recognition, but removes capital from market exposure during the repayment term.

The loan limit is the lower of $50K or half your 401(k) balance; the term is 5 years (10 for a principal-residence loan). 401(k) loans typically charge the current Prime Rate (defined by the Federal Reserve H.15 release) plus 1%–2%, depending on the plan administrator. The Prime Rate moves with the Fed funds target: it peaked at 8.50% in 2023–2024 and has come down as the Fed cut — roughly 6.75% in early 2026, putting a typical 401(k) loan APR in the 7.75%–8.75% range. Verify the current H.15 print before relying on any specific number here.

What a 401(k) loan actually costs — and the version you will hear that is wrong. The familiar claim is that the loan costs you your full portfolio return R, because the borrowed $L stops growing. That overstates it, and by a lot. The borrowed balance does not stop earning; it earns the loan rate r, because you are the lender and every dollar of interest you pay lands back in your own account. What you give up is the difference:

Annual opportunity cost = L(R r)

At R = 8% and a prime-plus-1% loan rate of r = 7.75%, borrowing $40,000 costs about $100 a year, not $3,200. Anyone quoting the full R is double-counting the interest you paid yourself.

The clean way to see the transaction is as an asset-allocation decision wearing a loan costume: a 401(k) loan converts $L of your equity allocation into a private fixed-rate bond, issued by you, held by you, paying r. That reframing gets the sign right in both directions. In a strong market you underperform by the equity risk premium you swapped away. In a bad market the loan is a winner — you earned 7.75% on that slice while the index fell — which is precisely why “I borrowed from my 401(k) in 2008 and came out ahead” stories exist and are not lies. You are making a market-timing bet on the spread R r, and like every such bet its expected value is positive but modest and its realized value is unknown.

Three real costs survive that correction, and they are the ones worth deciding on:

Other secondary factors include:

When you borrow from your 401(k) you are lowering your assets which grow tax-free at R% a year. Not helping matters is your 401(k) is your single best place to invest because:

When you borrow from your 401(k), you’re reducing the assets that benefit from this tax-free growth, potentially impacting your financial future.

Long-term US equities have historically grown by more than 10% annually, while more balanced investments have seen growth rates of 7–10% annually; call that estimate R. Over Y years the loan leaves you behind by the compounded spread, not the whole return:

Shortfall = L [(1 + R)Y (1 + r )Y ]

On $40,000 borrowed for five years at R = 8% against r = 7.75%, that is roughly $680 — real, but nowhere near the $18,800 the “you lose the whole return” framing implies. Size the decision against the job-change risk and the suspended contributions above; those dominate.

If you’re considering such a loan and your plan lets you choose the source, weigh the double-taxation point against a countervailing one. Borrowing against a pre-tax 401(k) double-taxes the interest: you repay with after-tax dollars, and the interest is taxed again as ordinary income on withdrawal. Borrowing against a Roth 401(k) avoids that — but Roth space is the most valuable shelter you own, since its growth is tax-free, not merely deferred, so the forgone compounding costs more there. The double-tax on interest is small (it applies to the interest slice only); the Roth shelter is not. On balance, borrow from the pre-tax source and accept the small double tax.

While undesirable, this double-taxed amount is often small. The double taxation does not occur for:

When you repay a 401(k) loan, you use post-tax dollars because the loan proceeds were also “post-tax”. Imagine your tax rate is 33.3%. This means for every $3,000 you earn, you take home $2,000 after taxes. To deposit $10,000 into your bank account, you’d need to earn $15,000 pre-tax. So, $10,000 in your bank equals $15,000 in wages. Borrowing $10,000 from your pre-tax 401(k) gives you $10,000 in your bank, equivalent to $15,000 in wages. Repaying the 401(k) loan means taking $10,000 from your bank and returning it to your 401(k). The accounting balances; neither party is shortchanged.