Home & retirement

Pay off the mortgage or invest? The real break-even

Comparing a 6.5% mortgage with a 7% market return misses taxes, risk, and liquidity. The after-tax, after-risk break-even math, with a $300,000 example.

The short version
  • The mortgage rate is a guaranteed, tax-free return; a market return is expected, not guaranteed, and is taxed.
  • The mortgage interest deduction only matters if you itemize, which most filers no longer do.
  • Liquidity is part of the return: money in a paid-off house cannot cover a layoff without a new loan.

1. The comparison is not 6.5% versus 7%

The usual version of this debate compares a mortgage rate with an expected stock market return. If the mortgage costs 6.5% and the market is expected to return 7%, investing looks barely better. Change the assumption to 8% and investing looks clearly better; change it to 5% and paying off the loan wins. The whole conclusion swings on a number nobody knows in advance.

A better framing treats the two choices as different kinds of things. Paying down a mortgage is a guaranteed, after-tax return equal to the interest you no longer owe. Investing is an uncertain, before-tax return with a wide range of outcomes. Comparing them requires adjusting for taxes, risk, and the value of having cash available.

One sentencePaying off the mortgage is a bond-like return with no volatility; investing is an equity-like return with volatility and taxes. They are not interchangeable at the same headline percentage.

2. After-tax return on both sides

Start with the mortgage side. If you pay an extra $10,000 toward principal at 6.5%, you avoid $650 of interest in the first year, and the effect compounds as the balance falls. That $650 is not taxable income, so the after-tax value depends on your tax situation only through the mortgage interest deduction.

The deduction is smaller than most people assume. It applies only if you itemize, and the 2026 standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly. A household with $9,000 of mortgage interest and $6,000 of state and local taxes is still below the joint standard deduction, so the mortgage interest produces no tax benefit at all. If you do itemize, the benefit equals your marginal rate times the deductible interest — not times the whole payment.

Now the investing side. A taxable brokerage account is taxed on dividends each year and on capital gains when you sell. A long-term capital gains rate of 15% turns a 7% pre-tax return into roughly 6.2% after federal tax, before state tax. In a tax-advantaged account such as a 401(k) or IRA, the drag is deferred or eliminated, which is why maxing those accounts usually comes before either choice.

OptionReturnCertaintyTaxLiquidity
Extra principal at 6.5%6.5%GuaranteedTax-freeLow — requires a new loan or sale
Taxable index fund, 7% expected~6.2% after federal taxUncertainDividends and gainsHigh — sell in days
Tax-advantaged retirement account7% expected, deferredUncertainDeferredRestricted until 59½

3. A worked example: $300,000 at 6.5%

Assume a $300,000 balance, 25 years remaining, a 6.5% fixed rate, and $1,000 extra per month. The scheduled payment is about $2,026. Adding $1,000 cuts the payoff from 25 years to roughly 13 years and saves about $190,000 in interest over the life of the loan.

Now assume the same $1,000 per month goes into a taxable index fund returning 7% before tax. After 13 years, the contributions total $156,000. With growth, the account is roughly $245,000 before tax on gains. The mortgage path has saved about $190,000 of interest and owns the house 12 years earlier. The investing path has a liquid balance that may be larger, but it is not guaranteed and part of it belongs to the tax authority.

The comparison changes with the rate. At 3%, the interest saved is small and investing wins easily. At 7.5%, the guaranteed return is hard to beat on a risk-adjusted basis. Around 6–7%, the decision depends on the items below rather than on the rate alone.

4. Risk and liquidity are part of the math

A paid-off house is a wonderful asset and a terrible emergency fund. If you lose your job, the equity cannot pay for groceries without a home equity line, a cash-out refinance, or a sale. Those options may be unavailable exactly when you need them, because lenders tighten standards in recessions.

Sequence risk matters too. Investing a lump sum just before a 30% decline leaves less than paying down the mortgage, and the mortgage prepayment cannot lose value. On the other hand, a 30-year horizon gives the market time to recover, while the mortgage saving is fixed and ends when the loan ends.

