Many employer plans let you borrow from your 401(k). You may borrow the lesser of $50,000 or half of your vested balance, and you repay the loan, with interest, through payroll deductions over up to five years (longer for a home purchase). The interest you pay goes back into your own account, so it can look like a loan with no cost. It does have costs: while the money is out, it is not invested, and you repay with after-tax dollars that will be taxed again when you withdraw them. This calculator shows the repayment, the growth you give up, the tax paid twice and the total cost.
How the calculation works
- Repayment = the standard loan payment for the amount, rate and term
- Interest to yourself = total repayments − amount borrowed
- Growth given up = what the money would have grown to if it stayed invested − the value of your repayments invested at the same return
- Tax paid twice = interest × your tax rate, since the interest is paid with after-tax money and taxed again at retirement
- Total cost = growth given up + tax paid twice
Example
You borrow $20,000 at 8.5 % over 5 years, so you repay $410 a month, which includes $4,620 of interest paid to yourself. If the plan would have earned 10 % a year, staying invested would have grown $1,131 more than the repayments do. The interest is taxed twice for $1,109, so the loan costs about $2,240. You could borrow up to $40,000 with a vested balance of $80,000.
Why it matters
A 401(k) loan is often cheaper than a credit card or a personal loan, and it has no credit check. Its true cost depends on the return you give up. If the markets rise more than the interest rate on your loan, you lose; if they rise less, you gain. The biggest danger is leaving your job: the balance usually becomes due by your tax filing deadline for that year, and any amount not repaid is treated as a withdrawal, taxed as income, with a 10 % penalty if you are under 59½.
Good to know
Not all plans allow loans, and some stop your contributions or the employer match while you repay. Plans set their own limits on the number of loans. Interest is not deductible for most people. If you are a few years from retirement, the lost growth hurts more, since you have less time to catch up. Compare the loan with other choices, such as a home equity line, a personal loan, or a hardship withdrawal, which costs far more in tax and penalties.
In practice
Borrow only what you need, keep your contributions going if the plan allows it, and plan for repayment if you may change jobs. This tool is educational and is not financial advice.