What Is a 401(k) Loan? How Borrowing From Your Retirement Really Works

Borrowing from your 401(k) sits in a strange middle ground: it is not a withdrawal, it is not a normal bank loan, and the money is technically your own. That mix makes it one of the most misunderstood moves in personal finance. Used carefully, a 401(k) loan can be a low-friction way to cover a real emergency without a credit check or a hard credit pull. Used carelessly — or interrupted by a job change — it can quietly drain years of retirement growth and trigger a surprise tax bill. The bottom line up front: a 401(k) loan is rarely the cheapest way to borrow once you count what you give up, but it is also not the catastrophe it is sometimes made out to be. The right answer depends on your plan's rules, your job stability, and what you would otherwise do with the money.

What a 401(k) loan actually is

A 401(k) loan lets you borrow against the vested balance in your employer-sponsored retirement account and repay it, with interest, back into that same account. You are effectively borrowing from yourself. Unlike a hardship withdrawal, a loan is not a taxable distribution as long as you follow the rules, so it does not normally count as income or trigger an early-withdrawal penalty while it is in good standing.

The single most important thing to understand is that 401(k) loans are optional for employers. Federal rules permit them, but no plan is required to offer them. Whether you can borrow at all, how much, for what reasons, and on what terms are spelled out in your specific plan document. The U.S. Department of Labor, which oversees workplace retirement plans, notes that the features of an employer's retirement plan vary from plan to plan, so the first step is always to read your summary plan description or call your plan administrator — not to assume the general rules below apply to you.

When you take the loan, the plan sells a portion of your investments to fund it. That cash leaves the market and lands in your pocket. Your repayments — principal plus interest — flow back in over time and are reinvested. The interest you pay does not go to a bank; it goes into your own account.

How much you can borrow and how long you have to repay

The IRS sets the outer limits, and most plans track them closely. According to the IRS guidance on retirement plan loans, the maximum you can generally borrow is the lesser of:

  • $50,000, or
  • 50% of your vested account balance.

There is a narrow exception that can allow borrowing up to $10,000 even when half the balance is less than that, but not every plan adopts it. Because these dollar thresholds and exceptions can change, confirm the current numbers against the IRS page before you count on a specific figure.

Repayment terms are similarly standardized. The IRS expects most 401(k) loans to be repaid within five years, in roughly level payments made at least quarterly. The big exception is a loan used to buy your primary residence, which a plan may allow you to repay over a longer period. Note that this is for buying a home, not renovating one or covering closing costs on an investment property.

FeatureTypical rule (confirm with your plan)
Maximum loanLesser of $50,000 or 50% of vested balance
Standard repayment termUp to 5 years
Primary-residence loan termMay be longer than 5 years
Repayment methodLevel payments, at least quarterly, usually via payroll
Credit checkNone
Effect on credit scoreNone — not reported to credit bureaus

You repay yourself with interest — and that has a catch

Two features make 401(k) loans attractive at first glance. First, there is no credit check and no impact on your credit score. The loan does not appear on your credit report, so it neither helps nor hurts your score, and a low score will not disqualify you. Second, the interest is paid to yourself, not to a lender, because it goes back into your account.

But read the fine print. Repayments are almost always taken automatically from your paycheck, which means they come out of your after-tax dollars. Your original 401(k) contributions were typically pre-tax; the dollars you use to repay the loan are not. Then, decades later, you pay income tax again when you withdraw that money in retirement. The "double taxation" framing you may have read is debated among experts and mostly applies to the interest portion rather than the entire balance, but the underlying point stands: the tax treatment of loan repayments is less favorable than the tax-advantaged contributions you would otherwise be making. Many plans also charge an origination or annual maintenance fee, and most importantly, while you are repaying a loan some plans restrict or pause new contributions — which can mean missing out on employer matching, one of the best returns available to any saver.

The real cost: opportunity cost and lost growth

The interest rate on a 401(k) loan is often lower than a credit card's, which is why it looks cheap. The true cost is the one that does not appear on any statement: opportunity cost.

When you pull money out to fund the loan, those dollars stop participating in the market. If your investments would have grown during the repayment period, you forfeit that growth. The interest you pay yourself rarely makes up the difference, because it is usually pegged to a modest benchmark rather than to long-term market returns. In a strong market, borrowing from your 401(k) can cost you far more in missed gains than you ever would have paid a lender in interest. In a flat or falling market the math looks better — but you cannot know that in advance.

Compounding makes this worse over long horizons. Money removed in your 30s or 40s has decades of potential growth ahead of it, and even a few years out of the market can meaningfully reduce the final balance. Educational resources from regulators like FINRA's investor insights and the Consumer Financial Protection Bureau repeatedly emphasize the same idea: time in the market and uninterrupted compounding are among the most powerful forces working in a saver's favor, and anything that disrupts them carries a real, if invisible, price.

What happens if you leave your job

This is the risk that turns a manageable loan into an expensive mistake. While you are employed, payroll keeps your repayments on autopilot. When you leave — whether you quit, are laid off, or are fired — that autopilot switches off, and the outstanding balance generally becomes due.

