Pay Off Debt or Invest? Let's Run the Numbers
Before choosing where your next dollar goes, look at the interest rate. Paying off debt is a guaranteed return; the stock market is not.
What this means for beginners
- Always capture an employer 401(k) match first because it offers an immediate 100% return.
- Pay off high-interest debt aggressively; eliminating an average credit card interest rate of 22.36% provides a guaranteed return that beating the market cannot assure.
- For debt below 4%, investing excess cash in broad index funds has historically produced better long-term net returns than rushing to prepay the loan.
If you are trying to decide whether to pay off debt or invest, the choice usually comes down to a single number: the interest rate attached to what you owe. People love to overcomplicate this decision with gut feelings, emotional attachment to being debt-free, or fantasies about hitting a stock market home run. I prefer arithmetic. Debt comes with a fixed, contractual cost, while investing comes with an uncertain expected return. When you line those two numbers up side by side, the right move becomes obvious.
There is one non-negotiable exception to establish before anything else. If your employer offers a matching contribution on a workplace retirement account like a 401(k), you capture that match before doing anything else. A dollar-for-dollar employer match is an immediate 100% return on your money. No consumer debt carries an interest rate that high. Take the match up to the cap, and then turn right around to address the rest of your balance sheet.
The Guaranteed Return Nobody Can Match
Credit card debt and personal loans are a wealth hazard. According to the Federal Reserveโs G.19 Consumer Credit report, the average interest rate on US credit card accounts that incurred interest was 22.36% in August 2026. If you carry a $5,000 balance at that rate, you are handing the issuing bank roughly $1,118 a year in interest charges alone, without touching the underlying principal.
Now look at the other side of the trade. From 1928 to 2025, the S&P 500 returned about 10% a year on average, according to the historical returns dataset published by Professor Aswath Damodaran at NYU Stern. That long-term average includes dividends, but past returns do not guarantee future returns. The market fluctuates wildly; in 1931, the index dropped about 44% in a single year. Even if you buy broad index funds with minuscule expense ratios, such as Vanguardโs VOO or VTI at 0.03%, you can never know what the stock market will deliver over the next twelve months.
When you pay down a balance at 22.36%, you are pocketing a guaranteed, risk-free 22.36% return. You will not find an index fund, a rental property, or a Treasury bill on the planet that pays a guaranteed return anywhere near that figure. Trying to invest in the stock market while carrying a balance on an interest-bearing credit card is like trying to fill a bucket with water while someone takes an axe to the bottom. Eliminate high-rate debt first.
When to Pay Off Debt or Invest: The 5% to 7% Gray Area
High-interest consumer debt is bad debt: it finances depreciating lifestyle purchases at usurious rates. Cheap, fixed-rate debt used intentionally can be a sensible tool. Mortgages, certain federal student loans, and older auto loans often sit at much lower rates. This is where people get stuck.
Consider a hypothetical $10,000 lump sum over a 5-year timeline. In Scenario A, you put that $10,000 toward paying down a fixed-rate loan charging 4% interest. Over 5 years, paying that balance off saves you approximately $1,060 in total interest costs, leaving you with zero balance and $1,060 saved from the lenderโs pocket.
In Scenario B, you leave that 4% loan alone, continue making minimum payments from cash flow, and invest the $10,000 into a broad market index fund. If the market delivers a hypothetical 7% annualized return over those 5 years, that $10,000 grows to roughly $14,025. You earned approximately $4,025 in investment gains. Subtract the $1,060 in loan interest you paid over that same span, and you come out roughly $2,965 ahead compared to retiring the loan early.
| Strategy | Initial Capital | Guaranteed Cost / Return | Ending Value (After 5 Years) | Net Advantage |
|---|---|---|---|---|
| Pay Off 4% Loan | $10,000 | 4.0% saved (guaranteed) | $1,060 in interest avoided | Base case |
| Invest at Hypothetical 7% | $10,000 | 7.0% earned (variable) | $14,025 portfolio balance | +$2,965 ahead |
The math favors investing when the spread between your borrowing cost and expected return is wide enough. The trade-off is volatility. If the stock market drops 20% over those 5 years, your invested $10,000 shrinks to $8,000 while the lender still demands their 4% interest. That is why the spread matters.
The Rule of Thumb and Where the Answer Flips
My line in the sand sits around 6%. Any debt with an interest rate above 6% receives aggressive repayment. That includes credit cards, personal loans, retail financing, and high-interest car notes. The certainty of wiping out a 7% or 9% interest bill is mathematically superior to chasing uncertain market returns that might land near 7% after taxes and inflation.
Below 4%, the calculation flips. A fixed 3% mortgage or a low-rate federal student loan is cheap money. Putting extra cash into a 3% mortgage earns an effective 3% return. Over decades, broad market index funds held inside tax-advantaged accounts like IRAs or 401(k)s have historically outperformed a 3% benchmark by a substantial margin. Parking spare capital into low-cost index funds at brokerages like Fidelity, Schwab, or Vanguard makes far more sense than rushing to extinguish sub-4% fixed debt.
Between 4% and 6%, personal risk tolerance dictates the answer. If carrying balances keeps you awake at night, clearing the debt gives you psychological relief with an acceptable mathematical penalty. If you are comfortable carrying leverage, splitting the difference by making steady extra principal payments while funding an IRA is a balanced compromise.
Before you funnel money into either bucket, maintain a cash cushion in a high-yield savings account or short-term Treasury bills. Having three to six months of living expenses parked somewhere liquid prevents an unexpected car repair or medical bill from landing straight back onto a 22% credit card.
FAQ
Should I stop investing completely while paying off credit cards?
Keep contributing enough to your employer 401(k) to secure any company match, because that is an immediate 100% gain. Stop all other investing beyond the match until every dollar of revolving, high-interest consumer debt is gone.
Does this math apply to a mortgage?
A mortgage is backed by real property and often carries a much lower fixed rate than consumer debt. If your mortgage rate is under 4%, investing excess capital into broad index funds over long periods has historically produced superior net wealth compared to prepaying the mortgage.
How does inflation affect debt?
Inflation benefits borrowers who hold fixed-rate low-interest debt because they pay back their loans with future dollars that have less purchasing power. Inflation punishes those carrying variable-rate consumer debt because credit card rates adjust upward quickly as benchmark interest rates climb.
Your next steps
- 1.List every debt you owe alongside its exact interest rate, minimum payment, and balance.
- 2.Check your workplace retirement plan to verify that your contribution captures the full employer match.
- 3.Direct all available surplus cash to debt charging over 6%, starting with the highest interest rate first.
Educational content, not financial advice. Do your own research and consider a licensed professional before making investment decisions. Editorial policy.