401(k) Loan Calculator
| Vested balance | IRS maximum loan |
|---|---|
| $15,000 | $10,000 |
| $20,000 | $10,000 |
| $40,000 | $20,000 |
| $60,000 | $30,000 |
| $80,000 | $40,000 |
| $100,000 | $50,000 |
| $150,000 | $50,000 |
A 401(k) loan is the cheapest-looking money you will ever touch - you borrow from yourself, the "interest" lands back in your own account, and no credit check exists. The IRS ceiling: the greater of $10,000 or 50% of your vested balance, capped at $50,000, repaid within 5 years in substantially equal payments at least quarterly (longer terms only for buying a principal residence). Enter your numbers and this page shows the real monthly payment, the interest you pay yourself, and the cost the brochure leaves out.
The left-out cost is opportunity. Every borrowed dollar leaves the market for the life of the loan: $20,000 borrowed for five years at 7% plan growth is roughly $8,000 of gains you never got - a number that usually dwarfs the interest you "paid yourself." And the tail risk is sharp: leave that job and most plans demand the balance fast or recharacterize the loan as a distribution - taxable, plus the 10% early-withdrawal penalty under age 59 and a half.
How to use
- Check your plan's loan policy first - the IRS sets the maximum, but plans can be stricter, and administrative fees ($50-100 setup, sometimes annual) come on top.
- Enter your vested balance (not the total - unvested employer money cannot back a loan), the amount, your plan's loan rate, and the term; the calculator caps the amount at the IRS ceiling automatically.
- Read all three outputs before deciding: the payment (it is payroll-deducted, after tax), the interest that returns to you, and the growth gap - then compare against the alternatives in the FAQs.
Worked examples
The standard $20,000 loan
Balance $80,000, borrowing $20,000 at 7 percent for 5 years: the cap column prints $40,000 (half the balance, under the $50,000 IRS ceiling), the payment is $396 a month, the interest line shows $3,761 - paid to yourself - and the honest catch is the $8,051 of market growth that money sat out at 7 percent. The true cost is that spread, not zero.
The small balance floor
Balance only $15,000? The IRS formula floors at $10,000 - lesser-of-half would say $7,500, but the floor lifts the cap to $10,000. Borrow it at 7 percent for 5 years: $198 a month, $1,881 of interest to yourself, $4,026 of growth sat out. Small accounts keep loan access because of that floor.
The capped borrower
Balance $120,000, want $80,000: the calculator caps at $50,000 (IRS ceiling binds before the half-balance rule) and flags the cap. At 7 percent over 5 years that is still $990 a month, $9,404 of interest to yourself - and $20,128 of forgone growth, which is where big loans stop being cheap.
Frequently asked questions
How much can I borrow from my 401(k)?
The IRS formula: the greater of $10,000 or 50% of your vested balance, capped at $50,000. A $40,000 balance allows $20,000 (the IRS's own example); a $15,000 balance still allows $10,000; anything above $100,000 vested hits the $50,000 cap. Your plan may allow less - the ceiling is a maximum, not an entitlement.
What are the repayment rules?
Within 5 years, in substantially equal payments that include principal and interest, at least quarterly - almost always via payroll deduction. Only a loan used to buy your principal residence may run longer. Miss the schedule and the loan defaults: it is treated as a distribution, taxable in the year of default, with the 10% penalty if under 59 and a half.
Is the 401(k) loan interest double-taxed?
Partly, yes - the honest framing: you repay the loan and its interest with after-tax payroll dollars, and the balance (including that interest) is taxed again when you eventually withdraw in retirement, for a traditional 401(k). You do earn the interest for yourself, but you pay tax on it twice, which is a real cost even at a comfortable rate.
What happens to my 401(k) loan if I quit or get laid off?
It accelerates. Most plans require the outstanding balance shortly after separation - commonly by the tax-filing deadline for the year you left - or they report the remainder as a taxable distribution with the 10% penalty if you are under 59 and a half. Roll the balance into an IRA or repay it before the deadline and the damage is avoided; this is the single biggest risk of the whole structure.
Is a 401(k) loan better than a hardship withdrawal?
Usually, yes. A loan repays yourself and returns the money to your account; a hardship withdrawal removes money permanently - taxed, penalized under 59 and a half, and irreplaceable (your contribution limit does not reset for it). The loan's weakness is the separation risk and the market gap; the withdrawal's weakness is everything else. Compare both against borrowing from anywhere else first.
How does a solo 401(k) loan work?
Same IRS limits - lesser of half your vested balance or $50,000, the $10,000 floor, five years - but one structural difference: with no employer payroll, repayment is on you. There is no automatic paycheck deduction, so a solo-plan loan is repaid by the checks you schedule yourself, which is exactly how good intentions become defaults. Confirm the plan document actually offers loans (a solo plan can omit them), and set up automatic transfers the week the check clears.
Can I repay a 401(k) loan bi-weekly?
Yes, and it quietly saves money: prepayment without penalty is standard on 401(k) loans, and federal rules only require level payments at least quarterly. Paying half the monthly amount every two weeks means 26 half-payments - 13 full months' worth a year - which retires a 5-year loan in roughly 4.6 years and trims the interest you pay yourself. Check that your payroll servicer applies the extra as principal, not as an early head start on the next scheduled payment.