The answer depends on your mortgage rate, investment returns, and how much risk you can handle
There is no single right answer, because the math changes based on what interest rate you locked in on your mortgage and what returns you might reasonably expect from investments. If your mortgage rate is 3% and you believe you can earn 7% or more in the stock market over time, investing the extra money will likely build more wealth. If your mortgage rate is 6% or 7%, paying down the mortgage becomes more competitive with investing. The real decision is about which outcome you can live with if markets fall, and whether you sleep better with less debt or more invested assets.
Key Takeaways
- A lower mortgage rate (under 4%) often makes investing more attractive mathematically, while a higher rate (over 6%) makes paying off the mortgage more competitive.
- Paying off your mortgage guarantees a return equal to your interest rate, while investing returns are uncertain and can go backward in the short term.
- Paying off the mortgage reduces your monthly obligations and gives you peace of mind; investing keeps your money flexible and potentially grows your net worth faster.
- You do not have to choose one path entirely — many homeowners do both by paying a little extra on the mortgage while also investing.
- Tax deductions on mortgage interest and tax-advantaged investment accounts (401k, IRA) can shift the math in favor of investing.
How the math works when mortgage rates are low
If you have a mortgage rate of 3% or 3.5%, the math often favors investing. The reason is simple: historically, the stock market has returned around 10% per year on average over long periods, though with significant year-to-year swings. If you can earn 10% investing and you are paying 3% on your mortgage, the gap between those two numbers is your potential gain.
This math assumes you have a long time horizon — at least 10 years — and that you can tolerate watching your investments drop 20% or 30% in a bad year without panic-selling. If you invest $500 per month instead of putting it toward your mortgage, and the market averages 7% annual returns over 20 years, you will have roughly $230,000. If you put that same $500 per month toward your mortgage, you will have paid down your loan faster but will not have that $230,000 in a separate account.
The catch is that investment returns are not may provide. Your mortgage rate is. When you pay an extra $500 toward your mortgage at 3%, you are may provide a 3% return on that money — you will owe 3% less interest. When you invest that $500, you might earn 10% or you might lose 15% in year one.
Why paying off the mortgage makes sense at higher rates
If your mortgage rate is 5.5%, 6%, or higher, the math shifts. At a 6% mortgage rate, you are may provide a 6% return by paying down the loan. To beat that with investing, you need to be confident you can earn more than 6% consistently, which is possible but not certain. The higher your mortgage rate, the more attractive paying it off becomes, because you are eliminating a larger may provide cost.
Paying off your mortgage also has a psychological and practical benefit: it reduces your monthly obligations. Once the mortgage is gone, that payment disappears from your budget. If you lose your job or face a financial emergency, you still have a roof over your head without a monthly payment. That security is worth something, even if the pure math says investing would build more wealth.
At rates above 6%, many financial advisors lean toward paying off the mortgage, especially if you are within 10 years of retirement. The closer you are to retirement, the less time you have to recover from a market downturn, which makes the may provide return of paying off debt more valuable.
The role of taxes in the decision
Mortgage interest is tax-deductible if you itemize deductions on your tax return. This means the true cost of your mortgage is lower than the stated rate. If you have a 5% mortgage and you are in the 24% tax bracket, the after-tax cost is closer to 3.8%. This makes investing relatively more attractive, because you are comparing a lower true cost of debt against investment returns.
On the investment side, tax-advantaged accounts like a 401(k) or traditional IRA let your money grow without annual tax bills. A Roth IRA lets you withdraw money tax-free in retirement. These accounts can make investing more powerful than it appears on the surface, because you are not paying taxes on the gains every year.
If you are not currently using a 401(k) or IRA, maximizing those accounts often makes more sense than paying extra on your mortgage, because the tax advantage is so strong. Once those are maxed out, the mortgage-versus-investing question becomes more relevant.
The flexibility argument for investing
Money in a brokerage account or retirement account is yours to access (with some restrictions on retirement accounts). Money paid toward your mortgage is locked into your home's equity. If you face an emergency and need cash, you can sell investments or withdraw from certain accounts. If you need cash and your money is all in home equity, you have to take out a home equity line of credit or refinance, which costs time and money.
This flexibility matters more if you are early in your career, have an unstable income, or have dependents. It matters less if you have a stable job, an emergency fund already in place, and you are confident you will not need the money for years.
Investing also keeps your options open. If you invest aggressively and the market does well, you build wealth faster. If you pay off your mortgage and the market booms, you missed the gain. Conversely, if you invest and the market crashes, you will wish you had paid off the mortgage instead. This is the core trade-off: certainty versus upside.
A middle path: doing both
You do not have to choose one strategy entirely. Many homeowners pay a little extra on their mortgage — say, an extra $100 per month — while also investing in a 401(k) and IRA. This approach captures some of the security of paying down debt while still building invested assets.
A common strategy is to maximize tax-advantaged retirement accounts first (401(k) up to the employer match, then IRA), then decide whether to pay extra on the mortgage or invest in a taxable brokerage account. This order prioritizes the tax advantage, which is usually the biggest lever you control.
Another approach is to pay extra on your mortgage until it reaches a certain balance — say, 50% of the home's value — then shift to investing. This gives you the security of meaningful equity in your home while still building other assets.
What usually goes wrong with each choice
People who choose to invest often underestimate how much discipline it takes to stick with it during a market downturn. If you invest aggressively and the market drops 30%, it is easy to panic and sell at the worst time. If you had paid off your mortgage instead, you would not have that temptation. This is a real cost of investing, even if the long-term math favors it.
People who choose to pay off the mortgage often regret it if they later need cash and have to borrow against their home at a higher rate, or if they retire and wish they had more liquid assets. They also sometimes miss out on the tax deduction for mortgage interest if their total deductions drop below the standard deduction.
The most common mistake is not having an emergency fund in place before making either choice. If you do not have 3 to 6 months of expenses in a savings account, you should build that first. After that, the mortgage-versus-investing question becomes more meaningful.
Frequently Asked Questions
What if I have both high-interest debt and a mortgage?
Pay off the high-interest debt first — credit cards, personal loans, car loans above 5%. The may provide return from eliminating 8% or 12% interest is almost always better than investing. Only after high-interest debt is gone should you weigh the mortgage against investing.
Should I pay off my mortgage before retirement?
It depends on your rate and your retirement income. If you have a low rate (under 4%) and reliable retirement income, keeping the mortgage and investing may build more wealth. If your rate is high or you want to minimize monthly expenses in retirement, paying it off makes sense. Many people aim to have the mortgage paid off by retirement simply for peace of mind.
Does paying off the mortgage early hurt my credit score?
Paying off a mortgage early will not hurt your credit score permanently. Your score may dip slightly when the account closes, but it recovers within a few months. The long-term impact is neutral or slightly positive, because you have eliminated debt.
What if I refinanced to a very low rate recently?
A very low rate (2% to 3.5%) makes investing much more attractive mathematically. The opportunity cost of paying off a 2.5% mortgage is high. However, if you refinanced and rates have since risen, you may want to keep that low rate in place and invest instead of paying it off early.
Can I do both — pay extra on the mortgage and invest?
Yes, and this is often the best approach for people who want both security and growth. Maximize tax-advantaged retirement accounts first, then decide how to split any remaining money between extra mortgage payments and taxable investing. This gives you the benefits of both strategies.