You have $150,000 sitting in a brokerage account. Your mortgage balance is $148,000. The temptation to write one check and own your home free and clear is powerful. But should you? The answer depends on a handful of numbers that most financial articles gloss over. This article walks through the exact math, gives you a calculator to run your own scenario, and covers the tax and liquidity traps that change the equation for retirees.
Ask a room of retirees whether they'd rather have a paid-off house or a larger investment portfolio, and the overwhelming majority will choose the paid-off house. There is nothing irrational about that preference. Eliminating your largest monthly expense creates a tangible, guaranteed reduction in how much income you need each month. It removes the risk of foreclosure if the market crashes and your income dries up. It lets you sleep at night.
But the mathematical answer sometimes disagrees. If you have a 3.25% fixed-rate mortgage and your diversified portfolio earns an average of 7% annually, paying off the mortgage is the equivalent of locking in a 3.25% return while forgoing a 7% return. Over 15 years, that gap compounds into a six-figure difference.
The key phrase is "sometimes." The math depends on four variables: your mortgage interest rate, your expected investment return, your tax situation, and your need for liquidity. Change any one of those, and the answer can flip.
The math favors paying off your mortgage before retirement in these situations:
The math favors keeping the mortgage and investing in these situations:
Use the calculator below to compare your two options side by side. Enter your mortgage details and expected investment return to see the outcome of paying off now vs. investing that same lump sum over your remaining mortgage term.
The calculator uses simplified assumptions: a fixed interest rate, constant annual investment return with no volatility, and no capital gains taxes on investment withdrawals. Real-world results will vary. The purpose is to show the directional difference between the two strategies, not to predict exact dollar amounts.
The mortgage interest deduction is the most misunderstood variable in this decision. Here is what actually matters:
Standard deduction vs. itemizing. For 2026, the standard deduction for a married couple where both spouses are 65+ is approximately $33,550 ($30,750 base plus $1,400 per spouse for the additional elderly deduction). You only benefit from mortgage interest if your total itemized deductions - mortgage interest, state and local taxes (capped at $10,000), charitable giving, and medical expenses above 7.5% of AGI - exceed that threshold. For a homeowner paying $6,000 per year in mortgage interest, you would need at least $27,550 in other deductions to break even with itemizing. Most retirees don't come close.
The SALT cap. The $10,000 cap on state and local tax deductions (including property taxes) limits the benefit of itemizing even for homeowners in high-tax states. If your property taxes are $8,000 and your state income taxes are $5,000, you can only deduct $10,000 total - not $13,000.
Capital gains on investments. If you sell investments to pay off the mortgage, you may trigger capital gains taxes. Long-term capital gains rates for most retirees are 0% (taxable income below $94,050 for couples) or 15%. Factor this into your payoff calculation - a $150,000 payoff from investments with a $100,000 cost basis means a $50,000 gain and potentially $7,500 in federal taxes.
The binary choice between "pay it all off" and "invest everything" is a false dilemma. Most financial planners who work with retirees recommend a middle path:
This approach captures most of the mathematical benefit of investing while steadily reducing your fixed expenses before retirement. It also prevents the liquidity trap of sinking all available cash into home equity.
Three households, three different situations, three different answers. All assume a 10-year time horizon and a 7% average annual investment return.
The Nguyen scenario illustrates why the binary "pay off or don't" question misses the point. They have a rate high enough to justify payoff, but not enough liquid savings to do it safely. The hybrid approach - doubling their monthly payment and targeting payoff in 5 years while maintaining reserves - eliminates the mortgage 13 years early and saves roughly $31,000 in interest without creating a cash crisis.
The decision to pay off your mortgage before retirement is not primarily a math problem - it is a risk management problem. If your mortgage rate is above 5% and you have sufficient reserves after payoff, eliminate it. If your rate is below 4%, you itemize deductions, and you have a diversified portfolio with a long time horizon, the math favors keeping the mortgage. If you fall in between - and most people do - the hybrid approach of accelerating payments while maintaining a 6-month cash reserve gives you the best combination of debt reduction and financial flexibility.
Run the calculator above with your own numbers. Talk to a fee-only financial planner if the amounts are large enough to justify the cost. And remember: the worst choice is paralysis. Whether you pay it off or invest, executing a deliberate plan beats drifting into retirement with an unconsidered mortgage hanging over your head.
Get articles like this delivered to your inbox every morning.