Using a 401(k) loan to pay off credit card debt is one of the more tempting moves in personal finance: you borrow from yourself, pay yourself back, and swap a high card rate for what looks like a cheaper loan. It is genuinely less destructive than cashing out a 401(k) outright -- but "less destructive" is not the same as "a good idea." The core problem is that you are moving protected retirement money to clear unsecured debt that your creditors had far weaker power to collect. This is general information, not financial, tax, or legal advice; for your specific situation talk to a qualified professional. Here is how a 401(k) loan actually works and where it can quietly go wrong.
A 401(k) loan is not a withdrawal
The single most important distinction up front: a 401(k) loan is mechanically different from a cash-out (an early withdrawal). If you repay the loan on time, it is not a taxable distribution. That means no income tax on the amount up front and no 10% early-withdrawal penalty that normally applies before age 59½. Instead, you take money out of your own plan and repay it with interest -- and that interest goes back into your own account, not to a bank.
A 401(k) loan also does not appear on your credit report, because it is not a loan from a lender in the usual sense. So unlike a personal loan or a balance transfer, it has no direct effect on your credit score and no hard inquiry. If you want the far more damaging version of this question -- pulling the money out permanently -- read our companion answer on using a 401(k) to pay off debt. This page is only about the loan.
How much you can borrow and how long to repay
Federal rules set the ceiling. You can generally borrow the lesser of $50,000 or 50% of your vested balance. Repayment is usually required within about five years, typically through automatic payroll deductions, with payments made at least quarterly. (One common exception: loans used to buy a primary home may allow a longer term.)
- The $50,000 / 50%-of-vested-balance figure is the IRS maximum -- your plan can be stricter, and many are.
- Not every employer's plan even offers loans; loans are a plan feature, not a guarantee.
- Some plans cap the number of loans you can have outstanding or charge an origination or annual maintenance fee.
So before counting on a 401(k) loan, confirm what your specific plan allows -- the legal maximum and what is actually available to you can be very different numbers.
The job-loss trap that ruins the math
This is the risk most people underestimate, and it is the big one. As long as you stay employed and keep making payroll-deducted payments, the loan behaves exactly as advertised. But if you leave or lose your job with a balance still outstanding, the rules change fast. Under current rules, you generally have until your federal tax-filing deadline for that year (including extensions) to repay the remaining balance.
If you cannot come up with that money on that timeline, the unpaid balance is treated as a distribution. At that point you owe ordinary income tax on it, and if you are under 59½ you also owe the 10% early-withdrawal penalty -- the exact tax-and-penalty hit you took the loan to avoid. In other words, a job loss can turn your "safe" loan into the precise cash-out you were trying to dodge, often at the worst possible moment, when your income has just dropped. If that happens, our note on owing taxes on a 401(k) withdrawal walks through what comes next.
The hidden costs even when everything goes right
Suppose you keep your job and repay every dollar on schedule. There are still real costs that do not show up on any statement:
- Opportunity cost. The money you borrowed is out of the market while the loan is outstanding, so it misses whatever growth your investments would have earned. Over several years, the interest you pay yourself may not make up for the returns you gave up.
- Paused contributions and lost match. Some plans suspend your ability to contribute while a loan is outstanding, and if you stop contributing you can also miss any employer match -- free money you do not get back. Check whether your plan does this.
- The "double taxation" nuance. You repay the loan with after-tax dollars, and a traditional 401(k) is taxed again when you withdraw in retirement, so the interest portion is sometimes described as taxed twice. The reality is more nuanced than the slogan, and analysts disagree on how much it actually costs in practice -- treat it as one more reason for caution rather than a precise figure to plug into a spreadsheet.
What you give up: creditor protection
Here is the part most calculators ignore, and it is the heart of why this move is rarely worth it. Your 401(k) is among the most strongly protected money you own: workplace retirement plans are generally shielded from creditors under ERISA, and retirement accounts enjoy strong exemptions in bankruptcy. Credit card debt is the opposite -- it is unsecured. Unsecured debt is dischargeable in bankruptcy, can often be settled for less than the full balance, and eventually becomes time-barred when the statute of limitations runs.
When you take a 401(k) loan to pay off credit cards, you shrink your shielded nest egg to wipe out a debt your creditors had comparatively weak power to collect. You are trading away your strongest financial protection to chase a lower interest rate. The same trap applies, even more harshly, when people pledge their home to clear unsecured debt. A lower rate is real, but it is rarely worth surrendering protections that exist precisely for moments when life goes sideways.
When a 401(k) loan might be defensible
It is not never. A 401(k) loan can be a reasonable choice in a narrow set of circumstances -- but all of them need to be true at once, not just one:
- You have a stable job you are confident you will keep through the full repayment period, since job loss is the central risk.
- You have genuine discipline -- the spending that built the card balances has actually changed, and you will not run the cards back up and end up owing both.
- The all-in cost is clearly lower than the alternatives, after honestly counting opportunity cost, any paused match, and fees.
And even then, only after you have compared the safer, free-first options: a plain unsecured consolidation loan that never touches your retirement, a nonprofit credit counseling debt management plan (DMP) through an NFCC-member agency, or a balance transfer if you qualify. Run the numbers with our debt consolidation calculator, and if you are unsure which path fits, the which debt relief option tool can route you. For most people, the honest answer is to keep the retirement money protected and solve unsecured debt with unsecured tools.