You just got a bonus, a tax refund, or simply found an extra $300 at the end of the month you didn’t expect to have. A question immediately becomes apparent: should you use the cash to pay for your credit card or invest it in your 401(k)?
It’s one of the most common questions we hear from clients at Klyman Financial and it’s also one of the most misunderstood. Most articles on this topic boil it down to a single rule: compare your interest rate to your expected investment return and send the money wherever the number is higher. That’s a reasonable starting point, but it leaves out taxes, risk, your own psychology, and the fact that “expected investment return” is a guess dressed up as a fact.
This guide walks through the whole decision the way we actually walk through it with clients: what to lock down before you choose either path, how to weigh a guaranteed return against a probable one, where the real numbers land in 2026, and when the honest answer is “both, at the same time.” There’s a free calculator near the end so you can run your own numbers instead of relying on someone else’s example.
The Short Answer, If You Only Have 30 Seconds

That’s the shape of the decision. The rest of this guide explains why, and what can change the answer for your specific situation.
Why “Just Compare the Numbers” Isn’t Quite Right
The standard advice sounds tidy: if your debt costs you more than your investments will earn you, pay off the debt. If your investments will earn you more than your debt costs, invest instead. Mathematically, that’s a fine starting point.
The problem is that a debt’s interest rate is a guarantee. Every dollar you put toward a 22% credit card balance earns you a locked-in, risk-free 22% return, because that’s exactly how much interest you stop paying. A stock market investment, on the other hand, doesn’t promise you anything: the S&P 500 has returned close to 10% a year on average since 1928 and roughly 6% to 7% once you adjust for inflation. But “average” is doing a lot of work in that sentence because some years the index has gained more than 30% and other years, including 2008, it lost more than a third of its value. You aren’t guaranteed the average in any single year or even any single decade.
That gap between a guaranteed return and a probable one is where the emotional and behavioral side of this decision lives, and it’s a piece we think gets skipped too often.
“The biggest cost of paying off debt that people miss is liquidity,” explain Yair Klyman, founder and advisor at Klyman Financial. “If you have a big mortgage and you pay it off, great, but then if you need cash again, it’s not so easy to get a new mortgage. You’ve actually made yourself less flexible, not more. On the other side, the benefit of paying off debt is that it removes stress. I’ve had clients working toward loan forgiveness for ten years who feel stuck in a dead-end job just to protect that forgiveness. That’s a real cost of carrying debt too, even when the rate itself looks manageable.”
Before You Choose Either Path: Three Non-Negotiables
Regardless of where your specific numbers land, there are three things worth handling before you accelerate either debt payoff or investing:
1. A starter emergency cushion
Most planners suggest keeping at least one to three months of essential expenses in cash before aggressively attacking anything else, with a fuller three-to-six-month cushion as a longer-term goal. Without this, an unexpected car repair or medical bill often gets put right back on the credit card you were just trying to pay down, undoing your progress.
2. Every minimum payment, on everything
Missing a minimum payment can trigger a penalty APR, late fees, and damage to your credit score that makes every future loan more expensive. Whatever strategy you choose, minimum payments on all debts come first and then you can decide what to do with potential extra cash.
3. Your full employer 401(k) match
If your employer offers a retirement match, it is close to the only “guaranteed” return you’ll ever see that can rival or beat a high-interest debt. In 2026, the average employer 401(k) match is somewhere in the 4% to 6% of salary range and the most common structure matches 50 cents on the dollar up to 6% of pay. A 50% match is an instant 50% return on the money you contribute, before it’s even invested. Turning that down to pay off a 7% loan a little faster rarely makes sense.
Once those three boxes are checked, the real decision, what to do with money beyond the minimums and the match, is where the debt-vs-invest math actually applies.

The Core Comparison: Your Debt’s Rate vs. Realistic Investment Returns
To compare fairly, you need a realistic number for what investing might return, not an optimistic one. Long-run, diversified stock market data gives a useful anchor:

