You just got a $20,000 bonus. Your mortgage balance is $280,000 at 6.8%, and your investment account has been compounding at something like 8% a year. The question feels simple — kill the debt or feed the investments? — but it’s one of the most consequential financial decisions you’ll make, and the right answer depends on math most people never actually run, plus psychology most financial advice pretends doesn’t exist.
Paying off your mortgage early guarantees a return equal to your interest rate and buys something no spreadsheet captures: the feeling of owning your home free and clear. Investing the extra cash instead offers potentially higher returns, more liquidity, and tax advantages — with market risk attached. Here’s how to decide with real numbers instead of gut feelings.
The Pure Math: Compare After-Tax Returns
Start with the guaranteed return of prepayment: your mortgage interest rate, adjusted for taxes. If you itemize deductions and you’re in the 24% federal bracket, a 6.8% mortgage costs you effectively 5.17% after the tax deduction (6.8% × 0.76). Every extra dollar toward principal “earns” that 5.17% risk-free. Compare that against your investment’s expected after-tax return: a diversified stock portfolio’s long-run ~10% nominal (~7% after inflation) becomes roughly 8.5% after long-term capital gains taxes for high earners, less for others.
The historical verdict: over most long periods, diversified stock investing has beaten mortgage rates — especially the sub-4% rates of the 2010s and early 2020s. But at 2026’s higher rates (6.5–7.5% typical), the comparison tightens considerably. A guaranteed 5–7% after-tax return from prepayment is genuinely competitive with expected market returns once you adjust for risk. The CFPB’s mortgage resources help you model your specific amortization — run your numbers rather than trusting rules of thumb.
When Paying Off Early Wins
High mortgage rates
Above 7%, prepayment’s guaranteed return is hard for even optimistic market assumptions to beat on a risk-adjusted basis. Every extra payment at 7.5% is a 7.5% risk-free return — better than bonds, competitive with stocks, with zero volatility.
You value certainty and sleep
This isn’t irrational — it’s a legitimate preference. A paid-off home slashes your monthly nut, which means you can take career risks, survive job loss, or retire earlier with lower income needs. Financial planners call this “reducing your required return on life,” and for many households it’s worth more than a theoretical extra 1–2% in market returns.
You’re near retirement
Entering retirement without a mortgage payment is one of the most powerful de-risking moves available. It reduces your sequence-of-returns risk (needing to sell investments in a down market to make mortgage payments) and lowers the income you must generate from your portfolio.
You’d otherwise spend the money
Be honest: if the “invest the difference” plan historically means the difference gets absorbed by lifestyle spending, prepayment is the superior forced-savings mechanism. The best strategy is the one you’ll actually execute.
When Investing Wins
Low mortgage rates
At 3–5%, the math strongly favors investing. The spread between a ~4% guaranteed return and ~8–10% expected market returns is wide enough to absorb significant market underperformance and still win.
You need liquidity
Money put into home equity is trapped — accessing it requires selling, refinancing, or a HELOC, all costly and slow. If your emergency fund is thin, you’re young with decades of compounding ahead, or you might need capital for opportunities (a business, education), liquidity beats equity. Never prepay the mortgage while carrying high-interest debt or lacking 3–6 months of expenses in reserve.
Tax-advantaged space is available
Maxing 401(k)s, IRAs, and HSAs before prepaying a moderate-rate mortgage is usually optimal — the tax benefits alone (immediate deductions, tax-free growth) add 1–3% annually to effective returns. An extra mortgage payment can’t compete with a matched 401(k) contribution earning an instant 50–100% return from the employer match.
You’re young with high risk tolerance
Decades of compounding magnify even small return advantages. A 30-year-old choosing investments over prepayment at a 2% annual edge turns that edge into life-changing money over 30 years.
The Hybrid Approach Most People Should Actually Use
The binary framing is the real trap — the optimal move for most households is both. A sensible split: max out tax-advantaged retirement accounts first (especially to the employer match), maintain a full emergency fund, then divide extra cash between investments and mortgage prepayment according to your rate and temperament. Even modest prepayments have outsized effects: an extra $200/month on a $300,000, 7%, 30-year mortgage saves roughly $85,000 in interest and cuts nearly 7 years off the loan.
Consider biweekly payments (26 half-payments = 13 full payments yearly) as a painless accelerator, or an annual lump sum from bonuses and tax refunds. If you refinance to a lower rate later, keep making the old higher payment — you maintain your budget while the extra flows entirely to principal. And if your overall financial picture needs strengthening first, our guide on improving your credit score covers the fundamentals that lower your borrowing costs across the board — which changes this entire calculation in your favor.
The Factors Spreadsheets Miss
Several real-world considerations don’t fit neatly in the math. Job stability: volatile income argues for liquidity (invest) over trapped equity. Divorce risk: home equity gets split; retirement accounts too — but the timing and control differ. College funding: home equity generally doesn’t count against financial aid formulas the way investment accounts do (though this varies) — a subtle point for parents. Insurance value: a paid-off home can’t be foreclosed, which matters more than people admit in an uncertain economy. Behavioral reality: the “invest the difference” strategy fails for most people because the difference never actually gets invested — be ruthlessly honest about your own track record before choosing it.
Also model the opportunity holistically: money isn’t the only scarce resource. The detailed calculators at NerdWallet let you input your exact rate, timeline, and assumptions rather than relying on generic advice.
Conclusion
At today’s mortgage rates (6.5–7.5%), there’s no universally wrong answer — which is precisely why the decision deserves real analysis instead of a slogan. Run your after-tax numbers: if your effective mortgage rate approaches expected market returns, prepayment’s guaranteed, risk-free return is compelling, especially near retirement or when you crave certainty. If your rate is low, you’re young, tax-advantaged space sits unused, or liquidity matters, investing wins. And for most households, the honest optimum is a hybrid: fund the match, keep reserves, then split the surplus. The only genuinely bad choice is letting the extra cash evaporate into lifestyle spending while telling yourself you’ll decide later.
If you’re self-employed, the tax deductions freelancers can claim change the effective cost of mortgage interest — model them before you prepay.
Frequently Asked Questions
Is it better to pay off mortgage or invest at 7% interest?
At 7%, it’s genuinely close. The guaranteed 7% (roughly 5.3% after-tax if you itemize) competes well with expected stock returns on a risk-adjusted basis. Many planners suggest a hybrid at this rate — split extra cash between both.
Does paying off my mortgage early hurt my credit score?
Temporarily, sometimes — closing your oldest installment account can ding your score modestly. But the effect is small and fades, and the improved debt-to-income ratio helps future borrowing. Don’t let credit-score anxiety override sound financial strategy.
Should I pay off my mortgage before retirement?
Generally yes — entering retirement mortgage-free dramatically lowers your required income and reduces sequence-of-returns risk. The exception: if paying it off would deplete your liquid retirement savings, keep the liquidity and the mortgage.
What about recasting vs. refinancing vs. prepaying?
Prepaying reduces principal and total interest. Recasting (a $250–$500 lender fee) re-amortizes your current loan after a lump sum, lowering monthly payments without refinancing. Refinancing replaces the loan entirely — worth it when rates drop 0.75–1%+ below your current rate.
Can I deduct mortgage interest if I prepay aggressively?
You deduct interest actually paid each year, so prepayment gradually reduces your deduction — but you’re also paying less interest, which is the entire point. With today’s higher standard deduction, fewer homeowners itemize anyway, making the deduction moot for many.

