Big Decisions

Pay Off Debt or Invest? The Order That Wins (With the Math)

By · November 10, 2026
The short answer

Take your 401(k) match even while you’re in debt, then save $2,000, pay off all non-mortgage debt, build 3 to 6 months and invest about 15%. Even a 4% car loan comes first: investing instead wins by only a few hundred dollars, with risk.

Like the math? New money videos on YouTube. No hype, no jargon.

Subscribe to the channel

Leticia is 31 and makes $64,000 a year as a medical lab technician. She has $900 in savings, $4,800 on a credit card at 23.99%, and $13,500 left on a car loan at 4%. Her employer matches 100% of what she puts in her 401(k), up to 4% of her pay.

Her coworker swears she should “make her money work” and put everything in the stock market. Her mom says to never invest a dime while she owes anybody. Leticia just wants to know which one is right, because she found $650 a month in her budget and doesn’t want to waste it.

Here’s the short answer. Put enough in your 401(k) to get the full employer match, even while you’re in debt, because that’s an instant return no investment can promise. Then save a $2,000 cushion, pay off all your non-mortgage debt, build 3 to 6 months of expenses, and only then invest about 15% of your income. Yes, even a 4% car loan comes before investing. The math below shows why the “invest instead” win is smaller than it sounds.

Should I pay off debt or invest? The order that works

This is the order from the Middle Money Ladder, starting at step 3:

  1. 401(k) up to the match only. Not a dollar more yet.
  2. $2,000 starter cushion, because you have debt.
  3. Pay off all non-mortgage debt: cards, car, student loans, personal loans.
  4. 3 to 6 months of expenses in savings.
  5. Invest about 15% of your income, counting your match.

Here’s how that plays out for Leticia, with $650 a month extra on top of her minimums ($145 on the card, $330 on the car):

When What happens
Today Raises her 401(k) to 4% to get the full match.
Month 2 Cushion hits $2,000.
Month 9 Credit card paid off. All $1,125 a month rolls to the car.
Month 19 Car paid off. She rents, so she has no debt left at all.
Month 19 on $1,125 a month builds 3 to 6 months of expenses, then funds her 15%.

Total interest from month 3 on: about $816. That’s our own month-by-month math, and you can rerun it with your debts in the calculator below.

Not sure whether your extra money should go to savings first? That’s a different question, and should I pay off debt or save covers it, including why the cushion is $2,000 and not $1,000.

So what: you don’t pick between debt and investing forever. You pick an order, and the order puts debt first.

Why take the 401(k) match while you’re still in debt?

Because it’s part of your pay, and it’s the one return that beats every credit card.

Leticia puts in 4% of $64,000, which is $2,560 a year. Her employer adds another $2,560. That’s a 100% return the day the money lands, before the market does anything. Her card charges 23.99% a year. Nothing on the debt side comes close.

And it costs less than it looks. Because the money comes out before income tax, her take-home only drops from about $4,254 a month to about $4,074 (our estimate using 2026 federal brackets for a single filer, 7.65% FICA and 4% state; check your pay stub). That’s about $180 a month to capture $427 a month going into her account.

Our episode on saving your first $2,000 makes the same point while you build the cushion: keep taking the match the whole time, because we never leave free money on the table. Need the details on vesting and how a match works? See 401(k) basics.

So what: the match is the only investing that happens while you’re in debt. Everything above it waits.

Pay off credit card debt or invest?

This one isn’t close. Paying off a 24% card is a guaranteed 24% return. No fund, stock or app can promise you that.

The average rate on credit card accounts that were charged interest was 22.36% in the third quarter of 2026, according to the Federal Reserve. Now look at the stock side. Since 1949, the S&P 500 has gone through 11 bear markets, with an average drop of 33%, per Capital Group’s guide to market recoveries. Stocks have rewarded patient people over long periods, but they don’t pay a steady rate every year. Your card does charge one, every month.

Our video on why minimum payments keep you paying uses the rule of 72 to show it: money growing at 8% doubles in about 9 years, but a 22% card balance doubles in about 3. When you carry a balance, the snowball rolls toward the bank.

So what: if you have a credit card balance and money to invest, you don’t have money to invest. You have money to pay off the card.

What about low-interest debt, like a 4% car loan?

This is the strongest argument for investing first, so let’s give it a fair shot with real numbers.

At month 9, Leticia’s card is gone. She has $1,125 a month free and $10,897 left on her car at 4%. Two choices for the next 35 months, until the car’s original payoff date. To keep the test clean, pretend both versions of her already have their emergency fund, and assume the market earns a smooth 7% a year (a common long-term assumption, not a promise):

A: Pay off the car, then invest B: Pay the car on schedule, invest the rest
Car paid off About 10 months 35 months
Car interest paid About $198 About $666
Invested at month 44, smooth 7% About $30,378 About $30,770
Difference B is ahead by about $392

