401(k) Loan Repayment Calculator
Estimate a level payroll or quarterly payment, total interest returned to the account, and the maximum additional plan loan allowed by the federal vested-balance and prior-loan limits. The compliance panel keeps repayment term, payment frequency, principal-residence purpose, and job-separation risk separate.
Two federal limit gates determine the maximum new loan
A qualified plan loan is generally taxable unless it fits the section 72(p) exception. The main amount test compares a dollar gate with a vested-account gate. The dollar gate starts at $50,000 and is reduced by the excess of the highest outstanding balance during the one-year lookback over the outstanding balance on the new-loan date. The vested gate is generally 50% of the participant’s vested accrued benefit.
The law permits an alternative vested gate equal to the greater of $10,000 or 50% of the vested benefit, but a plan is not required to offer that exception and additional security may be necessary. The calculator uses it only when explicitly selected. After finding the smaller aggregate limit, it subtracts loans already outstanding to determine room for the proposed new borrowing.
Loans from all plans of the employer and related employers can enter the aggregation. A participant cannot evade the limit by splitting borrowing among multiple accounts. The plan may also allow fewer loans, charge origination fees, or impose a lower minimum and maximum.
How the level payment is calculated
The payment uses ordinary installment-loan amortization. The annual interest rate is divided by the number of payments per year, and the term determines the number of scheduled payments. Each payment includes interest on the outstanding balance and enough principal to bring the balance to zero after the final period.
Interest is credited back to the participant’s account under plan operations, but that does not make the borrowing free. The participant pays with after-tax cash, investment exposure can change while money is out of the account, and interest may eventually be distributed as taxable retirement money. Payroll fees and missed market returns are not included in the payment.
The first-payment split shows how much goes to interest and principal at the start. Later payments generally contain less interest and more principal. Actual payroll rounding can leave a small final adjustment, so the plan administrator’s schedule controls.
Five years, principal residence, and payment frequency
A participant loan generally must be repaid within five years. A longer term can qualify when the loan is used to acquire a dwelling that will, within a reasonable time, be the participant’s principal residence. The exception does not cover every home improvement, second home, refinancing, or general housing expense, and the plan must actually provide the longer term.
Payments must be substantially level, include principal and interest, and occur at least quarterly. Monthly, semimonthly, biweekly, and weekly payroll schedules satisfy the frequency screen when payments are made as scheduled. A balloon structure or annual payment generally does not.
Authorized military service and a leave of absence can permit limited suspension rules. A leave suspension does not simply erase payments; the participant may need a higher later payment or lump-sum catch-up while preserving the original maximum term. Use an updated plan schedule rather than the original payment after a suspension.
Loan versus taxable withdrawal
Compliant plan loan
Loan proceeds are not generally included in income when the amount, agreement, term, and repayment requirements are satisfied. Repayments restore principal and interest to the retirement account.
Deemed distribution risk
A loan that exceeds limits or defaults can be treated as a taxable deemed distribution. Income tax and the 10% additional early-distribution tax may apply, while the participant can still owe the plan under its terms.
A deemed distribution and a plan loan offset are not identical. A loan offset can occur when the account is reduced to repay the outstanding balance, such as after separation or plan termination. Certain qualified plan loan offsets receive an extended rollover deadline through the tax-return due date, including extensions. Documentation and Form 1099-R coding matter.
Job separation is the central repayment risk
A plan can require repayment when employment ends or can offset the outstanding loan against the participant’s account. Someone planning a five-year loan should ask what happens after resignation, layoff, disability, death, corporate transaction, or plan termination. The payroll payment may no longer be available.
If a taxable offset occurs, replacing the offset amount in an IRA or eligible plan by the applicable rollover deadline may avoid current tax, but doing so requires outside cash. A participant who borrowed because cash was limited may not be able to replace the balance after losing a job.
Stress-test the loan as though employment ends next year. Compare the projected outstanding balance with emergency savings and severance. This calculator calculates scheduled repayment, not the probability of continued employment.
Example: $30,000 repaid biweekly
Assume an $80,000 vested balance, $5,000 currently outstanding, and a $15,000 highest outstanding balance during the prior year. The lookback reduces the $50,000 dollar gate by $10,000, producing $40,000. Half the vested account is also $40,000. After subtracting the current $5,000 loan, the maximum additional amount is $35,000.
A proposed $30,000 loan therefore fits the modeled federal amount limit. At 8% over five years with 26 payments per year, the unrounded level payment is about $280.34, displayed as $280. Total scheduled payments are approximately $36,444, including about $6,444 of interest returned to the participant’s account.
The first payment includes roughly $92 of interest and $188 of principal. These rounded display figures will differ slightly from a payroll administrator that rounds each period or charges a fee.
Why the payoff balance falls slowly at first
A level-payment loan does not reduce principal by the same amount every payday. Interest is calculated from the remaining balance, so the interest share is largest near origination and becomes smaller as principal is repaid. The payment stays level, but progressively more of it reaches principal. That pattern explains why multiplying the first principal amount by the number of payments understates the actual repayment path.
This matters when comparing a planned resignation date with the payoff schedule. The balance after one year is not simply the original loan minus one-fifth of principal. Request the administrator’s amortization schedule or current payoff quote before deciding how much outside cash would be needed after a separation. A payroll date can also differ from the date a payment posts to the plan.
Extra payments are controlled by the plan and loan document. Some recordkeepers allow a full payoff but do not accept irregular principal-only installments. The calculator therefore models the scheduled level payment and does not assume optional prepayments. If a plan permits early payoff, obtain its exact posting and wire or check instructions.
Before signing the participant loan note
- Read the loan policy.
Confirm eligibility, purposes, number of loans, fees, rate, repayment frequency, spousal consent, and separation treatment.
- Verify the lookback.
Use the highest aggregate balance during the full preceding year, not only today’s outstanding balance.
- Protect payroll cash flow.
Model the payment alongside taxes, benefit deductions, emergency savings, and retirement contributions.
Loan repayments are not new plan contributions and do not create a tax deduction. A participant should also confirm whether payroll contributions and employer match will continue while repaying the loan.
Questions participants ask about plan loans
Can every 401(k) participant borrow?
No. A plan may offer participant loans but is not required to do so. The summary plan description and loan policy determine availability and can be more restrictive than federal maximums.
Is the interest tax deductible?
Generally, participant-loan interest is not treated like ordinary deductible home-mortgage or student-loan interest merely because the participant pays it back to the account. Special prohibited-transaction and interest rules require professional review.
Can a primary-residence loan last longer than five years?
Federal law permits a longer repayment period for a qualifying loan used to acquire the participant’s principal residence, but the plan must allow it and define acceptable documentation and term.
What if I miss a payroll payment?
Plans may provide a cure period within regulatory limits. A continuing failure can produce a deemed distribution. Contact the administrator immediately rather than assuming the next check automatically cures it.
Does repayment increase my annual contribution limit?
No. Loan repayments restore borrowed principal and interest but are not elective deferrals or employer contributions. They do not create extra employee contribution room.
To compare borrowing with leaving the account untouched, model the unborrowed balance in the 401(k) calculator.
References
Federal amount and repayment rules: IRS Retirement Topics—Loans and IRS Retirement Plans FAQs Regarding Loans. Deemed-distribution mechanics: IRS Deemed Distributions—Participant Loans.
Planning notice: This calculator does not approve a loan or interpret a plan document. It excludes fees, payroll rounding, investment results, leave/military suspension schedules, rollover execution, spousal consent, and tax on default or offset. The plan administrator’s written terms control.