Can I Cash Out My 401k With an Outstanding Loan?

You can cash out a 401(k) with an outstanding loan, but the plan will first subtract the unpaid loan balance from your account in a transaction called a loan offset, and the IRS treats that offset as a taxable distribution right alongside the cash you actually receive. Depending on your age, your tax bracket, and whether you roll the money over in time, the combined federal tax, state tax, and early-withdrawal penalty can take a sizable bite out of what you walk away with.

What a Loan Offset Is

When you request a full distribution while a loan is still outstanding, the plan administrator applies part of your account balance to close out the debt before paying you anything. That internal reduction is the plan loan offset.1Internal Revenue Service. Plan Loan Offsets

Say your account holds $40,000 and you owe $10,000 on a plan loan. The administrator uses $10,000 of your balance to satisfy the loan and distributes the remaining $30,000 to you before taxes and withholding. You never see a check for the $10,000, but the IRS counts it as a distribution anyway, meaning it is taxable income just like the cash you received.

One boundary worth knowing: a loan offset is not the same as a deemed distribution. A deemed distribution happens when you miss scheduled loan payments while still employed, and that type of distribution cannot be rolled over. A plan loan offset generally can.2Internal Revenue Service. Retirement Plans FAQs Regarding Loans

When a Cash-Out Is Actually Available

After You Leave the Job

Separation from your employer — resignation, layoff, or termination — is the most common trigger. At that point most plans require the loan to be repaid or offset as part of processing the distribution, so you cannot take both the full remaining balance and the borrowed money. If you cannot repay the loan, the unpaid balance is treated as a distribution.3Internal Revenue Service. Retirement Topics – Loans

While You’re Still Working

Getting at the money while still employed is much harder. Most plans limit in-service withdrawals to hardship situations such as preventing eviction or paying unreimbursed medical costs. Hardship distributions are taxed as income and cannot be repaid to the plan.4Internal Revenue Service. Hardships, Early Withdrawals and Loans Whether your specific plan allows an in-service withdrawal, and on what terms, lives in the Summary Plan Description. Ask the plan administrator before you count on it.

The Window to Pay the Loan Off First

Before you accept an offset, check how long the plan gives you to pay the loan off and keep the full balance intact. Many plans allow 60 to 90 days after your last day of employment to repay the outstanding loan in full. If you come up with the cash inside that window, no offset occurs, and the full account balance is available for rollover.

Terms vary. Some plans accelerate the loan the moment you separate; others set a specific cure period. Request the exact deadline from your plan administrator or recordkeeper as soon as you know you’re leaving. Missing it by a day triggers the offset and everything that follows.3Internal Revenue Service. Retirement Topics – Loans

What the Tax Hit Looks Like

The entire distribution — the cash you receive plus the loan offset amount — is ordinary income for the year the offset happens. Under IRC Section 72(p), any plan loan amount not repaid on its original terms is treated as a distribution.5Office of the Law Revision Counsel. 26 U.S. Code 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts

Back to the earlier numbers: if $10,000 of your account offsets the loan and you receive $30,000 in cash, the IRS treats the full $40,000 as a taxable distribution. The federal bill depends on your total income and bracket. Many states also tax retirement distributions; rates range from zero in states that exempt this income entirely to over 13% in the highest-tax states.

The 10% Penalty Under 59½

If you are younger than 59½ when the distribution occurs, the IRS adds a 10% early withdrawal penalty on top of regular income tax. On a $10,000 offset, that’s $1,000, and the same 10% applies to the cash side as well.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions

Exceptions That Remove the Penalty

Several situations spare you the 10% penalty even if you are under 59½:

  • Separation from your employer during or after the calendar year you turn 55 (age 50 for qualifying public safety employees of state or local governments), applied to distributions from that employer’s plan.
  • Total and permanent disability.
  • A series of substantially equal periodic payments based on life expectancy.
  • Unreimbursed medical expenses above 7.5% of adjusted gross income.
  • Payments to a former spouse under a Qualified Domestic Relations Order.
  • Distributions required by an IRS levy.
  • Up to $22,000 for a federally declared disaster where you suffered economic loss.
  • Terminal illness certified by a physician.

Each exception removes only the 10% penalty. The distribution is still ordinary income.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions

Rolling the Offset Over to Avoid the Tax

The single most effective way to cut the tax bill is to roll the distribution — including the offset amount — into an IRA or a new employer’s plan. Amounts rolled over on time are not taxed and are not penalized.

