1. Home
  2. Learn
  3. 401(k) loan
Retirement guide

401(k) loan: how borrowing from your 401(k) works and what it really costs

Reviewed by a licensed financial advisor

Many 401(k) plans let you borrow from your own balance and pay yourself back with interest. It can be cheaper than a credit card, but it has risks, especially if you leave your job. This guide covers the limits, repayment rules, true costs and the alternatives to weigh first.

8 min readReviewed by the My Financial Next Step teamUpdated November 2026
Employee reviewing the terms of a 401(k) loan
In this guide
  1. What a 401(k) loan is
  2. How much you can borrow
  3. Repayment rules
  4. A worked example
  5. The true cost
  6. If you leave your job
  7. Loan vs withdrawal
  8. When it can make sense
  9. Alternatives
  10. Before you borrow
  11. Related reading
  12. Frequently asked questions
The short answer

If your plan allows loans, you can generally borrow up to 50% of your vested 401(k) balance, to a maximum of $50,000. You repay through payroll deductions, usually within five years, and the interest goes back into your own account. There is no credit check, and no tax or penalty as long as you repay on schedule. The main risks are missing out on investment growth and having the unpaid balance taxed if you leave your job and cannot repay it in time.

What a 401(k) loan is

A 401(k) loan is not a loan from a bank. Your plan sells some of your investments and hands you the cash, and you agree to put it back, with interest, over a set period. The interest you pay is credited to your own account. Because you are borrowing your own money, there is no credit check, the loan does not appear on your credit report, and approval is usually quick.

Loans are an optional plan feature. Federal law permits them, but each employer decides whether to offer them, how many loans you can have at once and what the minimum amount is. Loans are also available in many 403(b) and governmental 457(b) plans. IRAs, including SEP IRAs, do not allow loans.

How much you can borrow

The legal maximum is the lesser of two amounts: 50% of your vested account balance, or $50,000. If half of your vested balance is less than $10,000, a plan may allow you to borrow up to $10,000, though many plans do not include that exception.

Vested balanceMaximum loan
$20,000$10,000
$50,000$25,000
$100,000$50,000
$250,000$50,000

If you have had another plan loan in the past 12 months, the $50,000 cap is reduced by the highest balance you owed during that period. Only vested money counts, so employer contributions you have not yet earned under the vesting schedule cannot be borrowed.

Repayment rules

  • Term. The loan must be repaid within five years. A loan used to buy your main home can have a longer term, if the plan allows.
  • Payments. Payments must be substantially equal and made at least quarterly. In practice they come out of each paycheck automatically.
  • Interest rate. Plans set a commercially reasonable rate, commonly the prime rate plus one or two percentage points, fixed for the life of the loan.
  • After-tax repayment. Payments are made with take-home pay.
  • Fees. Some plans charge a setup fee and a yearly maintenance fee.
  • Prepayment. Most plans let you pay the loan off early without penalty.

If you miss payments beyond the plan’s grace period, the outstanding balance is treated as a deemed distribution. It becomes taxable income, and if you are under 59 and a half it is usually subject to the 10% additional tax as well.

A worked example

Suppose you borrow $20,000 for five years at 8.5% interest. Your payment is about $410 a month, or about $189 from each biweekly paycheck. Over the five years you repay about $24,620, of which roughly $4,620 is interest paid into your own account.

Compare that with a credit card at 24%. Paying off $20,000 over five years at that rate would cost about $575 a month and more than $14,500 in interest paid to the card issuer. Measured against expensive debt, the 401(k) loan is far cheaper. Measured against leaving the money invested, the picture is different.

Weighing a 401(k) loan against other options?

Talk to an advisor about the trade-offs for your retirement savings.

Request a free call →

The true cost

The interest rate is not the real cost of a 401(k) loan, because you pay that interest to yourself. The real costs are these.

  • Lost growth. Money that is out on loan is not invested. If the market rises 10% while $20,000 is out of your account, you miss that gain and earn only your own interest payments. If the market falls, the loan can work in your favor. Over long periods stocks have risen more often than not, so the expected cost is positive.
  • Reduced contributions. Many borrowers cut their regular 401(k) contributions to afford the loan payments, and some lose employer matching money as a result. This is often the largest cost.
  • Tax on the interest. You repay with after-tax dollars. The principal is a wash, because you received it tax-free, but the interest portion goes into a traditional account with after-tax money and is taxed again on withdrawal. On the example above, that applies to about $4,620.
  • Job risk. See the next section.

