Can You Use a 401(k) to Pay Taxes? Costs, Loans, and IRS Plans

Using a 401(k) to pay taxes is legal, but for anyone under 59½ it usually costs more than the alternatives. A permanent withdrawal triggers ordinary income tax plus a 10% early withdrawal penalty, and you have to take out extra to cover the tax the withdrawal itself creates. In many situations an IRS installment agreement or a 401(k) loan is dramatically cheaper.

What a Withdrawal Actually Costs

A distribution from a traditional 401(k) is taxed as ordinary income for the year you take it. If you’re under 59½, a 10% additional tax applies on top of your regular income tax.1Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts

Your plan administrator must withhold 20% of the taxable portion for federal income tax at the time of the distribution.2Internal Revenue Service. 401k Resource Guide Plan Participants General Distribution Rules That 20% may not cover your full liability if the distribution bumps you into a higher bracket. Most states also tax the distribution, at rates ranging from zero in states with no income tax to over 13% at the top.

The compounding problem: to pay a $20,000 tax bill, you cannot withdraw just $20,000. You have to gross up the withdrawal to cover federal income tax on it, the 10% penalty, state income tax, and the mandatory withholding. For a 45-year-old, that often means pulling roughly $30,000 to $33,000 out of retirement to net $20,000 for the IRS. That entire amount leaves your account permanently, along with decades of potential growth.

After year end, the plan issues Form 1099-R reporting the distribution.3Internal Revenue Service. Instructions for Forms 1099-R and 5498 You report it on your return for the year the money came out.

A 401(k) Loan Instead of a Withdrawal

Borrowing from your 401(k) avoids income tax and the 10% penalty entirely, as long as you follow the repayment rules. The maximum loan is the lesser of $50,000 or 50% of your vested account balance.4Internal Revenue Service. Retirement Topics – Loans Some plans allow up to $10,000 when half your balance is below that, but they aren’t required to.5Office of the Law Revision Counsel. 26 USC 72 – Annuities; Certain Proceeds of Endowment and Life Insurance Contracts

Repayment generally runs five years, with payments at least quarterly.4Internal Revenue Service. Retirement Topics – Loans Interest is set by the plan and typically runs about the prime rate plus one to two percentage points, which as of early 2026 puts most 401(k) loan rates in the range of roughly 7.75% to 8.75%. The interest goes back into your own account.

Not every plan offers loans. Check your Summary Plan Description or ask the plan administrator about availability, limits, and processing time.

The main risk is job loss. If you leave your employer with a loan outstanding, the unpaid balance is treated as a distribution. That balance becomes taxable income for the year, and the 10% penalty may apply if you’re under 59½. You can avoid those consequences by rolling the outstanding amount into an IRA or another eligible plan by the due date, including extensions, of your federal tax return for that year.4Internal Revenue Service. Retirement Topics – Loans If the loan was already in default when you left, the rollover option is generally lost.

Hardship Withdrawals Do Not Cover Tax Bills

Paying a federal tax bill is not on the IRS list of expenses that automatically qualify as an immediate and heavy financial need for a hardship distribution. The safe-harbor list covers medical expenses, buying a principal residence, tuition and education fees, payments to prevent eviction or foreclosure, funeral costs, certain home repairs, and losses from a federally declared disaster.6Internal Revenue Service. Retirement Plans FAQs Regarding Hardship Distributions

There is one edge case. If the IRS has placed a lien on your home and you face foreclosure, a payment to stop that foreclosure could fit the eviction-and-foreclosure safe harbor. Some plans also apply a broader facts-and-circumstances test outside the automatic categories, but many do not. And a hardship distribution is still a permanent withdrawal: it doesn’t erase the income tax or the 10% penalty, it only unlocks access to the money.7eCFR. 26 CFR 1.401(k)-1 – Certain Cash or Deferred Arrangements

Exceptions That Eliminate the 10% Penalty

Three exceptions to the 10% early withdrawal penalty matter most when a tax debt is driving the decision.

The levy exception has a hidden cost. Waiting for the IRS to seize the account avoids the 10% penalty, but by that point substantial interest and late-payment penalties have piled up on the underlying tax debt, and the IRS generally reserves retirement account levies for cases of flagrant conduct.9Office of the Law Revision Counsel. 26 USC 6331 – Levy and Distraint

The IRS Payment Plan Almost Always Costs Less

Before touching retirement funds, price out an IRS installment agreement. The IRS offers short-term plans of up to 180 days with no setup fee, and long-term monthly plans with setup fees that vary by application method and payment type:

  • Direct debit from checking: $22 online, $107 by phone or mail.10Internal Revenue Service. Payment Plans; Installment Agreements
  • Other payment methods: $69 online, $178 by phone or mail.
  • Low-income taxpayers: fee waived for direct debit, reduced to $43 otherwise.

Interest on unpaid tax runs at 7% per year, compounded daily, for the first quarter of 2026.11Internal Revenue Service. Interest Rates Remain the Same for the First Quarter of 2026 The late-payment penalty is 0.5% of the unpaid balance per month, capped at 25% total, and drops to 0.25% per month while an installment agreement is in effect.12Internal Revenue Service. Collection Procedural Questions 3 The combined annual carrying cost lands around 10% of the outstanding balance.

If you genuinely cannot pay the full amount over time, an Offer in Compromise lets the IRS accept less than you owe. You must have filed all required returns, made all required estimated payments, and not be in an open bankruptcy. The application takes a $205 non-refundable fee plus an initial payment and a detailed financial disclosure. The IRS weighs your ability to pay, income, expenses, and asset equity.13Internal Revenue Service. Offer in Compromise

Running the Numbers Side by Side

Take a 45-year-old with a $20,000 federal tax debt. Paying it from a traditional 401(k) means withdrawing roughly $30,000 to $33,000 to cover the debt, the 10% early withdrawal penalty, the 20% federal withholding, and state income tax. That money leaves the account for good, along with the growth it would have produced over the next twenty-plus years.

An IRS installment agreement on the same $20,000 costs about $2,000 a year in interest and reduced penalty while the plan is active, and the original balance is repaid over time without disturbing retirement savings. Even stretched across several years, the total is typically a fraction of what a permanent withdrawal costs.

A 401(k) loan sits between the two. It sidesteps the tax and penalty as long as you stay employed and repay on schedule, but if you separate from the employer before payoff, the unpaid balance flips into a taxable distribution and can trigger the 10% penalty. If your job is stable and your plan allows a loan, that path preserves the retirement account. If not, the IRS payment plan is almost always the cheapest way to settle the bill.