All articles
November 9, 2026By Everything Capital Editorial
Updated November 9, 2026Editorial policyHow we make money

Pay Off the Mortgage or Invest? The Math and the Feeling

Prepaying a mortgage earns a guaranteed return. Investing earns an uncertain one but keeps the money liquid. Run both paths through the same arithmetic.

Paying down a mortgage early is a guaranteed return. Investing the same money is an uncertain one, with the consolation that you can still get at it. Most arguments about this question are really arguments about which of those two facts deserves more weight.

The guaranteed return is the part people skip

An extra principal payment earns your mortgage rate, starting the day it clears, with no market risk and nobody taking a cut in between. If the loan carries a 5.5 percent rate, the prepayment returns 5.5 percent. That is not a forecast. It is subtraction: interest you no longer owe.

You will not see it in an account balance, which is where the comparison gets slippery. A prepayment pays out as avoided interest and a shorter obligation, showing up as a smaller number on a statement and eventually as a loan that ends years early.

Strip out taxes and fees and the break-even return on the invested side is exactly the mortgage rate. At 5.5 percent, an investment returning 5.5 percent ties the prepayment, and anything above it wins. A tie should not be treated as a tie, though. One side is certain and the other is not, so the investment has to beat the rate and then beat it comfortably enough to justify the chance that it does not. Name that margin in advance, before the market gives you a reason to move it.

The prepayment return also arrives every month regardless of what stocks do, while the investment return arrives as a multi-year average nobody actually experiences. A bad stretch early does more damage than the same stretch late.

A hypothetical loan, two paths, five years

Take a $300,000 loan at 5.5 percent over 30 years, with principal and interest of about $1,703 a month. Then add $750 a month of spare cash. These numbers are invented for illustration; substitute your own and the shape barely changes.

Path one sends all $750 to principal every month. Path two invests all $750 and keeps paying the loan on schedule. After five years:

  • Prepaying: balance falls to about $225,721, and interest paid over the five years totals about $72,923.
  • Investing: balance falls to about $277,382, and interest paid totals about $79,584. The portfolio holds $45,000 of contributions, worth roughly $52,328 if it earns 6 percent a year, $49,724 at 4 percent, $47,286 at 2 percent.

The equity gap between the paths is about $51,661. At 6 percent the invested side finishes ahead by roughly $670. At 4 percent it trails by about $1,940. At 2 percent it trails by about $4,375.

Five years and $45,000 of contributions, and a two point swing in returns moves the answer by a couple of thousand dollars. Not a landslide in either direction. A close call decided by a number nobody knows in advance.

The prepaying path also finishes the loan at year 15 instead of year 30, paying about $141,016 of total interest instead of about $313,210.

Why early dollars work harder than late ones

Mortgage interest is front-loaded. On that same loan, the first payment is $1,703, and $1,375 of it is interest. Only $328 touches the balance. Across the first year, roughly $16,399 goes to interest and $4,041 to principal.

An early dollar attacks the largest balance it will ever see, so it removes interest for the entire remaining life of the loan. A late dollar has far less time to compound its effect.

Run the same $750 a month for the same five years, once at the start and once at the end. Paid during the first five years, it retires the loan at month 265 and cuts total interest to about $195,433, saving roughly $117,778. Paid during the final five years, it retires the loan at month 340 and saves about $4,429. Identical money, identical loan, and roughly 26 times the benefit for the early version.

This is why "I will prepay when I have more room in the budget" so often becomes prepaying when it barely matters. The best years are the ones you are already living through.

The real cost is liquidity

The spreadsheet does not show this one, and it is the most important line in the exercise.

Home equity is not cash. Getting at it means selling the house, opening a line of credit against it, or refinancing and pulling money out. All possible, but each is slower and conditional on a lender saying yes. Credit lines can be frozen or reduced when values fall or lenders pull back, which tends to happen around the same time as job losses. The asset you cannot reach is least reachable exactly when you want it.

So the ordering matters more than the percentage. An emergency fund comes first, and the prepayment money has to be money you can leave alone for years. Cash earmarked for a roof, a car, or tuition does not belong in the house.

This is the honest trade. Investing the difference buys optionality and sells certainty. Prepaying buys certainty and sells optionality. Neither is free, and anyone claiming one is strictly better has picked which risk they tolerate and stopped calling it a choice.

Recasting, refinancing, and taxes

