Finance

401k Loan Payment Calculator

Calculate your 401k loan payment, total interest, and see how borrowing affects your retirement savings. Enter loan amount, interest rate, and term.

$
%
years
$
Monthly payment
$205.17

Manageable cost — ~$1,716 in net lost growth

You'll pay $205.17/mo for 5 years, totaling $12,310. The $2,310 in interest goes back into your 401k, but you'll miss an estimated $4,026 in market gains while the money is out of your account.

Monthly payment
$205.17
Biweekly payment
$102.58
Total repayment
$12,310
Total interest
$2,310
Est. opportunity cost
$4,026
Net cost to you
$1,716
Max you can borrow
$25,000
Balance vs. investment growth

Moderate opportunity cost of $4,026

Your $10,000 could grow to $14,026 over 5 years at 7% return. But since the $2,310 in interest goes back to your account, the real cost is a more modest $1,716.

Cumulative payment breakdown

35% of your first payment is interest

In month 1, 35% of your $205.17 payment covers interest — the rest reduces your balance. Over the full term, interest makes up 19% of total payments ($2,310 of $12,310). Unlike other loans, all that interest goes back into your 401k.

Payment = P × [r(1+r)ⁿ] / [(1+r)ⁿ - 1]. Max loan is lesser of $50,000 or 50% of vested balance.

What is a 401k loan?

A 401k loan lets you borrow money from your own retirement account. Unlike a bank loan, you're borrowing from yourself. The interest you pay goes back into your account, not to a lender.

Most 401k plans allow loans, but not all. Check with your plan administrator to see if your plan offers this option.

How 401k loan payments work

When you take a 401k loan, your employer deducts payments directly from your paycheck. This happens automatically, so you can't miss a payment as long as you stay employed.

The payment formula is the same as any amortized loan:

PMT=P×r(1+r)n(1+r)n1PMT = P \times \frac{r(1+r)^n}{(1+r)^n - 1}

Where:

  • PMT = monthly payment
  • P = principal (loan amount)
  • r = monthly interest rate (annual rate ÷ 12)
  • n = total number of payments

401k loan rules and limits

The IRS sets strict rules for 401k loans:

Maximum loan amount

You can borrow the lesser of:

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

If your vested balance is 80,000,yourmaxloanis80,000, your max loan is 40,000 (50%). If your balance is 150,000,yourmaxisstill150,000, your max is still 50,000 (the IRS cap).

Repayment term

  • General purpose loans: Maximum 5 years
  • Primary residence purchase: Up to 15-30 years (plan dependent)

You cannot extend a general loan beyond 5 years under any circumstances.

Interest rate

Plans typically charge the prime rate plus 1-2%. As of 2024-2025, this means rates around 8-10%. The good news: this interest goes back into your own account.

Repayment method

Payments must be "substantially level" and made at least quarterly. Most plans use payroll deduction for every pay period.

Step-by-step: calculating your payment

Let's walk through an example:

Loan details:

  • Loan amount: $15,000
  • Interest rate: 8.5%
  • Term: 5 years (60 months)

Step 1: Convert annual rate to monthly

  • Monthly rate = 8.5% ÷ 12 = 0.708% = 0.00708

Step 2: Calculate the payment

  • PMT = $15,000 × [0.00708 × (1.00708)⁶⁰] / [(1.00708)⁶⁰ - 1]
  • PMT = $15,000 × [0.00708 × 1.526] / [1.526 - 1]
  • PMT = $15,000 × 0.01081 / 0.526
  • PMT = $308.24 per month

Step 3: Calculate total cost

  • Total payments = 308.24×60=308.24 × 60 = 18,494
  • Total interest = 18,49418,494 - 15,000 = $3,494

The hidden cost: opportunity cost

The interest you pay goes back to your account. But there's a bigger cost most people miss: opportunity cost.

When you borrow from your 401k, that money is no longer invested in the market. If the market returns 7% annually while you're repaying an 8.5% loan, you might think you're ahead. But let's look closer.

Example: $15,000 loan for 5 years

If that $15,000 stayed invested at 7% annual return:

  • After 5 years: 15,000×(1.07)5=15,000 × (1.07)⁵ = 21,038
  • Growth: $6,038

With the loan:

  • Interest paid (back to you): $3,494
  • Market growth missed: $6,038
  • Net loss: 6,0386,038 - 3,494 = $2,544

This opportunity cost is real money you won't have at retirement.

When a 401k loan makes sense

Despite the costs, a 401k loan can be a good choice in certain situations:

Avoiding high-interest debt

If you're paying 20-25% on credit cards, a 401k loan at 8-9% can save you money. Calculate both scenarios to be sure.

Short-term cash need

For a temporary cash crunch with a clear payoff plan, a 401k loan beats most alternatives. You'll repay yourself, not a bank.

No credit check required

401k loans don't check your credit score. If your credit is poor, this may be your only option for a reasonable rate.

Down payment for a home

Primary residence loans get extended terms (15+ years) and can help you avoid PMI by putting down more.