There is also an emotional return. A smaller balance feels safer, and that feeling can help a household stay invested elsewhere. A mathematically slightly inferior choice that you can stick with for 15 years usually beats a theoretically optimal choice you abandon in a panic.

Rate sensitivity at a glance

The same $1,000 monthly prepayment produces very different results as the rate moves. On a $300,000 balance with 25 years left:

Mortgage rateInterest savedYears cutVerdict versus a 6.2% after-tax investment
3.0%≈ $62,000≈ 5Investing wins clearly
5.0%≈ $121,000≈ 8Close; liquidity decides
6.5%≈ $190,000≈ 12Prepayment competitive
7.5%≈ $247,000≈ 14Prepayment wins on risk-adjusted basis

These are rough figures for illustration; the exact numbers depend on fees, taxes, and the timing of payments. The pattern is what matters: the higher the rate, the more the guaranteed return is worth.

5. The order that usually wins

  1. Capture the full employer 401(k) match. It is an immediate 50–100% return on the contributed amount.
  2. Build an emergency fund of three to six months of expenses. Without it, the first setback becomes high-interest debt.
  3. Pay off credit cards and any debt above roughly 8%. No diversified portfolio reliably beats that after tax.
  4. Max tax-advantaged accounts — HSA, IRA, and the rest of the 401(k) — if the investment options are reasonable.
  5. Then choose between extra mortgage principal and taxable investing. This is where the rate, liquidity, and temperament questions actually apply.

Many households never reach step five, and that is fine. The first four steps capture most of the available advantage with far less uncertainty.

6. Recasting and other middle paths

You do not have to choose between paying nothing extra and paying the loan off early. A recast lets you make a large principal payment and have the lender re-amortize the remaining balance over the original term, lowering the monthly payment without a new loan or a credit check. It is useful if you want lower required payments rather than a shorter term.

A home equity line of credit can restore liquidity after a large prepayment, but it carries a variable rate and can be frozen by the lender. Treat it as a backup, not as an emergency fund. Biweekly payments are mostly a scheduling trick; the same result comes from adding one extra payment a year yourself, without a service fee.

7. A decision rule you can apply today

If this is trueLean toward
Mortgage rate is above roughly 7% and you have a full emergency fundExtra principal
Rate is below roughly 4% and you have a long horizonInvest in tax-advantaged accounts first
You are within five years of retirementPay off or pay down — sequence risk is highest now
Your income is volatile or your job is at riskKeep liquidity; do not lock everything in the house
You would sell investments in a downturnPay down the mortgage; the guaranteed return fits you

Run your own numbers with the mortgage payoff calculator, then check the result against this table. The calculator gives the interest saved; the table tells you whether the saved interest is worth the lost flexibility in your situation.

Calculator for this guide

NestEggCalc

Mortgage payoff, rent vs buy, FIRE, Roth growth, HSA, and Social Security break-even — the long-horizon numbers in one place.

nestegg.uswiselab.com
FAQ

Common questions

Is paying off my mortgage a better return than the stock market?
It is a guaranteed return equal to your mortgage rate, while the market return is uncertain and taxed. Above roughly 7%, the guaranteed return is competitive; below 4%, investing usually wins over a long horizon.
Does the mortgage interest deduction change the answer?
Only if you itemize. With the 2026 standard deduction at $16,100 single and $32,200 joint, many households get no tax benefit from mortgage interest at all.
Should I pay off the mortgage before maxing my 401(k)?
Usually no. The employer match and tax deferral are worth more than the interest saved, especially early in a career. Max the match, build an emergency fund, then compare.
What is a mortgage recast?
A recast applies a large principal payment and re-amortizes the remaining balance over the original term, lowering the monthly payment. It usually requires a fee and lender approval but no new loan.
Is it smart to pay off a 3% mortgage early?
Financially, usually not while safe yields are higher. The exception is a household that values having no debt enough to accept a lower expected return.
ML
Minhee Lee

Writes and maintains WiseLab. Uses primary sources, shows the formula, and records the date each figure was checked. Contact: hmmh180909@gmail.com.