A few things stand out. First, the “close to 10%” figure people quote is a long-run average built from decades that included the Great Depression, multiple recessions, the dot-com crash, 2008, and 2022, which means it isn’t a promise of what next year holds. Second, a portfolio that isn’t 100% stocks, which is the more realistic mix for most people once they’re within a decade or two of needing the money, will typically land lower than the pure S&P 500 number, closer to 6%–8% depending on how much is in bonds and cash. That more conservative, blended figure is usually the fairer one to use when comparing against a debt’s interest rate.
Where the Line Usually Falls: A 6%–8% Rule of Thumb
Once you use a realistic, blended expected return instead of the best-case stock market number, a rough dividing line tends to appear for most households:
- Debt above roughly 8% almost always makes sense to pay off before investing extra dollars, because it’s hard to count on beating that rate reliably over time, especially after taxes.
- Debt below roughly 4%–5%, particularly if the interest is tax-deductible, usually makes sense to carry while you invest instead, since a diversified portfolio has a reasonable chance of outperforming that cost over a long horizon.
- Debt between about 5% and 8% is the genuine judgment-call zone. This is where your asset mix, your time horizon, your other savings, and how you personally feel about carrying debt all start to matter more than the math alone.
“My rule of thumb is simple: if you can’t beat something in the market on a consistent basis (and you can generally expect the market to pay you 6% to 7% a year), you should pay off that debt,” says Klyman. “If you’ve got a 7% mortgage, I don’t want you investing in stocks while you’re paying that 7%; just pay it off. And if it’s a credit card, that’s not even a question: there’s nothing that’s going to consistently outearn a credit card rate. But the deeper question I ask clients is: do you have a consistent job, and what is this debt actually for? It’s really a working-capital question: you back into whether the debt makes sense based on what the money’s for. I had a client at a company about to go public who was overspending, so we had him use a HELOC to cover his living expenses short-term, knowing a liquidity event was coming. I wasn’t worried about the interest rate there, because I knew it was only a matter of months before he’d pay it off.”
How Your Asset Mix Shifts the Crossover Point
The riskier and more stock-heavy your investment mix, the higher a debt’s interest rate needs to be before paying it off clearly wins out, because a stock-heavy portfolio has a realistic shot at a higher long-run return. The reverse is true for a more conservative, bond-heavy mix. As a general framework:

These are general planning ranges, not guarantees, and they assume a long time horizon (roughly 10+ years) and a tax-advantaged account. Someone five years from retirement in a conservative allocation and someone 30 years from retirement in an all-stock portfolio are, understandably, going to land on different answers to the exact same interest rate question so keep that in mind.