When to avoid a 401k loan

Job instability

If you leave your job (voluntarily or not), most plans require full repayment within 60-90 days. If you can't repay, the outstanding balance becomes a taxable distribution plus a 10% penalty if you're under 59½.

Close to retirement

You need that money growing. Taking a loan in your 50s could significantly reduce your retirement funds.

To fund lifestyle expenses

Vacations, cars, and other depreciating assets aren't worth borrowing retirement money for.

Your plan limits contributions during repayment

Some plans restrict your ability to contribute while you have an outstanding loan. This compounds the cost by missing out on employer matches.

401k loan vs other options

OptionInterest rateCredit checkTax deductibleRisk
401k loan8-10%NoNoJob loss
Personal loan10-20%YesNoCredit score
Home equity7-9%YesMaybeHome as collateral
Credit card20-30%YesNoDebt spiral
401k withdrawalN/ANoNoTaxes + 10% penalty

A 401k loan often beats other unsecured options on rate, but comes with unique risks.

What happens if you can't repay

If you default on a 401k loan, the IRS treats the outstanding balance as a distribution:

  1. Income tax: The unpaid amount is added to your taxable income
  2. Early withdrawal penalty: If under 59½, you pay an additional 10%
  3. State taxes: Many states add their own penalties

Example: $10,000 default at age 45 in the 22% federal bracket:

  • Federal tax: 10,000×2210,000 × 22% = 2,200
  • Early penalty: 10,000×1010,000 × 10% = 1,000
  • State tax (5%): 10,000×510,000 × 5% = 500
  • Total cost: $3,700 (37% of the loan)

Double taxation myth

You may have heard that 401k loans cause "double taxation." Here's the truth:

The claim: You repay with after-tax dollars, then pay tax again at withdrawal.

The reality: This is only partially true. The principal wasn't double-taxed—only the interest portion. And you'd pay tax on any 401k money eventually anyway.

The interest amount is relatively small, and the double-taxation effect is much smaller than often claimed.

Tips for managing a 401k loan

Continue contributing

If your plan allows, keep contributing at least enough to get the full employer match. Don't sacrifice free money.

Build an emergency fund

Having 3-6 months of expenses saved reduces the chance you'll need another loan or face default during job loss.

Pay extra when possible

Most plans allow extra payments. Paying off early reduces opportunity cost and frees up cash flow.

Set up automatic payments

Payroll deduction is automatic, but if you leave your job, set up manual payments immediately to avoid default.

Comparing loan terms

Shorter terms mean higher payments but less total cost:

Loan amountTermMonthly paymentTotal interestOpportunity cost
$10,0003 years$315$1,330$2,250
$10,0005 years$206$2,336$4,026
$20,0003 years$630$2,660$4,500
$20,0005 years$412$4,672$8,051

Assumes 8.5% loan rate and 7% market return

Choose the shortest term you can comfortably afford.

How to apply for a 401k loan

  1. Check plan rules: Contact your HR department or plan administrator
  2. Gather information: Know your vested balance and how much you need
  3. Complete paperwork: Most plans have simple application forms
  4. Wait for processing: Usually 1-2 weeks, sometimes faster
  5. Receive funds: Typically via direct deposit or check

Some plans now offer online applications with same-day approval.

Tax implications

Unlike a 401k withdrawal, a loan is not a taxable event—as long as you follow the rules:

  • Repay on time
  • Don't exceed maximum amounts
  • Keep payments current if you leave your job

If you follow the rules, you pay no tax on the loan itself. You only pay tax when you eventually withdraw funds in retirement (like normal 401k distributions).

Frequently asked questions

Can I have multiple 401k loans?

Some plans allow multiple loans, but total outstanding balance can't exceed the $50,000 or 50% limit. Each loan has its own repayment schedule.

Does a 401k loan affect my credit score?

No. 401k loans don't appear on credit reports and don't require a credit check. They have no impact on your credit score.

Can I deduct 401k loan interest on my taxes?

No. Unlike mortgage interest, 401k loan interest is not tax-deductible.

What if I switch jobs?

You typically have 60-90 days to repay the full balance. Some plans allow you to continue payments from a bank account. Check your specific plan rules.

Can I repay early without penalty?

Yes. There are no prepayment penalties on 401k loans. Paying early reduces your opportunity cost.

How often can I take a 401k loan?

Plans set their own rules. Some allow new loans immediately after repaying one; others require a waiting period.

Alternatives to consider

Before borrowing from your 401k, explore these options:

Roth IRA contributions: You can withdraw Roth IRA contributions (not earnings) tax-free and penalty-free at any time.

0% APR credit cards: If you can pay off the balance within the promotional period, this costs nothing.

Personal line of credit: Often lower rates than credit cards if you have good credit.

Negotiate with creditors: If you're behind on bills, many creditors will work out payment plans.

Side income: A temporary second job or gig work keeps your retirement intact.

A 401k loan should be a last resort, not a first choice. But when you need it, understanding the true costs helps you make the best decision for your financial future.