Coastline Open the calculator →
Payoff vs invest

Should you pay off a 4% mortgage or invest?

With a 4% mortgage and a 7% expected investment return, investing the extra money ends roughly $121,930 ahead after 30 years. But that's only the math on averages — paying off a mortgage is a guaranteed return and buys real peace of mind.

Investing wins by ~$121,930 over 30 years (today's $)
Sending an extra $12,000/yr to the mortgage clears it around age 48 (vs 65 otherwise). Investing that money instead ends around $2,619,684 vs $2,497,754 for the payoff path.

Why the mortgage rate decides it

Paying off a mortgage is a guaranteed return equal to the mortgage rate. Investing is an expected return with risk. So the comparison is simply 4% guaranteed vs ~7% (risky) expected:

Before you decide

A few things this comparison assumes you've already handled: capturing your full 401(k) match (an instant ~100% return that beats both), paying off any high-interest debt (credit cards dwarf a mortgage rate), and keeping an emergency fund. Money locked in home equity is hard to access without a sale or a HELOC — so don't pay down the mortgage with money you might need.

Assumptions: $450k home, 20% down, 30-yr term, an extra $12,000/yr toward principal, 7% investment return, 3% inflation, single filer. Mortgage interest is only deductible if you itemize — most people take the standard deduction, so this treats it as non-deductible. Model your own numbers in the calculator.

Fill the tax-advantaged buckets before you touch the mortgage

Comparing a mortgage rate to expected market returns skips a step that beats both. Before extra principal or ordinary investing, there is an order of operations that reliably wins:

Then comes tax-advantaged space. A dollar inside a 401(k), IRA, or HSA compounds shielded from tax, which lifts its effective return well above the same dollar in a taxable account. That shelter, not just the raw market return, is what a moderate mortgage rate is really competing against.

Only once the match is captured, costly debt is gone, and those sheltered accounts are being funded does the prepay-versus-invest question truly begin — and at a rate in this range, tax-advantaged investing usually still edges ahead of paying down the loan.

Run this with your real numbers
Model your own mortgage rate, balance, and return to see whether paying it down or investing wins for you.
Open the free calculator →

Common questions

Should I pay off a 4% mortgage or invest?

On average, investing wins by about $121,930 over 30 years because a 7% expected return beats the 4% guaranteed by paying it off. But paying off is guaranteed and risk-free, which many people rationally prefer.

Is it worth paying off my mortgage early?

Financially it's worth it when your mortgage rate is at or above your expected after-tax investment return. Below that, investing usually builds more wealth — though a paid-off home reduces risk and fixed costs, which has real value beyond the math.

What should I do before paying extra on my mortgage?

Capture your full 401(k) match, clear high-interest debt (credit cards), and hold an emergency fund first — each of those beats extra mortgage payments. Only then does paying down a low-rate mortgage compete with investing.

Keep exploring