Plan loans
401k Loan Calculator
Borrowing from your own account is the cheapest loan most people can get — and the easiest to underestimate. Enter the amount, rate and term to see the per-paycheck cost, the interest, and what it really gives up.
How a 401k loan works
A 401k loan is not really a withdrawal. You borrow from your own account balance and pay it back, with interest, through payroll deductions. The money leaves your account while the loan is outstanding, so it stops earning whatever it was earning — but you are not taxed on the amount you borrow, and no penalty applies, as long as the loan is repaid on schedule.
That is why plan loans are popular: they are the cheapest formal borrowing most people have access to. It is also why they are easy to misuse, because the real cost is not the interest rate — it is what the money would have earned while it was out, plus the tax you pay twice on the interest you pay yourself.
The limits on how much you can borrow
The IRS caps plan loans at the lesser of 50% of your vested balance or $50,000, with a minimum loan of $1,000 in most plans. Two details worth knowing:
- The $50,000 ceiling is reduced by the highest outstanding loan balance during the previous 12 months, so you cannot borrow $50,000, repay it, and immediately borrow $50,000 again.
- Only vested money counts. If you are 40% vested and have a $60,000 balance, your vested balance is $24,000 and your ceiling is $12,000, not $30,000.
Your plan can also be stricter than the IRS: a shorter repayment window, a minimum loan amount, one loan at a time, or no loans at all.
What the interest rate means
Plans set the rate themselves, usually one or two points above the prime rate. Here is the part almost nobody explains properly: the interest goes back into your own account, so it is not a cost to you in the way a bank's interest is. But it is paid with after-tax dollars and taxed again when you withdraw it in retirement. That double taxation is the actual price of the interest — roughly your marginal tax rate times the interest paid.
On a $10,000 loan at 6% over five years, the total interest is about $1,600. If you are in the 22% bracket at repayment and again in retirement, the double tax on that interest is roughly $350. Not enormous — but it is real, and it is on top of the returns the money would have made.
The 5-year rule and the home exception
Most plans require you to repay within five years in level payments. A loan used to buy your main home can usually be stretched longer, often up to 15 or 30 years, if the plan allows it.
Miss a payment and the outstanding balance can be treated as a distribution: income tax plus the 10% early withdrawal penalty if you are under 59½. With payroll deduction that only happens if you leave the job or the payroll deduction fails.
What happens if you leave your job with a loan out
This is the risk that matters most. Most plans require the loan to be repaid in full within 60 to 90 days of separation, or the balance is offset — treated as a taxable distribution, with the 10% penalty if you are under 59½ and no exception applies. Some plans let you keep paying directly; many do not.
If you are thinking about changing jobs in the next year, do not take a new plan loan. If you already have one, ask the plan administrator in writing what happens on separation before you resign.
Should you take one?
A plan loan is a reasonable tool for a short-term cash need you can repay in a year or two, and a bad tool for a gap that is really an income problem. The clearest cases:
- Yes: a medical bill, a car repair, a home down payment you will repay in five years, or paying off a 22% credit card with a 7% plan loan.
- No: a loan you need because you cannot afford your current spending, a loan to invest elsewhere, or a loan you will still be carrying when you change jobs.
Run your own numbers above, then compare the total interest with what the same money would earn in your portfolio. If the assumed return is higher than the plan rate, the loan costs you the difference.
Sources
Frequently asked questions
How much can I borrow from my 401k?
The IRS limit is the lesser of 50% of your vested balance or $50,000, reduced by the highest outstanding loan balance in the previous 12 months. Plans can set stricter rules, including a $1,000 minimum.
Do I pay interest on a 401k loan?
Yes, up to the plan's limits. But the interest you pay with after-tax dollars is taxed again when you withdraw it in retirement, so the interest carries a double-tax cost on top of the returns the money would have earned while it was out of the market.
How long do I have to repay a 401k loan?
Five years in most plans, with level payments through payroll deduction. A loan used to buy your main home can usually be repaid over a longer period if the plan allows it.
What happens to my loan if I change jobs?
Usually the outstanding balance must be repaid within 60 to 90 days, or it is offset and treated as a taxable distribution — with the 10% early withdrawal penalty if you are under 59½ and no exception applies. Ask your plan administrator before you resign.
Is a 401k loan taxable?
No, the amount you borrow is not taxed and no 10% penalty applies as long as the loan is repaid on schedule. The tax hits only if the loan defaults or is offset after you leave your job.
Does a 401k loan affect my contribution limit?
The payment is taken from your paycheck, so your take-home pay drops for the length of the loan. If you are contributing at a level near the annual deferral limit, remember that loan repayments do not count toward the limit — they are separate from your contributions.