Where Specific Debts Usually Land
Credit cards: pay these off first, almost every time
At an average APR north of 21% in 2026, credit card debt is one of the few financial decisions that isn’t close. No diversified, long-term investment reliably clears 21% a year. Carrying a $5,000 balance at 21% and paying only the minimum can take years to eliminate and cost more than the original balance in interest along the way.
Personal loans and store cards: usually pay off first
These commonly run in the 11%–20% range, well above what a diversified portfolio can be reasonably expected to return over time. Treat these similarly to credit cards.
Auto loans: often a genuine toss-up
New and used auto loan rates vary widely by credit profile, but often land somewhere in the high single digits to low double digits. This puts many auto loans right in the gray zone described above: reasonable people can land on either answer depending on the rest of their financial picture.
Student loans: it depends heavily on the loan type
Federal undergraduate loans disbursed for the 2025–2026 school year carry a fixed rate of 6.39%, while federal PLUS loans for parents and graduate students run closer to 8.9%–9.1%. Private student loans vary more widely, from roughly 3% to nearly 18% depending on credit. Because federal loans come with income-driven repayment options and potential forgiveness programs that a private loan or credit card never will, many people reasonably choose to invest alongside a federal loan even at a rate that would otherwise say “pay it off,” simply because the loan carries less real-world risk than its interest rate alone suggests.
Mortgages: usually the last debt you rush to pay off
With 30-year fixed mortgage rates averaging in the mid-6% range through 2026, and mortgage interest often still deductible for those who itemize, a mortgage is frequently the debt that makes the strongest case for investing instead of prepaying. It’s also a debt secured by an appreciating asset, which changes the risk calculation compared to unsecured, high-rate debt like credit cards.
Tax Considerations That Change the Math
Interest rates alone don’t tell the whole story because what happens on your tax return matters too.
- Mortgage interest can be deductible if you itemize, which effectively lowers your true cost of carrying that debt below its stated rate.
- Student loan interest can be deductible up to $2,500 a year for eligible borrowers, again lowering the effective cost.
- Investment growth in a 401(k) or traditional IRA is tax-deferred, and in a Roth account it can be entirely tax-free in retirement, which effectively boosts your realized return compared to investing in a fully taxable brokerage account.
- Capital gains taxes apply when you sell investments at a profit outside a retirement account, which slightly reduces the real-world return compared to the headline number.
These adjustments rarely flip the decision entirely, but they can meaningfully shift a debt that looks borderline on paper.
“When it comes to taxes, older clients are a good example. If someone is 85 and thinking about selling an asset, I’d often rather they borrow against their portfolio instead,” says Klyman. “That way, their kids inherit it with a step-up in basis and never pay capital gains tax on those gains. That’s a very common strategy. And if someone has a 401(k) match, I always tell them to take it because it’s a 100% return on your money before it’s even invested. You also get real tax benefits on the debt side, like the mortgage interest deduction.”
The Hybrid Approach: Why It’s Often “Both,” Not “Either”
In practice, most of our clients don’t do one or the other exclusively, they do both, sequenced deliberately:
- Pay every minimum payment.
- Capture the full employer 401(k) match.
- Aggressively pay off any debt above roughly 8%.
- Split additional money between the 5%–8% “gray zone” debt and continued investing.
- Once high-rate debt is gone, redirect that entire payment amount into investing.
This sequencing matters because it doesn’t force an all-or-nothing choice and it takes advantage of the fact that a 401(k) match and a high-interest payoff are both, in their own way, close to guaranteed returns that are hard to beat.
Real Numbers: A Side-by-Side Example
Here’s a concrete example using current rates, not hypothetical ones. Say you have $15,000 in credit card debt at 22% APR and can put $500 a month toward it.
Paying it off: At $500 a month, that balance is paid off in about 44 months (a little under 4 years) and you’ll pay roughly $6,977 in interest along the way, meaning the $15,000 balance actually costs about $21,977 in total.
What happens next matters most. Once that debt is gone, if you redirect that same $500 a month into a diversified investment earning a realistic 8% average annual return and you keep going for the remaining months to reach a 10-year mark, you’d have approximately $49,272 built up by year 10, from about $38,000 in total contributions after the debt was cleared.
Compare that to a hypothetical world where you never had that debt in the first place and simply invested $500 a month for the full 10 years at the same 8% return: you’d have approximately $91,473. That roughly $42,200 gap is the real, quantifiable cost of carrying high-interest debt, not just the interest paid, but the years of investment growth you missed while that money was going toward interest instead of a portfolio.
This is the clearest illustration of why high-rate debt gets priority: it isn’t only about the interest charges themselves, it’s about the compounding time you lose while carrying it.
Try It With Your Own Numbers
Klyman Financial — Interactive Calculator
Pay off the debt or invest instead?
Adjust the sliders to match your own balance, rate, and budget. The chart tracks net worth (investments minus what you still owe) for both paths over your time horizon.
Net worth at the end of your horizon
120 months modeledPay it off, then invest
Minimum payments + invest the rest
Illustrative only — assumes a constant interest rate and a constant, steady investment return, which real markets do not provide. Not personalized financial advice. Run your real numbers with an advisor before acting on them.
Every household’s numbers are different, which is exactly why we built a free, interactive calculator. Enter your own debt balance, interest rate, and how much extra you can put toward either goal each month, and see a side-by-side projection instead of relying on someone else’s example.
Common Mistakes We See
- Using the stock market’s best years as the expected return. Ten years ending in a strong bull run isn’t a reliable planning assumption going forward.
- Ignoring the employer match entirely while focused on debt. Turning down free money to pay off a moderate-rate loan a little faster usually costs more than it saves.
- Treating all debt the same. A 22% credit card and a 6.5% mortgage are not remotely the same decision, even though both are technically “debt.”
- Skipping the emergency fund. Without one, the first surprise expense often goes right back onto the card you just paid down.
- Letting the decision become purely emotional or purely mathematical. The best plan usually blends both: the math tells you the range of reasonable answers and your own risk tolerance and peace of mind pick the specific one.
A Simple Framework You Can Actually Use
- Confirm minimum payments are covered and you have at least a partial emergency cushion.
- Contribute enough to get your full employer 401(k) match, if offered.
- List every debt with its actual interest rate.
- Pay off anything above roughly 8% aggressively before investing further.
- For debt in the 5%–8% range, split extra money between payoff and investing based on your own risk tolerance and time horizon.
- For debt below roughly 5%, especially if tax-deductible, lean toward investing the difference.
- Revisit this list any time a rate changes, a debt is paid off, or your financial picture shifts.
Frequently Asked Questions
Should I pay off my mortgage early or invest instead?
For most homeowners with a mortgage rate in the 6%–7% range, especially if the interest is deductible, investing the extra money tends to have better odds of coming out ahead over a long horizon than prepaying the mortgage. This can change if you’re close to retirement and prioritize the certainty of an owned home over portfolio growth.
Is it smarter to pay off student loans or invest for retirement?
It depends heavily on whether the loans are federal or private. Federal loans often carry manageable fixed rates and offer income-driven repayment and forgiveness options that reduce their real-world risk, which is why many people invest alongside them. Higher-rate private loans usually make more sense to prioritize paying down.
What if my debt has a 0% introductory rate?
While the promotional rate lasts, that debt effectively costs nothing, so it typically makes sense to invest extra money instead as long as you have a firm plan to pay off (or transfer) the balance before the promotional period ends and the regular rate kicks in.
Should I pause investing entirely to become debt-free faster?
Usually not entirely. Pausing contributions beyond your employer match to attack debt above roughly 8% is often reasonable. Pausing your match altogether, or halting all investing for years to pay off a lower-rate debt like a mortgage, usually costs more in lost time and compounding than it saves in interest.
The Bottom Line
There’s rarely a single right answer that applies to everyone, but there is a right process: secure the basics, compare your actual interest rates to a realistic (not optimistic) investment return, weigh the guarantee of debt payoff against the probability of market returns, and factor in the taxes and risk that a simple percentage comparison leaves out. For most people, the honest answer ends up being “both, in the right order” rather than a strict either-or.
If you’d like help running these numbers against your specific debts, accounts, and goals, Klyman Financial is here to help you build a plan that fits your actual situation, not a generic rule of thumb.