Around 13% of 401(k) participants carry a plan loan at any given time, and leaving the employer turns that loan into a tax event most people never see coming. If you are planning to move the balance into a Gold IRA, the loan changes both the amount that actually transfers and the paperwork you file. Here is what happens to the loan, how much time you really have to fix it, and how to get the money where it belongs.
What Happens to Your 401(k) Loan the Day You Leave
When you borrow from a 401(k), the plan does not lend you outside money. It carves the loan out of your own account balance and holds the note as an asset of your account. While you are employed, payroll deductions repay it and nothing is reported to the IRS.
Separation from service breaks that arrangement. Payroll deductions stop. Most plans allow a short cure period, commonly through the end of the following calendar quarter, and if the balance is not repaid the plan reduces your account by the unpaid principal plus accrued interest. That reduction is called a plan loan offset, and it is an actual distribution. The plan reports it on Form 1099-R and transfers only the net balance.
A concrete example. You have $180,000 in the plan and a $22,000 outstanding loan. The direct rollover to your Gold IRA custodian is $158,000. The remaining $22,000 is reported as a distribution to you, even though you never received a dollar of it at separation.
What this means for you: the dealer quoting you on $180,000 is quoting on a balance that will not arrive. Plan the metal purchase around the net figure, and treat the offset as a separate problem with its own deadline.
Qualified Plan Loan Offset vs Deemed Distribution
Two similar-sounding events get very different treatment, and the difference decides whether you have any options at all.
A deemed distribution happens when you miss loan repayments while still employed and the loan defaults under the plan’s terms. The plan reports it with code L in box 7 of Form 1099-R. It is taxable, and it cannot be rolled over. The loan technically remains on the plan’s books until you separate.
A plan loan offset happens when the plan actually reduces your account balance to settle the loan, normally on separation or plan termination. An offset is an eligible rollover distribution. If the offset occurred because you separated from service or because the plan terminated, and the loan was in good standing at the time, it qualifies as a qualified plan loan offset, or QPLO. QPLOs are reported with code M in box 7, and the offset must occur within 12 months of the severance date to qualify.
What this means for you: check box 7 on the 1099-R before anything else. Code M means you have a rollover window and an extended deadline. Code L means the money is already taxable and no rollover will fix it. The IRS instructions for Form 1099-R spell out both codes.
How Long You Actually Have to Replace the Money
Most people assume 60 days, and for an ordinary offset that is correct. QPLOs are different. The Tax Cuts and Jobs Act extended the rollover deadline for QPLO amounts to the due date of your federal tax return for the year of the offset, including extensions. The IRS finalized regulations confirming this in January 2021.
In practice that can be a long runway. An offset that posts in March 2026 is a 2026 distribution. The 2026 return is due in April 2027, and with a filing extension the deadline runs to roughly mid-October 2027. That is around 18 months rather than two.
Two caveats. First, the extension only applies if you genuinely qualify, meaning separation from service or plan termination, not a default while still employed. Second, the extra months come from actually filing for an extension. If you file your return in February without one, your rollover window closed with it.
Where the Replacement Cash Comes From
This is the part that catches people off guard. The plan never sent you the offset amount, so to roll it over you have to supply the equivalent in cash from your own resources. Rolling over a $22,000 offset means depositing $22,000 of outside money into your Gold IRA.
One helpful piece of mechanics: an offset amount on its own is not subject to the mandatory 20% federal withholding that applies to cash eligible rollover distributions, because there is no cash for the plan to withhold from. You do not have to make up a withheld amount on top of the offset. If the plan pays you cash alongside the offset, the 20% is calculated on the combined figure.
You can roll over all of the offset, part of it, or none. Whatever you do not replace is taxable income for the year the offset occurred.
Getting the Offset Amount Into Your Gold IRA Correctly
Sequencing matters here, because two different transactions are landing at the same custodian and they are coded differently.
- Complete the direct rollover of the net balance first. Trustee to trustee, no withholding, nothing reported as income.
- Confirm your custodian accepts an indirect rollover contribution of a plan loan offset. Not every self-directed custodian’s onboarding paperwork has a box for this, and some will need it flagged by hand.
- Deposit the replacement cash and make sure it is coded as a rollover contribution, not an annual contribution. Coded as a regular contribution it would blow past the annual IRA limit and create an excess contribution problem on top of everything else.
- Buy metal after the funds settle, not before. Instructing a purchase against money that has not cleared is a common way to lose a quoted price.
- Check the Form 5498 your custodian issues the following May. The rollover amount should appear in box 2.
On your return, the 1099-R shows the gross offset as a distribution. You report the gross amount and then the portion rolled over, so the taxable amount lands at zero if you replaced the full sum. The IRS covers the general reporting mechanics in Topic no. 413, Rollovers from retirement plans.
What It Costs to Do Nothing
Take the same $22,000 offset, a 24% federal bracket, and age 55. Ordinary income tax comes to roughly $5,280. The 10% early distribution penalty adds $2,200. State income tax may add more on top. That is close to $7,500 in tax on money you never spent, and the $22,000 leaves the tax-deferred system permanently.
One partial relief valve: the separation from service exception to the 10% penalty, sometimes called the rule of 55, can apply if you left the employer in or after the calendar year you turned 55. That removes the penalty but not the income tax.
The Bottom Line
If you are leaving a job with a 401(k) loan and moving the balance into a Gold IRA, treat the loan as a separate line item rather than a rounding error. Ask the plan administrator what the offset amount will be and when it will post, confirm the 1099-R code once it arrives, and decide early whether you can source replacement cash. If the offset is a qualified plan loan offset you likely have until your extended tax filing deadline, which is far more room than the 60 days most people assume. That extra time only helps if you know you have it.
This article is educational and not tax advice. Plan loan offsets interact with your specific filing situation, and a CPA or enrolled agent should review the numbers before you commit to a rollover.