To give a sense of scale, $20,000 left invested for five years at a 7% return would grow to about $28,050. With the loan, the repaid principal and interest add back $24,620 over the period, which is then reinvested gradually. The gap depends on market returns and is usually a few thousand dollars, but it can be much more if you also stop contributing.

If you leave your job

This is the most serious risk. When you leave or lose your job, most plans require the loan to be repaid in full. If you cannot repay it, the plan reduces your account by the unpaid amount, which is called a loan offset. That amount is treated as a distribution.

You have until the due date of your federal tax return for that year, including extensions, to come up with the money and roll it into an IRA or another employer’s plan. If you do, there is no tax. If you do not, the offset amount is taxable income, and a 10% additional tax usually applies if you are under 59 and a half. Someone in the 22% bracket with a $15,000 unpaid balance could owe about $4,800 in federal tax and penalty, at a time when they may be out of work. Some plans do let former employees keep making payments, so ask before you borrow.

Loan vs withdrawal

401(k) loanHardship or early withdrawal
Tax when you take the moneyNone, if repaidOrdinary income tax
10% additional tax under 59 and a halfNo, if repaidUsually yes
Money returns to the accountYesNo
Requires a specific hardshipNoYes, for hardship withdrawals

If you must take money from a 401(k), a loan almost always does less damage than a withdrawal. Our early withdrawal penalty guide lists the exceptions to the 10% tax.

When it can make sense

  • Paying off high-interest debt, if you also stop adding to that debt.
  • A short-term need you can repay quickly, where the alternative is a much costlier loan.
  • A down payment on a home, when you are confident about your job.
  • An emergency, after other sources are exhausted.

It makes less sense for discretionary spending, when your job is uncertain, or when the payments would force you to stop contributing.

Alternatives

  • Emergency savings. See how to build an emergency fund.
  • A personal loan or home equity line, which leave retirement money invested.
  • A 0% balance transfer card for existing card debt, if you can repay within the promotional period.
  • Roth IRA contributions, which can be withdrawn without tax or penalty.
  • A payment plan with the creditor or medical provider.
  • A debt payoff plan. See debt snowball vs avalanche and the debt payoff calculator.

Before you borrow

  1. Read your plan’s loan policy: limits, interest rate, fees and what happens if you leave.
  2. Borrow only what you need, for the shortest term you can afford.
  3. Keep contributing at least enough to earn the full employer match.
  4. Consider how secure your job is over the loan term.
  5. Have a plan to repay the balance if you change jobs.

A 401(k) loan is a tool with real risks, and the right answer depends on your alternatives. If you want help thinking through debt and retirement savings together, talk to an advisor. Request a free call with the form on this page and a licensed advisor will reach out by phone or video, with no obligation.

Local advisor pages near you

State tax rules, local costs and county services all shape how this works in practice. Browse advisor pages by state, or start with Illinois financial advisors, Wyoming financial advisors, Delaware financial advisors and South Dakota financial advisors. City pages include Financial advisors in San Antonio, Financial advisors in Chicago and Financial advisors in Miami, and county pages include Advisors in Broward County and Advisors in Fulton County. Ready to talk it through? Talk to an advisor: a licensed advisor will reach out by phone or video, free and with no obligation.

Run your numbers

Free calculator for this topic

Frequently asked questions

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

Generally up to 50% of your vested balance, with a maximum of $50,000, if your plan offers loans.

Do I pay taxes on a 401(k) loan?

No, as long as you repay it on schedule. If you default, the unpaid balance becomes taxable and may face a 10% additional tax.

What happens to a 401(k) loan if I quit or am laid off?

Most plans require repayment. If you cannot, the balance is offset against your account and is taxable unless you roll that amount into an IRA by your tax filing deadline, including extensions.

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

No. There is no credit check and the loan is not reported to credit bureaus.

Is a 401(k) loan a good idea?

It can be better than high-interest debt or an early withdrawal, but it costs investment growth and carries risk if you leave your job.

Sources and further reading

See our editorial standards for how we research and review our guides.

Want help with debt and retirement savings?

Talk to an advisor by phone or video call. Free and with no obligation.

Talk to an advisor →
From the blog

Latest money guides and ideas