Real Estate

Pay Off Mortgage Early or Invest? The Real Math

If your mortgage rate is well below what you expect to earn from investing, investing usually wins; if your rate is close to that return, paying off the mortgage is about as good and carries no risk. On a $350,000 loan at 3%, investing an extra $500 a month instead of prepaying leaves you roughly $250,000 ahead after 30 years at a 7% return. At 6.5%, the two paths end up within about $45,000 of each other in a retirement account, and nearly tied in a taxable account.

The math is only half of the decision. Your emergency savings, other debts, retirement match and how you feel about debt all matter. This guide walks through the numbers, then gives you a checklist.

The Short Answer in One Table

A new $350,000, 30-year fixed mortgage. You have an extra $500 a month and two choices: add it to the mortgage payment, or invest it. In the prepay path, once the loan is gone you invest the full freed-up payment plus the $500 until year 30, so both paths spend exactly the same money each month for 30 years. Investments earn 7% a year (nominal), compounded monthly.

6.5% mortgage3% mortgage
Monthly principal and interest$2,212$1,476
Interest saved by prepaying $500/month$193,603$68,341
Payoff time with $500 extra18 years, 7 months19 years, 7 months
Time saved11 years, 5 months10 years, 5 months
Wealth at year 30: prepay, then invest (tax-advantaged)$566,562$362,033
Wealth at year 30: invest $500 from day one (tax-advantaged)$609,985$609,985
Investing ahead by$43,423$247,952

Both paths end with the house paid off by year 30. The difference is what is sitting in your investment account. Try your own loan in the mortgage payoff calculator.

Worked Example 1: The 6.5% Mortgage

The regular payment on $350,000 at 6.5% is $2,212.24 a month, and over 30 years you would pay $446,406 in interest.

Investing comes out about $43,000 ahead, but only if you actually earn 7% every year and never touch the money. That gap is a reward for taking market risk. Prepaying a 6.5% loan earns a guaranteed 6.5%, which is hard to find anywhere else with no risk.

Another way to see it: at the moment the prepayer becomes debt-free (month 223), the investor still owes $213,569 on the mortgage and has $227,872 invested. Selling the investments to pay off the loan would leave only about $14,000, before any taxes on the gains.

Worked Example 2: The 3% Mortgage

The regular payment on $350,000 at 3% is $1,475.61 a month, with $181,221 of interest over 30 years.

Investing wins by about $248,000. When your loan costs 3% and a high-yield savings account or Treasury bill pays more than that, prepaying is hard to justify on the numbers alone.

What Changes in a Taxable Account

The table assumes a 401(k) or IRA, where growth is not taxed along the way. In a regular brokerage account, you pay tax on gains. If we assume a 15% long-term capital gains tax on all the growth at year 30:

After 15% tax on gains6.5% mortgage3% mortgage
Prepay, then invest$537,314$344,771
Invest from day one$545,488$545,488
Investing ahead by$8,174$200,717

At 6.5% the gap shrinks to about $8,000, which is effectively a tie. In real life, dividends in a taxable account are taxed every year and fees nibble at returns too. If those drag your return from 7% down to 6%, prepaying the 6.5% mortgage pulls ahead: $531,810 versus $502,258 before the final tax bill.

Your After-Tax Mortgage Rate (Probably the Full Rate)

People often say the mortgage interest deduction makes a mortgage "cheaper." For most borrowers in 2026 it does not, because you only get the deduction if you itemize, and itemizing only helps when your deductions beat the standard deduction: $16,100 for single filers and $32,200 for married couples filing jointly (IRS Rev. Proc. 2025-32).

In the first year of the 6.5% loan above, you pay about $22,635 in interest. For a married couple with $10,000 of state and local taxes, total itemized deductions are $32,635, just $435 above the standard deduction. At a 22% tax rate that is worth about $96 for the year. Their after-tax mortgage rate is still essentially 6.5%, and the benefit shrinks every year as the interest portion of the payment falls.

So for most households, compare your full mortgage rate with your expected investment return. Only if you itemize well above the standard deduction should you use a lower, after-tax mortgage rate.

Risk and Liquidity: What the Spreadsheet Misses

A Simple Decision Checklist

Work through these in order. Stop at the first one that is not yet done.

  1. Emergency fund: do you have 3 to 6 months of expenses in savings? If not, build that first.
  2. Employer match: are you contributing enough to your 401(k) to get the full match? A match is an instant return that beats any mortgage rate.
  3. High-interest debt: are credit cards and other loans above your mortgage rate paid off? Pay those first.
  4. Compare rates: is your mortgage rate below about 4 to 5%? Investing likely wins. Above about 6%? Prepaying is a strong, risk-free option. In between, it is close.
  5. Time to retirement: do you want the mortgage gone before you stop working? Prepaying can make that happen.
  6. Comfort with risk: would a 30% market drop make you sell? If so, the guaranteed return of prepaying may suit you better.

The Hybrid Approach: Do Both

You do not have to pick one. Split the $500: put $250 toward the 6.5% mortgage and invest $250.

You keep some flexibility, lock in a guaranteed return on part of your money, and still get the mortgage gone years early.

If you get a lump sum, such as a bonus or inheritance, a mortgage recast lets you pay down principal and have the lender lower your monthly payment, which frees up cash flow rather than shortening the term. See exactly where each payment goes with the amortization schedule calculator, and model the investing side with the investment calculator. If your rate is high, also check whether refinancing is worth it before you start prepaying.

See how extra payments change your payoff date and total interest.

Open the Mortgage Payoff Calculator

Frequently asked questions

Is it better to pay off my mortgage early or invest?

It depends mostly on your mortgage rate. With a 3% rate, investing an extra $500 a month at a 7% return beats prepaying by about $248,000 after 30 years. With a 6.5% rate, investing is ahead by about $43,000 in a tax-advantaged account and roughly tied in a taxable account, while prepaying gives a guaranteed return.

How much interest do I save by paying $500 extra a month?

On a new $350,000, 30-year loan at 6.5%, an extra $500 a month saves $193,603 in interest and pays the loan off 11 years and 5 months early. At 3%, it saves $68,341 and pays it off 10 years and 5 months early.

Does the mortgage interest deduction make paying off my mortgage less worthwhile?

For most people, no. You only benefit if you itemize, and the 2026 standard deduction is $16,100 for single filers and $32,200 for married couples. Many homeowners take the standard deduction, so their after-tax mortgage rate is the full rate.

Should I pay off my mortgage before retirement?

Many people do, because it lowers the income you need in retirement and removes a fixed bill. Make sure you are not draining retirement accounts or your emergency fund to do it, since withdrawals can trigger taxes and leave you with little cash.

What is the hybrid approach to paying off a mortgage?

Split your extra money between prepaying and investing. Putting $250 toward a 6.5%, $350,000 mortgage and investing $250 pays the loan off in 22 years and 9 months, saves $126,604 in interest and leaves about $583,000 invested after 30 years at a 7% return.