Using a 401(k) to pay off debt is legal, but the cost depends on the route, the borrower’s age and the type of debt being paid.
Key Takeaways
- A 401(k) loan is capped at the lesser of $50,000 or 50% of the vested balance and is generally repaid within five years (IRS Retirement Topics: Loans).
- Distributions before age 59½ generally owe ordinary income tax plus a 10% additional tax, and the IRS exception list contains no exception for paying off debt (IRS early distribution exceptions).
- Credit card balances are not a hardship safe harbor; the IRS says consumer purchases are generally not an immediate and heavy financial need, while preventing eviction or foreclosure is (IRS Hardship Distributions).
- SECURE 2.0 allows one emergency personal expense distribution of up to $1,000 per calendar year without the 10% additional tax, repayable within three years, if the plan offers it (IRS Notice 2024-55).
- Most cash distributions eligible for rollover face 20% mandatory federal withholding, so the amount requested is not the amount received (IRS Topic no. 413).
- A large withdrawal after 59½ can raise Medicare premiums two years later; 2026 IRMAA surcharges begin above $109,000 single and $218,000 joint (CMS 2026 fact sheet).
- 401(k) money is generally exempt in federal bankruptcy under 11 U.S.C. 522(b)(3)(C), a protection that disappears once the money is withdrawn to pay creditors (11 U.S.C. 522).
Four Numbers That Frame Using a 401(k) to Pay Off Debt
Federal rules in effect for 2026; the credit card rate is the preliminary August 2026 figure in the Federal Reserve G.19 release of October 7, 2026. Plan documents can be more restrictive than IRS maximums.
Can you use a 401(k) to pay off debt?
Yes, but no 401(k) route was designed for debt repayment, and each one carries a different price. The options are a plan loan, a regular distribution, a hardship distribution, the $1,000 emergency distribution, and (after age 59½) an ordinary withdrawal.
The real question is which route, if any, costs less than the debt itself. That comparison turns on three variables: the interest rate on the debt, the tax and penalty cost of the money coming out, and what happens to the household if a job ends while a loan is outstanding.
Talk With Craig Wear's Team
Craig has helped IRA millionaires save over $1 million each in unnecessary taxes. Find out if a Roth conversion strategy fits your retirement, with no sales pressure and no product pitch.
How do the five ways to tap a 401(k) for debt compare?
The table below lines up each route on limits, taxes and the main risk. Plan rules control what is actually available, so the summary plan description is the final word on any specific account.
| Route | How much | Income tax | 10% additional tax | Repay? | Main risk for a debt payoff |
|---|---|---|---|---|---|
| 401(k) loan | Lesser of $50,000 or 50% of vested balance | None if repaid on schedule | Only if the loan defaults (under 59½) | Yes, generally within 5 years | Job loss can turn the balance into a taxable distribution |
| Regular distribution before 59½ | Whatever the plan permits (often only after separation) | Ordinary income | Yes, unless an exception applies | No | Taxes and penalty can consume a third or more of the withdrawal |
| Hardship distribution | Amount needed for the qualifying need | Ordinary income (Roth contributions excepted) | Generally yes, under 59½ | No; cannot be rolled over | Credit card debt generally does not qualify |
| Emergency personal expense distribution | Up to $1,000 per calendar year | Ordinary income | No | Optional, within 3 years | Too small for most balances; plan may not offer it |
| Withdrawal after 59½ | Any amount the plan permits | Ordinary income (traditional dollars) | No | No | Bracket creep, Social Security taxation and IRMAA |
Sources: IRS loan rules, IRS hardship rules and IRS exceptions chart. A deeper side-by-side of the first two routes is in the 401(k) loan vs. withdrawal guide.
Does borrowing from a 401(k) to pay off credit cards make sense?
It can be cheaper on paper, because credit card rates are high and 401(k) loan interest is paid back into the borrower’s own account. The Federal Reserve reports an average rate of 22.36% on bank credit card accounts assessed interest for August 2026 (Federal Reserve G.19).
The paper math leaves out three costs. First, borrowed dollars are out of the market until repaid, so the account misses whatever those dollars would have earned. Second, repayments typically come out of take-home pay through payroll deduction, which can squeeze the same budget that produced the card balance. Third, if the cards are run back up after the payoff, the household ends up carrying both the loan and new card debt.
The biggest structural risk is employment. If the job ends with a balance outstanding, the plan can treat it as a distribution, though the offset can generally be rolled over by the tax return due date, including extensions (IRS Retirement Topics: Loans). The repayment mechanics are covered in can you pay off a 401(k) loan early.
How much do you have to withdraw to net a debt payoff?
More than the balance owed, because taxes come out of the same dollars. A cash distribution that is eligible for rollover is subject to 20% mandatory federal withholding (IRS Topic no. 413), so a $20,000 request delivers about $16,000 before any state withholding.
Withholding is only a prepayment; the final bill is set at filing. Consider a hypothetical 45-year-old single filer whose income sits well inside the 22% bracket and who wants $20,000 in hand. Federal income tax at 22% plus the 10% additional tax totals 32% of the withdrawal, so roughly $29,412 would need to come out ($20,000 divided by 0.68), before state tax.
- Gross withdrawal: about $29,412.
- 20% withheld at payout: about $5,882, leaving roughly $23,530 in hand.
- Total federal cost at filing: about $9,412 (22% income tax plus 10% additional tax), so roughly $3,530 more would be due with the return.
- Bracket check: if the added income crosses the 22% bracket ceiling ($105,700 of taxable income for single filers in 2026), the excess is taxed at 24% (IRS 2026 inflation adjustments).
This is an illustration, not a projection for any household. How the penalty is calculated and which exceptions exist is detailed in the 401(k) early withdrawal penalty guide.
Which debts can qualify for a hardship withdrawal?
Only debts tied to the IRS safe-harbor categories, and credit cards are not among them. The IRS lists expenses such as medical care, payments necessary to prevent eviction from or foreclosure on a principal residence, tuition, funeral costs and certain home repairs, and states that consumer purchases are generally not an immediate and heavy financial need (IRS Hardship Distributions).
In debt terms, that means a past-due mortgage facing foreclosure or rent arrears facing eviction can fit, and unpaid medical bills may fit under the medical-care category depending on the plan. Personal loans, car loans and card balances generally do not. A hardship distribution is still taxable, can carry the 10% additional tax, and cannot be repaid or rolled over. Full eligibility and documentation rules are in the 401(k) hardship withdrawal rules.
The SECURE 2.0 emergency personal expense distribution is the one penalty-free route that is not limited to safe-harbor categories, but it is capped at $1,000 per calendar year, plans are not required to offer it, and another one generally cannot be taken in the following three years unless the first is repaid or offset by new plan contributions (IRS Notice 2024-55).
Why can draining a 401(k) to pay creditors backfire?
Because 401(k) money is among the most protected assets a household owns, and unsecured debt often is not. Federal bankruptcy law exempts retirement funds held in tax-exempt accounts under Internal Revenue Code sections 401, 403, 408, 408A, 414, 457 and 501(a) (11 U.S.C. 522(b)(3)(C)).
Credit card and medical balances can often be reduced or discharged in bankruptcy or settled through negotiation. If retirement money is withdrawn first and bankruptcy follows anyway, the household may have converted a protected asset into a taxed, penalized payment to a creditor who could not have reached it. For anyone with debts large enough that bankruptcy is on the table, a consultation with a bankruptcy attorney or a nonprofit credit counselor before touching the 401(k) can change the answer entirely.
Tax debt is the major exception. A federal tax levy can reach a 401(k), and a levied distribution is exempt from the 10% additional tax (IRS exceptions chart). How that works is covered in can the IRS take your 401(k).
Should you pay off a mortgage with a 401(k) after 59½?
It depends mostly on the size of the withdrawal and the year it lands in. After 59½ there is no 10% additional tax, but every traditional 401(k) dollar withdrawn is ordinary income, and a mortgage payoff is usually a large lump sum.
Consider a hypothetical married couple, both 66, with $80,000 of taxable income before any 401(k) withdrawal and a $180,000 mortgage balance. Paying it off in one year would lift taxable income to about $260,000, pushing roughly $48,600 above the 2026 joint 24% bracket threshold of $211,400 (IRS 2026 inflation adjustments). Spread across three tax years at $60,000 each, taxable income would be about $140,000 per year, entirely below that threshold.
Two second-order effects matter as much as the bracket. Up to 85% of Social Security benefits can become taxable once provisional income passes $44,000 for joint filers, so extra withdrawals can pull more benefits into tax, a pattern explained in the Social Security tax torpedo. And Medicare IRMAA uses modified adjusted gross income from the tax year two years earlier (20 CFR 418.1135); for 2026, surcharges start above $109,000 single and $218,000 joint (CMS). The one-year payoff in the example would cross that joint threshold; the three-year version likely would not.
The age-by-age tax treatment of withdrawals is covered in do you pay taxes on 401(k) withdrawals after 65, and the surcharge tiers in Medicare IRMAA in 2026.
How does a debt payoff withdrawal affect Roth conversion planning?
It competes for the same bracket space. A large withdrawal to clear a mortgage and a Roth conversion both add ordinary income, so a year with a big payoff usually leaves little room to convert at a moderate rate.
Retirees who plan conversions in the window between retirement and required minimum distributions (age 73 for those born 1951 to 1959, 75 for those born 1960 or later) often map out debt payoffs and conversions together, year by year, against the 2026 tax brackets and IRMAA tiers. Qualified distributions from Roth dollars do not add taxable income, which is one reason a financial professional may model which account funds a payoff before any money moves.
A decision checklist before tapping a 401(k) for debt
- Price the debt. Note the interest rate and whether the debt is secured, dischargeable or tax-related.
- Read the plan. Confirm whether loans, hardship distributions or emergency distributions are offered and on what terms.
- Price the withdrawal. Add federal income tax, any 10% additional tax, state tax and the 20% withholding cash-flow gap.
- Stress-test the job. For a loan, ask what happens to the balance if employment ends next year.
- Check protection. If bankruptcy or settlement is realistic, get advice before converting protected assets into payments.
- Check the multi-year tax picture. After 59½, compare a lump sum with a staged payoff for brackets, Social Security taxation, IRMAA and planned Roth conversions.
- Fix the cash-flow cause. A payoff without a spending plan risks rebuilding the same balance.
Frequently asked questions
Can I use my 401(k) to pay off credit card debt?
Yes, through a plan loan or a distribution, if the plan allows it. A loan avoids immediate tax when it is repaid on schedule, while a distribution before age 59½ is generally taxed as ordinary income plus a 10% additional tax. Credit card debt is not a safe-harbor reason for a hardship distribution, so most people looking at this route are comparing a loan with a regular withdrawal.
How much can I borrow from my 401(k) to pay off debt?
The federal maximum is the lesser of $50,000 or 50% of the vested account balance, with a possible exception allowing up to $10,000 when half the balance is smaller than that. Plans can set lower limits, and some plans do not offer loans at all. Most loans must be repaid within five years with payments at least quarterly.
Does credit card debt qualify for a 401(k) hardship withdrawal?
Generally no. The IRS safe-harbor list covers items such as medical care, payments to prevent eviction or foreclosure on a principal residence, tuition, funeral costs and certain home repairs, and it states that consumer purchases are generally not an immediate and heavy financial need. Credit card balances do not appear on the list.
Is there a penalty for using a 401(k) to pay off debt after 59½?
No 10% additional tax applies to distributions taken after age 59½. The withdrawal is still ordinary income from a traditional 401(k), so a large lump sum can push income into a higher bracket, increase the taxable share of Social Security benefits and raise Medicare premiums two years later.
What is the $1,000 emergency withdrawal and can it pay a bill?
SECURE 2.0 created an emergency personal expense distribution of up to $1,000 per calendar year (or the vested balance over $1,000, if less) for unforeseeable or immediate personal or family emergency expenses. It avoids the 10% additional tax but is still taxable income, it can be repaid within three years, and plans are not required to offer it.
Can paying off a mortgage with a 401(k) raise Medicare premiums?
It can. Medicare Part B and Part D income-related surcharges (IRMAA) are based on modified adjusted gross income from the tax year two years earlier. For 2026, surcharges start above $109,000 for single filers and $218,000 for joint filers, so a large withdrawal in one year can lift premiums in a later year.
Are 401(k) assets protected from creditors if I do not withdraw them?
Retirement funds in tax-exempt plans such as a 401(k) are generally exempt in federal bankruptcy under 11 U.S.C. 522(b)(3)(C). Money withdrawn to pay a creditor loses that protection. Federal tax levies are an important exception, so anyone weighing bankruptcy or facing a tax debt may want to speak with a bankruptcy attorney or tax professional first.
Methodology. Every rule and figure in this article was checked against primary sources: IRS retirement-plan guidance on loans, hardship distributions and early distribution exceptions, IRS Notice 2024-55, IRS Topic no. 413, the IRS 2026 inflation adjustment release, the CMS 2026 Medicare premium fact sheet, the text of 20 CFR 418.1135 and 11 U.S.C. 522, and the Federal Reserve G.19 consumer credit release of October 7, 2026. Because this is a Your Money or Your Life topic, anonymous forum anecdotes and unsourced third-party summaries were excluded. Worked examples are hypothetical and simplified (federal tax only, no credits or state tax).
This article is for educational purposes only and is not individualized investment, tax, or legal advice. Consult a qualified professional about your specific situation.