What should I do before either one?
Take care of these first, in order:
- An emergency fund of three to six months of spending, in cash.
- The full employer match in your 401(k). It's an instant return no mortgage can beat.
- High-interest debt. Credit cards and personal loans cost far more than any mortgage.
Only after these is the mortgage question worth asking.
How do I compare the two?
Start with your mortgage rate. If you itemize, the interest deduction lowers your real cost a little; most households take the standard deduction, so for them the rate is the true cost.
Then ask what you'd realistically earn by investing the same money, after taxes, and how you'd feel in a year the market falls 25%. A diversified stock portfolio has historically earned more than most mortgage rates over long periods, but not every year and not every decade.
Rough guide, not a rule:
- Rate under about 4%: Investing usually comes out ahead, especially in retirement accounts.
- Rate around 5% to 6%: Close call. Splitting extra money between the two is sensible.
- Rate near 7% or higher: Prepaying is an attractive guaranteed return. For reference, Freddie Mac's average 30-year rate was 7.18% in early November 2026.
What does the math leave out?
The feeling. Many people sleep better with no house payment, and that peace has real value, especially heading into retirement when a paid-off house lowers how much income you need.
But there's a trade-off: money sent to the mortgage is locked in the house. You can't use it in a job loss or a business emergency without selling or borrowing against it, and banks lend least when you need it most. Prepaying also doesn't lower your monthly payment; it only ends the loan sooner. If flexibility matters, build up the investment account first and pay off the mortgage in one move later.
A hypothetical example
This example is illustrative and does not represent a real client. Leah has $1,000 a month left over after maxing her 401(k). Her mortgage is at 3.1% from 2021. She invests the full $1,000 in a taxable brokerage account. Her neighbor Ben took out a mortgage last year at 7.2%. He sends $500 a month extra to the mortgage and invests the other $500, so he gets a sure return and keeps some cash he can reach.
Your one move
Find your mortgage rate on your last statement. If it's above 6%, look at what one extra payment a year would do; if it's under 4%, point your extra money at investing.