What happens to your 401(k) loan if you leave your job

Most plans make the loan due when you leave. Whatever you don't repay is subtracted from your account (a "loan offset") and taxed as a distribution, unless you put the same amount into an IRA or a new employer's plan by the due date of that year's tax return, including extensions. For a 2026 offset that's April 15, 2027, or October 15, 2027 if you file an extension.

The loan

Most you can borrow: $30,000 under the usual plan limit (half your vested balance), $30,000 under the tax code.

The rate is set by your plan and printed on the loan paperwork. Prefilled: the prime rate (7% on October 21, 2026, Federal Reserve H.15) plus 1 point, as an example. Change it to your plan's rate.

You

An assumption, not a forecast. Try 0% and 10% to see how much the answer depends on it.

Cutting contributions or leaving your job

Earnings statement

401(k) loan repayment, after-tax deduction

$140.17 out of each paycheck, 130 times

Total you repay$18,222
Of that, interest (paid into your own account)$3,222
Pay before tax it takes to cover one payment$179.71
Tax you'll likely owe later on that interest$709
Your 401(k) when the loan is paid off, no loan$80,294
Same date, with the loan$81,351
Ahead with the loan$1,057
The difference at age 65, at the same return$3,391

If you leave after 24 months

You'd still owe $9,707. To keep it from being taxed, repay it before the plan offsets it, or deposit the offset amount in an IRA or new plan by the due date of your 2028 tax return (April 15, 2029, or October 15 with an extension). Otherwise it's treated as a withdrawal:

Income tax at your rates$2,136
10% early withdrawal tax$971
Cost of not repaying$3,106

Estimates from your inputs, not tax advice. Tax uses your marginal rates; the real bill depends on your whole return.

The timeline, step by step

  1. You leave. Quitting, a layoff and a firing are treated the same way.
  2. The plan asks for the balance. Your plan document decides when. Some plans offset the loan as soon as you take a distribution or roll the account out; some give you a set period first; some let you keep paying.
  3. The offset. If you don’t repay, the plan subtracts the unpaid balance from your account. That amount is now an actual distribution, reported on Form 1099-R (code M when it’s a qualified plan loan offset).
  4. Your rollover window. You can deposit the same dollar amount, from any source, into an IRA or a new employer’s plan that accepts rollovers. Do that by the deadline and the offset isn’t taxed.
  5. Whatever isn’t rolled over is income for the year of the offset, plus the 10% additional tax if it applies.

You have until your tax deadline, not 60 days

Before 2018, you had 60 days to cover a loan offset, which is why so many job changes ended in a tax bill. The Tax Cuts and Jobs Act changed that for offsets caused by leaving a job. Under IRC 402(c)(3)(C), a qualified plan loan offset can be rolled over until the due date, including extensions, of your tax return for the year the offset happened.

To qualify, the offset has to happen:

  • only because you left your job (or the plan was terminated) and couldn’t meet the repayment terms, and
  • within 12 months after you left.

If you left in March 2026 and the plan offset the loan in June 2026, you have until April 15, 2027 to deposit the money. File an extension and you have until October 15, 2027. An offset that happens more than a year after you left, or for another reason, gets only 60 days.

What it costs if you can’t come up with the money

Here’s a worked example. You’re 42, in the 22% federal bracket, with a 5% state tax, and you leave with $12,000 still owed.

Amount
Unpaid balance offset $12,000
Federal income tax at 22% $2,640
State income tax at 5% $600
10% additional tax (under 55 in the year you leave) $1,200
Total cost of not repaying $4,440

That $4,440 comes due when you file, on top of whatever else you owe. Roll over half the balance and you cut it in half. The calculator above runs this for your own balance; open “Cutting contributions or leaving your job” and pick a month.

The age 55 rule

If you leave your job in or after the calendar year you turn 55, the 10% additional tax doesn’t apply to distributions from that employer’s plan, including a loan offset. The income tax still does. For qualified public safety employees the age is 50, or 25 years of service under the plan, whichever comes first.

This applies to the plan of the job you left. Money you roll to an IRA loses it, because the age 55 exception doesn’t cover IRAs.

Ways to cover the offset

  • Cash you have. Savings, a severance check, an emergency fund.
  • Your next employer’s plan. If it accepts rollovers, you can deposit the offset amount there. You still need the cash to make the deposit.
  • A personal loan. Borrowing to fund a rollover is allowed, since the money can come from any source. Compare the loan’s total interest and fees with the tax you’d avoid ($4,440 in the example above). If the interest is lower and you can carry the payment, it can come out ahead. The comparison tool does that arithmetic.
  • Part of it. You can roll over any portion. Each dollar you deposit is a dollar that isn’t taxed.

Before you give notice

If you’re planning to leave, the cheapest move is to deal with the loan while you still have a paycheck: ask the plan for a payoff amount, ask whether you can keep paying after you leave, and write down the offset date once you know it. If a layoff is the reason, ask whether your severance can be applied to the loan.

The deadline rules above come from the statute and the current IRS regulations at 26 CFR 1.402(c)-2(g). Your plan’s own loan policy decides when the offset happens.

Questions people ask

Can I roll over only part of a loan offset?

Yes. The IRS regulations let you roll over any amount up to the offset. Only the part you don't roll over is taxed, along with the 10% additional tax if it applies.

How is a loan offset reported?

On Form 1099-R from the plan. A qualified plan loan offset uses distribution code M. You report any part you rolled over as a rollover on your Form 1040.

Can I keep paying my 401(k) loan after I leave?

Some plans allow it, usually by direct payment instead of payroll deduction. Many don't. Ask the plan administrator before your last day, because it changes your options.

Will I pay the 10% penalty on a loan offset?

Only on the part you don't roll over, and only if you're under 59½ and no exception applies. If you left the job in or after the year you turned 55, the 10% doesn't apply to distributions from that employer's plan.

Price the alternative before you borrow

A personal loan leaves your retirement money invested. Check a rate with a lender and put it next to your 401(k) loan.

Check loan rates