Compare the debt's interest rate to the return you can realistically expect from investing. First grab any employer 401(k) match, an instant return nothing beats, and keep a starter emergency fund. Then pay off high-interest debt like credit cards before investing; for low-rate debt, investing alongside usually wins.
On this page
- The fork everyone hits
- Answer the core question first: compare the rates
- Non-negotiable one: grab the employer match
- Non-negotiable two: keep a starter emergency fund
- So which debt, and in which order?
- A worked example: the 21% card versus the hopeful 7%
- The part the math leaves out
- A framework you can actually use
The fork everyone hits
You finally have $500 a month that is not already spoken for. The rent is paid, the bills are covered, and for the first time there is real money left at the end of the month. Two voices start arguing. One says throw it at the credit card and be done with the debt. The other says start investing now, because every year you wait is a year of compounding you never get back. Both voices are right, and that is exactly why the question feels impossible.
Here is the honest answer: the math is not really about debt versus investing. It is about which dollar earns you the most, and a few rules settle most of it before any spreadsheet comes out.
Answer the core question first: compare the rates
Strip the decision down and it becomes a single comparison. Paying off a debt earns you a guaranteed return equal to that debt's interest rate. Wipe out a balance charging 21%, and you have just locked in a 21% return, risk free, because that is interest you will never pay again. Investing, by contrast, earns you an expected return, the average you might reasonably hope for over time, with no guarantee in any given year.
So the rule of thumb is simple: if the debt's interest rate is higher than the return you can realistically expect from investing, pay the debt first. If it is clearly lower, investing alongside the debt usually comes out ahead. The U.S. Securities and Exchange Commission's investor education site (Investor.gov) states it plainly: no investment will give you guaranteed returns to outweigh the high interest rate you pay with a credit card or other high-interest debt.1
But two things come before that comparison, and neither is optional.
Non-negotiable one: grab the employer match
If your job offers a 401(k), a workplace retirement plan (the standard one most employers sponsor), and the employer matches part of what you put in, that match comes before paying off almost any debt. The reason is the size of the return. When an employer adds 50 cents for every dollar you save, that is an immediate 50% return on your money, and as Investor.gov puts it, no other investment will likely give you that kind of guaranteed return.2 Even a high-interest credit card at 21% cannot beat an instant 50%.
The match is also free money you forfeit if you skip it. You can put a lot into these plans: the Internal Revenue Service (IRS) set the 2026 employee contribution limit at $24,500, and employer matching dollars sit on top of that.6 You do not need to max it out. You only need to contribute enough to capture the full match, then turn your attention back to the debt.
Non-negotiable two: keep a starter emergency fund
The second rule protects you from undoing your own progress. If you pour every spare dollar into debt and then the car transmission dies, you have no cash, so the repair goes right back onto the credit card, often at a higher rate than the debt you just paid. The Consumer Financial Protection Bureau (CFPB), the federal consumer-finance regulator, warns that without savings a financial shock can turn into debt with a lasting impact, and that a reserve fund helps you avoid relying on credit or loans that grow with interest and fees.4 Keep a small starter cushion before you go all-in on debt, even a few hundred to a thousand dollars. It is the difference between a one-time expense and a new balance.
So which debt, and in which order?
Now the comparison does the work. High-interest debt loses to almost nothing, so it goes first. Credit cards are the clearest case. The Federal Reserve reports that the average interest rate on credit card accounts was 21.00% at the end of 2025, and 21.52% for accounts actually carrying a balance.3 No mainstream investment reliably returns 21% a year, so paying that card down is the best deal available to you. Payday loans and other double-digit balances belong in the same bucket.
Low-rate debt is the opposite case. A mortgage in the low single digits, or a subsidized student loan, often carries a rate below what a diversified long-term portfolio has historically returned. When the debt's rate is clearly under your expected investment return, paying only the required amount and investing the rest tends to win, because your money compounds at the higher rate. This is why a homeowner with a 3% mortgage and a captured match will usually keep investing rather than rush to prepay the house.
A worked example: the 21% card versus the hopeful 7%
Say you have $5,000 of spare cash and a credit card charging 21%.3
Pay the card: you erase $5,000 of balance and save about $1,050 in interest over the next year, every dollar of it guaranteed and tax-free. That is a clean 21% return you can count on.
Invest instead: leave the $5,000 on the card and put it in the market hoping for, say, 7%. A good year might earn you about $350, and you would owe tax on gains when you sell. Meanwhile the card still charges its $1,050. Even before taxes you are down roughly $700 for the year by investing rather than paying the card. The guaranteed 21% beats the hoped-for 7% in every realistic scenario.
Flip the rate and the answer flips. If the debt were a 4% loan instead of a 21% card, the same $5,000 invested at an expected 7% would likely come out ahead, which is why low-rate debt and investing can coexist.
The part the math leaves out
Numbers are not the whole decision, because debt has a weight that a spreadsheet does not capture. A guaranteed return and the relief of being debt-free are worth something real, even when investing the same dollars might, on paper, earn slightly more. Behavior bears this out. In a CFPB experiment, more than 90% of participants used at least some of their savings to pay down debt in every scenario, yet most refused to drain their savings entirely, preferring to keep a cushion even while attacking the balance.5 People want both progress and peace of mind, and that instinct is sound.
A framework you can actually use
Overall, the order that fits almost everyone is this. First, contribute enough to your 401(k) to capture the full employer match, because nothing beats an instant 50%.2 Second, build a small starter emergency fund so a surprise does not become new debt.4 Third, throw everything you can at high-interest debt, the credit cards and double-digit balances, since paying them off is a guaranteed return no investment matches.1 Fourth, once the expensive debt is gone, invest steadily for the long term while paying low-rate debt on schedule.
The fork is not really debt versus investing. It is high-interest debt first, the match always, and a cushion underneath all of it. Get that order right, and the rest is just steady contributions and time.
◆ Frequently Asked Questions
Should I pay off debt or invest first?
Should I really invest before paying off my credit card?
Why keep an emergency fund instead of putting it all toward debt?
◆ Sources
- Build Wealth Over Time Through Saving and Investing | Investor.gov
- Free Money! | Investor.gov
- Consumer Credit - G.19 | Board of Governors of the Federal Reserve System
- An essential guide to building an emergency fund | Consumer Financial Protection Bureau
- Experiment suggests people pay down debt but keep savings cushion | Consumer Financial Protection Bureau
- Retirement topics - 401(k) and profit-sharing plan contribution limits | Internal Revenue Service





