A loan taken against your 401(k) plan works differently than a conventional loan: you borrow your own money and pay it back to yourself, including interest; the terms are set by your retirement savings plan, not a bank. Our 401k loan calculator estimates your installment amounts, total interest, and the full repayment schedule. This allows you to see the true cost before deciding if this option makes sense for you.
.How the 401k loan calculator works
Enter the desired loan amount, the interest rate charged by your plan, and the repayment term. The tool calculates the installment amount, the total interest accrued over the life of the loan, and the total amount to be repaid; the principal is similar to a standard installment loan, except that the interest paid is not collected by a lender but is instead reinvested into your own account.
How 401(k) loans actually work
Unlike a standard withdrawal, a 401(k) loan is not subject to taxes or the 10% early withdrawal penalty, provided repayment follows your plan’s schedule. The IRS limits the amount of most 401(k) loans to the lesser of two figures: $50,000 or 50% of your account’s vested balance. The repayment term is usually limited to five years, though a longer period may be allowed if the loan is used to purchase your primary residence. Repayment is typically handled through automatic payroll deductions.
The interest you pay goes back to you
A key difference from other loans: the interest you pay on a 401(k) loan is deposited into your own account rather than being paid to an outside lender. However, this is not “free” money: since the borrowed capital is not invested in the markets for the duration of the loan, you forgo the returns that money could have generated during that period.
What happens if you leave your job?
This is the main risk associated with a 401(k) loan: if you leave your job—whether voluntarily or not—while there is still an outstanding balance, most plans require immediate repayment of that amount, often before the tax filing deadline for the current year. If you fail to repay the money on time, the remaining balance is treated as a distribution; it becomes taxable income and may incur a 10% early withdrawal penalty if you are under the age of 59½.
401(k) loan or early withdrawal?
A loan is usually a better option than an early withdrawal, as proper repayment does not trigger taxes or the 10% penalty. If you are undecided between the two options, you may find it helpful to use our 401k early withdrawal calculator to directly compare the true cost of this alternative.
When is a 401(k) loan advisable?
A 401(k) loan can be a good option for meeting a short-term financial need, provided you are confident you can meet the repayment schedule and are unlikely to change jobs while the loan is outstanding; indeed, losing your job turns the loan into a costly, taxable distribution. Conversely, using this type of loan to replace an emergency fund or to cover ongoing expenses you otherwise could not afford is generally not recommended.
The opportunity cost to consider
Even if the loan is repaid in full and on time, there are hidden costs: the borrowed amount is not invested while the loan is outstanding and, therefore, generates no returns. If the market performs well during the repayment period, the lost potential gains (in terms of capital appreciation) may exceed the interest you are, in a sense, paying to yourself; an aspect worth considering, beyond the most obvious costs.
Frequently Asked Questions
How much can I borrow from my 401(k) plan?
Most plans allow a loan for the lesser of two amounts: $50,000 or 50% of your account balance; however, your specific plan may set a lower limit.
Do I have to pay taxes on a 401(k) loan?
No, a 401(k) loan is not subject to taxes provided it is repaid according to your plan’s schedule; only the outstanding or unpaid balance is taxed as a withdrawal.
What happens if I cannot repay my 401(k) loan?
The outstanding balance is treated as a taxable withdrawal; additionally, a 10% early withdrawal penalty may apply if you are under age 59½.
Is a 401(k) loan preferable to a hardship withdrawal?
Generally, yes, since a properly repaid loan incurs no taxes or penalties, whereas a hardship withdrawal—while not requiring repayment—is subject to taxes and is irreversible.
Conclusion
A 401(k) loan can be a sensible option for meeting a short-term financial need, but it carries real risks if your employment situation changes before repayment is complete. Use the calculator above to determine actual monthly payments and the total cost, and compare this information with other alternatives—such as keeping your retirement savings invested—before applying for the loan. If, on the other hand, you are considering the cost of an early withdrawal, our 401k early withdrawal calculator will help you compare the two options.