All CalculatorsRetirement calculator

401(k) Loan Calculator

Calculate the repayment schedule and true cost of borrowing from your 401(k), including the opportunity cost of lost investment growth.

Loan Details

Account Details

55Score
ReviewRetirement readiness

Loan Impact Score

This loan will have a noticeable impact on your long-term retirement balance.

Monthly Payment

$382

Total True Cost

$5,364

RiskReviewStrong

Monthly Payment

$382

60 payments over 5 years

Total Interest Paid

$2,921

Paid back into your own account

Opportunity Cost

$2,368

Lost investment growth over projection

Total True Cost

$5,364

Interest + fees + lost growth + missed match

401(k) Balance: With Loan vs Without

How the loan affects your retirement account over time

Loan Amortization Schedule

Monthly breakdown of principal and interest payments

MonthPaymentPrincipalInterestRemaining
1$382$290$92$19,710
2$382$292$90$19,418
3$382$293$89$19,125
4$382$294$88$18,831
5$382$296$86$18,535
6$382$297$85$18,238
7$382$298$84$17,939
8$382$300$82$17,640
9$382$301$81$17,338
10$382$303$79$17,036
11$382$304$78$16,732
12$382$305$77$16,427
13$382$307$75$16,120
14$382$308$74$15,812
15$382$310$72$15,502
16$382$311$71$15,191
17$382$312$70$14,879
18$382$314$68$14,565
19$382$315$67$14,250
20$382$317$65$13,933
21$382$318$64$13,615
22$382$320$62$13,295
23$382$321$61$12,974
24$382$323$59$12,651
25$382$324$58$12,327
26$382$326$57$12,002
27$382$327$55$11,675
28$382$329$54$11,346
29$382$330$52$11,016
30$382$332$50$10,685
31$382$333$49$10,352
32$382$335$47$10,017
33$382$336$46$9,681
34$382$338$44$9,343
35$382$339$43$9,004
36$382$341$41$8,664
37$382$342$40$8,321
38$382$344$38$7,977
39$382$345$37$7,632
40$382$347$35$7,285
41$382$349$33$6,936
42$382$350$32$6,586
43$382$352$30$6,234
44$382$353$29$5,881
45$382$355$27$5,526
46$382$357$25$5,169
47$382$358$24$4,811
48$382$360$22$4,451
49$382$362$20$4,089
50$382$363$19$3,726
51$382$365$17$3,361
52$382$367$15$2,994
53$382$368$14$2,626
54$382$370$12$2,256
55$382$372$10$1,884
56$382$373$9$1,511
57$382$375$7$1,136
58$382$377$5$759
59$382$379$3$380
60$382$380$2$0

Personalized Insights

Actionable recommendations based on your numbers

3 insights2 priority
Watch#1

Significant Opportunity Cost

While you pay interest back to yourself, the $2,368 in lost market growth is a real cost. The total true cost is $5,364.

Note#2

Interest Goes Back to You

Unlike other loans, the $2,921 in interest is paid back into your own 401(k) account. However, this interest is typically lower than what the market would have earned.

Watch#3

Job Change Risk

If you leave your employer, most 401(k) loans must be repaid in full within 60-90 days. Failure to repay triggers income taxes and potentially a 10% early withdrawal penalty.

Calculator guide

401(k) Loan Calculator: See Your Repayment & True Cost

Use this guide to understand the assumptions, inputs, results, and next steps behind the calculator.

1

Quick Summary

Calculate the true cost of borrowing from your 401(k). This calculator determines your monthly payment, total interest, and the often-overlooked opportunity cost from lost investment growth. See a side-by-side comparison of how your 401(k) balance could grow with and without a loan, helping you make a fully informed financial decision.

This tool is for anyone considering a 401(k) loan for a major expense like a down payment, debt consolidation, or an emergency. It helps you weigh the benefits of a lower interest rate against the long-term impact on your retirement savings. Before you borrow, compare the outcome here to the cost of a 401(k) early withdrawal or see how it affects your overall retirement plan with the main retirement calculator.

The results provide a complete picture of the loan's impact. You will see a loan impact score, a breakdown of the total true cost, a chart projecting your 401(k) balance over time, and a full month-by-month amortization schedule showing how your payments are applied to principal and interest.

2

How To Use This Calculator

Begin by entering the specifics of the loan you are considering. In the "Loan Details" section, input the Loan Amount you wish to borrow, the Interest Rate your plan charges, and the Loan Term in years. The interest rate for a 401(k) loan is typically set at the prime rate plus one or two percent.

