How to Borrow from Your 401(k) and Why Most People Get the Math Wrong

A 401(k) loan sounds like the cleanest financial shortcut available: no credit check, no bank involved, and you pay interest back to yourself. That framing is technically correct and fundamentally misleading. What you’re actually doing is pulling money out of a tax-advantaged account, repaying it with after-tax income, and betting that you won’t change jobs during the repayment period. For some people facing high-interest debt or a genuine emergency, it remains the least destructive option. For others, especially those who haven’t run the numbers past the surface, it’s a quiet way to erode decades of compounding growth. The gap between a smart 401(k) loan and a regrettable one comes down to timing, employment stability, and whether you’ve honestly compared the alternatives. This article breaks down exactly where that line sits.

Table of Contents

What a 401(k) loan actually is (and what it isn’t)

Most explanations frame a 401(k) loan as borrowing from yourself, which creates the impression that no real cost exists. That framing ignores the mechanics of what happens inside your account the moment funds leave it.

You’re not borrowing, you’re liquidating tax-sheltered growth

When you take a 401(k) loan, your plan sells investments in your account to generate the cash. Those assets stop compounding in a tax-deferred environment the second they’re liquidated. The money you repay goes back into the account, but it re-enters as new contributions purchased at whatever the market price is at that point. If markets rose while your money was out, you bought back in higher. If they dropped and recovered, you missed the recovery. The interest you “pay yourself” doesn’t offset this because it replaces equity returns with a fixed rate that typically sits between prime rate plus 1% to 2%, far below long-term stock market averages. Calling it a loan obscures the fact that you’ve interrupted a compounding engine that only works when left alone.

The plans that qualify and the ones that don’t (403(b) yes, IRA no)

Not every retirement account allows loans. [401(k) plans]((/401(k) Plans: The Complete Guide to Retirement Savings/)) and 403(b) plans can offer loan provisions, but only if the plan sponsor has opted to include them. Traditional IRAs, SEP IRAs, SARSEP IRAs, and SIMPLE IRAs do not permit loans under any circumstances. If you attempt to take money from an IRA and intend to return it, the IRS treats that as a distribution, not a loan, which triggers income tax and potentially a 10% early withdrawal penalty if you’re under 59½. This distinction matters because many workers have rolled old 401(k) balances into IRAs, assuming the same rules apply. They don’t.

The spousal consent rule that almost no one mentions

If your [401(k) plan]((/401(k) Plans: The Complete Guide to Retirement Savings/)) falls under certain pension-related provisions, federal law may require written spousal consent before a loan is approved. This applies to plans that offer a qualified joint and survivor annuity (QJSA) as a default payout option. In practice, many 401(k) plans have been designed to bypass this requirement, but not all. Plans governed by older structures or those offered by unionized employers are more likely to include it. The consent requirement exists because a 401(k) loan temporarily reduces the account balance that a surviving spouse might be entitled to. If your plan requires it and you don’t obtain consent, the loan can be denied or reversed entirely.

How much can you actually borrow from a 401(k)?

The federal limits sound generous until you factor in vesting schedules and plan-specific restrictions. Most borrowers discover that their real borrowing capacity is significantly smaller than the headline numbers suggest.

The 50% / $50,000 cap and the $10,000 exception nobody talks about

Federal law caps 401(k) loans at the lesser of 50% of your vested account balance or $50,000. But there’s a lesser-known provision: if 50% of your vested balance falls below $10,000, you can still borrow up to $10,000. So someone with a vested balance of $16,000 isn’t limited to $8,000. They can access up to $10,000. This exception exists specifically to make loans viable for participants with smaller balances, yet most plan summaries skip it entirely. Note that the $50,000 ceiling is further reduced by any outstanding loan balance you’ve carried in the previous 12 months.

Vested balance vs. total balance: why your number is probably lower than you think

Your 401(k) statement shows a total balance, but loans are calculated against your vested balance only. Every dollar you’ve contributed from your paycheck is 100% vested. Employer matching contributions, however, often vest on a schedule, typically over three to six years. If you’ve been at your company for two years and your plan uses a six-year graded vesting schedule, you might only own 40% of the employer match. On a $50,000 total balance where $15,000 came from employer contributions, your vested balance could be as low as $41,000. That shifts your maximum loan from $25,000 down to $20,500. Checking your vesting schedule before running any numbers saves you from planning around money you don’t actually own yet.

