A 401(k) loan costs nothing in tax while it is repaid on time. The risk is in what is still owed on the day your job ends, because many plans then take the unpaid balance out of your account and report it as a distribution. The figures below use one example loan, $30,000 at 8.5% (an example rate, not a quote) over five years with monthly payments of $615.50, from the 401(k) Loan Calculator, which follows 26 U.S.C. 72(p) and the Treasury regulation 26 CFR 1.72(p)-1.
How much is still owed, payment by payment
Each level payment is part interest and part principal, and in the early payments most of it is interest. On the example loan the principal falls by only $5,029 in the first twelve payments. Half of the loan is still owed until payment 34 (a little under three years), and the balance is not under $10,000 until payment 43. The balance is also what the plan would take out of your account if the job ended on that day:
| Payments made | Still owed | Share of the loan | Tax at 22%, plus the 10% before 59½ | Tax at 22%, no 10% |
|---|---|---|---|---|
| 12 (1 year) | $24,971.09 | 83.2% | $7,990.75 | $5,493.64 |
| 24 (2 years) | $19,497.65 | 65.0% | $6,239.25 | $4,289.48 |
| 36 (3 years) | $13,540.43 | 45.1% | $4,332.93 | $2,978.89 |
| 48 (4 years) | $7,056.61 | 23.5% | $2,258.11 | $1,552.45 |
The 22% is an example, applied to the whole amount; a large distribution is taxed across brackets and can push income into a higher one, and state tax is not included. At 24% the tax with the 10% added after two years is $6,629 instead of $6,239.
What the 10% depends on
The balance an offset takes out of your account is an actual distribution (26 CFR 1.72(p)-1, Q&A-13), so the usual early distribution rules apply: income tax, and the 10% additional tax if you are younger than 59½ unless an exception fits. One exception matters here: a distribution after you leave the employer in or after the year you turn 55 is not subject to the 10% (26 U.S.C. 72(t)(2)(A)(v); the IRS list of exceptions), which is the last column of the table (the age is 50 for certain public safety employees). A person who is laid off at 56 therefore pays income tax on an offset but not the additional tax; a person who leaves at 52 pays both.
The date: how long you have to roll it over
A plan loan offset caused by leaving the employer or by the plan ending is a “qualified plan loan offset amount,” and it can be rolled over until the due date, including extensions, of your tax return for the year of the offset (26 U.S.C. 402(c)(3)(C)). The IRS says this applies from January 1, 2018; before that it was the usual 60 days. The 2026 return is due April 15, 2027, or October 15, 2027 with an extension. The window therefore depends on when in the year the offset happens: from an offset on December 31, 2026 it is 288 days to October 15, 2027 (about nine and a half months), and from an offset on January 1, 2026 it is 652 days (about 21 months). The rule covers only an offset tied to leaving the job or the plan ending, and only a loan that met the section 72(p) rules, not one that was already a deemed distribution.
What you roll over is the amount of the offset, from your own money. The plan has already used the account to settle the loan, so rolling it over means putting $19,498 of cash into an IRA or another plan after two years of payments on the example loan, and being able to do it is what separates a tax bill of $6,239 from none. If your plan lets a former employee keep repaying, there is no offset and no deadline; whether yours does is up to the plan.
Falling behind while you still work is worse
A missed payment in a plan that you stay in is different, because it is a deemed distribution and not an offset. A deemed distribution cannot be rolled over (Q&A-12), and its amount is the whole outstanding balance with the interest that has built up (Q&A-10). The regulation's own example is a $20,000 loan repaid monthly with twelve payments made and the next one missed: with a three-month cure period the deemed distribution is $17,157, and if the plan allows the cure period to run to the end of the next quarter it is $17,282. The tax is the same kind of tax as on an offset, but nothing lets you undo it, and the unpaid loan stays on the books: it still counts against how much you can borrow later, and a later loan needs payroll deduction or other security (Q&A-19).
Against the interest a lender would have charged
A lender at 10% would charge $8,245 of interest over the same five years. The tax on an unpaid balance is a different kind of cost: it is paid only if the job ends and the balance is not rolled over, and it can be avoided. But its size is the point. After one year the tax on the unrolled balance, $7,991, is within a few percent of all the interest the lender would have charged in five years. The exposure is largest in the first two years of a loan and falls as the balance does, and it matters most to someone who could not find the cash to roll the balance over.
What this leaves out
Your plan's own terms (whether it lets you continue repayments after you leave, how long a cure period it allows, fees); state income tax; after-tax money in the account, which reduces the tax; the effect of a large distribution on your brackets and on the credits and premiums that depend on income; the disaster rules that raise the limit and extend repayment for qualified individuals (72(p)(6)); leaves of absence and military service; and how the offset is reported on Form 1099-R, which was not read for this guide. The 8.5% rate and the 22% and 24% tax rates are examples. Nothing here is personal tax advice; confirm the terms with your plan administrator and the tax with a professional.
Sources
- 26 CFR 1.72(p)-1 — Q&A-10 (a missed installment: the whole balance with accrued interest, and the cure period), Q&A-12 (a deemed distribution cannot be rolled over), Q&A-13 (an offset is an actual distribution), Q&A-19 (the unpaid loan still counts toward later loans)
- 26 U.S. Code § 402(c)(3)(C) — a qualified plan loan offset amount can be rolled over until the due date, with extensions, of the return for the year of the offset
- IRS — Retirement plans FAQs regarding loans: what a plan loan offset is, that it can be rolled over, and that the longer deadline applies from January 1, 2018 to an offset caused by plan termination or severance from employment
- 26 U.S. Code § 72(p) and (t) — the loan rules, and the 10% additional tax on early distributions, including the exception for a distribution after separation from service in or after the year you turn 55
- IRS — Exceptions to tax on early distributions: separation from service during or after the year the employee reaches age 55