If you cannot repay the remaining balance by the deadline (often the due date of your tax return for the year you left, including extensions — a rule expanded by the 2017 tax law), the unpaid amount is treated as a loan offset, a distribution from your plan. Per the IRS rules on plan loans, that offset amount becomes:

  • Taxable income in the year of the offset, and
  • Subject to an additional 10% early-distribution penalty if you are under age 59½, unless an exception applies.

So a job change can convert money you thought you were borrowing into money you are permanently losing — taxed and penalized — at exactly the moment your income may be unstable. You can sometimes avoid this by rolling the offset amount into an IRA or new employer's plan by the deadline, effectively repaying the loan with other funds, but that requires having the cash on hand. Because these mechanics interact with your broader tax situation, the IRS retirement plans hub is the place to verify the current rules before relying on any exception.

Beyond the tax hit, there is the slower damage: a loan reduces your invested balance and, if it pauses your contributions, breaks your savings momentum. Restarting after a setback is harder than never stopping.

401(k) loan pros and cons

ProsCons
No credit check; low score is not a barrierYou lose market growth on the borrowed amount (opportunity cost)
No impact on your credit scoreRepaid with after-tax dollars; less favorable tax treatment
Interest is paid back into your own accountLeaving your job can trigger taxes plus a 10% penalty if under 59½
Often a lower rate than credit cardsMay pause your contributions and forfeit employer match
Fast access, minimal paperworkReduces retirement savings momentum; possible fees
No bank or lender involvedOnly available if your plan allows loans

Smarter alternatives to consider first

Before tapping your retirement account, weigh options that leave your invested balance intact:

  • Emergency fund. If you have cash savings, this is almost always the right source for an unexpected expense — no taxes, no penalties, no lost growth.
  • A 0% APR balance-transfer or purchase card. For shorter-term needs, an introductory 0% offer can be cheaper than the opportunity cost of a 401(k) loan — provided you pay it off before the promotional period ends.
  • A personal loan or HELOC. These have explicit rates and do not put your retirement at risk if you change jobs. Compare the all-in cost honestly against the growth you would forgo.
  • Negotiating the bill itself. Medical providers, utilities, and tax authorities often offer payment plans or hardship programs. Reducing or delaying the obligation can beat borrowing entirely.
  • A hardship withdrawal — only as a last resort. If your plan offers one, understand that it is generally taxable and may carry the same 10% penalty, and unlike a loan you cannot pay it back.

Run the numbers using a neutral framework. The CFPB and FINRA both publish free, unbiased tools and explainers to help compare borrowing costs without a sales pitch attached.

Key takeaways

  • A 401(k) loan lets you borrow from your own vested balance and repay yourself with interest — but only if your employer's plan permits loans.
  • The IRS generally caps loans at the lesser of $50,000 or 50% of your vested balance, with up to a five-year repayment term (longer for buying a primary home). Confirm current limits on the IRS site.
  • There is no credit check and no credit-score impact, but repayments use after-tax dollars and you lose the market growth on the borrowed money.
  • The biggest danger is leaving your job: an unpaid balance can become a taxable distribution plus a 10% penalty if you are under 59½.
  • For many people, an emergency fund, a 0% card, or a personal loan is a cheaper overall choice once opportunity cost is counted.

Frequently asked questions

Does a 401(k) loan affect my credit score?

No. A 401(k) loan is not reported to the credit bureaus, so it does not appear on your credit report and does not raise or lower your score. There is also no credit check to qualify, which is why it is sometimes used by borrowers who would struggle to get approved elsewhere. The trade-off is the opportunity cost and job-change risk, not your credit.

How much can I borrow from my 401(k)?

Under IRS rules, generally the lesser of $50,000 or 50% of your vested account balance, though a limited exception can allow up to $10,000 in some plans. Your own plan may set lower limits or restrict the reasons you can borrow. Because the dollar figures and exceptions can change, verify them against the IRS retirement plans guidance and your plan administrator before borrowing.

What happens to my 401(k) loan if I quit or get laid off?

The outstanding balance generally becomes due, often by the due date of that year's tax return including extensions. If you cannot repay it or roll it into another retirement account in time, the unpaid amount is treated as a distribution: it is taxed as income and, if you are under 59½, may face an additional 10% early-distribution penalty. This is the single most important risk to weigh if your job feels uncertain.

Is the interest on a 401(k) loan tax-deductible?

No. Unlike mortgage interest, interest on a 401(k) loan is generally not deductible. And because you pay it with after-tax dollars and will be taxed again on withdrawals in retirement, the interest you pay yourself does not carry the tax advantages of a normal pre-tax contribution.

This article is general educational information, not personalized financial, tax, or legal advice. Retirement plan loan rules, dollar limits, repayment periods, and penalty terms change over time and vary by employer plan. Confirm the current figures and how they apply to your situation with the IRS, the U.S. Department of Labor, FINRA, the CFPB, and your own plan administrator or a qualified advisor before acting.

References

  1. IRS - Retirement Topics: Plan Loans
  2. IRS - Retirement Plans hub
  3. U.S. Department of Labor - Retirement topic
  4. FINRA - Investor Insights
  5. Consumer Financial Protection Bureau