Recasting gets confused with prepaying constantly. A recast applies a lump sum to principal, then re-amortizes the balance across the remaining term. The rate and end date stay, and the monthly payment falls. On the example above, $225,721 spread over 300 months at the same rate is about $1,386, roughly $317 less per month. A recast buys back cash flow, not time. Many lenders offer it, sometimes for a fee, and not all do.

Refinancing replaces the loan entirely. A rate and term refinance can lower the rate or change the length, at the cost of closing costs. A cash out refinance extracts equity, reversing your prepayments and re-borrowing at the new rate. Refinancing into a fresh 30 year term after years of prepaying can hand back much of the interest you saved. Compare total interest and years remaining, not the monthly payment.

Taxes can move the break-even in either direction, and the details change with legislation and with your own circumstances. Mortgage interest may or may not produce a tax benefit depending on whether you itemize, the size of the loan, your filing status, and where you live, so treat the deduction as a variable rather than a permanent subsidy that makes borrowing free. Investment returns are taxed on their own schedule, and that timing is part of the comparison. Work the numbers before tax first, then adjust using the rules as they stand when you decide.

The feeling is a legitimate input

A mortgage free house changes behavior, and behavior is part of the return. Households without a payment can hold investments through a bad year instead of selling, take a pay cut for work they prefer, and absorb a layoff without a cascade. A slightly lower expected return that someone actually sticks with beats a higher one they abandon in the first downturn.

The reverse is also true, and worth saying plainly. Some people prepay to avoid ever investing, and thirty years of that avoidance has a real cost. The test that cuts through it: would you borrow against the house at this rate in order to invest this amount? If no, prepaying is consistent with what you actually believe. If yes, invest the difference and stop calling the alternative caution.

Splitting the money is legitimate too. Half to principal and half to investments hedges regret in both directions and beats another year of deciding. The goal is not a perfect allocation. It is to choose, automate it, and move on.

What to do this week

  • Write down three numbers from your statement: balance, interest rate, and the principal and interest portion of the payment. Ignore escrow, which does not change with prepayment.
  • Confirm your emergency fund is funded to target before sending anything extra to the house.
  • Pick one monthly amount and one destination, principal or investments, and automate it for the next payday.
  • Ask your servicer two questions in writing: whether extra payments are applied to principal automatically, and whether the loan allows recasting and at what fee.
  • Check last month's statement to confirm any extra payment reduced principal rather than being held as an early installment for next month.

Written and reviewed by Everything Capital Editorial. This article is educational and is not financial, tax, or legal advice — see the full disclaimer.

Keep reading

How to Build a Budget You'll Actually Stick To

A practical, no-lecture guide to a budget that survives real life: the three systems that work, how to pick yours, and the one habit that keeps it alive.

The Smartest Order to Pay Off Debt

Avalanche or snowball? A clear, numbers-first guide to choosing a debt payoff strategy, with a worked example and the mistakes that make debt payoff slower.

Investing for Beginners: Four Steps Before You Buy Anything

Before buying your first stock or fund, do these four things: an emergency fund, a real goal, an understanding of fees, and a plan that matches your timeline.

Cryptocurrency in a Balanced Portfolio: A Practical Framework

How much crypto belongs in a balanced portfolio? A rational, non-hype framework for sizing the allocation, keeping it separate, and rebalancing without drama.

Tax Deductions Most People Miss

The deductions people forget most — home office, gig expenses, retirement contributions, HSA, and the record-keeping that makes them survive an audit.

How to Build an Emergency Fund You Never Have to Think About

The practical system for building a 3-6 month emergency fund — how to size it, where to keep it, and the automation that builds it without willpower.

Roth vs. Traditional: Where Your Retirement Money Should Go

Roth or traditional? A plain-English guide using tax rates, not slogans — with a worked example and the order most people should contribute in.

How Credit Scores Actually Work (and What Moves Them)

The five factors behind your credit score, ranked by weight — plus the two habits that matter more than everything else combined.

The HSA: The Triple-Tax Account Most People Waste

An HSA beats both a 401(k) and an IRA on taxes — if you don't spend it. Here's how the strategy works and who qualifies.

Your 401(k) Match Is Free Money. Capture All of It.

How the employer 401(k) match works, what vesting takes back, and how to find the exact contribution rate that captures every dollar of free money.

Index Funds vs. ETFs: What Actually Differs

Index funds and ETFs often hold the same securities. Here is what actually differs in cost, trading, minimums and taxes, and when the choice does not matter.

Sinking Funds: The Budget Tool That Ends Surprise Expenses

How sinking funds turn irregular costs like car repairs, insurance premiums, and holidays into predictable monthly bills, plus how to size and automate them.