Share

Should You Use a 401k Loan to Pay Off Credit Card Debt?

By Adem Selita
Macbook pro showing a stock chart.
  • 📋 Key Takeaways — A 401(k) loan to pay off credit card debt sounds like a clean trade: replace 24% credit card interest with a low-rate loan where you pay yourself back. But the math is not as favorable as it appears. You are repaying the loan with after-tax dollars that will be taxed again when you withdraw them in retirement — a double taxation cost that no one mentions in the "you're paying yourself back" pitch. The money you borrow stops compounding in the market during the loan period, and $20,000 borrowed at age 35 can cost over $150,000 in lost retirement growth by age 65. If you lose your job before the loan is repaid, the outstanding balance becomes a taxable distribution plus a 10% penalty if you are under 59½. There are narrow situations where a 401(k) loan makes sense. For most people with serious credit card debt, it is not one of them.

This question comes up constantly. Someone owes $20,000 or $30,000 in credit card debt at 22% to 26% APR, they have $80,000 sitting in their 401(k), and the math seems obvious: borrow from the 401(k) at 7% to 9%, pay off the cards, and save thousands in interest. You are paying yourself back instead of paying a credit card company. What is the downside?

The downside is more significant than most people realize — and it is not visible in a simple interest rate comparison. I walk through this analysis with people regularly, and when they see the full picture, most of them choose a different path. Here is why.

How a 401(k) Loan Works

According to IRS rules, you can borrow up to the lesser of 50% of your vested 401(k) balance or $50,000. The loan must be repaid within 5 years (longer if used to purchase a primary residence), with payments made at least quarterly — though most plans deduct payments automatically from your paycheck. The interest rate is typically the prime rate plus 1% to 2%, which currently puts most 401(k) loan rates around 9% to 10%.

Here is the part everyone focuses on: the interest you pay goes back into your own 401(k) account, not to a lender. So if you borrow $20,000 at 9.5% and repay it over 5 years, the roughly $5,100 in interest goes back to you. People hear this and think the loan is essentially free. It is not.

The Three Hidden Costs Nobody Talks About

1. The double taxation trap

When you contribute to a traditional 401(k), the money goes in pre-tax — you have never paid income tax on it. When you take a 401(k) loan, you repay it with after-tax dollars from your paycheck. Then, when you withdraw those same dollars in retirement, you pay income tax on them again. The interest portion of your repayment is taxed twice.

On a $20,000 loan repaid over 5 years at 9.5%, you pay approximately $5,100 in interest. That $5,100 came from your after-tax income — meaning you actually earned about $6,800 to $7,100 (depending on your tax bracket) to produce those $5,100 in after-tax dollars. And when you withdraw that $5,100 in retirement, you pay income tax on it again. The effective cost of that "interest you pay yourself" is significantly higher than zero.

2. Lost investment growth — the real cost

This is the cost that makes the entire equation unfavorable for most people. When you borrow $20,000 from your 401(k), that $20,000 is no longer invested in the market. It is not growing. It is not compounding. You are repaying it over 5 years, but during those years, the money is out of the market — and you cannot get those years of compounding back.

Here is what that actually costs, assuming a 7% average annual return (the historical inflation-adjusted average for a diversified stock portfolio):

Your Age When You Borrow Years to 65 $20K Would Grow To Lost Growth
30 35 years $213,553 $193,553
35 30 years $152,245 $132,245
40 25 years $108,549 $88,549
45 20 years $77,394 $57,394
50 15 years $55,181 $35,181

If you are 35 years old and borrow $20,000 from your 401(k), you are not borrowing $20,000. You are borrowing $152,245 in future retirement value. Yes, you repay the $20,000 over 5 years — but the money was out of the market during some of those compounding years, and the growth you missed is gone permanently. The "interest you pay yourself" does not compensate for this. You paid yourself 9.5% on a 5-year loan when the market could have been compounding at 7% to 10% over 30 years.

This is the number that changes people's minds.

3. The job loss bomb

If you leave your employer — voluntarily or involuntarily — while a 401(k) loan is outstanding, most plans require you to repay the full remaining balance by your tax filing deadline for that year. According to the IRS, if you cannot repay the balance in time, the outstanding amount is treated as a taxable distribution. If you are under 59½, you also owe a 10% early withdrawal penalty on top of income tax.

Here is what that looks like on a $20,000 loan with $12,000 remaining when you lose your job at age 38:

Federal income tax (assume 22% bracket): $2,640. 10% early withdrawal penalty: $1,200. State income tax (varies, assume 5%): $600. Total cost: $4,440 on a $12,000 balance — effectively a 37% penalty for losing your job.

According to a report from Empower, a significant number of 401(k) loan borrowers leave their jobs before fully repaying the loan. The Transamerica Center for Retirement Studies found that 26% of workers have taken a loan or early withdrawal from retirement savings. This is not a rare edge case — it is a structural risk embedded in every 401(k) loan.

