A 401(k) loan lets you pull money from your retirement account and repay it with interest over up to five years. On paper, it sounds harmless: no credit check, no bank involved, and the interest goes back into your own balance. That framing is everywhere, and it is technically correct. It is also deeply incomplete.
What most guides skip is the mechanical reality of what happens inside your account the moment you take out a loan. Your investments get sold. Your balance stops compounding on that amount. And the interest you “pay yourself” almost never covers the gap. Whether that tradeoff makes sense depends entirely on why you need the money, how fast you can repay, and how stable your job is. For some people, it is the least damaging option available. For others, it is a slow, invisible loss dressed up as financial flexibility. This article breaks down the mechanics that actually matter so you can tell the difference.
The Mechanics in 60 Seconds — What Actually Happens to Your Money
The phrase “borrowing from yourself” creates a mental image of a neutral transaction, as if the money pauses and waits for you. The reality inside your account is more disruptive than that, and understanding the actual sequence changes how you evaluate the cost.
Your 401(k) sells investments to fund the loan — it’s a liquidation, not a line of credit
When your 401(k) loan is approved, the plan doesn’t hand you cash from some reserve. It sells a portion of your holdings, whether that is index funds, target-date funds, or bond allocations, to generate the loan proceeds. The amount you borrow is removed from the market entirely.
This distinction matters because it means you are not just “pausing” growth. You are exiting positions at whatever the market price happens to be on the day of liquidation. If the market is down, you lock in losses. If it rallies during your repayment period, you miss the recovery on the borrowed amount. The loan is functionally a forced sale followed by a slow repurchase through your repayments.
Most plan administrators process this by selling across your holdings proportionally, but some plans sell from specific funds first. You rarely get to choose. The result is that your asset allocation shifts the moment the loan is funded, sometimes in ways you would not have chosen voluntarily.
The interest you “pay yourself” doesn’t compensate for the returns you forfeited
This is the most repeated selling point of 401(k) loans: the interest goes back into your account, so you are not really losing anything. The math tells a different story.
The interest rate on a 401(k) loan is typically prime rate plus one percentage point. As of early 2025, that puts most loans in the 9% to 10% range. That sounds decent, but remember: this rate replaces whatever your investments would have earned. If your 401(k) portfolio was returning 10% annually in an equity-heavy allocation, you are swapping market returns for a fixed rate that you pay to yourself. In a strong market year, the gap is significant. Over five years, it compounds.
The interest also does not restore the full compounding chain. When your money is invested, gains generate their own gains. When you repay a loan with interest, those payments re-enter the account gradually, each dollar getting less time in the market than it originally had. You are not made whole. You are catching up, partially.
The $50,000 Cap Isn’t as Simple as Everyone Says
Most articles state the borrowing limit as “$50,000 or 50% of your vested balance, whichever is less.” That is the simplified version. The actual ceiling depends on variables that can quietly shrink your available amount well below what you expect.
The 12-month lookback rule that silently reduces your borrowing limit
Federal rules require that your maximum loan amount be reduced by the highest outstanding loan balance you had during the previous 12 months. This means if you borrowed from your 401(k) last year and repaid it, that prior balance still counts against your current cap.
For example, if your vested balance is $120,000 and you took a $20,000 loan eight months ago that you have since repaid in full, your current maximum is not $50,000. It is $50,000 minus $20,000, which leaves you with $30,000. This lookback resets only after 12 months have passed from the point of the highest balance. Planning to take a second loan shortly after repaying the first often results in a much smaller amount than anticipated.
Vested balance vs. total balance — why your real ceiling may be far lower
Your 401(k) balance screen shows a total number, but only the vested portion counts toward loan eligibility. If your employer uses a graded vesting schedule, you might own only 40% or 60% of the employer match contributions depending on your tenure.
Someone with a $100,000 total balance but only $60,000 vested can borrow a maximum of $30,000 (50% of vested), not $50,000. If you are relatively new to your company or your employer uses a six-year graded schedule, the gap between what you see and what you can access is substantial. Your own contributions are always 100% vested, but matching and profit-sharing contributions follow the plan’s schedule. Check your vested balance specifically before assuming how much is available.
The Double Taxation Problem Nobody Explains Clearly
One of the most debated aspects of 401(k) loans is whether you get taxed twice on the same money. The answer is yes, technically, but the practical impact varies depending on your tax bracket and loan size. Understanding the mechanism helps you decide if it is a real concern or a footnote.
You repay with after-tax dollars, then get taxed again at withdrawal
Your original 401(k) contributions were made with pre-tax dollars. When you take a loan and repay it, those repayments come from your take-home pay, meaning income tax has already been applied. The repaid amount, including interest, sits in your 401(k) and will be taxed again as ordinary income when you withdraw in retirement.
This creates a layer of taxation that would not exist if the money had simply stayed invested. The principal you repay has effectively been taxed once on the way in (as repayment) and will be taxed again on the way out (as a distribution). This does not apply to the original contributions you never touched, only to the loan repayment portion.
When double taxation matters and when it’s negligible — a concrete scenario
On a $5,000 loan repaid over two years, the double taxation amounts to a few hundred dollars in extra lifetime tax, depending on your bracket. It is real, but probably not the deciding factor.
On a $40,000 loan repaid over five years, the calculus shifts. If you are in the 22% federal bracket during repayment and the 22% bracket in retirement, you are effectively paying 22% twice on $40,000 of principal. That is roughly $8,800 in extra tax over your lifetime on that amount alone. If your retirement bracket drops to 12%, the damage is smaller. If it rises, it is worse. The point is that double taxation scales with loan size and is not a fixed cost you can ignore on larger loans.
“You Won’t Lose Much Growth” — Running the Real Numbers
Plan providers and HR departments often frame the growth impact as minimal. That framing relies on short time horizons and modest return assumptions. Extending the math to realistic scenarios reveals a different picture.
Five-year loan on $30,000 at prime+1% vs. S&P average: the gap is bigger than you think
Assume you borrow $30,000 from your 401(k) at 9.5% interest (prime+1% in the current environment) and repay it evenly over five years. Your total interest paid back to your account is roughly $7,800. That money re-enters your balance gradually.
Now assume that same $30,000 had stayed invested in an S&P 500 index fund averaging 10% annual returns. After five years of compounding, it would have grown to approximately $48,300. The difference between $37,800 (principal plus interest repaid) and $48,300 (what the market would have generated) is about $10,500 in lost growth. And that gap keeps compounding for the remaining decades until retirement. For someone 30 years from retirement, that $10,500 could represent over $60,000 in lost terminal value.
These numbers assume average returns. In a bull market, the gap widens further. In a flat or down market, the loan might look like a wash or even a slight win. But you cannot predict which scenario you will land in, and historically, staying invested has outperformed exiting for five years in the vast majority of rolling periods.
The hidden cost: reduced or paused contributions during repayment
Beyond the direct growth loss, many borrowers reduce their 401(k) contributions during the repayment period to accommodate the loan payments. Some plans historically restricted new contributions while a loan was outstanding, though this is less common after recent regulatory changes.
Even without a plan restriction, the budget pressure is real. If your loan payment is $600 per month and you were contributing $500 per month, something gives. Many borrowers cut contributions to the employer match minimum or pause entirely. Over five years, that can mean $30,000 or more in missed contributions, plus the employer match you forfeited. This second-order cost is often larger than the direct growth loss on the loan itself, and it is almost never mentioned in the initial loan decision.
Losing Your Job Turns a Loan Into a Tax Bomb — But There’s a Window Most People Miss
Job loss during an active 401(k) loan is where the real financial damage concentrates. The rules here are more nuanced than most borrowers realize, and the difference between two specific IRS mechanisms can save or cost thousands.
Deemed distribution vs. plan loan offset — two very different outcomes
When you miss payments on a 401(k) loan while still employed, the plan treats the unpaid balance as a deemed distribution. You owe income tax on the full amount, plus a 10% early withdrawal penalty if you are under 59½. The loan balance may still technically exist on the plan’s books, but the IRS treats it as taxable income for that year.
A plan loan offset is different. This happens when you leave your job (or the plan terminates) and the plan reduces your account balance by the unpaid loan amount. The offset is also taxable, but it qualifies as a “qualified plan loan offset” (QPLO), which opens a critical escape route that deemed distributions do not.
The distinction matters because a QPLO gives you rollover rights. A deemed distribution does not. If your plan sends you a notice saying your loan was offset after separation, that is the better of the two bad outcomes.
The rollover escape: you have until your tax filing deadline, not 90 days
Many borrowers believe they have 60 or 90 days to repay or roll over an outstanding loan balance after leaving a job. That was the old rule. Since the Tax Cuts and Jobs Act of 2017, a qualified plan loan offset gives you until the due date of your federal tax return, including extensions, to roll the offset amount into an IRA or another eligible plan.
In practice, this means if you leave your job in March 2025 and file for an extension, you could have until October 15, 2026 to come up with the cash and complete the rollover. That is potentially 18 months, not 90 days. This window applies only to plan loan offsets from job separation or plan termination, not to deemed distributions from missed payments while employed. Knowing which category your situation falls into is the difference between a manageable problem and an immediate tax bill.
When a 401(k) Loan Is Actually the Rational Choice
Blanket advice against 401(k) loans ignores the reality that some borrowers have limited or no alternatives. The question is not whether the loan is ideal, but whether it is the least destructive path available given your actual constraints.
Credit score too low for any unsecured option — the lesser-evil math
If your credit score is below 580, most personal loans are either unavailable or priced at 25% to 36% APR. Credit cards at that tier carry similar rates. A 401(k) loan at prime+1% is dramatically cheaper in raw interest cost, even accounting for the lost investment returns.
For someone choosing between a payday loan at 400% APR and a 401(k) loan at 9.5%, the retirement plan loan is not even close to the worse option. The key variable is whether you can repay within the five-year window without leaving your job. If yes, the 401(k) loan costs you some growth but avoids a debt spiral that would cause far more damage.
Short-term bridge with guaranteed repayment capacity — the only clean use case
The cleanest scenario for a 401(k) loan is a short-term need (under 12 months) where you have a known future cash inflow that will cover repayment. Examples: bridging a gap before a bonus hits, covering a closing cost before a reimbursement, or handling an emergency car repair when your savings are temporarily depleted.
In these cases, the growth loss is minimal because the money is out of the market for months, not years. The risk of job loss triggering a tax event is lower over a shorter window. And the total interest cost is negligible. If your repayment plan depends on “I will figure it out,” the loan is already a bad bet. If it depends on a confirmed, scheduled inflow, the math works.
What to Do Instead — Ranked by True Cost, Not Convenience
Before you get a 401(k) loan, the comparison should not be about which option is easiest to access. It should be about total lifetime cost, including growth lost, interest paid, and credit impact. Ranked that way, the hierarchy shifts.
0% APR card vs. 401(k) loan: same repayment window, radically different long-term cost
A 0% introductory APR credit card typically offers 15 to 21 months of interest-free borrowing. If you qualify (usually requires a score above 670), this is almost always cheaper than a 401(k) loan for amounts under $15,000.
The reason is simple: your retirement money stays invested. You pay zero interest during the promotional period. Your 401(k) keeps compounding. The only cost is a potential balance transfer fee (typically 3% to 5%) and the discipline required to repay before the rate jumps to 20%+. If you are confident you can clear the balance within the promotional window, this path preserves your retirement growth entirely while costing a fraction of what a 401(k) loan costs in hidden opportunity loss.
Why a personal loan at 10% can still beat a 401(k) loan at prime+1%
This sounds counterintuitive, but a personal loan at 10% APR can be less expensive in total lifetime cost than a 401(k) loan at a similar or even lower rate. The difference is where the money comes from.
With a personal loan, your 401(k) stays fully invested. If your portfolio earns 10% while you pay 10% on the personal loan, the net cost is roughly zero, minus the tax benefit of keeping your retirement money growing tax-deferred. With a 401(k) loan, you lose the investment return entirely on the borrowed amount, pay after-tax dollars to repay, and face double taxation at withdrawal. When you add the growth loss, the reduced contributions, and the double-tax layer, a 401(k) loan at 9.5% can easily cost more in real terms than a personal loan at 10% to 12%, especially for borrowers with 20+ years until retirement. The further you are from retirement, the more this math favors the personal loan.
Frequently Asked Questions
Can I take more than one 401(k) loan at the same time?
Some plans do allow multiple outstanding loans, but the total of all loans combined cannot exceed the federal maximum of $50,000 (or 50% of your vested balance, whichever is less). Each plan sets its own rules, and many limit borrowers to one loan at a time. The 12-month lookback rule also applies across all loans, so a recently repaid loan still reduces your available maximum for a new one.
Do 401(k) loan repayments count as contributions to my plan?
No. Loan repayments and regular contributions are tracked separately. Repaying your loan does not count toward your annual contribution limit ($23,500 in 2025 for those under 50). This means repayment does not reduce the amount you are allowed to contribute, but it also means you get no employer match on repayment amounts. Only new contributions trigger matching.
What happens to my loan if my company changes 401(k) plan providers?
A plan provider change can trigger a forced repayment or offset, depending on how the transition is structured. If the new plan does not accept the loan transfer, the outstanding balance may be treated as a distribution. This is a frequently overlooked risk, especially for employees at companies that switch providers every few years. Ask your HR department about loan portability before borrowing.
Can I use a 401(k) loan to buy a rental property instead of a primary residence?
The extended repayment period beyond five years applies only to loans used to purchase your primary residence. If you use the funds for an investment property, you are still bound by the standard five-year repayment window. There is no IRS exception for rental real estate purchases. The plan administrator may also require documentation proving primary residence use before granting the longer term.
Is there a waiting period after repaying a 401(k) loan before I can take another one?
Federal law does not impose a mandatory waiting period between loans. However, the 12-month lookback rule effectively creates a delay in accessing the full borrowing limit. Additionally, some plan administrators set their own waiting periods, commonly 30 to 90 days after full repayment. Check your specific plan documents, as this policy varies widely between employers.