When a 401k participant dies with an outstanding loan, the plan cancels the debt by subtracting the unpaid balance from the account in a bookkeeping move called a loan offset. Nobody inherits the loan itself, but the account shrinks by the offset amount before any beneficiary receives a payout, and the IRS treats that reduction as a taxable distribution. So the short version of what happens to a 401k loan when you die: the loan disappears, the account gets smaller, and someone owes income tax on the difference.
How the Loan Offset Works
A 401k loan is secured by the account balance itself. When the borrower dies, the plan administrator closes out the loan by reducing the account by whatever amount is still unpaid. The IRS treats this reduction as an actual distribution from the plan rather than a paper adjustment.1eCFR. 26 CFR 1.72(p)-1 Once the offset is booked, the loan is fully satisfied and no one owes the plan anything more.
Loans are capped at the lesser of $50,000 or half of the participant’s vested balance.2Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts So the offset can range from a few thousand dollars up to $50,000. Whatever the figure, it comes off the top before the beneficiary sees anything.
Most plans treat death as an immediate default. There is generally no grace period, no option for the estate or the beneficiary to keep making the scheduled payments, and no way to preserve the loaned amount inside the account. Plan documents control the specifics, but the offset is close to universal.
Who Pays the Tax on the Offset
Because the offset counts as an actual distribution, it is taxed as ordinary income for the year it happens. The IRS instructs plan administrators to issue the Form 1099-R in the name of the beneficiary, trust, or estate that receives the distribution, not the deceased participant.3Internal Revenue Service. Instructions for Forms 1099-R and 5498 The tax bill lands wherever the plan directs the money.
One saving grace: distributions triggered by the participant’s death are exempt from the 10% early withdrawal penalty that would otherwise apply to money taken before age 59½.4Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions The administrator flags the payout with distribution code 4 on the 1099-R.3Internal Revenue Service. Instructions for Forms 1099-R and 5498 Regular income tax still applies, but skipping the penalty matters on a large offset.
The Offset Cannot Be Rolled Over
Some plan loan offsets qualify for rollover treatment, which lets the recipient move the offset amount into an IRA and sidestep the tax. The IRS defines a qualified plan loan offset narrowly, though: it applies only when the offset happens because the employee separated from service or the plan terminated.5eCFR. 26 CFR 1.402(c)-2 Death is neither. A death-triggered offset does not qualify, and the taxable income generally cannot be avoided.
A living borrower who separates from an employer has 60 days (or longer for a qualified offset) to come up with the cash and roll it into an IRA. A beneficiary dealing with a death-triggered offset has no equivalent option.
What the Beneficiary Actually Inherits
The math is simple. If the account holds $100,000 and there is a $15,000 loan balance, the offset removes $15,000 and the beneficiary is entitled to the remaining $85,000. The bigger the outstanding loan, the deeper the cut. A participant carrying a loan near the $50,000 ceiling can leave a much smaller inheritance than the account statement suggests.
If multiple beneficiaries are named, each share is calculated from the net balance after the offset, not the pre-offset total.
Spousal Rights Over the Remaining Balance
Federal law gives a surviving spouse strong protection. Under ERISA and the Internal Revenue Code, a married participant’s 401k must pay the remaining balance to the surviving spouse unless the spouse has signed a written waiver consenting to a different beneficiary.6Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans7Department of Labor. QDROs: The Division of Retirement Benefits Through Qualified Domestic Relations Orders A married participant cannot quietly name a child, sibling, or friend without the spouse’s agreement.
If no beneficiary is on file, plan default rules typically send the account to the surviving spouse. An unmarried participant without a valid designation may see the account pass to their estate, which can force the funds through probate.
How Fast the Money Has to Come Out
The timeline for withdrawing what’s left depends on who is inheriting.
Surviving Spouse
A surviving spouse has the most room. Depending on plan terms, the spouse may be able to roll the inherited 401k into their own IRA, which restarts the distribution clock and keeps the money growing tax-deferred. The plan administrator will lay out the available choices.8Internal Revenue Service. Retirement Topics – Beneficiary
Non-Spouse Beneficiaries
Most non-spouse beneficiaries must empty the account by the end of the tenth year after the year the participant died.9Internal Revenue Service. Retirement Plan and IRA Required Minimum Distributions FAQs The SECURE Act imposed this 10-year rule for deaths after 2019, replacing the older option of stretching distributions over the beneficiary’s own life expectancy. A narrow group of eligible designated beneficiaries, including minor children, individuals who are disabled or chronically ill, and people no more than 10 years younger than the deceased, can still use the life-expectancy method.8Internal Revenue Service. Retirement Topics – Beneficiary
How to Claim the Account
The plan will not come looking for you. A named beneficiary needs to contact the deceased participant’s employer or plan administrator to open the claim.10Internal Revenue Service. Retirement Topics – Death Expect to provide a certified copy of the death certificate and identification proving you are the person named.
Once the paperwork clears, the administrator will confirm the net balance after the loan offset, explain your distribution options (lump sum, periodic payments, or a rollover to an inherited IRA if you qualify), and walk you through the timeline that applies to your situation.