Skip to content

How a 401(k) Loan Works: Are Payments Taken Out of Your Paycheck?

A 401(k) loan lets you borrow up to $50,000 or half your vested balance, whichever is less, and repay it with interest to yourself over five years. Here are the limits, the payments and the tax trap if you quit.

Tech Talk News Editorial

9 min read

Share

Key takeaways

  • A 401(k) loan is capped at the lesser of $50,000 or the greater of $10,000 or 50% of your vested balance, and generally has to be repaid within five years unless it buys your main home.
  • The IRS requires substantially equal payments of principal and interest at least quarterly, and payroll deduction is the repayment method the IRS names, so for most people the payments come out of every paycheck.
  • On a $20,000 loan at an assumed 8% over five years, the payment is $186.89 per biweekly paycheck or $405.53 a month, and you pay $4,331.67 in interest to your own account over the life of a monthly-pay loan.
  • If you leave your job with a $12,941 balance still owed, the unpaid amount can become a taxable distribution, which at a 22% bracket plus the 10% early withdrawal tax would cost about $4,141, unless you roll it over by your tax return due date including extensions.
  • The real cost of a 401(k) loan is the market return you miss minus the loan interest you pay yourself: at an assumed 8% loan rate, you come out behind only if the market beats about 8.30% a year.
On this page7 sections

A 401(k) loan lets you borrow from your own vested balance, up to $50,000 or half the balance, and pay it back with interest over five years. Yes, the payments usually come out of your paycheck: the IRS names payroll deduction as a repayment method, and your payments must be substantially equal and made at least quarterly.[1] [2]

There is no credit check and the interest goes back into your own account, which is why the loan sounds free. It isn't. The cost shows up in three places: the market growth you miss, the after-tax paycheck that funds the payments, and a tax bill if you leave your job before it's paid off.

$50,000
Maximum loan
5 years
Usual repayment term
$186.89
Biweekly payment on $20,000 at 8%
10%
Extra tax if a defaulted loan hits you under 59½

How much you can borrow

The IRS caps a plan loan at the lesser of $50,000 or the greater of $10,000 or 50% of your vested account balance.[2] Your plan can set a lower limit. It also doesn't have to offer the $10,000 floor, so check the plan's loan policy before you count on it.[1]

Maximum 401(k) plan loan by vested balance
Vested balanceHalf of balanceMaximum loan
$12,000$6,000Up to $10,000 if the plan allows
$30,000$15,000$15,000
$50,000$25,000$25,000
$100,000$50,000$50,000
$200,000$100,000$50,000

There is one more rule if you have borrowed before. The $50,000 cap is reduced by the amount by which your highest loan balance in the previous 12 months exceeds your current balance.[2] Paying a loan down and borrowing again doesn't reset the cap.

The repayment rules

  • Term. You generally repay within five years. A loan used to buy a principal residence can run longer.[2]
  • Payments. Substantially equal payments of principal and interest, made at least quarterly.[2]
  • Interest. Your plan sets the rate. The interest is paid into your own account.
  • Leave of absence. A plan may suspend payments for up to one year, and you make up the missed amounts without extending the loan beyond its original term.[2]
  • Military service. A plan may suspend payments while you serve.[2]
  • Spouse. A plan may require your spouse's consent.[2]

Two limits are worth knowing about. You can't borrow from an IRA, or from a SEP or SIMPLE IRA, and if you do, the account stops being an IRA.[2] And every plan is different, so a loan is something your employer's plan chooses to offer.

A worked example: $20,000 over five years

The rate comes from your plan, so I assumed 8%. The payments below are level, with the interest included, over 60 months or the pay periods that fit in five years.

Repayment of a $20,000 401(k) loan at an assumed 8% over five years, by pay frequency
PaidPaymentNumber of paymentsTotal interest to your account
Biweekly (26 a year)$186.89130$4,296.31
Twice a month (24 a year)$202.49120$4,298.83
Monthly$405.5360$4,331.67

Those figures use a level-payment formula, and the interest total is the payments added up minus the $20,000. All of that interest lands back in your account, so you aren't paying a bank. You are paying yourself from pay that has already been taxed.

Plain English

Your paycheck gets smaller by the payment amount, the borrowed money leaves your investments, and the payments refill the account. In the meantime, the borrowed portion earns the loan rate instead of the market return.

The cost nobody prints: what you give up

Since the interest goes to you, the true cost is the gap between what the market would have paid on the money and the loan rate you pay yourself.

I modeled the $20,000 loan at 8% with monthly payments. I compared an account that never lent the money with one that did, and reinvested each payment in the market as it arrived.

