๐Ÿฆ 401(k) Loan Calculator ยท 2026 IRS Rules Applied

401(k) Loan Calculator: Know the Real Cost Before You Borrow

Calculate your monthly payment, total interest, opportunity cost, and the true long-term impact of borrowing from your 401(k) โ€” before you sign anything.

๐Ÿ“… Updated: 2026 ๐Ÿ‡บ๐Ÿ‡ธ IRS Rules Applied ๐Ÿ’ฐ 4 Calculator Modes โœ… Expert Reviewed
๐Ÿฆ

401(k) Loan Calculator โ€” 2026

Payment ยท True Cost ยท Early Withdrawal ยท Repayment Accelerator

โš ๏ธ

IRS 401(k) Loan Limits: You may borrow the lesser of $50,000 or 50% of your vested balance. Loans must be repaid within 5 years (except home purchase loans). Defaulting triggers taxes + 10% early withdrawal penalty.

$
$
9.5%
5 yrs
7%
Monthly Payment
0
๐Ÿ“Š Breakdown
Homeโ€บRetirementโ€บ401(k) Loan Calculator

Marcus Reid, CFPยฎ, ERPA

Certified Financial Planner and Enrolled Retirement Plan Agent with 14 years advising 401(k) plan participants on loan provisions, hardship distributions, and retirement preservation strategies. Contributor to Forbes Finance Council and The Motley Fool.

โœ“ Expert Reviewed ยท January 2026

401(k) Loan Calculator: What It Costs to Borrow From Yourself

Borrowing from your 401(k) looks attractive on the surface. The interest rate is low. You’re paying yourself back. There’s no credit check, no bank approval, and the money arrives fast. Every one of those statements is true โ€” and none of them tell the full story.

A 401(k) loan calculator exists to surface what the sales pitch omits: the investment growth your account loses while money is out of the market, the double taxation that applies to every interest payment, and the cliff-edge consequences if you leave your job before the loan is repaid. These are real costs that don’t appear on your loan paperwork, and they can easily exceed the stated interest rate by a factor of two or three.

That’s not an argument against 401(k) loans categorically. For many Americans, they are the most practical option in a genuine financial emergency. But the decision deserves full numbers โ€” which is exactly what this calculator provides.

401k loan
$50,000IRS Max Loan Limit
50%Max of Vested Balance
5 YearsMax Repayment Term
10%Early Withdrawal Penalty
๐Ÿ“Š
401(k) Growth CalculatorSee how a loan impacts your long-term 401(k) balance and retirement projection
โ†’
๐Ÿ“ˆ
Roth IRA CalculatorCompare 401(k) loan alternatives โ€” Roth IRA withdrawals of contributions are always penalty-free
โ†’

How a 401(k) Loan Works: The IRS Rules Every Borrower Must Know

401(k) loan calculator

The IRS permits 401(k) plan loans under specific conditions. Not every plan offers them โ€” participation is voluntary for employers โ€” but when they do, the following rules apply uniformly regardless of your plan provider.

1

Loan Limits: The Lesser of $50,000 or 50% of Your Vested Balance

If your vested balance is $80,000, your maximum loan is $40,000. If it is $200,000, your maximum is $50,000 โ€” the IRS cap regardless of balance size. Some plans allow lower limits. The key word is vested โ€” unvested employer contributions do not count toward your borrowing capacity.

2

Repayment Term: 5 Years Maximum (with One Exception)

Standard 401(k) loans must be repaid within five years through substantially level payments made at least quarterly. The one exception: loans used to purchase your primary residence may have a longer repayment period at the plan’s discretion. Missing this timeline converts the outstanding balance into a taxable distribution subject to ordinary income tax and, if under 59ยฝ, a 10% penalty.

3

Interest Rate: Typically Prime Rate Plus 1%

The IRS requires a “reasonable” interest rate โ€” most plans use the Prime Rate plus one percentage point. In 2026, with the Prime Rate around 8.5%, that puts most 401(k) loan rates at approximately 9.5%. Crucially, this interest is paid back to your own account โ€” you’re paying interest to yourself, not a bank.

4

Job Separation Triggers Immediate Repayment

This is the rule that catches most borrowers off guard. If you leave your employer โ€” voluntarily or through layoff โ€” your outstanding 401(k) loan balance becomes due by the federal tax filing deadline for that year (including extensions). If you cannot repay, the balance is treated as a distribution: ordinary income tax plus 10% penalty if under 59ยฝ. This creates serious risk for anyone whose employment is not fully secure.

5

No New Contributions While Loan Is Active (Check Your Plan)

Some plans suspend your ability to make new 401(k) contributions while a loan is outstanding. Others allow continued contributions. This detail matters enormously for your long-term retirement trajectory โ€” if your plan suspends contributions, you also lose any employer match during the loan period.

Feature401(k) LoanEarly Withdrawal
Maximum Amount50% of vested balance or $50,000Any amount
10% PenaltyNo (if repaid on time)Yes (under age 59ยฝ)
Income Tax NowNoYes โ€” full amount taxed
Repayment RequiredYes โ€” within 5 yearsNo
Interest Paid ToYour own accountN/A
Job Loss RiskYes โ€” balance due immediatelyNo ongoing obligation
Retirement ImpactModerate (opportunity cost)Severe (permanent loss)

