Skip to content

Home / Blog

Personal finance 8 min read

Debt repayment vs. investing: the real tradeoff

Paying 18% APR debt first beats investing at 7-10% average market returns. But an employer 401(k) match is a 100% guaranteed return. Here is how to think through the actual tradeoff.

You have $500 per month you could direct either at debt or into investments. The interest rate on your debt is 18%. The stock market's long-run average return is roughly 7-10% per year. The math says paying the debt first wins. But the math assumes certainty about the future market return that does not exist, and it ignores employer matching, which changes the calculation entirely.

This decision has a correct answer in many specific situations. The answer depends on three variables, not one.

The basic math comparison

Every dollar you pay toward 18% APR debt earns a guaranteed 18% return. You are not paying interest on that dollar anymore. The return is risk-free and immediate. By comparison, the S&P 500 has returned approximately 10% annually on average over long periods, but that is a historical average, not a guarantee. Any given 5-year window can produce returns significantly above or below that.

At debt rates above approximately 7-8%, the guaranteed return of debt payoff mathematically dominates average expected market returns on a risk-adjusted basis. At rates below 4-5%, the expected return from investing likely exceeds the interest cost, especially over long time horizons.

The middle ground, roughly 6-14%, is genuinely uncertain and depends on your time horizon, risk tolerance, and what happens to market returns during your investing window.

Employer matching changes everything

A 401(k) employer match is an immediate 50-100% return on the matched dollars before any market return is considered. If your employer matches 100% of contributions up to 3% of salary, every dollar you contribute up to that cap doubles immediately. No investment or debt payoff strategy can beat a 100% guaranteed return.

The standard recommendation from financial planners is: contribute to your 401(k) at least enough to capture the full employer match, then aggressively pay down high-rate debt, then return to tax-advantaged investing. The match is the exception that overrides the pure debt-payoff math for high-rate debt.

Tax-advantaged accounts add complexity

IRA and 401(k) contributions reduce your taxable income (for traditional accounts) or provide tax-free growth (for Roth accounts). These tax benefits increase the effective return of contributing beyond the market return alone. For someone in a 24% federal tax bracket, a traditional 401(k) contribution has an effective first-year return of 24% from the tax savings alone, before any market gains. This often makes maxing tax-advantaged accounts competitive with paying off even moderately high-rate debt.

The psychological case for hybrid approaches

Even where the math favors complete debt payoff before any investing, some people find a hybrid approach more sustainable. Directing 100% of surplus toward debt with no progress visible in an investment account can be demotivating over a 3-5 year payoff window. Behavioral finance research suggests that visible progress toward multiple goals sometimes produces better outcomes than optimizing a single goal that feels distant.

A common hybrid: pay minimums on low-rate debt, direct extra toward high-rate debt (above 10%), and contribute enough to retirement accounts to capture any employer match. Adjust as balances clear. (See: Avalanche vs. snowball: the math for how to sequence the debt portion of this.)

The emergency fund variable

Allocating every surplus dollar to debt leaves no cushion for unexpected expenses. Without an emergency fund, an unexpected $1,000 expense may require using the same high-rate credit card you are trying to pay off, reversing months of progress. Most financial planners recommend building a small buffer, often $1,000-2,000, before aggressive debt payoff begins, to break this cycle.

The science behind it

  1. Benartzi, S., & Thaler, R. H. (2007). Heuristics and Biases in Retirement Savings Behavior. Journal of Economic Perspectives, 21(3), 81-104. Analyzed how heuristics shape retirement savings decisions, finding that framing and default options dramatically affect contribution levels independent of the underlying math.
  2. Odean, T. (1999). Do Investors Trade Too Much? American Economic Review, 89(5), 1279-1298. Documented systematic overconfidence in expected returns, which contributes to undervaluing the guaranteed return from debt payoff.
  3. Prelec, D., & Loewenstein, G. (1998). The Red and the Black: Mental Accounting of Savings and Debt. Marketing Science, 17(1), 4-28. Showed how people mentally separate debt and savings decisions that should be evaluated jointly, often leading to suboptimal allocation between payoff and investment.

CostMe shows numbers. We don't give financial advice. Talk to a financial planner for personal guidance.

CostMe shows the 30-year invested value of any amount. Run the number at your debt's APR. If it exceeds average market returns, debt payoff wins. The calculator makes the comparison concrete rather than abstract.

Start free
Debt repayment vs. investing: the real tradeoff · CostMe