Reviewed by Soft Crown Editorial Team, fact-checked against primary government sources. Last updated 2026-05-02.

401(k) Loan to Pay Off Credit Card Debt: 2026 Math

Try the calculator

Borrowing from Your 401(k) to Pay Off Credit Cards: What the Numbers Say

Reviewed by Soft Crown Editorial Team. Last verified May 2, 2026.

Critical disclosure: A 401(k) loan that goes wrong can permanently damage your retirement. If your employment ends before you finish repaying, the unpaid balance typically converts to a deemed distribution: taxed as ordinary income plus a 10% early-withdrawal penalty if you are under 59-1/2. We are not retirement planners. Consult a CPA or fee-only fiduciary financial planner before borrowing from retirement assets.

A 401(k) loan looks attractive on paper: typical rates are prime + 1-2 points, and the interest you pay goes back to your own account. The math compared to 22%+ credit card APR appears strong. Two real risks change that math: the deemed-distribution risk if you leave the job, and the opportunity cost of having the borrowed funds out of the market.

Plan

TL;DR

Our editorial position: there are almost always better options than borrowing from your 401(k) to pay off credit cards. The math comparison must include the structural risks, not just the rate spread.

When 401(k) loan might make sense:

  • You have stable, long-term employment with no plans to leave
  • The credit card debt is causing financial-emergency-level stress (not just slow payoff)
  • You have exhausted balance transfer, personal loan, and DMP options
  • You are far from retirement (60+ years old, retirement-readiness already strong)
  • The loan term you can sustain is under 3 years

When 401(k) loan is the wrong choice:

  • Your employment situation is anything less than rock-solid
  • You have any other consolidation option available
  • You are under 50 and still building retirement savings
  • You have a history of running up credit cards (the cards stay open)

How 401(k) loans actually work

Per Department of Labor 401(k) loan rules:

  • Loan limit: lesser of $50,000 or 50% of vested balance
  • Term: typically 5 years for general loans (longer for primary-residence loans, but those are not for credit card payoff)
  • Interest rate: typically prime + 1-2 points (~9.5-10.5% in May 2026)
  • Repayment: payroll-deducted in equal installments
  • Interest paid: goes back to your own 401(k) account, not to a lender
  • Tax treatment: loan proceeds are not taxable; the loan is not a distribution (assuming you repay)

The “interest paid to yourself” framing is what makes the loan attractive. You are essentially paying yourself instead of a credit card issuer.

Math worked example

Take a 35-year-old with $20,000 in credit card debt at 22.30% APR and a $80,000 401(k) balance.

DIY payoff (avalanche), $400/mo on cards: 60 months, $9,400 interest. Total cost: $29,400.

401(k) loan, 5-year term, 10% interest, $400/mo payment: Loan amount $20,000 (eligible: $40,000 max). Interest paid: $5,500 (back to own 401(k)). Total cost: $25,500. Apparent savings: $3,900.

But: the $20,000 borrowed is out of the market for 5 years. At a 7% expected return, that opportunity cost is $20,000 × 7% × 5 years = $7,000 of foregone growth (rough simple calculation; compounding makes it slightly higher).

Net 401(k) loan effect: Apparent $3,900 savings + $5,500 interest paid to self - $7,000 opportunity cost = -$2,400. The 401(k) loan is roughly a wash on math, before counting risks.

Worse: if employment ends in year 2 with $14,000 still owed and no immediate ability to repay, that $14,000 becomes a deemed distribution. At 22% effective tax (federal + state) plus 10% early-withdrawal penalty = 32%. Tax bill: $4,480. Now total cost is $25,500 + $4,480 = $29,980. Worse than DIY.

The math under stable employment is roughly a wash. The math under any employment risk turns negative quickly.

Calculator

Run the comparison

The debt consolidation calculator does not directly model 401(k) loans because the structural risks (employment-end risk, opportunity cost) are not pure cash flows. To compare:

  1. Run DIY payoff in the calculator: get total cost.
  2. Compute 401(k) loan total cost: principal + interest paid to self.
  3. Add opportunity cost: borrowed amount × expected market return × loan term.
  4. Compare.

Most cases come out near a wash on stable-employment math, with significant downside if employment ends.

What “out of the market” really means

When you borrow $20,000 from your 401(k), that $20,000 is moved from invested assets (stocks/bonds) to a “loan receivable” position in your account. The loan accrues interest (which you pay yourself), but the principal does not earn market returns.

Long-term equity returns have averaged ~7-10% annualized over multi-decade periods (per S&P 500 historical data; past performance is not a guarantee). For a 5-year loan, the opportunity cost on $20,000 at 7% expected return is roughly $7,000 of foregone growth.

This is not theoretical. The 401(k) account that would have grown to $28,000 over 5 years instead grows to $20,000 (the repaid principal) plus the $5,500 of interest paid back. Net account at year 5: $25,500. Vs $28,000 had you not borrowed. Opportunity cost: $2,500-7,000 depending on market performance.

Hardship withdrawal: even worse

A hardship withdrawal (not a loan) is a permanent distribution. You are taxed at ordinary income rate plus 10% early-withdrawal penalty if under 59-1/2. The withdrawn amount is NOT replaced; your retirement account is permanently smaller.

For a $20,000 hardship withdrawal at 22% federal/state tax + 10% penalty:

  • Tax: $4,400 + Penalty: $2,000 = $6,400 to government
  • Net to credit card payoff: $13,600
  • Permanent retirement loss: $20,000 + decades of compounded growth