Next, provide context about your retirement account under "Account Details." Enter your Current 401(k) Balance and your Expected Market Return. The market return is a crucial input for estimating the opportunity cost — the growth your money would have generated if it had remained invested. A higher expected return will result in a higher opportunity cost.

For a more precise estimate, open the advanced settings. Here you can add the plan's Origination Fee, a one-time setup charge, and any Missed Employer Match per year. Some plans suspend matching contributions while a loan is outstanding, which can be a significant hidden cost. If your plan continues to offer a match, you can leave this field at zero.

Once all your information is entered, click "Calculate" to see a detailed analysis of your loan's financial impact.

3

What Each Input Means

Loan Amount

This is the total dollar amount you intend to borrow from your 401(k) account. IRS rules generally limit 401(k) loans to the lesser of $50,000 or 50% of your vested account balance. Check with your plan administrator for the specific maximum amount you are eligible to borrow.

Interest Rate

Enter the annual interest rate your 401(k) plan will charge for the loan. This rate is usually tied to the prime rate and is set by your plan's rules. A key feature of 401(k) loans is that you pay this interest back to yourself, directly into your 401(k) account. However, this rate is often lower than the return you might have earned by keeping the money invested.

Loan Term

This is the repayment period for your loan, in years. Most 401(k) loans must be repaid within five years. An exception is often made for loans used to purchase a primary residence, which may have terms of up to 15 years or longer. A shorter term means higher monthly payments but less total interest paid and a lower opportunity cost.

Current 401(k) Balance

Your total current 401(k) account balance before taking the loan. This value is used as the starting point for the projection. The calculator will subtract the loan amount from this balance to model the "with loan" scenario. A larger starting balance can amplify the long-term impact of lost compounding. For a full projection of this balance, use the main 401(k) calculator.

Expected Market Return

This is the average annual rate of return you expect your 401(k) investments to earn. This is a critical assumption for calculating opportunity cost. The money you borrow is no longer invested, so it cannot generate returns. The difference between what it would have earned and the interest you pay back to yourself is the opportunity cost. A reasonable long-term estimate for a diversified stock portfolio is often between 6% and 8%, but you should adjust this based on your personal investment strategy and risk tolerance.

Origination Fee

This is a one-time administrative fee your plan may charge to set up the loan. These fees typically range from $50 to $150. While small, it is part of the total cost of borrowing and is included in the "Total True Cost" calculation.

Missed Employer Match

Enter the total annual employer matching contributions you will forfeit while the loan is active. Some employers suspend their match for employees with an outstanding loan. This can be one of the largest hidden costs of a 401(k) loan, as you are giving up free money. If your plan continues matching contributions, you can enter $0.

4

How The Calculator Works

The calculator performs two main analyses to determine the true cost of a 401(k) loan.

First, it calculates the loan's repayment details using a standard amortization formula. It determines your fixed monthly payment based on the loan amount, interest rate, and term. It then generates a month-by-month amortization schedule, breaking down each payment into its principal and interest components. The sum of all interest payments gives you the Total Interest Paid back into your account.

Second, it runs a year-by-year projection to quantify the opportunity cost. It models two scenarios:

  1. Without Loan: Your Current 401(k) Balance grows each year at the Expected Market Return.
  2. With Loan: Your Current 401(k) Balance is immediately reduced by the Loan Amount. The remaining balance grows at the Expected Market Return. Each year, your loan repayments (both principal and interest) are added back to the balance. Any Missed Employer Match is subtracted. After the loan is repaid, the full balance resumes growing at the market return.

The Opportunity Cost is the difference between the final balance in the "Without Loan" scenario and the "With Loan" scenario at the end of the projection period.

Finally, the Total True Cost is calculated by summing the origination fee, the total missed employer match over the loan term, and the total opportunity cost. The interest paid is not included in this "true cost" because it is paid back to yourself, but the calculator shows it separately for transparency.

5

Calculator Formula

The calculator uses standard financial formulas for amortization and a year-by-year simulation for projections.

Monthly Payment

The monthly payment is calculated using the standard loan amortization formula.

monthly rate = interest rate / 100 / 12
total months = loan term years * 12
monthly payment = (loan amount * monthly rate * (1 + monthly rate)^total months) / ((1 + monthly rate)^total months - 1)

Amortization Schedule

For each month of the loan, the calculator determines the interest and principal portions of the payment.