And here is the detail people miss: you did not plan to leave your job. Nobody takes a 401(k) loan expecting to be laid off 18 months later. But layoffs, company closures, restructurings, and career changes are not rare events — especially in a volatile economy. The loan felt safe on the day you took it. It becomes a financial disaster on the day you lose the job.

The "Paying Yourself Back" Myth

This is the single most misleading framing in personal finance. Yes, the interest payments go back into your 401(k). But consider what "paying yourself back" actually means in practice:

You had $20,000 invested and growing in a tax-advantaged retirement account. You pulled it out, disrupting compound growth. You repaid it with after-tax dollars — money that was already taxed once. The interest you "paid yourself" will be taxed again when you withdraw it in retirement. During the 5 years of repayment, many borrowers reduce or stop their regular 401(k) contributions — which means they also miss out on employer matching contributions, which is free money they can never recover.

You are not "paying yourself back" in any meaningful financial sense. You are making your future self pay for your present self's credit card debt — with tax penalties, lost compounding, and missed employer matches along the way.

When a 401(k) Loan Might Make Sense

I am not saying a 401(k) loan is never the right choice. There are narrow circumstances where it can be reasonable:

You are close to retirement (55+) and the compounding window is short. The opportunity cost table above shows that borrowing at 50 costs $35,181 in lost growth — significant, but far less devastating than borrowing at 30 or 35. If you are 5 to 10 years from retirement and carrying high-interest credit card debt, the math can work — but only if you are confident in your job stability for the loan's duration.

The credit card debt is relatively small ($5,000 to $10,000) and you can repay the loan quickly. A $5,000 loan repaid in 2 years takes less money out of the market for less time, limiting the compounding loss. The opportunity cost is manageable. This is very different from borrowing $30,000 or $40,000 over a full 5-year term.

Your credit score is too damaged to qualify for any other consolidation option. 401(k) loans do not require a credit check — the IRS does not require one, and neither do most plan administrators. If your credit score is too low for a personal loan or balance transfer card, and you need to stop a wage garnishment or prevent a lawsuit from progressing, a 401(k) loan can provide emergency relief that no other option can. But treat it as a last resort, not a first choice.

Your job is extremely stable and you can continue 401(k) contributions during repayment. If you work in a government role, a tenured position, or a company where your employment is highly secure, the job loss risk is lower. And if your budget allows you to repay the loan while still contributing enough to get the full employer match, you minimize the damage. But be honest with yourself about job stability — very few people can genuinely guarantee their employment for 5 years.

Alternatives That Do Not Sacrifice Your Retirement

Before borrowing from your 401(k), compare these options — all of which address the credit card debt without putting your retirement at risk:

Credit card hardship programs. Most major issuers offer programs that reduce your interest rate to 0% to 9%, close the account to new charges, and set a fixed repayment schedule of 3 to 5 years. No credit check, no fees, no impact on your retirement. The downside is that your accounts are frozen during the program — but if you are considering raiding your 401(k), your accounts probably need to be frozen anyway.

Debt consolidation loans. If your credit score is above 650, you may qualify for a personal loan at 10% to 18% — higher than a 401(k) loan rate, but without the lost compounding, double taxation, or job loss risk. A personal loan is a straightforward debt instrument with a fixed term and fixed payments. It does not put $150,000 in retirement growth at risk.

Balance transfer cards. A 0% APR balance transfer card gives you 12 to 21 months of interest-free repayment. If your debt is under $10,000 and you can pay it off within the promotional period, this is one of the lowest-cost options available. The risk is failing to pay it off before the promotional rate expires.

Debt settlement. If your credit card debt is $15,000 or more and you are already falling behind on payments, settlement can reduce the total amount you owe — typically to 40% to 60% of the balance — without touching your retirement. Settlement has a temporary impact on your credit score, but your 401(k) stays intact and continues compounding. For someone with $30,000 in credit card debt, settling for $15,000 and keeping $30,000 invested in the 401(k) is almost always better than borrowing $30,000 from the 401(k), losing years of compounding, and still owing the full amount back to your own retirement account.

Accelerated self-payoff. Before considering any external solution, run the numbers on what happens if you simply increase your monthly credit card payments by $200 to $500. Use our debt calculator to see how much faster you pay off the debt with slightly higher payments. A 401(k) loan feels dramatic and decisive, but sometimes a disciplined payoff plan gets you to $0 within 2 to 3 years without touching retirement savings at all.

401(k) Loan vs. 401(k) Hardship Withdrawal — Know the Difference

A 401(k) loan and a 401(k) hardship withdrawal are not the same thing, and confusing them can be extremely expensive.

