Do I Pay Taxes on a 401k Loan? Free 401(k) Loan Tax Calculator
POINTS
-
401(k) loans are generally tax free when IRS rules are met.
-
Loan defaults can create taxable income.
-
Leaving your job can make the loan taxable.
-
Some loan offsets qualify for rollover.
-
Loan repayments are generally not taxable.
-
401(k) loans generally avoid the 10% penalty.
If you’re considering a 401(k) loan, the money you borrow comes from your retirement account rather than from a bank or other lender.
You may use the money for a major expense, debt, or another financial need while continuing to make payments back to the plan.
That means you are borrowing against savings that would otherwise remain in your retirement plan.
401(k) Loan Calculator
Can You Have Multiple 401(k) Loans?
Find out when you may be able to take multiple 401(k) loans, how plan limits work, what happens when loans overlap and the tax consequences to watch for.
See The 401(k) Loan Rules
Do I Pay Taxes on a 401(k) Loan?
No, a 401(k) loan is generally not taxable when you take it out, as long as the loan meets IRS requirements and you follow the repayment schedule.
The IRS treats it as a distribution only if the loan fails to meet qualified plan rules.
So, when you take a valid loan, you are simply borrowing from your account and later repaying yourself; you do not recognize income at loan issuance.
| 401(k) Loan Situation | Tax Treatment |
|---|---|
| Take a qualifying 401(k) loan | Generally not taxable |
| Repay the loan as required | No income tax on the loan |
| Miss required payments | Unpaid balance may become taxable |
| Loan goes into default | Outstanding balance is generally taxable |
| Under age 59½ when taxable | 10% additional tax may apply |
| Leave your job with a loan | Unpaid balance may become a taxable distribution |
Do 401(k) Loans Show On Your Credit Report?
Find out whether a 401(k) loan appears on your credit report, affects your credit score, or can still matter when applying for other loans.
When Is a 401(k) Loan Tax-Free?
A 401(k) loan is tax-free only if it meets strict IRS criteria.
| When Is a 401(k) Loan Tax-Free? | Tax Treatment |
|---|---|
| Loan follows your plan's rules | Tax-free |
| Borrow within IRS limits | Tax-free |
| Make required payments | Tax-free |
| Repay generally within 5 years | Tax-free |
| Use loan to buy your main home | May qualify for a longer repayment period |
| Miss required payments | Unpaid balance may become taxable |
| Loan defaults | Generally treated as a taxable distribution |
If the loan meets all these conditions, it is not a taxable distribution.
Borrowing $20,000 (≤50% vested and ≤$50,000 limit) and repaying it in equal quarterly payments over 5 years will not trigger tax, as long as you don’t miss payments.
Who gets the interest on a 401(k) loan?
See where your 401(k) loan interest goes, how repayments work, and the potential retirement costs of borrowing from your account.
See How 401(k) Loan Interest Works
When Does a 401(k) Loan Become Taxable?
A loan becomes taxable if you violate any of the criteria.
- Loan exceeds limits: Borrowing more than the $50k or 50% vested limit. For example, if you borrow $70k with only $100k vested, the IRS treats the extra $20k as a distribution immediately.
- Repayment period too long: If repayment exceeds 5 years for non-home loans, the entire loan is deemed distributed when made.
- Non-level payments or missed payments: If your payment schedule is not substantially level, or you fail to make required payments on time, the unpaid balance becomes a distribution at the time of default.
- No enforceable loan: If no binding agreement exists, the loan is immediately treated as a distribution.
If a 30-year-old defaults on a $10,000 plan loan, that $10k is included in income and a $1,000 penalty may apply.
What Happens If You Leave Your Job With a 401(k) Loan?
When you leave service, or your employer ends the plan, any outstanding 401(k) loan usually becomes due immediately or within a short grace period.
Plan rules vary, but most require repayment by the next payroll cycle or tax filing deadline.
If you don’t repay, the plan offsets the loan, and it reduces your account balance by the unpaid principal, treating that offset amount as a distribution.
| If You Leave Your Job | What Happens |
|---|---|
| You leave with a 401(k) loan | Your plan may require you to repay the balance. |
| You repay the loan | No tax is generally due on the loan. |
| You don't repay | The unpaid balance may become a taxable distribution. |
| The plan offsets the loan | The unpaid balance is taken from your 401(k) and reported as a distribution. |
| You roll over the offset | You may be able to avoid current income tax on the offset amount. |
| You're under 59½ | A 10% additional tax may apply to the taxable amount, unless an exception applies. |
Are 401(k) Loan Payments Taken From Your Paycheck?
Find out how 401(k) loan payments are deducted from your paycheck, whether they are pre-tax or after-tax, how often payments are made and what happens if you miss one.
See How 401(k) Payments Work
Do You Pay Taxes on 401(k) Loan Repayments?
No, repaying your 401(k) loan does not generate a new tax event.
You already paid no tax when the funds were loaned since it was your pre-tax money, and loan repayments simply return that money to the account.
So, making your required payments or pre-paying does not create taxable income.
401(k) Loan vs. 401(k) Withdrawal
| Feature | 401(k) Loan | 401(k) Withdrawal |
|---|---|---|
| What it means | Borrow money and repay it | Take money out permanently |
| Tax when taken | Generally none | Generally taxable |
| 10% penalty | Generally none if rules are followed | May apply before age 59½ |
| Repayment | Required | None |
| Loan limit | Generally 50% of vested balance, up to $50,000 | Depends on plan and withdrawal rules |
| Retirement savings | Money returns when repaid | Savings are permanently reduced |
| If you don't repay | Unpaid balance may become taxable | Not applicable |
So, loans generally have no immediate tax or penalty, whereas withdrawals do.
Personally, I think a 401(k) loan is often a better short-term option than a hardship withdrawal if you plan to repay.
Here is a demo chart comparing a hypothetical $15,000 need filled by a loan vs. a withdrawal:
| Type | Amount Borrowed / Withdrawn | Taxes & Penalties | Amount You Keep | Remaining Account Balance |
|---|---|---|---|---|
| Loan | $15,000 | $0 | $15,000 | (unchanged) |
| Withdrawal | $15,000 | ~$5,000 (25%*) | ~$10,000 | Reduced by $15,000 |
*Assuming 10% federal withholding, 5% state, and a 10% penalty.
Can You Use a 401(k) as Collateral for a Loan?
401(k) Loan Taxation FAQ
No. A qualifying 401(k) loan is generally not taxable when you receive the money.
A 401(k) loan is generally tax-free when it meets IRS requirements for the loan amount, repayment period, and payment schedule.
A 401(k) loan can become taxable if you default or fail to meet the applicable repayment rules. The unpaid balance may then be treated as a taxable distribution.
The temporary COVID-era 401(k) loan rules have expired, so the regular IRS loan rules generally apply now.
Your plan may offset the outstanding loan balance against your 401(k) account. The offset can become taxable unless you repay or roll over the eligible amount within the applicable deadline.
No. Loan repayments themselves are not taxable, although you repay the loan with after-tax money plus interest.
A loan must generally be repaid and is not taxed when issued, while a withdrawal is generally taxable and may also be subject to an early-withdrawal penalty.
A defaulted loan can generally be treated as a taxable distribution. Certain loan offsets may qualify for rollover under special rules and deadlines.
A qualifying loan is generally not taxable for state income tax purposes, but a loan treated as a distribution may be subject to state taxes depending on your state's rules.
A plan generally cannot exceed the federal loan limits, although it can impose lower limits or stricter repayment terms.
References:

4 Comments