Should you pay off your mortgage early or invest in a 401(k)?
The US version of this question has an extra layer: tax-advantaged retirement accounts. A 401(k) or IRA gives you an upfront tax deduction or tax-free growth, which can make investing more attractive than overpaying a mortgage, even when the mortgage rate is higher than the expected investment return. The answer still depends on your rate, tax bracket, time horizon, and risk tolerance.
The guaranteed return from paying off the mortgage
Overpaying your mortgage gives a guaranteed return equal to your mortgage rate, adjusted for any mortgage interest deduction if you itemize. If your rate is 6% and you do not itemize, the return is roughly 6%. If you itemize and deduct the interest at a 22% federal rate, the effective cost is about 4.68%.
The return is also simple. You send the money to your servicer, the balance drops, and the term shortens. There is no market risk, no volatility, and no tax complexity beyond the deduction question.
The tax-advantaged return from a 401(k)
A traditional 401(k) contribution reduces your taxable income this year. If you are in the 22% federal bracket and contribute $200, you save $44 in tax now. That money grows tax-deferred until retirement. A Roth 401(k) does not give an upfront deduction, but withdrawals in retirement are tax-free. The IRS sets annual contribution limits and updates them each year.
If your employer matches contributions, the case is even stronger. A 50% match is an immediate 50% return on your money, which no mortgage overpayment can beat. The standard advice is to capture the full match before doing anything else with spare cash.
How to decide
If you do not get an employer match and your mortgage rate is high, the comparison is closer. Overpaying gives a guaranteed after-tax return. Investing gives an uncertain but potentially higher return with tax deferral. For most long horizons, a diversified portfolio has historically beaten a 5% to 7% mortgage rate, but that is not a promise.
If you have decades until you need the money, a 401(k) or IRA is usually the better first destination for spare cash, especially if you can tolerate market swings. If you are close to retirement and want to enter that phase with no mortgage payment, overpaying becomes more attractive because the flexibility of a paid-off home matters more than the extra potential return.
Liquidity also matters. A 401(k) has early withdrawal penalties before age 59 and a half, with limited exceptions. Mortgage principal is even less liquid. Make sure you have an emergency fund and no high-rate debt before you do either.
Related
Last updated: 4 August 2026. This article is educational and is not financial advice.