Your employer’s own limits can shrink the federal ceiling

Federal law sets the maximum. Your employer sets the actual limit. Many plans impose a lower cap, restrict how many loans you can have outstanding at once, or require a minimum loan amount (often $1,000). Some plans prohibit loans for anything other than specific purposes like purchasing a primary residence. Others impose blackout periods around plan transitions where no loans can be processed for weeks or even months. These restrictions aren’t visible on any government website. They live in your plan’s Summary Plan Description (SPD), the document most participants never read.

The real cost isn’t the interest, it’s the double taxation

The interest rate on a 401(k) loan feels almost irrelevant compared to a personal loan or credit card. That perception collapses once you understand where the real cost hides.

You repay with after-tax dollars, then get taxed again at withdrawal

This is the structural flaw that most 401(k) loan articles either skip or understate. Your original 401(k) contributions were made pre-tax, meaning they reduced your taxable income in the year you earned them. When you repay a 401(k) loan, those payments come from your net paycheck, after federal and state taxes have already been deducted. Later, when you withdraw that same money in retirement, it gets taxed again as ordinary income. The result is a portion of your 401(k) balance that has effectively been taxed twice. The interest portion faces the same treatment. This double taxation doesn’t show up on any loan disclosure document, but over a full career, it meaningfully erodes the purchasing power of your retirement savings.

Opportunity cost over 20 years: a $15,000 loan can cost $60,000+

A 45-year-old who takes a $15,000 loan and repays it over five years at 6.5% interest might feel like they’ve made themselves whole. They haven’t. During those five years, the $15,000 wasn’t invested. Assuming a moderate annual return of 7% compounded over 22 years until age 67, that $15,000 would have grown to roughly $66,000. The interest you paid yourself during repayment doesn’t compensate for this because the repayment rate is fixed and lower than expected equity returns. If you also reduced your regular 401(k) contributions during the loan period, which many borrowers do, the compounding loss accelerates further.

Why “you pay interest to yourself” is the most misleading argument in personal finance

The statement is factually true: 401(k) loan interest flows back into your account. But it frames a cost as a benefit. The interest you pay replaces investment returns you would have earned on the borrowed amount, and in most market conditions, those returns would have been higher. Furthermore, you’re paying that interest with after-tax money, which means each dollar of interest costs you more than a dollar of gross income. A worker in the 22% federal bracket paying $500 in annual loan interest is actually spending about $641 in pre-tax earnings to cover it. The “paying yourself” narrative makes people comfortable with a transaction that, structurally, works against them.

The scenario that turns a 401(k) loan into a financial grenade: quitting your job

Every 401(k) loan carries a silent detonator: employment termination. Voluntary or involuntary, leaving your job while carrying a loan balance compresses your timeline in ways that catch most borrowers off guard.

Accelerated repayment windows: 60 to 90 days, sometimes less

If you separate from your employer for any reason, most plans require full repayment of the outstanding loan balance by the tax filing deadline of the following year, including extensions. Some plans are more aggressive, demanding repayment within 60 to 90 days. If you planned to repay over four more years and suddenly have three months, the financial pressure can be overwhelming. This accelerated timeline applies whether you quit, were laid off, or retired early. It also applies if your employer is acquired and the new company’s plan doesn’t accept loan rollovers.

Default equals taxable distribution plus 10% penalty before 59½

If you can’t meet the accelerated deadline, the remaining loan balance is treated as a distribution. The IRS adds it to your gross income for the year, and if you’re under 59½, you face an additional 10% early withdrawal penalty. On a $20,000 outstanding balance, a borrower in the 22% federal bracket living in a state with 5% income tax would owe roughly $7,400 in combined taxes and penalties. That’s money you don’t have, generated by money you already spent. This isn’t an edge case. Bureau of Labor Statistics data consistently shows median employee tenure under five years for workers aged 25 to 44, precisely the demographic most likely to carry a 401(k) loan.

How an involuntary layoff can trigger a tax bomb you didn’t plan for

A layoff creates a particularly harsh scenario because it pairs income loss with an immediate tax obligation. You’ve lost your paycheck, your plan demands repayment, and failure to repay creates taxable income during a year when you may already be financially strained. Some borrowers assume they can roll the loan balance into a new employer’s plan or an IRA to avoid the tax hit. This is not possible. A defaulted 401(k) loan cannot be rolled over. The distribution is final, the tax is owed, and the retirement savings are permanently reduced.

