401k Loan Tax Calculator
Estimate the tax impact of a 401(k) loan that is repaid, defaulted, or treated as a deemed distribution. This calculator helps you see possible federal tax, state tax, the 10% additional early distribution tax, and the net amount you keep after taxes.
Calculate your estimated tax cost
Enter your outstanding loan balance and your tax assumptions. If your loan is repaid on time, the estimated tax cost is generally zero. If it defaults or becomes a taxable plan loan offset that is not rolled over, the outstanding balance may become taxable.
Tax impact chart
Visualize how much of the unpaid 401(k) loan could go to federal tax, state tax, early distribution penalty, and how much value remains after estimated taxes.
Quick rules to know
- Most plans cap a participant loan at the lesser of $50,000 or 50% of the vested account balance under IRS rules.
- A 401(k) loan is generally not taxable when properly repaid under plan terms.
- If you miss required payments and the loan defaults, the outstanding amount can become a deemed distribution.
- If you leave your employer, an unpaid balance can become a plan loan offset. Tax can still apply if you do not complete an eligible rollover by the applicable deadline.
- If you are under age 59.5, the 10% additional tax may apply unless an exception is available.
Expert guide: how a 401(k) loan tax calculator works
A 401(k) loan tax calculator is designed to answer one of the most important questions in retirement planning: what happens if a borrowed balance from your retirement plan becomes taxable? Many workers think a 401(k) loan is automatically tax free because they are borrowing their own money. That is only partly true. A plan loan can be non-taxable when it is issued and repaid according to the written plan rules. But if the loan fails the repayment rules, defaults, or becomes a taxable loan offset that is not rolled over in time, the outstanding amount can be treated like a distribution for tax purposes.
This distinction matters because the tax cost can be substantial. You may owe ordinary federal income tax, state income tax, and potentially a 10% additional tax for early distributions if you are under age 59.5 and no exception applies. In real life, the financial hit can be even larger because the money also loses future tax deferred or tax free compounding that would have stayed in the account.
The calculator above focuses on the tax event itself. It estimates what portion of the unpaid loan balance could be lost to taxes and penalties. That makes it useful for three main situations: deciding whether to take a 401(k) loan in the first place, evaluating the cost of missing payments, and comparing whether it is worth using other cash sources to avoid a taxable default.
What is a 401(k) loan?
A 401(k) loan lets you borrow from your own retirement account if your employer plan permits loans. The Internal Revenue Service generally limits participant loans to the lesser of $50,000 or 50% of the vested account balance. Repayment usually must occur within five years unless the loan is used to buy a principal residence and the plan allows a longer period. Payments are commonly made through payroll deduction.
Because the borrowed amount is expected to be paid back, a compliant 401(k) loan is not generally taxed at the time you receive the money. However, if repayments stop or the loan otherwise violates plan terms, the balance can be reclassified for tax purposes. That is exactly when a 401(k) loan tax calculator becomes valuable.
| Key IRS 401(k) figures | Amount / Rule | Why it matters for loan tax planning |
|---|---|---|
| Maximum general 401(k) loan amount | Lesser of $50,000 or 50% of vested account balance | This is the standard ceiling that determines how much can become taxable if the loan later defaults. |
| Typical maximum repayment period | 5 years for most loans | Missing the required amortization schedule can trigger a deemed distribution. |
| Additional tax on early distributions | 10% | Often applies when a defaulted loan is taxable and the participant is under age 59.5 without an exception. |
| 2025 employee elective deferral limit | $23,500 | Shows how valuable contribution space is if loan problems interrupt long term retirement saving. |
| 2025 age 50+ catch-up contribution | $7,500 | Older workers may have more room to rebuild after a loan issue, but taxes on defaults can still be painful. |
When a 401(k) loan becomes taxable
There are two common taxable outcomes. The first is a deemed distribution. This can happen when you fail to make required loan payments under the plan and the missed payments are not cured within the permitted correction period. The second is a plan loan offset, which often happens when employment ends or the plan terminates and the unpaid loan balance is offset against the account balance. In a loan offset situation, rollover treatment may still be available if completed by the applicable deadline. If no eligible rollover occurs, the offset amount can become taxable.
For many users, that means the calculator should be interpreted as an estimate of the tax cost when the unpaid balance is not repaid or not rolled over. If the loan is repaid on time and remains in good standing, the estimated tax cost is generally zero.
How the calculator estimates taxes
The calculator uses a straightforward method:
- It starts with the unpaid 401(k) loan balance you enter.
- If the status is set to repaid on schedule, the taxable amount is treated as zero.
- If the status is defaulted or loan offset not rolled over, the unpaid balance is treated as a taxable amount.
- Federal income tax is estimated by multiplying the taxable balance by your federal marginal rate.
- State tax is estimated by multiplying the taxable balance by your state tax rate.
- If you are under age 59.5 and no exception applies, the calculator adds the 10% additional tax.
- The tool then shows the total estimated tax cost and the net amount left after taxes.
This method is useful because it mirrors the practical question most savers ask: if my loan goes bad, how much of that balance do I effectively lose to taxes and penalties? While your actual tax return may involve more detail, this estimate is a strong planning baseline.
Why tax rates matter so much
The hidden risk of a 401(k) loan default is that the unpaid balance is taxed as ordinary income, not at lower long term capital gains rates. For someone in the 22% federal bracket living in a 5% state, a taxable loan could easily generate a combined 27% tax hit before any early distribution penalty. If that same person is younger than 59.5 and does not qualify for an exception, the total cost rises to 37%.
That means a $15,000 unpaid loan balance could produce thousands of dollars in taxes. The person may have already spent the loan proceeds months or years earlier, so there may be no cash reserved for the tax bill. This is one reason a 401(k) loan can become riskier after job loss, reduced hours, or financial stress.
| Scenario | Federal tax | State tax | 10% additional tax | Typical result |
|---|---|---|---|---|
| Loan repaid on schedule | Usually none at issuance | Usually none at issuance | None | No current taxable distribution if plan rules are followed |
| Loan default while under age 59.5 | Ordinary income tax may apply | State income tax may apply | Usually 10% unless an exception applies | Potentially the highest tax cost |
| Loan default at age 59.5 or older | Ordinary income tax may apply | State income tax may apply | Typically none | Still taxable, but often no 10% additional tax |
| Plan loan offset rolled over by the applicable deadline | May be avoided | May be avoided | May be avoided | Rollover can preserve tax deferral if completed correctly |
Important exceptions and limitations
A good 401(k) loan tax calculator gives you a realistic estimate, but no online tool can capture every tax exception automatically. Some people may qualify for an exception to the 10% additional tax. Others may be able to complete a rollover of a qualified plan loan offset by the tax filing deadline, including extensions, and avoid current taxation. State tax treatment can also vary. Some states tax retirement distributions broadly, while others exclude some or all retirement income under specific rules.
That is why the calculator includes a penalty exception option. If you know an exception applies, turning that option on removes the 10% additional tax from the estimate. If you are unsure, it is usually safer to leave the exception off for a conservative planning figure and verify the details with a CPA, enrolled agent, or qualified tax attorney.
Common mistakes people make with 401(k) loans
- Assuming a loan is harmless because it is “their own money.” The tax risk appears later if repayment fails.
- Ignoring job loss risk. Leaving an employer can accelerate the problem if the unpaid balance becomes a plan loan offset.
- Underestimating the total cost. Taxes plus penalties plus lost growth can far exceed the interest paid on the loan.
- Forgetting state taxes. Even a modest state rate adds meaningfully to the overall cost.
- Missing a possible rollover opportunity for a plan loan offset.
How to use this calculator strategically
Use the tool in at least three ways. First, test a “before borrowing” scenario. Enter a proposed loan amount and your tax rates, then see the cost if the loan later defaults. This gives you a true downside estimate, not just the monthly payment. Second, run a “job change” scenario. If you may leave your employer soon, estimate the tax impact of an unpaid balance that cannot be repaid or rolled over in time. Third, compare options. For example, you can compare the tax cost of defaulting on a 401(k) loan versus using savings, a lower rate personal loan, or temporary budget cuts to keep the retirement loan current.
For many households, the result is eye opening. A borrowing decision that looked manageable can become expensive once ordinary income tax and penalties are included. This is especially true for middle income and upper middle income taxpayers in combined federal and state brackets near 27% to 35% before the additional 10% tax.
Best practices to avoid a taxable 401(k) loan event
- Borrow only when the need is high priority and short term.
- Keep the loan balance as low as possible.
- Understand your plan repayment rules before taking the loan.
- Ask how payroll changes, leave, or termination affect the loan.
- Maintain an emergency fund so a missed paycheck does not immediately jeopardize repayment.
- If employment ends, review rollover rights quickly and confirm deadlines in writing.
- Coordinate with a tax professional if a default or offset is possible.
Authoritative resources
If you want to confirm the rules behind this 401(k) loan tax calculator, review these sources:
- IRS: Retirement Plans FAQs Regarding Loans
- IRS: Tax on Early Distributions
- U.S. Department of Labor: ERISA and Retirement Plans
Bottom line
A 401(k) loan can look convenient because approval is often easy and there may be no credit check. But the real risk is not just the payment. The real risk is the tax event that can occur if repayment fails. A reliable 401(k) loan tax calculator helps you quantify that risk in dollars. By estimating federal tax, state tax, and possible early distribution penalties, you can make a more informed decision before borrowing or before a loan problem gets worse.
If your calculated tax bill is larger than expected, that is a strong signal to explore alternatives. In many cases, protecting retirement assets and avoiding a taxable default can save far more than the short term convenience of taking or neglecting a plan loan. Use the estimate as a planning tool, then verify the final treatment with a qualified tax advisor who can review your exact facts.