Mortgage

Pay Off Your Mortgage Early or Invest? The Math, Not the Myth

Bar chart comparing wealth after 30 years from paying off a mortgage early versus investing, for 3%, 5% and 7% mortgage rates

You have a few hundred dollars left over each month. Should they go into extra mortgage payments, or into an index fund? Both build wealth, and both camps defend their side passionately: one swears by the freedom of owning your home outright, the other points out that markets have historically returned more than most mortgage rates. The honest answer depends on four things — your mortgage rate, the return you can realistically expect, taxes and how much risk you can stomach. Here is how to weigh them with real numbers.

The one rule that settles most cases

Every extra dollar you pay on a mortgage “earns” exactly your mortgage rate, because it is a dollar of debt you will never pay interest on again. That return is guaranteed, it arrives no matter what markets do, and — unless you itemise and deduct mortgage interest, which most households no longer do — it is tax-free. Investing offers a higher expected return, but it is uncertain and usually taxed.

So the rule of thumb is simple: if your mortgage rate is higher than the after-tax return you can realistically expect, prepay; if it is clearly lower, invest. In between, it comes down to risk tolerance and priorities.

A worked example: $300 a month on a 6.5% mortgage

Take a $280,000 loan at 6.5% for 30 years. Principal and interest are $1,770 a month. Paying an extra $300 every month clears the loan in about 20.4 years instead of 30 and saves $131,512 in interest. The alternative is to invest that $300 every month instead.

To compare fairly, both households spend the same amount each month: the prepayer, once the mortgage is gone, invests the full $2,070 it no longer pays to the bank. Here is the investment portfolio each one has after 30 years — when both own the house outright:

Investment returnPrepay first, then investInvest the $300 from day oneAfter 15% tax on gains
4% a year$288,460$205,581Prepay wins ($280,895 vs $190,944)
6% a year$318,020$292,354Prepay wins ($306,021 vs $264,701)
8% a year$350,902$422,565Invest wins ($375,380 vs $333,970)

With a 6.5% mortgage, prepaying beats investing unless your portfolio earns around 7% or more a year — and then you are taking stock-market risk to beat a guaranteed 6.5%. You can test your own loan in the mortgage calculator: open Advanced options and add an extra monthly payment to see the interest and years you save.

Your mortgage rate decides most of it

Same household, a $250,000 loan over 30 years and $300 a month to spare. Portfolio after 30 years with a 6% investment return, before tax:

Mortgage ratePrepay firstInvest from day oneWinner at 6% returns
3%$201,010$292,354Invest, by a wide margin
5%$260,952$292,354Invest, narrowly
7%$340,331$292,354Prepay

Borrowers who locked in 3% mortgages in 2020–2021 are effectively borrowing below inflation; prepaying them is rarely the best use of cash. Recent buyers paying 6.5–7% face a very different calculation: a guaranteed, tax-free 7% is hard to beat.

What the spreadsheet leaves out

  • Liquidity. Money paid into your house is hard to get back in an emergency — you would need a sale or a new loan. Build an emergency fund before you prepay anything.
  • Free money first. An employer 401(k) match is an instant 50–100% return; take all of it before prepaying a mortgage. Pay off credit cards and other high-interest debt first, too.
  • Tax-advantaged accounts. Investing through a 401(k), IRA or Roth IRA shields growth from tax, which tips the balance towards investing.
  • Inflation. A fixed-rate mortgage gets cheaper in real terms every year inflation runs; at 3% inflation a 3% loan costs roughly nothing in real terms.
  • Peace of mind. Being mortgage-free before retirement slashes the income you need. For many people, that certainty is worth more than a slightly higher expected return.
  • Penalties and options. Most US mortgages have no prepayment penalty (where allowed, they are capped and expire after three years). If you want a lower payment rather than a shorter loan, ask your lender about a recast.

A balanced approach

You do not have to choose one side. Many people split the surplus — say half to extra principal and half to investments — which captures part of the guaranteed return while keeping money liquid and invested. Revisit the split when rates change: if you can refinance lower, investing becomes more attractive; if your rate is high, lean towards prepaying.

Run your own numbers

Model the extra payment in the mortgage calculator or the loan calculator, then see what the same monthly amount grows to in the compound interest calculator. If the investment only wins with returns you would not bet on, the guaranteed one is probably your answer.

Frequently asked questions

Compare your mortgage rate with the after-tax return you realistically expect. If the mortgage rate is higher, prepaying wins with zero risk; if it is clearly lower, investing usually comes out ahead over the long run.
On a $280,000 loan at 6.5% over 30 years, an extra $300 a month pays the mortgage off about 9.6 years early and saves around $131,500 in interest.
It often makes sense: retiring without a housing payment lowers the income you need and the risk of selling investments in a downturn. Keep enough liquid savings, though, and do not drain retirement accounts to do it.
Rarely. Since 2014 penalties are only allowed on certain fixed-rate loans, are capped at 2% of the prepaid amount and disappear after the third year. Check your loan documents to be sure.
Only if you itemise deductions. Most households take the standard deduction, so their mortgage interest saves no tax and prepaying is a fully tax-free return.

See what an extra payment saves you

Add an extra monthly payment to your mortgage and see the interest saved and how many years earlier you will be debt-free.

Open the Mortgage Calculator →
Cripto Adicto, founder of WealthCalcApp
Cripto Adicto · Founder of WealthCalcApp · 6+ years in crypto & finance

Passionate about finance and investing, with more than 6 years of hands-on experience in the crypto world. He shares analysis and financial education on his YouTube channel, Cripto Adicto.

Watch on YouTube →

A Guaranteed Return Versus an Expected One

Paying down a mortgage early earns a certain, usually tax-free return equal to its interest rate; investing earns an uncertain one that has historically been higher. Compare the two after tax, secure your emergency fund, employer match and high-interest debt first, and remember that liquidity and peace of mind have real value. Then test your own loan with the mortgage calculator and decide with numbers rather than slogans.