Nobody sells you debt repayment. There is no app with confetti for killing a credit card balance, no influencer earning a commission when you overpay a loan, and that silence distorts the whole conversation: investing gets the marketing, repaying gets a shrug. So let us say the quiet part plainly. Paying off a debt is an investment, with a return equal to the interest rate you stop paying, earned with absolute certainty, tax-free in most places, and immune to every crash.
That framing answers most cases on its own. Markets offer expected returns; your debt charges a guaranteed one. When the guaranteed rate is high, no honest comparison lets an index fund beat it.
The one-sentence answer: buffer first, employer match if you have one, then expensive debt dies before a euro is invested, and only cheap long-term debt earns the right to coexist with a portfolio.
What actually decides this
Your debt's rate is your hurdle rate
Every euro you hold has an alternative use: repaying debt at its interest rate, guaranteed. For an investment to deserve that euro instead, its expected return has to clear that hurdle, after costs and taxes, and expected is doing heavy lifting in that sentence. The hurdle-rate lesson below runs the logic in full; once you see it, the credit-card-versus-index-fund question stops being a question.
Guaranteed beats expected at anything like the same number
A market's long-run average arrives with crashes, decade-long flat stretches and no contract. Repayment's return is signed. Comparing the two at face value is a category error: a guaranteed return equal to even a mid-single-digit rate is a luxury asset, and the only place retail investors are ever offered one is their own liability column.
The order of operations exists for a reason
A small cash buffer comes before aggressive repayment, because without one, the first surprise expense goes straight back onto the most expensive debt you have. An employer pension match, where it exists, outranks almost everything, since it is an instant return no debt rate matches. Then expensive debt, then investing. The sequence is boring precisely because it is load-bearing.
The psychology is allowed to vote
The avalanche method, highest rate first, wins on arithmetic. The snowball method, smallest balance first, wins on momentum, and a plan you abandon loses to a plan you keep. The same honesty applies at the other end: if a low-rate mortgage coexisting with a portfolio keeps you awake, overpaying it is buying sleep, which is a real asset that never shows up in a spreadsheet.
The decision, compressed
| Your situation | What wins | Why |
|---|---|---|
| No cash buffer yet | A starter buffer, before extra repayment | Without it, the next surprise refills the expensive debt |
| Employer match unclaimed | The match | An instant guaranteed return no debt rate beats |
| Card or consumer credit | Repayment, always | A guaranteed double-digit class return; markets offer no honest rival |
| Mid-rate loans | Usually repayment | Guaranteed beats expected when the numbers are even close |
| Cheap long-term mortgage | Often invest alongside | The hurdle is low; time in the market can clear it, sleep permitting |
| You lie awake either way | The option that ends the insomnia | A kept plan beats an optimal one you abandon |
Scroll the table sideways to see every column.
Run your own numbers tonight
List every debt with its real interest rate.
The contract rate, not your memory of it. Revolving credit cards in particular charge rates people refuse to believe until they read their own statement.
Sort by rate and draw the line at your honest market expectation.
Everything charging more than markets can reasonably be expected to return, after costs and taxes, is a guaranteed win waiting in your own liability column. That is the repayment list.
Automate the attack the same way you would automate investing.
A standing order against the target debt the day after payday. Willpower is a battery, as the psychology course puts it, and automation does not run on batteries.
Reclassify the freed payment the month a debt dies.
The repayment amount already fits your budget, so redirect it whole: to the next debt on the list, then, when the list is empty, into the monthly index purchase. That single habit is how repayers become investors without feeling the transition.