Hardship withdrawal to pay credit cards is almost always the wrong move. It is mentioned here only to clarify the difference from loans.

Strategies

Why our editorial default is “do not borrow from your 401(k) for credit card payoff”

Three reasons:

  1. The math is roughly a wash on stable-employment scenarios (as computed above), once opportunity cost is included.
  2. The downside risk is severe. Job change, layoff, or even voluntary resignation typically triggers immediate repayment requirements; failure to repay turns the loan into a taxable distribution.
  3. The behavioral tail is bad. Credit cards remain open after 401(k) loan payoff. Many people run them back up. Now they have a depleted retirement account AND new credit card debt.

The math advantage of 401(k) loans is real only when you are absolutely certain about employment stability AND you have a rock-solid plan to not re-accumulate the credit card debt.

When the calculator says “no other option works”

If your math shows:

  • DIY payoff takes 8+ years
  • You do not qualify for personal loan or balance transfer
  • DMP is not feasible at your income level
  • Bankruptcy is on the table

Then a 401(k) loan can be a middle-path option, but consult a fee-only fiduciary financial planner first. The financial planner’s role is to verify that the math works for your specific situation, including your retirement-savings glide path.

Loan repayment if you change jobs

Per IRS rules:

  • Some plans require immediate repayment (lump sum) when employment ends
  • Recent rule changes give until the tax filing deadline of the year of employment end (with extensions) to repay or roll over the unpaid balance into another retirement account
  • Failure to repay = deemed distribution = taxable + penalty

The timeline has improved post-2018 Tax Cuts and Jobs Act, but the risk remains real for anyone who cannot fund repayment from new employment.

Why the “interest goes back to yourself” framing is misleading

The popular framing: “I’m paying 10% interest, but it goes back to me, so it’s not really a cost.”

The actual math: yes, the interest goes to your account. But the principal you borrowed is out of the market and not earning returns. The interest you pay to yourself comes from your own pocket (post-tax dollars). And then in retirement, when you withdraw the funds, you pay tax again.

So the $5,500 interest you “pay yourself” was funded by post-tax wages, deposited into a tax-deferred account, and will be taxed again on retirement withdrawal. That is partial double taxation on the interest portion. Not a free lunch.

Resources

Sibling spokes

Parent hub

FAQ

Frequently asked questions

Should I borrow from my 401(k) to pay off credit card debt?

Almost never as a first choice. The math advantage on stable-employment scenarios is roughly a wash once opportunity cost is included, and the downside risk (deemed distribution if employment ends) is severe. Exhaust balance transfer, personal loan, and DMP options first.

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

Per Department of Labor rules, the lesser of $50,000 or 50% of your vested balance. So if you have $30,000 vested, max loan is $15,000.

What is the interest rate on a 401(k) loan?

Typically prime rate + 1-2 percentage points. As of May 2026 with prime at ~8.5%, 401(k) loans are running 9.5-10.5%. The interest paid goes back to your own account, but it comes from post-tax wages.

Do I pay taxes on a 401(k) loan?

The loan proceeds are NOT taxable income (it is a loan, not a distribution). However, if you fail to repay the loan and it becomes a deemed distribution, the unpaid amount is taxed as ordinary income plus 10% early-withdrawal penalty if you are under 59-1/2.

What happens if I leave my job before paying off the 401(k) loan?

Per recent IRS rules, you typically have until the tax filing deadline of the year your employment ends (with extensions) to repay the unpaid balance or roll it over to an IRA or new employer’s plan. Failure to do so = deemed distribution = taxable plus 10% penalty.

Is a 401(k) loan better than a personal loan?

Sometimes mathematically, especially if you do not qualify for a low-rate personal loan. Often worse risk-adjusted because the personal loan does not jeopardize retirement savings or trigger tax events on job change.

Can my employer prevent me from taking a 401(k) loan?

Yes. Loans are an optional plan feature; employers may or may not offer them. Some plans restrict loans to specific reasons (typically not credit card payoff).

Will taking a 401(k) loan hurt my credit score?

No. 401(k) loans do not appear on credit reports. They are not reported to credit bureaus.

What is the difference between a 401(k) loan and a hardship withdrawal?

A loan is repaid; the funds return to your account. A hardship withdrawal is permanent; the funds are taxed and penalized and never return. For credit card payoff, a withdrawal is almost always the wrong move because of the permanent retirement loss.

Can I take multiple 401(k) loans simultaneously?

Most plans allow only one outstanding loan at a time. Some allow up to two. Check your specific plan rules.

Sources

  1. Department of Labor, Retirement Plan Loans, accessed 2026-05-03.
  2. IRS, Retirement Topics: Plan Loans, accessed 2026-05-03.
  3. IRS, Hardship Distributions from 401(k) Plans, accessed 2026-05-03.
  4. Federal Reserve H.15 Selected Interest Rates, accessed 2026-05-03.
  5. Consumer Financial Protection Bureau, 401(k) Loans, accessed 2026-05-03.

Not financial advice and not retirement planning advice. A 401(k) loan that goes wrong can permanently damage retirement savings. Consult a CPA or fee-only fiduciary financial planner before borrowing from retirement assets.

How this fits with the four strategies

The card-stack calculator above models avalanche, snowball, balance transfer, and hybrid strategies in parallel. Switch the strategy pill to see how the numbers move for your specific input.

Related calculators

Quick answers

No additional questions for this page. Have one we missed? Get in touch.