So the “invest instead” crowd is right on paper. They’re right by about $392 over nearly three years, or about $11 a month, and only if the market cooperates. Here’s what that number leaves out:

  • It isn’t guaranteed. If her investments earn less than 4% over that stretch, plan A wins. The 4% you save by paying the loan is certain.
  • Taxes can shrink it. Gains in a regular brokerage account can be taxed. The interest you avoid never is.
  • The payment is the real risk. Under plan A, Leticia has no car payment from month 19. If she loses her job in year two, she’s carrying zero debt instead of a $330 bill. That freedom doesn’t show up in a spreadsheet, but it shows up in a layoff.
  • Focus wins. One goal at a time is how people actually finish. Our podcast episode on paying off debt puts it this way: every debt you pay off is a raise you give yourself, and that raise is yours every month after.

The same logic covers student loans and personal loans. Low rate or high rate, they’re all part of step 5. If you’re weighing a low student loan rate, paying off student loans fast or slow runs that math in detail.

So what: the honest best case for investing over low-rate debt is a few hundred dollars, with risk. The Ladder gives that up on purpose to buy certainty and a free paycheck.

Should I pay off my mortgage or invest?

Invest first. The mortgage is the one debt the Ladder leaves alone during step 5, and it stays in the background until you’re investing about 15% of your income at step 7.

Why the difference? A mortgage is usually your largest balance, often at a lower rate, and paying it off can take decades. Waiting on that would mean skipping retirement savings for most of your working life, and you can’t get those years of growth back. Once you’re steadily investing 15%, extra mortgage payments are a fine use of leftover money. Before that, they’re not.

For Leticia, 15% of $64,000 is $9,600 a year, or $800 a month. Her 4% and the 4% match already cover about $427, so she adds about $373 a month, for example in a Roth IRA. Our walk through all nine Ladder steps lands on the same simple tool for step 7: about 15% into a 401(k) or IRA, using low-cost index funds. The details of opening that first account are in how to start investing.

So what: pay off everything but the house, get to 15%, then decide what to do with the mortgage. In that order.

Isn’t waiting to invest going to cost me?

A little, and less than you’d think. Leticia waits about 19 months to start step 6 and longer to start step 7. But she’s investing the whole time through her match, and when she does start, she’s investing with $1,125 a month that used to go to lenders. Most people who try to invest and pay debt at the same time end up doing both slowly.

Compound interest works both ways, and compound interest explained shows how. Right now, it’s working against you on every balance you carry. Flip that first.

Run your own numbers

List your debts and see how fast extra payments clear them with the free debt payoff calculator.

Your debts

What to do this week

  1. Check your 401(k) contribution. If you’re below the match, raise it to the match today. If you’re above it and still have debt, lower it to the match.
  2. Write down every debt except your mortgage: balance, rate and minimum payment.
  3. If you have less than $2,000 saved, point your extra money there first.
  4. Once the cushion is full, send every extra dollar to one debt at a time until all of them are gone.
  5. Set a reminder for the day your last debt is paid: that’s when you start your 3 to 6 months, then your 15%.

Frequently asked questions

Should I pay off debt or invest in my 401(k)?

Do both, in a specific way: contribute enough to get the full employer match, and send everything else to debt. The match is an instant 50% or 100% return. Contributions above the match wait until your non-mortgage debt is gone and your 3 to 6 months is built.

Is it better to invest or pay off debt with a lump sum?

Keep $2,000 in savings, then use the rest on your debt. A tax refund or bonus aimed at a 22% card earns a guaranteed 22%. Our post on what to do with extra money walks through the full priority list.

Should I invest if my debt is under 5% interest?

Not beyond the match. On paper, investing might beat a 4% or 5% rate by a small amount over a few years, but it isn’t guaranteed, and the monthly payment limits every other choice you make. Pay it off, then invest with the freed-up cash.

Should I stop contributing to my Roth IRA to pay off debt?

Yes, pause new Roth IRA contributions while you have non-mortgage debt, and keep only the 401(k) match. Don’t withdraw what’s already there, since you’d lose years of tax-free growth. Restart once you reach step 7.

Do I pay off debt or invest if I’m older?

Same order, with more urgency. Take the match, clear the debt as fast as you can, build the cushion, then save hard. If you’re behind on retirement, the catch-up rules let you save more once you get there.

Keep reading

Education, not financial advice. The numbers here are examples; talk to a licensed professional about your own situation. Some links may be sponsored or affiliate links; see our disclosure.

The Middle Money Guy, illustrated host of The Middle Memo newsletter

THE MIDDLE MEMO

One money decision. One number worth knowing. One mindset shift. In your inbox every week, free, in about four minutes of reading.

No spam, no hype. Unsubscribe anytime.