interest for month = remaining loan balance * monthly rate
principal for month = monthly payment - interest for month
new remaining balance = remaining loan balance - principal for month

Opportunity Cost Projection

The calculator projects two balances year by year to find the opportunity cost.

balance without loan (year N) = balance without loan (year N-1) * (1 + expected market return)
# During loan repayment period
balance with loan (year N) = (balance with loan (year N-1) * (1 + expected market return)) + (annual loan payments) - (missed employer match)

# After loan is repaid
balance with loan (year N) = balance with loan (year N-1) * (1 + expected market return)
opportunity cost = final balance without loan - final balance with loan

Total True Cost

The total true cost combines all expenses and lost growth.

total missed match = missed employer match per year * loan term years
total true cost = origination fee + opportunity cost + total missed match
6

Pros and Cons of a 401(k) Loan

Borrowing from your 401(k) can seem like an easy solution for short-term cash needs, but it comes with significant trade-offs. Understanding both sides is essential before making a decision.

Pros of a 401(k) Loan

  • Lower Interest Rates: The interest rate is often lower than personal loans or credit cards.
  • You Pay Yourself Back: The interest you pay goes back into your own retirement account, not to a lender.
  • No Credit Check: Your credit score is not a factor in qualifying for the loan.
  • Convenience: The application process is typically simple and fast, managed through your plan administrator.

Cons of a 401(k) Loan

  • Opportunity Cost: This is the biggest drawback. The money you borrow is out of the market, meaning you miss out on potential investment gains. If the market performs well, this lost growth can be far more costly than the interest you pay.
  • Job Change Risk: If you leave or lose your job, most plans require you to repay the entire loan balance in a short period (e.g., 60-90 days). If you cannot, the outstanding balance is treated as a taxable distribution and may be subject to a 10% early withdrawal penalty if you are under 59½.
  • Reduced Retirement Savings: Taking a loan can lead to a permanently smaller nest egg. Even after you repay it, your balance may never catch up to where it would have been.
  • Double Taxation: You repay the loan with after-tax dollars. When you later withdraw that same money in retirement, it will be taxed again as ordinary income (assuming a traditional 401(k)).
  • Potential for Paused Contributions: Some people reduce or stop their regular 401(k) contributions while repaying a loan, further slowing their retirement progress.
7

Alternatives to a 401(k) Loan

Before borrowing from your future, consider other options that may have fewer long-term consequences for your retirement.

  • Home Equity Line of Credit (HELOC) or Home Equity Loan: If you are a homeowner with equity, these can offer competitive interest rates. The interest may also be tax-deductible if used for home improvements.
  • Personal Loan: Unsecured personal loans from a bank or credit union are an option. While interest rates may be higher than a 401(k) loan, they do not put your retirement savings at risk.
  • 0% APR Credit Card: For smaller, short-term needs, a credit card with an introductory 0% APR offer can be a good choice, provided you can pay off the balance before the promotional period ends.
  • Negotiating a Payment Plan: If you are facing a large medical bill or other debt, contact the provider to see if you can arrange a payment plan. Many are willing to work with you to avoid collections.
  • Tapping Your Emergency Fund: This is precisely what an emergency fund is for. Using cash savings avoids interest payments and keeps your retirement investments intact. If you don't have one, this situation highlights the importance of building one.
  • Roth IRA Contributions: If you have a Roth IRA, you can withdraw your direct contributions (not earnings) at any time, for any reason, tax-free and penalty-free. This is often a much better option than a 401(k) loan.
8

Understanding Your Results

The results section is designed to give you a clear, comprehensive view of the loan's impact.

Loan Impact Score: This gauge provides an at-a-glance summary. A high score suggests the loan's cost is relatively low compared to the amount borrowed. A low score indicates a significant negative impact on your retirement savings, often due to high opportunity cost or a long loan term.

Monthly Payment: This is the fixed amount you will pay each month to repay the loan over its term. Ensure this payment fits comfortably within your budget.

Total Interest Paid: This is the total interest you will pay over the life of the loan. Remember, this amount is paid back into your own 401(k).

Opportunity Cost: This is the estimated amount of investment growth you will miss out on by having the loan amount out of the market. This is a real, though often invisible, cost of borrowing.

Total True Cost: This is the most important number. It sums the origination fee, the opportunity cost, and any missed employer match. This figure represents the total reduction in your net worth as a result of taking the loan.

