“I have $5,000extra. Should I pay off my loans or put it in the market?” We get this question more often than any other. The answer people usually hear is either a frustrating “it depends,” or a confident pitch for whichever option the person giving the advice prefers. Neither is useful. There is actually a clean framework that answers this consistently, and it starts with two questions.

Question one: what is the interest rate on the debt? Question two: what is a realistic expected return on the investment? Those two numbers, compared honestly, resolve almost every version of this question. Everything else is nuance on top.

The core principle

A dollar you use to pay off debt earns you a guaranteed return equal to that debt's interest rate. Pay off a credit card at 22% APR and you have, effectively, earned 22% on your money, tax-free and risk-free. There is no investment on earth that reliably beats that.

A dollar you invest earns you an uncertain return. Over long horizons, broad stock-market index funds have historically returned 7% to 10% annualized, with inflation adjusted around 6% to 7%. That number is real but it is an average over decades, not a promise for any particular year.

So the core comparison is: guaranteed-X% on the debt payoff versus uncertain-probably-Y% on the investment. If X is bigger than Y, pay the debt. If Y is bigger, usually invest. The word “usually” is doing a lot of work, and we will come back to it.

The rate ranges that make the decision easy

In 2026, here is how the most common debt categories stack up:

  • Credit card debt: 18–26% APR. Always pay first. No exceptions. There is nothing you can reliably do with money that beats escaping 22% interest.
  • Personal loans: 9–18% APR. Usually pay first, unless the rate is at the low end and you already have an established investing habit.
  • Auto loans: 6–10% APR. Close call. Lean toward paying off if above 8%. Lean toward investing if below 6%.
  • Private student loans: 7–12% APR. Usually pay first, same logic as personal loans.
  • Federal student loans: 4–7% APR. Context dependent. The flexibility of federal loans (income-driven repayment, potential forgiveness, pause options) is worth something. Usually pay minimum and invest the excess.
  • Mortgages: 6–7% APR in 2026. Close call, especially with the tax deductibility of mortgage interest for some. We lean toward investing if the horizon is long.

If your debt is above 8% fixed interest, you should almost always pay it off before investing anything beyond a 401(k) match. If your debt is below 5%, you should almost always invest and pay minimums. The 5% to 8% band is where judgment comes in.

The math on a $10,000 windfall

Let us run the math on a $10,000 windfall across four scenarios, comparing paying off the debt versus investing at an assumed 7% annualized return over ten years.

Scenario A: $10,000 credit card debt at 22% APR
  Pay off debt:
    Interest saved (ten years):           ~$50,000+
    (you avoid the compounding cost)
  Invest at 7%:
    Portfolio value after 10 years:       $19,672
    Debt balance after 10 years:        >$70,000
  WINNER: Pay off debt. Not close.

Scenario B: $10,000 auto loan at 7% APR, 4 years left
  Pay off debt:
    Interest saved over 4 years:          ~$1,500
    Frees up monthly payment for investing
  Invest at 7%:
    Portfolio value after 10 years:       $19,672
    Loan paid off on schedule anyway
  WINNER: Roughly equal. Edge to investing if disciplined.

Scenario C: $10,000 federal student loan at 5% APR
  Pay off debt:
    Interest saved:                       ~$2,500 over loan life
    No flexibility if job loss happens
  Invest at 7%:
    Portfolio value after 10 years:       $19,672
    Debt cost over same period:           ~$5,000 interest
  WINNER: Invest. Difference is small but real, and flexibility matters.

Scenario D: $10,000 extra on a $400,000 mortgage at 6.5%
  Pay off debt:
    Interest saved over 30 years:         ~$22,000
    No principal, illiquid
  Invest at 7%:
    Portfolio value after 30 years:       $76,000 at 7%
    Mortgage paid off on schedule anyway
  WINNER: Invest if horizon is long and you can leave it alone.

The math is clearer than most people think. The emotional side is where it gets messy.

The psychological factor nobody accounts for correctly