A loan is money you borrow from your account and repay with interest. If repaid on time, there are no taxes or penalties. The money goes back into the account.

A hardship withdrawal is a permanent removal of money from your account. It cannot be repaid. The IRS treats it as taxable income, and if you are under 59½, you owe an additional 10% early withdrawal penalty. On a $20,000 hardship withdrawal, you could lose $6,000 to $8,000 in taxes and penalties — and the $20,000 never goes back into your account. The IRS does not consider paying off credit card debt a qualifying reason for a hardship withdrawal in most cases, though some plans allow it if the debt was incurred due to a qualifying hardship like a medical emergency or eviction prevention.

A hardship withdrawal to pay off credit card debt is almost never the right choice. You are permanently reducing your retirement savings, paying taxes and penalties on money that was growing tax-free, and solving a temporary problem with a permanent sacrifice.

The Bottom Line

A 401(k) loan to pay off credit card debt is not the clean financial swap it appears to be. The interest rate comparison is misleading because it ignores double taxation, lost compounding, and job loss risk. For a 35-year-old borrowing $20,000, the true cost — including lost retirement growth — can exceed $130,000 by age 65. That is an extraordinarily expensive way to pay off credit card debt.

The better question is not "should I borrow from my 401(k)?" but "what is the least expensive way to resolve this credit card debt without compromising my retirement?" In almost every case, the answer is something other than a 401(k) loan — a hardship program, consolidation, settlement, or an accelerated payoff plan.

If you want help comparing your options, use our debt calculator to see the true cost of your credit card debt at your current payment level, and our budget calculator to identify how much you can realistically direct toward payoff each month. And if you are considering a 401(k) loan because the debt feels unmanageable — schedule a free consultation. We can walk through your full picture and help you find a path that resolves the debt without sacrificing the retirement savings you have spent years building.

FAQs

Is it a good idea to borrow from your 401(k) to pay off credit card debt?

In most cases, no. While the interest rate on a 401(k) loan is lower than credit card rates, the true cost includes lost compound investment growth, double taxation on loan repayments, and the risk of taxes and penalties if you leave your job before the loan is repaid. A $20,000 loan taken at age 35 can cost over $130,000 in lost retirement growth by age 65, assuming a 7% average annual return. Alternatives like hardship programs, consolidation loans, or settlement address the credit card debt without putting your retirement at risk.

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

If you leave your employer — whether voluntarily or through a layoff — while a 401(k) loan is outstanding, most plans require full repayment by your tax filing deadline for that year. If you cannot repay the remaining balance, the IRS treats it as a taxable distribution. If you are under 59½, you also owe a 10% early withdrawal penalty. On a $12,000 remaining balance in the 22% tax bracket, this could cost approximately $4,440 in taxes and penalties — effectively a 37% penalty for losing your job. This is the most underestimated risk of 401(k) loans and the reason most financial professionals consider them a last resort.

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

Under IRS rules, you can borrow up to the lesser of 50% of your vested 401(k) balance or $50,000. If 50% of your vested balance is less than $10,000, some plans allow you to borrow up to $10,000. The loan must be repaid within 5 years (longer for primary residence purchases) with substantially level payments made at least quarterly. Interest rates are typically the prime rate plus 1% to 2%.

Is a 401(k) loan better than a 401(k) hardship withdrawal?

Yes, significantly. A 401(k) loan is repaid to your account — if you repay it on schedule, there are no taxes or penalties, and the money goes back. A hardship withdrawal is a permanent removal that cannot be repaid. It is taxed as ordinary income, subject to a 10% early withdrawal penalty if you're under 59½, and the money is gone from your retirement account forever. On a $20,000 hardship withdrawal, you could lose $6,000 to $8,000 in taxes and penalties and permanently reduce your retirement savings. A hardship withdrawal to pay off credit card debt is almost never the right financial decision.

Does a 401(k) loan affect my credit score?

No. A 401(k) loan is not reported to credit bureaus, so it has no impact — positive or negative — on your credit score. This is one of the few genuine advantages of a 401(k) loan: for people with severely damaged credit who cannot qualify for a personal loan or balance transfer card, a 401(k) loan is accessible regardless of credit history. However, the lack of credit reporting also means that repaying the loan does not help rebuild your credit — unlike a personal loan or consistent on-time credit card payments, which do.

What are better alternatives to a 401(k) loan for credit card debt?

Several options address credit card debt without putting retirement savings at risk. Credit card hardship programs reduce interest rates to 0% to 9% with no credit check. Consolidation loans at 10% to 18% are available for borrowers with credit scores above 650. Balance transfer cards offer 0% APR for 12 to 21 months. And debt settlement can reduce the total balance by 40% to 60% for people with $15,000+ in debt who are already behind on payments. All of these preserve your 401(k) balance and its compound growth.

Sources (cited inline throughout article):