roofy
Money

Should I pay off my mortgage early or invest?

Compare net worth from putting extra cash toward your mortgage versus investing it, and find the break-even return.

Updated October 12, 2026 · fact-checked against official sources

Your after-tax mortgage rate is the full 6.5%.
Paying down the mortgage comes out ahead by after 25 years
$35,528

Break-even return: 7.00% a year before tax drag. Investing wins only if you earn more than that, every year, on average.

Pay down mortgage Invest the extra
$357K$34K-$289KY1Y5Y9Y13Y17Y21Y25
Hover the chart for exact values.
Pay down: investments$356,547
Pay down: mortgage left$0
Pay down: net worth$356,547
Invest: investments$321,019
Invest: mortgage left$0
Invest: net worth$321,019
Loan paid off early in15 yr 11 mo
Interest avoided by prepaying$125,588
If your return is different
ReturnPay downInvestBetter
4.0%$323,939$239,284Pay down
6.0%$356,547$321,019Pay down
8.0%$393,433$438,630Invest

Paying down a 6.5% loan is a guaranteed 6.50% after-tax return. Investment returns are not guaranteed and can be negative for years, which this steady-return math does not show.

How the calculator works

You have the same extra cash every month and two places to put it. The calculator runs both plans month by month and compares your net worth (investments minus what you still owe on the mortgage) at the date you choose.

  • Pay down the mortgage. Your regular payment plus the extra goes to the loan, so it is paid off early. From the month after payoff, the whole old payment plus the extra goes into investments.
  • Invest the extra. You make only the scheduled payment and invest the extra each month. Once the loan ends on schedule, the old payment is invested too.

Investments grow monthly at your expected return minus the tax drag you enter, divided by 12. That is the same compounding idea used by the SEC's Investor.gov compound interest calculator. If you itemize, the tax you save on each month's interest is invested in both plans. The break-even return is found by testing returns until both plans finish level.

Worked example

You owe $300,000 at 6.5% with 300 months (25 years) left, so your payment is about $2,026. You have $500 extra each month. You take the standard deduction, assume a 6% return, and expect 0.5% a year lost to taxes and fees. You compare after 25 years.

$300,000 at 6.5%, 25 years left, $500 extra a month
Return you assumePay down: net worthInvest: net worthBetter choice
4%$323,939$239,284Pay down
6%$356,547$321,019Pay down
8%$393,433$438,630Invest
Source: Roofy calculation; returns are assumptions, not forecasts

Prepaying clears the loan in 15 years 11 months instead of 25 years and avoids about $125,600 of interest. After that you invest $2,526 a month for the remaining nine years. The break-even return is 7.0%: your 6.5% mortgage rate plus the 0.5% drag. Below that, paying down wins. Above it, investing wins, and the gap grows the higher the return.

Things the math leaves out

  • Liquidity. Money paid into your home is hard to get back without selling or borrowing. Keep an emergency fund first; see the homeowner emergency fund calculator.
  • Tax-advantaged accounts. Money invested in a 401(k) or IRA may have little tax drag, and an employer match is an immediate return. Enter a lower drag to model that.
  • The deduction. Interest only lowers your tax if you itemize. Check with the mortgage interest deduction calculator before choosing “yes”.
  • Prepayment rules. Ask your servicer to apply extra payments to principal, and check your note for any prepayment penalty.
  • Adjustable rates. The calculator assumes a fixed rate. If your rate can rise, paying down debt becomes more attractive.

What to do next

See exactly how extra payments shorten your loan with the extra mortgage payment calculator, or lower your payment without refinancing using the mortgage recast calculator. Our guide to paying off your mortgage early vs investing covers the non-math side of the decision.

Common questions

Is it better to pay off my mortgage or invest?

In pure math, investing wins only if your after-tax, after-fee investment return beats your after-tax mortgage rate. Paying down the loan earns exactly the mortgage rate with no risk; investing may earn more or less. The calculator shows the break-even return for your loan.

What is the break-even return?

It is the yearly investment return at which both choices leave you with the same net worth at your chosen date. With no tax deduction, it is close to your mortgage rate plus whatever tax drag and fees you enter.

Does the mortgage interest deduction change the answer?

Only if you itemize. If you do, each dollar of interest saves tax at your bracket, so your real mortgage cost is lower and investing looks better. If you take the standard deduction, your mortgage's real cost is its full rate.

What should I do before making extra mortgage payments?

Common priorities are an emergency fund, paying off higher-rate debt, and getting any employer retirement match. Also confirm with your servicer that extra payments go to principal and that your loan has no prepayment penalty.

Fact-checked October 12, 2026

Re-checked 2026-10-12. Math only; no market returns asserted. Worked example recomputed with an independent simulation: $2,025.62 payment, payoff in 191 months (15 yr 11 mo), $125,588 interest avoided, net worth at 4/6/8% matches the table, break-even 7.00% with 0.5% drag and no deduction. Investor.gov calculator inputs (estimated rate, variance range, compound frequency) confirmed. Interest tax saving applies only when the user itemizes (Pub. 936). Removed an unsourced claim about how many taxpayers itemize; headline now shows the clamped horizon.

Sources

  1. Compound Interest Calculator · U.S. Securities and Exchange Commission, Investor.gov (accessed October 12, 2026)
  2. Publication 936, Home Mortgage Interest Deduction · IRS (accessed October 12, 2026)
  3. Revenue Procedure 2025-32 (2026 standard deduction) · IRS (accessed October 12, 2026)

General information, not legal, tax or financial advice. Rules change; confirm with the agency or a professional before you act.