The True Cost of a 401(k) Loan: What the Interest Rate Doesn’t Tell You

The most common misconception about 401(k) loans is that the only cost is the interest rate. Because you pay interest back to yourself, many borrowers assume the loan is essentially free. It is not โ€” and the gap between the stated cost and the real cost can be substantial.

Cost 1: Lost Compound Growth

When you take a 401(k) loan, the borrowed money leaves the market. That capital stops compounding. A $30,000 loan at a time when your account earns 7% annually costs you approximately $11,900 in lost growth over five years โ€” money that will never be recovered because compounding requires time and it cannot go backward.

Cost 2: Double Taxation on Interest

Here is the mechanism most financial commentary glosses over. When you repay your 401(k) loan, you use after-tax dollars. Those after-tax dollars then sit in your traditional 401(k) account, where they will be taxed again as ordinary income when you withdraw them in retirement. The interest portion of your repayment is taxed twice โ€” once when you earn it, and again when you eventually take it out of the account.

Cost 3: Market Timing Risk

Taking a loan during a market dip and repaying it during a bull market means buying back into your account at higher prices than you left. This is the reverse of dollar-cost averaging and can quietly inflate the true cost of borrowing beyond what any calculator shows.

401k loan interest rate

The Bottom Line: For a $30,000 loan at 9.5% repaid over 5 years, the stated interest cost is about $7,500 โ€” but the true economic cost including lost growth and double taxation typically runs $15,000โ€“$22,000 depending on market returns and your tax bracket. Use the True Cost tab above to calculate your specific numbers.

When a 401(k) Loan Actually Makes Sense

Despite the real costs, 401(k) loans are the right answer in specific situations. Here is an honest framework for evaluating whether borrowing from your retirement account is the best available option.

Situations Where a 401(k) Loan Is Defensible

Avoiding high-interest debt: If the alternative is a payday loan, credit card cash advance, or personal loan above 18%, a 401(k) loan at 9.5% with interest returning to your own account comes out ahead economically. The math requires running both scenarios, which the True Cost tab enables.

Bridging a short-term gap: If you need $10,000 for two to three months and have absolute certainty of repaying quickly, the lost compounding is minimal and the loan functions more like a short-term line of credit against your own savings.

Job stability is high: The job-separation repayment risk is the most dangerous feature of a 401(k) loan. If your position is secure and your industry is stable, this risk is manageable. If your employment carries any meaningful uncertainty, the calculus shifts sharply against borrowing.

Situations Where a 401(k) Loan Is a Mistake

Non-emergency discretionary spending: Vacations, home improvements that could be delayed, or consumer purchases funded by a 401(k) loan are poor uses of retirement capital regardless of the interest rate arithmetic.

When your job is not secure: If there is meaningful probability of layoff, restructuring, or voluntary departure within the loan term, the forced repayment risk turns what seems like a manageable payment into a potential tax bomb.

If you cannot sustain contributions: A plan that suspends your contributions โ€” and your employer match โ€” during the loan period can cost you far more than the interest savings, particularly if you’re young and the missed compounding years are the most valuable of your career.

๐Ÿ”‘ 401(k) Loan Key Facts for 2026
  • IRS maximum: lesser of $50,000 or 50% of your vested account balance
  • Maximum repayment term: 5 years (longer permitted for primary home purchase loans)
  • Interest rate: typically Prime Rate + 1% (approximately 9.5% in 2026)
  • Interest is paid back to your own 401(k) account โ€” not to a bank
  • Job separation triggers immediate repayment by that year’s tax filing deadline
  • Default on a 401(k) loan = taxable distribution + 10% penalty if under age 59ยฝ
  • Some plans suspend contributions and employer match during loan repayment
  • Outstanding loan balance at job separation treated as early withdrawal if unpaid

401(k) Loan Alternatives Worth Comparing First

Before committing to a 401(k) loan, a short review of alternatives can either confirm it is your best option or reveal a better path that preserves your retirement savings entirely.

AlternativeTypical RateRetirement ImpactBest For
401(k) Loan~9.5% (to self)Moderate โ€” lost growthJob-secure borrowers needing 1โ€“5 years
Roth IRA Contribution Withdrawal0%None on contributionsThose with Roth IRA โ€” contributions always withdrawable
Home Equity Loan (HELOC)8โ€“10%NoneHomeowners with equity, tax deductible use
Personal Loan (bank/credit union)8โ€“14%NoneGood credit, short repayment period
0% APR Credit Card0% intro (12โ€“21 mo)NoneShort-term needs payable within promo period
401(k) Hardship WithdrawalN/A (penalty + tax)Severe and permanentTrue emergency with no repayment capacity

If you have a Roth IRA with contributions, those funds can be withdrawn at any time, at any age, with zero taxes or penalties โ€” only the earnings are restricted. This is often the cleanest emergency fund option available to workers who have been contributing to a Roth IRA.