Account value after five years on $20,000 with and without a 401(k) loan, at an 8% loan rate, by market return
Market return a yearAccount with no loanAccount with the loanDifference
4%$24,333$26,837Loan ahead by $2,504
7%$28,051$28,872Loan ahead by $821
10%$32,210$31,048Loan behind by $1,162

The break-even sits at about 8.30%, which is the 8% loan rate with monthly compounding. If the market beats that for five years, you lose ground. If it doesn't, the loan looked cheap on paper.

That table leaves out the costs that actually hurt. Payments come from pay that is already taxed, and if you cut your 401(k) contributions to afford them, you may leave your employer match behind. That is free money, and a loan that costs you the match is expensive whatever the interest rate says.

What happens if you leave your job

This is where 401(k) loans bite. The plan may require you to repay the full outstanding balance if you leave.[1] If you can't, the unpaid amount is reported as a distribution on Form 1099-R.[1]

You can avoid the tax by rolling that amount into an IRA or another plan. The deadline for an offset caused by leaving your job or a plan termination is the due date of your federal tax return for that year, including extensions.[2]

Here is the damage in the example. Two years into the $20,000 loan at 8% with monthly payments, the balance is $12,941.13. Assume you are in the 22% federal bracket, you are under 59½ and no exception applies.

Tax cost of an unpaid $12,941 401(k) loan balance treated as a distribution, at an assumed 22% federal bracket
ItemAmount
Unpaid balance after 24 months$12,941
Federal income tax at 22%$2,847
10% early withdrawal tax$1,294
Total tax cost, before state tax$4,141

The IRS says a deemed distribution from a missed repayment can also face the 10% early distribution tax.[1] A deemed distribution can't be rolled over into another plan.[2] A loan offset at termination is different, and can be.

When a 401(k) loan is a fair move

I wouldn't call it a disaster and I wouldn't call it free. It beats a credit card at a rate above 20%, and it beats a missed mortgage payment. It loses to an emergency fund you already have, and it loses badly if your job is shaky.

My rule: borrow only if the money has a job that pays for itself, you can finish the repayment on your current salary without cutting contributions, and you would stay employed through the end of the term. A new home purchase is the one use where the longer term can help.

Takeaway

A 401(k) loan comes out of your paycheck, is capped at $50,000 or half your vested balance, and has to be repaid in five years. The danger is leaving your job with a balance outstanding. Borrow only if you would happily stay put until it is paid off.

Primary sources

  1. 1.PrimaryIRS, "Retirement topics: Plan loans". The $50,000 and 50% cap, five-year term, quarterly payments, payroll deduction as a repayment method, deemed distributions, repayment on termination of employment and the rollover deadline.
  2. 2.PrimaryIRS, "Retirement plans FAQs regarding loans". Maximum loan formula, the 12-month high-balance reduction, substantially equal payments, leave of absence and military suspension, deemed distributions, and the loan offset rollover deadline.

Frequently asked questions

6 questions

Are 401(k) loan payments taken out of your paycheck?

Usually yes. The IRS names payroll deduction as a way to repay a 401(k) loan, and the payments must be substantially equal and made at least quarterly. Your plan documents decide the exact method, so ask your plan administrator whether payroll deduction is automatic or optional.

How much can you borrow from your 401(k)?

You can borrow the lesser of $50,000 or the greater of $10,000 or 50% of your vested balance. With a vested balance of $30,000, the limit is $15,000, and with $100,000 or more it is $50,000. The $50,000 cap is reduced if you had a higher loan balance at any point in the past 12 months.

How long do you have to repay a 401(k) loan?

You generally have five years, with substantially equal payments at least quarterly. A loan used to buy a principal residence may be repaid over more than five years. Your plan can suspend payments for up to one year during a leave of absence, but the loan still has to end on time.

What happens to a 401(k) loan if you quit or get laid off?

The plan may require you to repay the full balance when you leave. If you cannot, the unpaid amount is reported as a distribution on Form 1099-R and can be taxed, plus a 10% early withdrawal tax if you are under 59½. You can avoid the tax by rolling the amount into an IRA or another plan by your tax return due date, including extensions.

Is a 401(k) loan a bad idea?

It is a reasonable idea only when the alternative is more expensive debt and your job is secure. You pay yourself the interest, but you repay with after-tax pay, miss market growth on the borrowed money, and risk a tax bill if you leave. Our worked example puts the break-even at a market return of about 8.30% a year.

Can you have more than one 401(k) loan at a time?

Yes, a participant can have more than one loan, but the new loan plus your existing balances cannot exceed the plan maximum. The $50,000 cap is also reduced by the amount your highest loan balance in the previous 12 months exceeds your current balance, so paying a loan down and borrowing again does not reset the cap.

Keep reading

Written by

Tech Talk News Editorial

Computer engineering background. Writes about software, AI, markets, and real estate, and the places where the three meet.

About Tech Talk News