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.

In this guide
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 balance | Maximum 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.
Talk to an advisor about the trade-offs for your retirement savings.
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) loan | Hardship or early withdrawal | |
|---|---|---|
| Tax when you take the money | None, if repaid | Ordinary income tax |
| 10% additional tax under 59 and a half | No, if repaid | Usually yes |
| Money returns to the account | Yes | No |
| Requires a specific hardship | No | Yes, 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
- Read your plan’s loan policy: limits, interest rate, fees and what happens if you leave.
- Borrow only what you need, for the shortest term you can afford.
- Keep contributing at least enough to earn the full employer match.
- Consider how secure your job is over the loan term.
- 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.
Related reading
- What is a 401(k)?
- 401(k) early withdrawal penalty
- 401(k) withdrawal calculator
- Debt management guide
- Amortization calculator
- 401(k) financial advisor
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.
Latest money guides and ideas
- States With Inheritance Tax: Rates and Who Pays in 2026Five states with inheritance tax remain: Kentucky, Maryland, Nebraska, New Jersey and Pennsylvania. See each state’s rates, who is exempt and worked examples.
- Treasury Bills: How to Buy T-Bills and How They Are TaxedTreasury bills are short-term U.S. government debt sold at a discount. Learn how T-bills pay interest, two ways to buy them, and how the interest is taxed.
- Is Long-Term Care Insurance Worth It? Cost and CoverageIs long-term care insurance worth it? See what a policy covers, what drives the premium, when to buy, who should skip it and the 2027 tax limits.
- Mega Backdoor Roth: How It Works and 2027 LimitsA mega backdoor Roth moves after-tax 401(k) contributions into a Roth account. See the 2027 limits, what your plan has to allow, worked examples and the steps.
- Saver’s Match 2027: Who Qualifies and How to Claim ItThe Saver’s Match starts with 2027 contributions: a federal deposit of up to $1,000 a year into your retirement account. See the income limits, what counts and how to claim it.
- How to Avoid Capital Gains Tax on Real Estate: 7 WaysSeven legal ways to reduce or avoid capital gains tax on real estate, from the $250,000 and $500,000 home sale exclusion to 1031 exchanges, with worked examples for a home and a rental.
- Medicare Supplement Plans Comparison Chart for 2027Compare all 10 Medicare supplement plans side by side for 2027: what Plans A through N cover, the new deductibles and out-of-pocket limits, and a worked example of what each would leave you to pay.
- FERS Supplement: Who Gets It, How Much, When It StopsThe FERS supplement pays eligible federal retirees an extra monthly amount until age 62. See who qualifies, how it is calculated and how the earnings test can reduce it.
- 403(b) vs 401(k): Key Differences and 2027 LimitsA 403(b) and a 401(k) share the same 2027 contribution limits, but they differ in who offers them, what you can invest in and one extra catch-up for long-serving employees.