When borrowing from your 401(k) is the least bad option

There are situations where a 401(k) loan makes mathematical sense. They’re narrower than most articles suggest, but they exist.

Paying off credit card debt above 20% APR: the only math that consistently works

If you’re carrying $10,000 in credit card debt at 24% APR and making minimum payments, you’ll pay thousands in interest over the next several years while your principal barely moves. A 401(k) loan at prime plus 1% (roughly 6% to 8% in most environments) eliminates that interest differential immediately. The key condition: you must not run the cards back up after paying them off. If the behavioral pattern doesn’t change, you’ve simply moved retirement savings into consumer spending with extra steps.

Avoiding a hardship withdrawal: loan vs. distribution, side by side

A hardship withdrawal permanently removes money from your 401(k). You owe income tax on the full amount, plus the 10% penalty if you’re under 59½. On a $15,000 withdrawal in the 22% bracket with 5% state tax, you’d lose roughly $5,550 to taxes and penalties, receiving only $9,450 in usable cash. A $15,000 loan delivers the full amount with zero immediate tax impact. As long as you repay on schedule, the difference in long-term cost is significant. The loan also preserves your ability to recover the balance through repayment, which a withdrawal does not.

No credit check, no credit impact: why it matters if your score is already damaged

A 401(k) loan doesn’t appear on your credit report. It requires no credit inquiry, no minimum score, and no debt-to-income ratio evaluation. For someone with a credit score below 600 who needs funds for a genuine emergency, the alternatives are predatory: payday loans at triple-digit APRs, subprime personal loans at 25%+, or further credit card utilization that drives the score lower. In that specific context, a 401(k) loan is not just the cheaper option. It’s the only one that doesn’t actively worsen your financial position, provided you stay employed and repay on time.

How to take a 401(k) loan, step by step

The process is straightforward, but each step contains details that affect your outcome more than the application itself.

Check plan eligibility with HR before you run any numbers

Not all 401(k) plans offer loans. Your first step is to contact Human Resources or your benefits administrator to confirm that your specific plan includes a loan provision. If it does, ask about the number of loans permitted at once, any waiting period between loans, and whether the plan restricts loan purposes. Some plans only allow loans for the purchase of a primary residence. Getting these answers before calculating anything prevents you from building a financial plan around an option that may not exist.

Read the plan document for hidden caps, loan limits, and blackout periods

Your Summary Plan Description (SPD) contains the actual rules. It will specify maximum loan amounts (which may be lower than the federal cap), minimum loan amounts, repayment terms, and the interest rate formula. Pay particular attention to what happens if you leave employment. Some plans give you until the next tax filing deadline. Others require repayment within 60 days. Plans undergoing provider transitions may also impose blackout periods during which no loan processing occurs, sometimes lasting several weeks.

Application, disbursement, and what to expect on timing

Most 401(k) loan applications can be completed online through your plan’s portal. The approval process is largely administrative since you’re borrowing your own assets. Disbursement typically occurs within 3 to 7 business days by direct deposit or check, though some plans take longer. If you need a specific amount by a specific date, account for processing delays. Funds generally arrive faster than a traditional loan timeline, but “fast” varies significantly by plan administrator.

The repayment discipline most borrowers underestimate

Getting the loan is easy. Repaying it without disrupting your broader retirement strategy is the part that separates a manageable financial decision from a costly one.

Payroll deduction isn’t optional, it’s the only thing protecting you from default

Most plans structure 401(k) loan repayment as automatic payroll deductions, and this isn’t just convenience. It’s the enforcement mechanism. If repayments were voluntary, default rates would be dramatically higher. Your paycheck shrinks by the repayment amount each pay period, which means you need to budget around a reduced take-home before you borrow, not after. Borrowers who fail to account for this often reduce their regular 401(k) contributions to compensate, which compounds the retirement savings loss.

Keep contributing to your 401(k) during repayment or you lose twice

Stopping or reducing contributions while repaying a loan means you forfeit both the tax deduction on contributions and any employer match tied to your contribution level. If your employer matches 50% up to 6% of salary and you drop your contribution from 6% to 2% during a five-year loan, you’ve surrendered four years’ worth of free money. On a $75,000 salary, that’s roughly $6,000 in lost match alone, before accounting for the compounding growth that money would have generated over the next two decades.

Early repayment: no penalty, but verify your plan actually allows it