Frequently Asked Questions โ€” 401(k) Loan Calculator

Under IRS rules, you can borrow the lesser of $50,000 or 50% of your vested 401(k) balance. If your vested balance is $60,000, your maximum loan is $30,000. If it is $200,000, the IRS cap of $50,000 applies regardless. Note that this is the federal maximum โ€” your plan may set a lower limit. Also, unvested employer contributions do not count toward your borrowable balance.
Not directly on the loan itself โ€” a properly structured 401(k) loan is not a taxable event. However, the interest you pay is made with after-tax dollars, and that money will be taxed again when you withdraw it in retirement (for traditional 401k accounts), creating a double-taxation effect on interest payments. If the loan defaults or is not repaid by the deadline, the outstanding balance becomes a taxable distribution subject to income tax and, if under 59ยฝ, a 10% early withdrawal penalty.
This is the most critical risk of 401(k) loans. If you leave your employer for any reason โ€” voluntary resignation, layoff, or termination โ€” your outstanding loan balance becomes due by the federal tax filing deadline for that year, including extensions. If you cannot repay the full balance by that deadline, the IRS treats the unpaid amount as an early distribution: ordinary income tax is owed on the full balance, plus a 10% early withdrawal penalty if you are under 59ยฝ. The TCJA of 2017 extended this deadline from 60 days to the tax filing date, giving borrowers somewhat more time than previously.
A 401(k) loan is almost always preferable to an early withdrawal when you have the ability to repay. An early withdrawal before age 59ยฝ immediately costs you the 10% federal penalty plus ordinary income tax on the full amount โ€” a combined rate of 32โ€“47% for many middle-income workers. You keep only 53โ€“68 cents on the dollar. A loan returns the money to your account over time, preserving much more of your retirement savings. The only scenario where a withdrawal might be considered is when repayment is genuinely impossible and you need the funds immediately.
Yes. Most 401(k) plans allow early repayment without penalty, though you should confirm with your plan administrator. Paying extra principal each month reduces your loan term, cuts the total interest paid, and returns money to the market sooner โ€” reducing the opportunity cost of the loan. Use the Repay Faster tab above to calculate exactly how much time and interest you save by adding extra payments.
No. A 401(k) loan does not appear on your credit report and has no impact on your credit score whatsoever. There is no credit check, no hard inquiry, and no reporting to credit bureaus. This is one of the genuine advantages of borrowing from your retirement account โ€” it does not affect your ability to qualify for a mortgage, auto loan, or other credit products. However, the loan will appear on your 401(k) statement and reduce the balance reported to you.
The IRS requires a “reasonable” rate of interest, and most plan administrators use the Prime Rate plus one percentage point. With the Prime Rate at approximately 8.5% in 2026, most 401(k) loans carry interest rates around 9.5%. The key distinction: this interest is paid back into your own account, not to a third-party lender. However, this does not make the loan free โ€” you are repaying with after-tax dollars, and the earnings that money would have generated in the market are the true hidden cost.
The IRS permits multiple outstanding 401(k) loans simultaneously, as long as the combined balance does not exceed the lesser of $50,000 or 50% of your vested balance. However, the $50,000 limit applies across all outstanding loans in aggregate โ€” not per loan. Your specific plan may be more restrictive and limit you to one loan at a time. Check with your plan administrator or review your Summary Plan Description for plan-specific rules.

Before You Borrow: Your 401(k) Loan Decision Checklist

Run the True Cost tab first. Before agreeing to any loan amount or term, use the True Cost calculator above to see the full economic impact โ€” lost growth plus double taxation, not just the interest rate. Many borrowers who do this calculation choose a smaller loan amount or a shorter term than they originally planned.

Confirm your plan allows loans. Employer plans are not required to offer loan provisions. Call your HR department or plan administrator to confirm your plan offers loans and to get the current interest rate, maximum amount, and any contribution suspension rules that apply.

Model the job-separation scenario. Ask yourself honestly: if I were laid off six months after taking this loan, could I repay the full balance by next April? If the answer is no, the risk profile of this loan changes significantly.

Compare with Roth IRA contributions first. If you have a Roth IRA with contributions, those can be withdrawn penalty-free and tax-free at any time. This is often the cleanest short-term source of funds that leaves your 401(k) intact. Use our Roth IRA Calculator to see your full picture.

Set up automatic extra payments immediately. If you do take the loan, use the Repay Faster tab to find an extra payment amount that gets you paid off in 2โ€“3 years instead of 5. The interest and opportunity cost savings are substantial, and the faster the money returns to the market, the less compounding you permanently sacrifice.

Disclaimer: This 401(k) loan calculator is for educational and informational purposes only. Results are estimates based on your inputs and assumed rates of return. This is not financial, tax, or investment advice. 401(k) loan rules vary by plan โ€” consult your plan administrator or Summary Plan Description for plan-specific provisions. Tax implications depend on your individual circumstances. Consult a qualified CFP, CPA, or ERISA attorney for personalized guidance.