You have $20,000 to deploy. Student loans at 6.5%. Credit card debt at 22%. Car loan at 5.5%. Mortgage at 4.5%. Brokerage account that returned 11% last year.
Conventional wisdom says "pay off all debt before investing." This is wrong for most situations. The right answer depends on interest rates, tax treatment, and risk tolerance. A framework emerges: below 4% debt rates, invest. Above 7%, pay debt. The 4-7% range is where the real thinking happens.
The Simple Math
Expected stock market return: 7-10% nominal long-term.
Debt interest rate: whatever you're paying.
If debt rate is less than expected market return, mathematically you come out ahead investing rather than paying debt. The spread between the two is your expected benefit.
But this is expected value, not guaranteed. Market returns have huge variance. Debt payments reduce a certain cost.
The Risk-Adjusted Framework
For debt comparison, subtract risk premium from expected returns:
- Stock market: 7-10% expected return, but with 15-20% standard deviation
- Debt paydown: equivalent to guaranteed return at debt rate
A 5% guaranteed return (debt paydown) competes with maybe 8-10% expected stock return minus risk premium.
Rough mathematical breakeven: below debt rates of 4-5%, invest. Above 6-7%, pay debt. Between 5-6%, depends on risk tolerance and specific situation.
Tax Implications
Deductible interest effectively reduces debt rate:
- Mortgage interest: deductible for itemizers (though standard deduction covers most)
- Student loan interest: deductible up to $2,500 phase-out
- Business debt: fully deductible
- Credit cards, auto loans: not deductible
Example: 4.5% mortgage in 24% bracket with mortgage interest deduction = effective rate ~3.4%. Much more attractive to not prepay.
Credit card at 22%: effective rate stays 22% (no deduction). Must be paid off first.
The Liquidity Dimension
Paying off debt reduces monthly obligations but destroys liquidity. Once you pay down your mortgage balance, that money is locked in your house (accessible only via refinance or sale).
Investing retains liquidity. You can sell stocks in 3 days if needed.
For someone without adequate emergency fund, liquidity matters enormously. Paying off mortgage aggressively while having no emergency reserve is asking for crisis.
The Psychological Return
Debt-free is a psychological state, not a mathematical optimization. Some people value it enormously. Others tolerate debt for decades.
If being debt-free lets you sleep better, reduces anxiety, or enables other life choices, the psychological return may justify suboptimal mathematical decisions.
Dave Ramsey's "debt snowball" (pay smallest debts first regardless of rate) is mathematically worse than "debt avalanche" (highest rate first). But the psychological momentum of eliminating small debts helps some people stick to the plan. Behavioral success can matter more than math.
The Specific Decision Tree
For each debt:
Rate 0-3% (mostly mortgages, subsidized student loans): invest instead. Even conservative investing beats these rates.
Rate 3-5%: depends. Tax-deductible interest nudges toward invest. Emergency fund status matters. Risk tolerance matters.
Rate 5-7%: split decision. Maybe 50/50 invest and pay debt. Usually the right answer involves increasing retirement contributions (to capture match) while also making extra debt payments.
Rate 7-10%: lean toward paying debt aggressively. Expected market returns barely cover this rate without risk premium.
Rate 10%+: always pay debt first. Nothing else makes sense. Market can't reliably beat 10%+ debt rates.
The 401(k) Match Exception
Employer 401(k) match is a guaranteed 100% return on matched amount. This beats every other priority, including credit card debt.
Priority ordering:
- 401(k) up to full employer match (no matter what)
- Pay off debts above 7% rate
- Build emergency fund to 3-6 months
- Pay off debts 4-7% or invest (depends on specifics)
- Max retirement accounts
- Pay off low-rate debt or invest in taxable
The HELOC Consideration
If you have home equity, you have optionality. A HELOC provides access to low-rate funds. The fact that you COULD pay off mortgage quickly via HELOC at 8% doesn't mean you should.
For most situations, having home equity as emergency reserve (via HELOC) is better than having no equity plus no cash. Keep the mortgage; keep the liquidity option.
The Student Loan Nuance
Federal student loans have special features:
- Income-driven repayment plans
- Public Service Loan Forgiveness (for qualifying careers)
- Deferral options during hardship
- Interest deduction up to $2,500
Before aggressively paying off federal student loans, understand what features you're giving up. For earners pursuing PSLF or income-driven repayment, keeping the loan might be optimal.
Private student loans have fewer features — aggressive payoff usually makes more sense.
The Rate Change Scenario
Interest rates aren't static. If you bought a house at 3% mortgage rate, your decision to invest rather than prepay was mathematically sound. Rates have since risen; if you had 3% mortgage today, the same logic applies.
If rates fall, debts become more expensive relative to investing. 5% mortgage that's now 3% in current market conditions might be worth refinancing OR paying off depending on liquidity and tax situation.
The Practical Example
Typical household: 30-year-old earning $120K, has $20K cash beyond emergency fund.
Debts:
- Credit card $5K at 22%
- Student loans $40K at 6.2%
- Auto loan $15K at 5.5%
- Mortgage $350K at 4.2%
Recommended deployment:
- $5K pay off credit card (guaranteed 22% return)
- $10K extra to student loans (effective 6.2% return)
- $5K to 401(k) if not already capturing match
- No extra to auto loan or mortgage (rates acceptable)
Plus ensure monthly cash flow supports scheduled payments on all debts.
After the $20K deployment, redirect monthly surplus to continued student loan payoff while also building retirement accounts. Once student loans are gone, redirect everything to investing and mortgage remains on schedule.
The Simple Answer
High-interest debt (>7%): pay aggressively. Nothing else matters.
Medium-rate debt (4-7%): balanced approach. Some extra payments, some investing.
Low-rate debt (<4%): don't prepay. Invest instead.
401(k) match: always capture first.
This framework is defensible against any specific situation. Deviating from it requires specific reasons (tax situations, psychology, upcoming major expenses). The default position is the right answer most of the time.