Investing | May 25, 2026 | Capstag.com | 9 min read
Should you invest while you still have debt? Most people ask this question and never get a clear answer — just "it depends" followed by a list of considerations that feels impossible to resolve. The correct approach is straightforward once you frame it correctly: it is a mathematical comparison between the guaranteed interest rate you are paying on your debt and the expected return you would earn by investing instead. When investing wins that comparison, you invest. When debt payoff wins, you pay off debt. This article gives you the exact framework and decision rules.
Quick Answer: Pay off debt first if the interest rate is above 7–8% — this is higher than the long-run expected return of the stock market, making debt payoff a guaranteed superior return. Below 7%, invest alongside debt repayment — the expected investment return exceeds the debt cost. Always capture the full employer 401(k) match first regardless of debt rate — it is a guaranteed 50–100% return. Build a $1,000 emergency buffer before doing either.
Every dollar you direct toward debt payoff earns a guaranteed return equal to the interest rate on that debt — because you are no longer paying that interest. A 20% credit card APR paid off returns 20% guaranteed on every dollar applied. That is a risk-free return that no investment can reliably replicate. Conversely, a 4% student loan paid off early earns a guaranteed 4% — which is likely below the expected return of a broad market stock index fund over a 10–20 year horizon. The decision is purely mathematical when you strip away the emotion around debt.
This article is the investing side of the complete debt and investment framework — it connects directly to the complete guide to getting out of debt and the investing system in the complete guide to investing for beginners.
The decision rule: debt interest rate vs expected investment return
The core framework is simple: compare the guaranteed cost of your debt (the interest rate) against the expected return of investing that same money. If the debt interest rate exceeds the expected investment return — pay off debt first. If the expected investment return exceeds the debt interest rate — invest alongside debt repayment. The historical long-run average annual return of the S&P 500 is approximately 10.5% including dividends. However, expected future returns are uncertain, so a conservative comparison uses 7–8% as the investing threshold — representing a meaningful margin of uncertainty around the historical average.
| Debt Type | Typical APR | Decision | Rationale |
|---|---|---|---|
| Credit card debt | 20–29% | Pay off immediately — top priority | No investment reliably returns 20%+ |
| Personal loan | 10–20% | Pay off before investing | Above expected market return threshold |
| Student loans (private) | 7–12% | Borderline — debt priority | Close to or above expected return |
| Student loans (federal, subsidised) | 4–7% | Invest alongside — minimum payments on debt | Expected market return likely exceeds this |
| Car loan | 5–9% | Depends on rate — borderline | Use 7% threshold test |
| Mortgage | 6–8% | Make minimum payments — invest additional funds | Tax deductibility + long time horizon favours investing |
The 401(k) employer match exception — always capture this first
Before applying any debt vs invest decision rule, there is one action that beats both: capturing the full employer 401(k) match. If your employer matches 50% of your contributions up to 6% of salary, contributing the full 6% produces an immediate 50% guaranteed return on that portion of your money — before the investment itself earns a single dollar. This 50% guaranteed return obliterates any debt interest rate comparison. A 20% credit card APR is still less than a 50% immediate guaranteed return from employer matching. Capture the full match before directing any extra money toward debt payoff or additional investing.
The exact priority order for every dollar above minimum debt payments:
1st: $1,000 emergency buffer (prevents new debt from emergencies) — build this first regardless of debt
2nd: Full employer 401(k) match — guaranteed 50–100% return, cannot be beaten
3rd: High-interest debt above 7% — credit cards, personal loans, high-rate student loans
4th: Build emergency fund to 3–6 months expenses
5th: Invest in Roth IRA and/or additional 401(k) contributions for long-term wealth building
6th: Low-rate debt below 7% — pay minimum and invest remaining funds
Why you should invest even while carrying low-rate debt
The argument for investing alongside low-rate debt payoff is entirely mathematical — and it becomes compelling over long time horizons. A 25-year-old carrying $30,000 in federal student loans at 5% APR who chooses to pay off all student loans before investing loses 5–7 years of compounding in their investment portfolio. At 30, starting to invest $500 per month instead of starting at 25, produces approximately $500,000 less in retirement wealth at 65 — because the early years of compounding are the most valuable. The guaranteed cost of the debt (5%) is real. But the opportunity cost of lost compounding is also real — and over a 40-year horizon, it is larger.
The psychological argument for debt payoff first
The mathematical framework above is correct — but not everyone is built to optimise financially. Some investors find debt psychologically oppressive — it affects their sleep, their decisions, and their sense of financial security regardless of the interest rate. For these investors, paying off debt before investing produces better actual outcomes — not because the math is better, but because the mental clarity of being debt-free enables more consistent, disciplined investing behaviour thereafter. If carrying debt causes you to be a worse investor — making emotional decisions, under-contributing, or avoiding markets entirely — the psychological benefit of clearing it first has genuine financial value that does not appear in a spreadsheet comparison.
How to invest when you have debt — practical steps
For investors who have determined that investing alongside debt repayment is the correct approach: keep the investment strategy simple. The debt situation creates a legitimate cash flow constraint — money is finite, and more cash directed to debt means less for investing. The solution is not to invest in higher-risk instruments to compensate for investing less — it is to invest in the same low-cost index funds you would hold regardless, just with a smaller initial allocation that grows as debt is eliminated. VTI or FZROX for equities, BND for bonds, in the allocation appropriate for your age. Automate contributions so that the decision is made once and the habit persists regardless of debt balance fluctuations.
Conclusion
Investing while in debt is not always a mistake — and waiting until you are completely debt-free before starting to invest is almost always a mistake when the debt carries low interest rates. The framework is simple: capture the full employer match first (it beats every debt rate), pay off high-rate debt above 7% aggressively, build a minimal emergency buffer, and invest alongside low-rate debt repayment to preserve the compounding time that cannot be recovered later. The investors who get this sequencing right build wealth simultaneously on both fronts — reducing debt obligations while beginning the compounding that will drive retirement wealth. Read next: the 10 biggest investing mistakes beginners make.
🔑 Key Takeaways
- The decision to invest vs pay off debt is mathematical: compare the debt interest rate (guaranteed return on payoff) vs expected investment return. Above 7% debt rate — pay off debt. Below 7% — invest alongside debt repayment.
- Always capture the full employer 401(k) match first, regardless of debt interest rate. A 50% employer match produces a 50% guaranteed immediate return — higher than any debt payoff return available.
- Credit card debt (20–29% APR) and high-interest personal loans must be paid off before investing — no investment reliably returns 20%+ annually. These are the highest-priority debt payoff cases.
- Low-rate debt — federal student loans at 4–6%, mortgages with tax-deductible interest — should be carried while investing. Paying off 5% debt before investing loses years of compounding that produce far more wealth loss than the interest saved.
- Build a $1,000 emergency buffer before anything else — without it, any unexpected expense creates new high-interest debt and restarts the cycle. Full emergency fund (3–6 months) comes after high-rate debt payoff.
- For investors who find debt psychologically oppressive — pay it off first regardless of rate. The mental clarity of debt-free status produces better long-term investing behaviour that partially compensates for the mathematical suboptimality.
Frequently Asked Questions
Apply the interest rate threshold: if your debt interest rate is above 7%, pay off debt first — the guaranteed return on debt payoff exceeds the expected investment return. If below 7%, invest alongside minimum debt payments — the expected market return likely exceeds the debt cost over long periods. One exception applies unconditionally: capture the full employer 401(k) match before any extra debt payoff. A 50% employer match guarantees a return no debt interest rate comparison can beat. After capturing the match, prioritise debt above 7%, then build emergency fund, then increase investment contributions as debt balances fall.
For most federal student loan borrowers carrying rates below 7%: yes, invest alongside repayment. The expected stock market return over 20–30 years is likely to exceed the student loan interest cost, and delaying investing to pay off low-rate loans loses years of compounding that produce far more wealth loss than the interest saved. For private student loans at 8%+: prioritise debt payoff. The threshold between "invest alongside" and "pay off first" is approximately 7% — the conservative lower bound of expected long-run stock market returns. Always capture the full 401(k) employer match first, regardless of student loan balance.
No — with one exception. Credit card debt at 20–29% APR represents a guaranteed cost that no investment can reliably offset. Paying off a 24% credit card balance is equivalent to earning 24% risk-free on every dollar applied — higher than any standard investment's expected return. The only exception: capture the full employer 401(k) match first if available, as the guaranteed match return is even higher than the credit card APR. Then direct all surplus cash to eliminating the credit card debt before opening or adding to investment accounts. Once the credit card is cleared, redirect the same monthly payment amount toward investing.
Yes — for most homeowners, investing alongside mortgage payments is the correct decision. Mortgage rates in 2026 range from approximately 6–8%, which is near but below the historical stock market return. Additionally, mortgage interest is partially tax-deductible for many borrowers, reducing the effective cost further. The most important factor: your mortgage is likely a 30-year obligation. Beginning investment 30 years before retirement and maintaining it through the mortgage payoff period produces dramatically more wealth than waiting until the mortgage is cleared to begin investing. The exception: if your mortgage rate is above 8% and you have limited investment capital, prioritise the mortgage over additional investing beyond the 401(k) match.
The priority sequence that produces the best financial outcomes: (1) Build $1,000 emergency buffer immediately — prevents new debt from emergencies. (2) Capture the full employer 401(k) match — guaranteed 50–100% return beats all debt payoff returns. (3) Pay off high-interest debt above 7% aggressively — credit cards, personal loans, high-rate private loans. (4) Build full emergency fund (3–6 months of expenses) in a high-yield savings account. (5) Invest in Roth IRA and increase 401(k) contributions for long-term wealth building. (6) Pay minimum on low-rate debt below 7% and invest remaining surplus capital — let compounding work on both simultaneously.
This article is for educational purposes only and reflects general financial principles. It is not personalised advice for your individual situation. Always consider your own financial circumstances before making any decisions.