The rational framework says “compare rates, pick the higher one.” The human reality is that paying off debt feels different than investing. The debt payoff is concrete. The balance goes down, the monthly payment goes away, you sleep better. The investment is abstract. The balance goes up, then down, then up. You sleep worse in March 2024 and better in November.

The best financial plan is the one you will actually execute. If paying off a 4% mortgage lets you invest with confidence in everything else, pay off the 4% mortgage. The math is worse, the outcome is often better.

We are not suggesting you ignore the numbers. We are suggesting you include an honest read of how you will behave in the downturn. If a 30% market drawdown is going to make you sell at the bottom, your expected return is not 7%. It is whatever you actually realize after the selling, which is usually closer to zero or negative.

The order of operations

The framework sequences like this, which is the order we suggest to people when they ask:

  1. Build a small starter emergency fund($1,000 to $2,000) in a high-yield savings account at Ally, Marcus, or Wealthfront Cash. Something to absorb a flat tire.
  2. Capture the full 401(k) match. Always. Leaving it on the table beats the math on almost any debt.
  3. Pay off any debt above 8%. Credit cards, personal loans, high-rate private student loans. No investment reliably beats this.
  4. Build the emergency fund to 3 to 6 months of expenses. Same HYSA. Do this before aggressive investing.
  5. Max HSA, then Roth IRA before unmatched 401(k) contributions or taxable investing. Accounts with tax advantages come first.
  6. Between 5% and 8% debt and investing: split the difference. 50/50 or 70/30 extra-cash allocations between debt and index funds. The math is a coin flip; the behavioral benefit of making visible progress on both is worth it.
  7. Below 5% debt: pay minimums, invest the excess. This is where the long-term compounding math wins cleanly.

Mortgage is its own special case

Mortgages deserve their own paragraph because they are the biggest debt most people carry and the assumptions shift the answer. At 6.5% interest, a 30-year mortgage has a fully amortized total interest cost greater than the loan principal. That is a lot of interest. Paying it down feels like a huge win.

But three things complicate the story. First, that 6.5% is front-loaded; in year one of a mortgage most of your payment is interest, but by year 20 most is principal. Extra payments early matter more than extra payments late. Second, mortgage interest is tax-deductible for itemizers, though the 2018 standard deduction increase means most people no longer itemize. Third, a paid-off mortgage is illiquid equity. It is not money you can access without selling or borrowing against the house.

Our rule of thumb, for people with stable incomes, long horizons, and a mortgage between 6% and 7%: pay the scheduled amount, invest the rest in a diversified portfolio, and revisit the decision if rates drop and you can refinance, or if your risk-tolerance changes. The optionality of liquid investments is worth more than people think.

When the “clear” answer is wrong

A few situations where the framework yields a correct math answer that is the wrong life answer:

You are within a year of needing the money. Do not invest short-term money in the market. A 7% expected return over 30 years has no meaning over 12 months. The range of 12-month outcomes for a broad stock index is roughly -30% to +40%. Short money lives in HYSA or short-term Treasuries.

You have debt causing stress that is affecting your life. If the number on the credit card is keeping you awake, pay it off even if the rate is low enough that the math slightly favors investing. Your quality of life is not in the spreadsheet.

You are close to paying off a debt entirely. Finishing off a debt and closing that monthly line item has cash-flow and psychological value. If you are within three to six months of payoff, finish it even if the rate is low.

What we'd actually do

List every debt you have: amount, rate, minimum payment. Put them in a table sorted by rate, highest at top. Anything above 8%, attack with every extra dollar after the 401(k) match and starter emergency fund. Anything below 5%, pay the minimum and invest. The middle band (5% to 8%) is where you can reasonably split.

Open a Roth IRA at Fidelity, Schwab, or Vanguard, fund it with a broad market index like FXAIX, VTSAX, or SWTSX, and set up an automatic monthly contribution. Make the investment side of this boring and automatic so the only decision you have to make is which debts to attack with extra cash.

Reread the table once a year. Rates change, balances change, and a piece of debt that was the clear priority two years ago might be paid off or refinanced into something different. The framework holds. The specific application adjusts. That is the whole answer to the question we started with.