Debt interest almost always exceeds savings interest, which makes the mathematical answer straightforward and incomplete.
The arithmetic
Repaying debt at a higher rate than savings earn produces a net gain.
Which is why the standard advice exists.
Why the answer is not always that
Access to money in an emergency.
Which prevents the next round of borrowing.
The common compromise
A small buffer alongside debt repayment.
Which addresses both considerations imperfectly.
Employer pension contributions
Matched contributions typically beating debt repayment.
Which is one clear exception.
The mortgage question
Overpaying a mortgage against investing or saving.
Which depends on the rate, the tax treatment and your tolerance for risk.
At higher mortgage rates the arithmetic favours overpayment quite clearly.
High-rate debt first
Card and short-term debt above almost any savings return.
Which makes that part uncontroversial.
Offset arrangements
Savings reducing the balance interest is charged on.
Which gets both benefits at once where available.
Psychological factors
Having money accessible reduces stress measurably.
Which is a legitimate input rather than an irrational one.
A reasonable default
A small buffer, then high-rate debt, then longer-term saving.
Why the pure arithmetic answer fails in practice
Putting every spare pound against debt leaves nothing for the next unexpected cost.
Which means the next unexpected cost goes back on the card.
People following the mathematically optimal strategy frequently end up with more debt than those who kept a modest buffer.
Tax-advantaged accounts
Contributions with employer matching or tax relief.
Which can exceed even high debt interest in effective return.
Interest rate thresholds
The point at which debt repayment clearly wins.
Which is anything meaningfully above what savings pay after tax.
Reviewing annually
Rates change and so does the right answer.
A general note
This is general description rather than financial advice, and individual circumstances and tax positions differ substantially.
A workable sequence
Build a small buffer, capture any employer pension match, clear high-cost debt, then build the full emergency fund, then invest.
Which is close to what most independent guidance converges on.
The ordering matters less than getting the first and third items done.
Mortgage overpayment limits
Annual allowances before early repayment charges apply.
Which should be checked before overpaying.
Tax on savings interest
Reducing the effective return.
Which strengthens the case for debt repayment.
Reviewing when rates move
The comparison changes as savings and borrowing rates move.
A general note
Tax treatment and product rules differ by jurisdiction; this is general description rather than advice.
Where to get help that costs nothing
Most countries have free, regulated debt advice services funded by government, charity or by the creditor sector itself. They will review your whole position, explain every option available in your jurisdiction, and deal with creditors on your behalf if you ask them to.
They do not sell products, they do not charge, and they deal with situations far worse than yours every working day without judgement. The most common thing their advisers say is that people contact them years later than they should have.
Commercial firms offering the same services for a fee exist alongside them and are frequently advertised more heavily, which is the main reason many people never find the free option.
One thing worth remembering
Debt problems are experienced as personal failure and are usually the result of something ordinary: an income drop, an illness, a relationship ending, a bill larger than expected.
The people who resolve them are not more disciplined than everyone else. They are generally the ones who opened the letters, wrote down what was owed to whom, and asked someone for help earlier than felt comfortable. None of those three steps costs anything, and all of them get harder the longer they are postponed.
A general note
This article describes how these arrangements generally work and is not financial or legal advice. Rules, protections, terminology and available solutions differ substantially between countries and change over time.
Revisiting the decision
Once a year, or whenever rates or circumstances change materially.
Which is often enough without becoming a preoccupation.
A closing thought on all of this
Almost every mechanism described above rewards acting early and punishes waiting. That is true of creditor negotiation, of court claims, of arrears, of entitlement checks and of the decision to ask for help.
It is also the hardest thing to do, because the point at which acting early would help most is the point at which the problem feels smallest and most avoidable. Recognising that pattern is worth more than any individual piece of information here.
Keeping records
Whatever the situation, a written record of what is owed, to whom, at what rate and on what terms is the foundation everything else sits on.
Most people in difficulty do not have one, and producing it is usually the first thing an adviser asks for.