Federal law doesn’t penalize early repayment of a 401(k) loan. However, some plan administrators don’t support partial prepayments or lump-sum payoffs through their standard payroll systems. You may need to send a separate check or initiate a manual payment. If your plan does allow early repayment, doing so reduces both the double-taxation exposure and the opportunity cost window. Every month you shorten the loan is a month your full balance returns to compounding in a tax-advantaged environment.

401(k) loan vs. personal loan vs. home equity: the comparison nobody does honestly

Most comparison tables list interest rates side by side and call it analysis. The real differences lie in structural protections, tax treatment, and what happens when things go wrong.

A 401(k) loan has no bankruptcy protection, your 401(k) balance does

Under federal law (ERISA), 401(k) assets are protected from creditors in bankruptcy. But here’s the contradiction: if you borrow from your 401(k) and use the cash for expenses, that money is no longer shielded. If you then can’t repay and the loan defaults, the remaining balance becomes taxable income at a moment when you may already be insolvent. A personal loan or credit card balance, by contrast, can be discharged in bankruptcy. This means that in the worst-case scenario, a 401(k) loan is structurally worse than unsecured debt from a creditor-protection standpoint.

A HELOC is cheaper if you have equity and job stability

A home equity line of credit (HELOC) offers interest rates that are often comparable to 401(k) loan rates, with one critical advantage: the interest may be tax-deductible if the funds are used for home improvements. HELOC interest is paid to a lender, not back to yourself, but the after-tax cost can be lower once the deduction is factored in. A HELOC also doesn’t interrupt your retirement compounding. The risk profile differs though. A HELOC uses your home as collateral, and if your financial situation deteriorates, you’re putting your residence at risk. For borrowers with stable employment and sufficient equity, a HELOC often beats a 401(k) loan on net cost.

Roth IRA contributions as the overlooked zero-penalty alternative

If you have a Roth IRA, your direct contributions (not earnings) can be withdrawn at any time, at any age, with zero taxes and zero penalties. This is the one retirement account that offers true liquidity without consequence, yet it rarely appears in 401(k) loan discussions. Someone with $20,000 in Roth IRA contributions who needs $10,000 can access it without triggering any of the risks described in this article. The trade-off is losing future tax-free growth on those funds, but unlike a 401(k) loan, there’s no double taxation, no repayment deadline, and no job-separation risk.

FAQ

Can I take a 401(k) loan to buy a house?

Many 401(k) plans allow loans specifically for the purchase of a primary residence. These loans may qualify for an extended repayment period of up to 15 years instead of the standard five, depending on your plan’s terms. However, the $50,000 cap still applies. Before choosing this route, compare the total cost against FHA loans, VA loans, or down payment assistance programs, which may offer better long-term economics without reducing your retirement balance.

What happens to my 401(k) loan if my employer changes plan providers?

When a company switches plan administrators, a transition period (often called a blackout period) can freeze loan repayments and new loan requests for several weeks. If your loan is mid-repayment, the payments typically resume under the new provider with the same terms. However, if the new plan doesn’t support loans, your existing loan may need to be repaid in full before the transition completes. Ask HR about upcoming plan changes before initiating a loan.

Can I take more than one 401(k) loan at the same time?

Federal law doesn’t limit you to one loan, but most plans do. Some plans allow up to two or three concurrent loans, provided the combined balance stays within the 50% / $50,000 limit. Each loan may have different terms and repayment schedules. Carrying multiple loans simultaneously increases payroll deduction pressure and raises the financial exposure if you leave your employer.

Does a 401(k) loan affect my ability to contribute to my account?

Taking a loan doesn’t legally prevent you from making contributions, but some plans suspend your ability to contribute for a period after taking a loan (typically six months for hardship-related provisions). Even when contributions are allowed, many borrowers voluntarily reduce them to offset the payroll deduction from loan repayments. This effectively doubles the retirement savings loss: you’ve removed funds from the account and you’ve slowed the rate at which new funds enter it.

What happens if I die with an outstanding 401(k) loan balance?

If a participant dies with an unpaid 401(k) loan, the outstanding balance is typically treated as a distribution from the plan. The loan amount is offset against the account balance before the remaining assets are paid to the designated beneficiary. This means the beneficiary receives a smaller inheritance, and depending on the plan’s structure, the defaulted loan amount may generate taxable income on the deceased participant’s final tax return.