401(k) Balance Chart: This visual tool is powerful. It plots your projected 401(k) balance over time in two scenarios: with the loan and without it. The gap between the two lines represents the long-term impact on your retirement nest egg.

Amortization Schedule: This table provides a detailed, month-by-month breakdown of your loan payments, showing how much goes toward principal versus interest and the declining balance over time.

9

Ways To Minimize the Cost of a 401(k) Loan

If you decide a 401(k) loan is your best option, take these steps to reduce its negative impact:

  1. Borrow the Smallest Amount Necessary: Don't take the maximum just because you can. The less you borrow, the smaller the opportunity cost.
  2. Choose the Shortest Possible Loan Term: A shorter term means you will repay the loan faster, reducing the time your money is out of the market and minimizing total opportunity cost.
  3. Continue Your Contributions: Do not stop or reduce your regular 401(k) contributions while repaying the loan. This is crucial for staying on track for retirement and, if applicable, for continuing to receive an employer match.
  4. Make Extra Payments if Possible: If your plan allows, paying more than the minimum monthly payment will get the money back into your investment account sooner.
  5. Understand Your Plan's Rules: Confirm whether your employer will continue to provide a match on your contributions while the loan is outstanding. If they don't, the cost of the loan increases dramatically.
10

Common Mistakes When Taking a 401(k) Loan

  1. Ignoring the Opportunity Cost: Many people focus only on the interest rate, forgetting that the lost market growth is often the largest cost.
  2. Failing to Plan for Job Separation: Not having a plan to repay the loan if you leave your job can lead to a disastrous tax bill and penalties.
  3. Using it for Non-Essential Spending: A 401(k) loan should be a last resort for critical needs, not a tool to fund vacations or lifestyle upgrades.
  4. Pausing 401(k) Contributions: Stopping contributions while repaying the loan compounds the damage by sacrificing new savings and any associated employer match.
  5. Taking a Second Loan: Juggling multiple 401(k) loans can create a cycle of debt that severely damages your ability to retire.

Frequently Asked Questions

Quick answers to the questions people usually have after running the retirement calculator.

1Is it a good idea to borrow from your 401(k)?

It is generally not recommended unless it's a last resort for a true emergency. The opportunity cost of lost investment growth and the risk associated with leaving your job often make it a costly choice compared to other loan types.

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

You can generally borrow up to 50% of your vested 401(k) balance, with a maximum loan amount of $50,000. If your vested balance is less than $20,000, you may be able to borrow up to $10,000.

3What is a typical interest rate for a 401(k) loan?

The interest rate is typically set by the plan administrator, often at the prime interest rate plus 1% or 2%. The interest you pay goes back into your own 401(k) account.

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

No, you do not pay taxes on the amount you borrow as long as you repay the loan according to its terms. However, you repay it with after-tax dollars, and the money will be taxed again upon withdrawal in retirement.

5What happens if I can't repay my 401(k) loan?

If you default on the loan, the outstanding balance is treated as a taxable distribution. It will be subject to ordinary income tax, and if you are under age 59½, you will likely owe a 10% early withdrawal penalty. See our 401(k) early withdrawal penalty calculator for details.

6How quickly must a 401(k) loan be repaid?

Most plans require a loan to be repaid within five years. If the loan is for the purchase of a primary residence, the repayment term may be longer, such as 15 or 30 years.

7Can I contribute to my 401(k) while I have a loan?

Most plans allow you to continue making contributions while repaying a loan. It is highly recommended that you do so to keep your retirement savings on track. Check with your plan administrator about rules regarding the employer match.

8Is a 401(k) loan better than a 401(k) hardship withdrawal?

A loan is almost always better than a hardship withdrawal. A loan preserves your savings (you repay it), whereas a withdrawal permanently removes money from your account. Withdrawals are also subject to taxes and penalties, which loans avoid if repaid properly.

9How does a 401(k) loan affect my retirement savings goal?

It has a negative effect. You lose out on compound growth while the money is borrowed, which can result in a significantly lower balance at retirement. Use our retirement savings calculator to see how a lower final balance could impact your overall plan.

Make an Informed Decision

Using your 401(k) for a loan is a major financial decision with long-term consequences. Use the calculator above to model your specific situation and understand the true cost. Compare the results to other borrowing options before you commit.

For more tools to help you manage your retirement, explore our full suite of retirement calculators. Whether you are planning your contributions, estimating your retirement income, or trying to understand how long your money will last, we have resources to help you build a secure future.