DebtCheckUSADebt Check

Guide

Can I Use 401k to Pay Off Debt? Loans, Taxes and Risks

Can you use 401k to pay off debt? Only if your plan allows a loan or a withdrawal. How each one works, the tax risks, and gentler options to try first.

Updated October 26, 20269 min readReviewed by DebtCheckUSA Editorial Team, editorial review: primary sources checked and independently fact-checked

Two hands cupping a small clay pot with a young sage-green seedling on a light oak desk, beside a closed cream notebook and a pencil.
On this page
Not sure where to start? Take the Debt Check.About 2 minutes. Rough numbers are fine.

Can you use 401k to pay off debt? Only if your plan allows it, and there are two very different ways to do it. A 401(k) loan lets you borrow from your own account and pay it back on a set schedule. A withdrawal takes the money out for good, and before age 59½ it can cost you income tax plus a 10% additional tax. Because both put retirement savings on the line, it's worth trying the options that don't touch your 401(k) first.

Can you use your 401(k) to pay off debt?

It depends on your plan's rules, not just the tax law. The IRS says retirement plans may offer loans to participants, but a plan sponsor is not required to include loan provisions in its plan. The Department of Labor says the same about hardship withdrawals: check your plan booklet to see if your plan does permit them and under what circumstances.

Here is how the main ways to get at the money compare:

401(k) loanHardship withdrawalWithdrawal after you leave the job
Do you pay it back?Yes, on a fixed scheduleCan't be repaid to the planNo
Taxed when you take it?Not if the loan follows the rulesYes, unless it's Roth contributionsMost distributions are
10% additional tax before 59½?Only if the loan becomes a distributionMay applyMay apply, unless an exception fits

To find out what yours allows, the IRS says to check with the plan sponsor or the Summary Plan Description.

Before you use 401k to pay off debt: options that leave it alone

The Department of Labor's own advice on plan loans is to consider budgeting to save the needed money or pursue other affordable loan options. These are in order of how little they ask you to give up.

Make a budget and call your card companies

Start with where the money goes. The CFPB suggests you figure out if you can pay off your existing debt by adjusting the way you spend for a period of time. Our guide on how to make a budget walks through it, and debt avalanche vs snowball compares the two common payoff orders.

Then ask your creditors for help. The CFPB says card companies offer loss mitigation programs, sometimes called forbearance or hardship programs, and some creditors might be willing to accept lower minimum monthly payments, waive certain fees, reduce your interest rate, or change your monthly due date. Get any new arrangement in writing.

A consolidation loan

A personal loan pays off your cards and leaves you with one monthly payment, without touching your 401(k). The catch is that, as the CFPB says, if problems with debt have affected your credit score, you probably won't be able to get low interest rates. Our pillar guide on how debt consolidation works covers loans and balance transfer cards, with their fees. For the card route, see what a balance transfer is or compare a balance transfer vs a personal loan.

Nonprofit credit counseling

A credit counselor can look at your whole budget and, where it fits, set up a debt management plan. The CFPB says counselors discuss your financial situation with you and help you develop a personalized plan to solve your money problems, and suggests starting with the Financial Counseling Association of America or the National Foundation for Credit Counseling. Counseling is often free or low-cost, but not always: the FTC says many of these organizations offer services with low fees, but make sure you ask how much they'll charge you. A plan can take 48 months or more to complete. Our debt management plan guide covers how enrollment works.

How a 401(k) loan to pay off credit card debt works

If your plan offers loans, you apply through the plan and repay on a fixed schedule. The tax rules set the outer limits, and the IRS says a plan may limit the amount that can be taken as a loan.

The downsides of a 401(k) loan

The first cost is growth you give up. The Department of Labor says borrowing reduces the account's earnings, leaving you with a smaller nest egg. How much depends on what the investments would have done, which nobody knows in advance.

Missed payments are the second risk. A loan that is in default is generally treated as a taxable distribution from the plan of the entire outstanding balance of the loan (a "deemed distribution"). The IRS adds that this counts for the tax on the distribution, including any early distribution tax, and that a deemed distribution can't be rolled over.

The third is leaving your job. Plan sponsors may require an employee to repay the full outstanding balance of a loan if he or she terminates employment or if the plan is terminated. If you can't, the employer treats it as a distribution. You can avoid the immediate income tax consequences by rolling over all or part of the loan's outstanding balance to an IRA or eligible retirement plan by your tax return due date, including extensions, for the year it's treated as a distribution. Before you borrow, it's worth asking your plan what happens to a loan if you leave.

A worked example with our calculator

All of these numbers are made up to show how the pieces fit. Say you owe $10,000 on credit cards, you're under 59½, and you have $40,000 vested in your 401(k), which allows a loan of up to $20,000. We ran three routes through our 401(k) loan calculator:

401(k) loanConsolidation loanWithdrawal
Assumed terms8% interest, 60 months14% APR, 60 months, 5% origination fee22% income tax plus the 10% additional tax on the whole amount
Amount taken out$10,000$10,526 (so $10,000 is left after the fee)$14,706
Monthly payment$203$245None
Total cost$12,166 repaid, $2,166 of it interest$14,696 repaid$4,706 in taxes, and the money is gone from the account

