Pay off high-interest debt (above 7-8%) before investing, but always capture your employer's 401(k) match first โ that's a guaranteed 50-100% return. For debt below 5-6% APR (like mortgages or federal student loans), investing in index funds historically earns more than the interest you'd save by paying off the debt early.
Bottom line: The breakeven point is roughly 7%. If your debt interest rate is above 7%, pay it off first. Below 5%, invest instead. Between 5-7%, it's a personal preference based on your risk tolerance.
Key Takeaways
- Always get the 401(k) match: An employer match is a guaranteed 50-100% return โ no investment or debt payoff can compete
- High-interest debt first: Credit card debt at 20%+ costs far more than investments return (average S&P 500 return: 10%/year)
- The 7% rule: If your debt rate is above 7%, paying it off provides a better guaranteed return than average market returns
- Low-rate debt can wait: A 4% mortgage costs less than the 10% average stock market return โ investing the difference grows wealth faster
- Build a $1K emergency fund first: Before either debt payoff or investing, having $1,000 in savings prevents new debt from emergencies
| Debt Type | Typical Rate | Pay Off First or Invest? | Why |
|---|---|---|---|
| Credit cards | 20-28% APR | Pay off first | No investment reliably beats 20%+ |
| Payday loans | 300-500% APR | Pay off ASAP | Emergency โ this is a financial crisis |
| Personal loans | 8-15% APR | Pay off first | Above the 7% threshold |
| Student loans (private) | 5-12% APR | Depends on rate | Above 7%: pay off. Below: invest |
| Student loans (federal) | 3.5-7% APR | Invest (usually) | Low rates, tax deduction, IDR plans |
| Auto loans | 5-8% APR | Depends on rate | Near the breakeven point |
| Mortgage | 6-7% APR | Invest (usually) | Tax deductible, long time horizon |
The Decision Framework
Step 1: Get the employer 401(k) match. If your employer matches 401(k) contributions (e.g., 50% match up to 6% of salary), contribute at least enough to get the full match. On a $60,000 salary with 50% match up to 6%, that's $1,800/year in free money. No debt payoff provides a guaranteed 50-100% return.
Step 2: Build a $1,000 emergency fund. This prevents new debt from car repairs, medical bills, or other surprises. Keep it in a high-yield savings account earning 4-5% APY.
Step 3: Attack high-interest debt. Everything above 7-8% should be paid off before additional investing. Credit card debt at 22% is costing you more than any reasonable investment would return.
Step 4: Invest additional savings. Once high-interest debt is gone, increase investments beyond the match. Low-interest debt (mortgage, federal student loans) can be carried while you invest.
The Math: Why 7% Is the Breakeven
The S&P 500 has averaged roughly 10% annual returns over the long term (7% after inflation). After accounting for taxes on investment gains, the effective after-tax return for most people is 7-8%. This means paying off debt with an interest rate above 7% provides a better guaranteed return than investing in the stock market provides on average.
Example: You have $10,000. Option A: Pay off a credit card at 22% APR (guaranteed $2,200/year saved). Option B: Invest in index funds (expected ~$1,000/year return after taxes). Paying the card wins by $1,200/year. But flip it: a 4% mortgage costs $400/year while the same $10,000 invested likely earns $700-1,000. Investing wins.
The Psychological Factor
Math says invest over low-rate debt, but peace of mind has real value. Studies show that carrying debt increases stress hormones, impacts sleep quality, and reduces workplace productivity. If debt causes you anxiety, paying it off โ even at low rates โ may improve your overall wellbeing more than the mathematical optimal approach.
Dave Ramsey advocates paying off all debt before investing (except the mortgage). While not mathematically optimal, his followers have an exceptionally high debt-elimination completion rate because the simplicity and emotional freedom drive consistent behavior.
The Hybrid Approach
Most financial planners recommend a balanced approach: contribute to your 401(k) up to the match, aggressively pay high-interest debt, then split remaining money 50/50 between debt payoff and investing. This builds wealth while reducing debt simultaneously.
As each debt is eliminated, shift more toward investing. By the time you're down to just a mortgage, you should be investing 15-20% of your income for retirement while making normal mortgage payments.
How We Evaluated
Historical return data from S&P 500 index (1926-2025). Interest rate comparisons use current average rates from Federal Reserve and Bankrate surveys as of Q1 2026. Tax implications assume 22% marginal federal tax rate.
Frequently Asked Questions
Should I pay off my mortgage early or invest?
For most people, investing wins. At a 6.5% mortgage rate, the after-tax effective rate (with mortgage interest deduction) is roughly 5%. The stock market's long-term average return of 10% (7% after inflation) exceeds this. However, if you're within 5-10 years of retirement or the psychological peace matters to you, paying off the mortgage early is reasonable.
Should I stop investing to pay off student loans?
Don't stop 401(k) contributions up to the employer match. For federal student loans under 5% with income-driven repayment plans, continuing to invest usually makes more mathematical sense. For private loans above 7%, redirect investment contributions (beyond the match) toward aggressive payoff.
What if I have both credit card debt and a 401(k) match?
Get the full employer match first (it's free money), then throw everything else at the credit card debt. A 50% employer match is a guaranteed 50% return โ even 28% credit card interest can't compete with that. Once the cards are paid off, increase 401(k) contributions beyond the match.
Is it ever smart to invest while in credit card debt?
Only to capture an employer 401(k) match. Beyond that, no. Credit card rates of 20-28% guarantee that paying them off provides a better return than any reasonable investment. Paying off a 22% APR card is equivalent to earning a guaranteed, tax-free 22% return on your money.
How much should I invest vs put toward debt each month?
Contribute enough to get the full 401(k) match, then put all extra money toward debt with rates above 7%. Once that debt is gone, invest 15-20% of income for retirement. Any remaining money can go toward lower-rate debt or additional investing based on your preference.
Editorial Disclosure: WalletGrower may earn a commission from partner links. Our editorial content is independent and not influenced by advertisers. We research products independently and only recommend what we believe in. Updated April 2026.