Standard 60-Day Rollover for the Cash

For the cash portion, you have 60 days from receipt to deposit it in an IRA or another qualified plan. Miss the 60-day window and the full cash amount becomes taxable for the year.7Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions

Extended Deadline for a Qualified Plan Loan Offset

Rolling over the offset itself is harder because you never received the money in cash — it was used to pay off your loan. To roll it over, you have to come up with the equivalent amount from savings or another account and deposit it into an IRA. The IRS gives you more time if your offset qualifies as a Qualified Plan Loan Offset (QPLO).

A QPLO exists when two conditions are met: the offset happened because you separated from employment or the plan terminated, and the loan was in good standing (within dollar limits, on a level repayment schedule) immediately before that event. When the offset qualifies, you have until your tax filing deadline, including extensions, to complete the rollover rather than only 60 days. A filed extension can push that as far as October 15 of the following year.1Internal Revenue Service. Plan Loan Offsets

If the offset does not qualify as a QPLO — for instance, it resulted from missed payments rather than job separation — the standard 60-day rollover deadline applies.1Internal Revenue Service. Plan Loan Offsets

Direct Versus Indirect Rollover

A direct rollover sends the cash portion straight from the plan to your IRA or new plan. No tax is withheld and no 60-day clock starts. Plans are not required to offer a direct rollover for the offset amount, so expect to fund that piece yourself.1Internal Revenue Service. Plan Loan Offsets

In an indirect rollover, the plan pays the cash to you and must withhold 20% for federal taxes on eligible rollover distributions. To roll over the full amount, you have to replace that withheld 20% from your own funds within 60 days, then claim the withholding back as a credit when you file.7Internal Revenue Service. Rollovers of Retirement Plan and IRA Distributions

How the 20% Withholding Hits

When you take the cash instead of doing a direct rollover, the 20% mandatory federal withholding applies to eligible rollover distributions. The 20% is calculated on the total distribution including the offset, but it can only be pulled from the cash you actually receive.

On the running example — $10,000 offset plus $30,000 cash, $40,000 total — the 20% withholding is $8,000, and the full $8,000 comes out of the $30,000 cash. You receive $22,000. If the offset is the only piece of the distribution and no cash changes hands, no withholding is taken.1Internal Revenue Service. Plan Loan Offsets

How to Complete the Cash-Out

Start by asking the plan administrator or recordkeeper for a current loan payoff statement showing the exact balance owed as of a specific date, including accrued interest. That number lets you estimate the net payout after offset and withholding.

Get the plan’s distribution election form, sometimes called a Request for Payout, from your HR portal or third-party administrator. On it you choose whether to take a full or partial distribution, how to handle the outstanding loan, and whether to take cash or roll the funds over. Mistakes on this form can trigger delays or tax consequences you did not want, so review carefully before submitting.

If any portion is going to you as cash rather than a full direct rollover, you may need to complete Form W-4R to indicate your federal withholding preference.8Internal Revenue Service. About Form W-4R, Withholding Certificate for Nonperiodic Payments and Eligible Rollover Distributions For eligible rollover distributions you cannot elect below the 20% rate.9Internal Revenue Service. 2026 Form W-4R – Withholding Certificate for Nonperiodic Payments and Eligible Rollover Distributions Provide accurate direct deposit details if you want the funds sent electronically, and confirm your mailing address so year-end tax documents reach you.

Most plans accept electronic submissions with digital signatures. Once the completed package is in, the administrator verifies your vested balance, confirms the loan payoff, liquidates shares, and processes the offset. Processing commonly runs seven to ten business days from receipt of a complete application. The loan is marked closed when the offset finalizes, and you get a confirmation statement showing the gross distribution, the amount applied to the loan, and the taxes withheld.

How It Gets Reported at Tax Time

After the end of the tax year, the plan administrator files Form 1099-R with the IRS and sends you a copy. It reports the total gross distribution, the taxable amount, and the federal tax withheld. The loan offset is included in the gross distribution figure.10Internal Revenue Service. About Form 1099-R, Distributions From Pensions, Annuities, Retirement or Profit-Sharing Plans, IRAs, Insurance Contracts, etc.

Both the cash and the loan offset go on your federal return as income unless you completed a qualifying rollover inside the applicable deadline. If you rolled over the full distribution — including replacing the offset amount from other funds — report the rollover on the return so the IRS does not tax it. If the 10% early withdrawal penalty applies, you calculate it on Form 5329 and file it with your return.6Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions