Home › Guides › Investing While in Debt: What to Pay Off First (With Real Math)

Investing While in Debt: What to Pay Off First (With Real Math)

By Brian Longest · July 13, 2025

This is one of the most common questions I get, and it usually arrives in a slightly panicked form: "I've got $9,000 on credit cards, but everyone says I'm losing money sitting in cash. Should I be investing while in debt?"

Grow Wealth Tax-Free: Buy Crypto in an IRA & Let Gains Compound | Step-by-Step Guide Inside
Prefer to watch?
Grow Wealth Tax-Free: Buy Crypto in an IRA & Let Gains Compound | Step-by-Step Guide Inside

Brian walks through it on video.

It's a fair question, because both things are true at the same time. Dollars sitting in a bank account do lose purchasing power when inflation runs higher than the interest you're earning. And a credit card balance at a high rate is quietly draining you every single month. So which one wins?

Real math, no shame, no hype. Let's work it out.

The two forces pulling on your money

On one side you have debt interest. That's a guaranteed cost. If your card charges you 24%, that's not a forecast — it's a bill. Every month you carry the balance, you pay it.

On the other side you have investment returns. Those are real, and over the last couple of years assets like stocks, gold, silver and crypto have gone up substantially more than inflation. But they're not guaranteed. They go up and they go down. You hold them because over time they tend to outrun currency, not because next year is promised to you.

So the question becomes simple when you phrase it right: would you rather earn an uncertain return or avoid a certain cost?

The worked example

Say you have $5,000 of spare cash and $5,000 on a credit card at 24%. You've got two options.

Option A: Invest the $5,000, keep the debt

Let's be generous and say your investment gains 15% in a year. You're up $750 on paper.

Meanwhile the card charges 24% on $5,000. That's roughly $1,200 in interest over the year, and it comes out of your checking account in real money, not paper.

Net result: down about $450. And the $750 gain isn't even certain — the card's $1,200 is.

Option B: Pay off the card, then invest

You wipe out the $5,000 balance. You've now "earned" a guaranteed 24% by not paying it. And here's the part people miss: the minimum payment you were sending every month — call it $125 — is now free money. You can send that into investments every month forever.

$125 a month for the next 10 years is $15,000 of contributions you didn't have before, plus whatever it grows to. Paying off the card didn't stop you investing. It funded your investing.

Run your own version of both sides — the Credit Card Payoff Calculator shows you the real interest cost of your balance, and the Investment Interest Calculator shows what those freed-up payments could become.

Where the line actually is

I'm not a financial advisor, and this is general education, not personalized advice. But here's the framework I use on my own money.

Above about 10% interest: pay it off first

Credit cards, store cards, high-rate car loans, payday-style debt. These rates are high enough that beating them with investments is a coin flip at best. Kill them. The Debt Avalanche Calculator attacks the highest rate first, which saves the most interest; the Debt Snowball Calculator attacks the smallest balance first, which some people stick with better. Either beats standing still.

Below about 5% interest: invest alongside

A low-rate mortgage or a cheap car loan is a different animal. Paying it down is fine, but it's not urgent, and there's a real argument for putting money into assets instead. See how to pay off your mortgage early without wrecking your budget for how I think about that trade-off.

In between: your call, but keep a cushion

Between roughly 5% and 10% it's genuinely close, and the deciding factor is usually whether you'd sleep better with less debt or more assets. If you have no emergency savings at all, the cushion comes first regardless. Debt you take on because your water heater died is the most expensive kind.

One important exception: employer matches and tax-advantaged accounts

There is one place where investing while in debt clearly wins, and it's worth knowing about.

Retirement accounts have annual contribution limits. If you don't use this year's limit, it's gone — you can't go back and fill it in later. And inside those accounts, your gains compound without capital gains tax dragging on them along the way.

Here's what that drag looks like. Say $10,000 grows to $60,000. That's a $50,000 profit. In a regular taxable account at a 15% capital gains rate, you'd owe $7,500, leaving $52,500 total to reinvest. In a retirement account, you've got the full $60,000 working. Do that again and it's $105,000 vs. $120,000. Over ten or twenty years that gap keeps widening.

So if your employer matches contributions, or you're about to lose a contribution year entirely, capturing that while you pay down debt can make sense. Talk to a tax professional or financial advisor about your specific numbers — that part genuinely depends on your income and situation.

Traditional vs. Roth, in one paragraph

With a traditional account, the money you put in isn't taxed now. Earn $50,000, contribute $2,000, and you're taxed on $48,000. It grows untaxed and you pay ordinary income tax when you withdraw later. With a Roth, you contribute money that's already been taxed, and qualified withdrawals later aren't taxed. Which one fits you depends on your age, income and expectations — that's an advisor conversation, not a blog conversation.

A practical order of operations

  1. Get current on everything. Late fees and penalty rates undo any plan.
  2. Build a small cash cushion so the next surprise doesn't become new debt.
  3. Capture an employer match if you have one.
  4. Attack anything above roughly 10% interest, hard. Use Avalanche vs. Snowball to pick your method and stick with it.
  5. Once the expensive debt is gone, redirect those exact payments into investing.
  6. Diversify. I hold stocks across different industries, treasuries, commodities like gold and silver, and crypto. Not one thing — many.

Step 5 is the one that changes lives, and almost nobody does it. When the card is finally paid off, that $125 or $400 or $900 a month doesn't disappear — it goes somewhere. If you don't decide where, your lifestyle will decide for you. Point it at assets on purpose.

What about cutting expenses to do both?

Sometimes the honest answer is that you don't have to choose — you have to find more money. Temporarily trimming a few subscriptions and habits can fund debt payoff without touching your investing. I've covered exactly that in how to pay off credit card debt fast by cutting expenses. It's not forever. It's until the cards are dead.

The bottom line

Investing while in debt isn't automatically wrong, but high-interest debt is a guaranteed loss and investment returns are a hopeful gain. Guaranteed beats hopeful. Clear the expensive stuff first, capture any free money like an employer match along the way, and then redirect every dollar you were sending to the bank into assets you actually own.

If you want to see the numbers for your own situation, start with the free calculators and build a plan you can actually follow. Then come back and put that freed-up payment to work.

Run your numbers