This is one of the most common personal finance debates, and it has a clear framework for answering it. The decision comes down to comparing your debt interest rate to your expected investment return. But there are critical nuances — employer matches, tax deductions, and psychological factors — that change the answer depending on your specific situation. Here is the decision framework that works for every scenario.
Pay Off Debt or Invest: Which Comes First?
By Frank SterlingPublished Updated
Should you pay off debt or invest? Compare interest rates, guaranteed returns, and the optimal strategy for both.
Quick Answer
Always get the 401(k) match first (100% return). Then pay off debt above 7-8% interest before investing. Below 5% interest, invest instead. Between 5-8%, split the difference or follow your risk tolerance.
The core principle is simple: if your debt interest rate is higher than your expected investment return, pay off the debt. If your expected return is higher, invest.
Average historical stock market return: 7-10% per year (10% nominal, 7% after inflation). Average credit card interest rate: 22-25%. Average student loan rate: 5-7%. Average mortgage rate: 6-7% in 2026.
Paying off a 22% credit card is equivalent to earning a guaranteed 22% return on your money. No investment in the world reliably delivers that. Paying off a 4% student loan, on the other hand, is only a 4% guaranteed return — you are likely better off investing that money in the market.
Model your debt payoff timeline with our debt payoff calculator.
The One Exception That Always Comes First
Always get your full 401(k) employer match before paying extra on any debt. If your employer matches 50% of contributions up to 6% of salary, that is an instant 50% return. Even if you have 25% credit card debt, the match comes first because the return is higher and immediate.
The math: if you earn $70,000 and contribute 6% ($4,200), your employer adds $2,100 in free money. That $2,100 is guaranteed. Skipping it to pay $2,100 extra on credit card debt saves you about $500 in interest over the year. The match is worth 4x more.
Contribute the minimum to get the full match, then redirect all extra cash to high-interest debt. Check your match with our 401(k) calculator.
Which Debts Should You Pay Off First?
Try the Calculator
Build a Debt Payoff Plan →Not all debt is equal. Here is how to categorize yours:
Tier 1: Always Pay Off First (10%+ interest)
- Credit card debt (18-28%)
- Payday loans (100%+)
- Personal loans above 10%
- Store credit cards (20-30%)
There is no debate here. At these rates, every dollar of extra payment earns you a guaranteed double-digit return. No investment strategy beats this.
Tier 2: It Depends (5-10% interest)
- Private student loans (6-12%)
- Car loans (5-9%)
- Personal loans (7-10%)
In this range, the decision is closer. A 7% car loan is roughly equivalent to expected stock market returns. Consider splitting your extra cash: 50% to debt payoff, 50% to investing. This hedges your bets — you get the guaranteed return of debt reduction and the potential upside of market growth.
Tier 3: Invest Instead (Under 5% interest)
- Federal student loans (3-5%)
- Mortgages below 5%
- 0% promotional financing
At these rates, investing is mathematically superior over the long term. The stock market has returned more than 5% in the vast majority of 10-year periods. Make minimum payments and direct extra money to investments. See how your investments grow with our compound interest calculator.
The Emergency Fund Factor
Before aggressively paying debt or investing, you need a basic emergency fund. Without one, any surprise expense goes right back on a credit card, erasing your progress.
The starter emergency fund: $1,000-$2,000. This covers minor emergencies (car repair, appliance replacement, medical copay) without derailing your debt payoff plan. Once high-interest debt is gone, build the full 3-6 month emergency fund before shifting aggressively to investing.
The Complete Decision Tree
Try the Calculator
See Compound Interest Growth →Follow this order:
- 1. Build a $1,000-$2,000 starter emergency fund
- 2. Contribute to 401(k) up to the full employer match
- 3. Pay off all debt above 10% interest (avalanche method — highest rate first)
- 4. Build full 3-6 month emergency fund
- 5. Max out Roth IRA ($7,500/year in 2026)
- 6. Pay off debt between 5-10% or split 50/50 with investing
- 7. Max out 401(k) ($24,500/year in 2026)
- 8. Invest in taxable brokerage and/or make minimum payments on sub-5% debt
The Psychological Factor
Math says invest when debt is below 7%. But some people sleep better debt-free. If carrying a $30,000 student loan at 5% causes you constant stress and prevents you from living your life, paying it off has real psychological value that the math does not capture.
Similarly, the debt snowball method (paying smallest balances first for motivational wins) is mathematically inferior to the avalanche method (highest rate first) but keeps more people on track. The best strategy is the one you stick with.
Emergency Fund First, or Debt First? The Math and the Behavior
Try the Calculator
Check Your 401(k) Match →The rate comparison above says to attack high-interest debt. But there is a real counterargument, and the best plan usually blends both.
The math case for debt first
Take $10,000 of credit card debt at 22% APR. Interest accrues at roughly $183 a month, or about $2,200 a year. If that same $10,000 sat in savings earning 5%, it would earn about $500 a year. Holding the cash instead of paying down the card therefore costs about $1,700 a year in lost ground.
The behavioral case for a cash buffer first
Without any savings, the next surprise lands on the card and undoes your progress. Suppose you pay $3,000 toward the card over three months, then a $2,000 car repair goes back on it: you have made $1,000 of net progress for three months of effort. Even a small liquid cushion makes that far less likely.
A hybrid plan that works for most people
- Starter fund: save $1,000-$2,000 in a separate high-yield savings account, typically in one to three months.
- Attack high-interest debt: send every spare dollar to debts above roughly 7-8%. Choose the avalanche method (highest rate first) to minimize interest or the snowball method (smallest balance first) if you need early wins; compare both in the debt payoff calculator.
- Complete the emergency fund: once high-interest debt is gone, build 3-6 months of essential expenses. Three months is common for a stable job or dual income; six months or more is safer if you are self-employed, on a single income, or in a volatile field, and irregular earners often aim for 9-12 months.
If you cannot decide, split the money
Put 70% toward the highest-rate debt and 30% toward savings at the same time. On $600 a month of available cash that is $420 to debt and $180 to savings, which reaches a $2,000 starter fund in about 11 months, after which the full $600 goes to debt. This is not mathematically perfect, but it is easy to stick with, and the best plan is the one you keep following. Size your cushion with the emergency fund calculator.
Adjust the order when a large expense is imminent (a baby, a move, a failing car), in which case build the cash buffer first, and when a low-rate debt below about 5% is involved, in which case investing may beat paying it down early.
The Bottom Line
High-interest debt always gets paid first — it is the highest guaranteed return available. Low-interest debt can coexist with investing. And the employer match is non-negotiable free money that comes before everything except basic emergency savings.
Map out your debt payoff plan with our debt payoff calculator, see how investing grows with the compound interest calculator, and make sure you are capturing every dollar of your 401(k) match.