Now the risks. If you left the job after 24 months, about $6,471 of the 401(k) loan would still be owed. If you couldn't repay it or roll it over, that $6,471 would be treated as a distribution, and at the same made-up rates (22% plus 10%) the tax and additional tax would come to about $2,071.

The growth gap depends entirely on your assumption. If the money would have grown 10% a year (compounded monthly, as the calculator does it), the account ends the five years about $752 behind where it would have been without the loan. At 6% a year, the 8% interest you repay more than covers it. Neither number is a forecast. Put in your own plan's rate, your balance and a range of growth assumptions.

Taking money out of your 401(k): withdrawals

A withdrawal isn't paid back, so it shrinks your retirement savings for good. The Department of Labor says pre-retirement withdrawals reduce the ultimate size of your nest egg.

Hardship withdrawals

Although not required, a retirement plan may allow participants to receive hardship distributions. The money has to be for an immediate and heavy financial need and limited to the amount needed. The IRS lists six safe-harbor reasons that automatically count, including medical care, tuition, funeral costs and payments necessary to prevent eviction from, or foreclosure on, your main home. Paying off credit cards isn't on that list. Beyond it, the employer decides based on the plan terms and all relevant facts and circumstances, and the IRS notes that consumer purchases (such as a boat or television) are generally not considered an immediate and heavy financial need.

If you do qualify, the costs are real. Hardship distributions are subject to income taxes (unless they consist of Roth contributions), they may also face the 10% additional tax, and you can't repay the money to the plan or roll it over.

The 10% additional tax and its exceptions

Generally, early distributions are those you receive from a qualified retirement plan or deferred annuity contract before reaching age 59½. For those, the additional tax is equal to 10% of the portion of the distribution that's includible in gross income, on top of regular income tax.

There are exceptions. Two that can matter here, for workplace plans:

An exception only removes the 10% additional tax. The IRS notes that most retirement plan distributions are subject to income tax either way. Whether one applies to you is a question for a tax professional.

Should I use my 401k to pay off debt?

That's your decision, and it depends on your plan, your job security, your taxes and how close you are to retirement. A few questions can help you weigh it:

  1. Have you asked your card companies about a hardship program and tried a budget?
  2. Would a consolidation loan or a nonprofit counselor get you to the same place without touching your 401(k)?
  3. If you borrow, how sure are you that you'll stay at this job until the loan is repaid, or could you repay it if you left?
  4. Has the spending that built the debt stopped? The CFPB warns that taking on new debt to pay off old debt may just be kicking the can down the road. If the cards fill up again, you'd owe them and your 401(k).

If none of these options will work, our guide on how to get out of credit card debt lays out every route, including settlement and bankruptcy.

Bottom line

You can use 401k to pay off debt only in the ways your plan allows. A loan is repaid to your plan but brings tax risk if you miss payments or leave your job with a balance. A withdrawal is gone for good and can cost income tax plus a 10% additional tax before 59½. Gentler steps come first: a budget, a call to your card companies, a consolidation loan or nonprofit counseling. Before touching retirement savings, talk it through with a financial planner or tax professional. The Debt Check compares your options using your own numbers.

Common questions

Can I use my 401k to pay off debt?

Only if your plan allows it. The IRS says a qualified plan may, but is not required to, provide for loans, and hardship distributions are optional too. Your plan sponsor or Summary Plan Description tells you what your plan offers.

How much can I borrow from my 401(k)?

The IRS caps a plan loan at the lesser of $50,000 or 50% of your vested balance. If half your vested balance is under $10,000, a plan may let you borrow up to $10,000, but plans aren't required to include that exception, and a plan can set a lower limit.

What happens to a 401(k) loan if I leave my job?

Your plan may require you to repay the full balance. If you can't, the IRS says the employer treats it as a distribution, which can be taxed. You can avoid the immediate income tax by rolling over all or part of the balance by your tax return due date, including extensions.

Can I take a hardship withdrawal to pay credit card debt?

Paying credit cards isn't one of the IRS safe-harbor reasons, and the IRS says consumer purchases are generally not considered an immediate and heavy financial need. Your employer decides based on the plan terms and all relevant facts and circumstances.

Is there a penalty for taking money out of a 401(k) early?

Generally, a distribution before age 59½ is early, and the IRS says the additional tax is equal to 10% of the portion that's includible in gross income. That's on top of regular income tax. There are exceptions, such as leaving your job in or after the year you turn 55.

Sources

  1. 1IRS: Retirement plans FAQs regarding loans
  2. 2IRS: Retirement topics, Loans
  3. 3IRS: Retirement topics, Hardship distributions
  4. 4IRS: Topic no. 558, Additional tax on early distributions from retirement plans other than IRAs
  5. 5IRS: Retirement topics, Exceptions to tax on early distributions
  6. 6U.S. Department of Labor (EBSA): Savings Fitness, A Guide to Your Money and Your Financial Future
  7. 7U.S. Department of Labor (EBSA): What You Should Know About Your Retirement Plan
  8. 8CFPB: What do I need to know if I'm thinking about consolidating my credit card debt?
  9. 9CFPB: Need help with your credit card debt? Start with your credit card company
  10. 10CFPB: What is credit counseling?
  11. 11FTC: How To Get Out of Debt

By DebtCheckUSA Editorial Team. First published October 26, 2026. Advertiser disclosure

Keep reading