After hitting an all-time high in 2017, home remodeling has dropped off in more than half of the U.S. housing markets.

Paying off a mortgage is a huge accomplishment, and it’s a cornerstone of financial independence. Homeowners who don’t want the shadow of a mortgage payment hanging over them for decades are eager to map out a strategy for tackling their mortgage debt for good. But other homeowners might be better served putting their cash to use elsewhere, such as higher-return investments or retirement savings.

Three financial experts weigh in on the ever-evolving debate on whether you should pay off your mortgage early — or put your money to work in other places.

Tackle mortgage debt last

Before you even think about paying off your mortgage early, financial advisers say you should get rid of high-interest debt, student loans and other sizable debt.

Two other key areas that many people short-change or neglect are their retirement and emergency savings.

A recent Bankrate study shows that nearly half of working adults (48 percent) are saving something, but no more than 10% of their annual incomes. Only one in six employees (16 percent) say they’re saving more than 15% of their yearly earnings.

But tackling any type of debt requires discipline and a plan, says Douglas Boneparth, president of Bona Fide Wealth Management in New York City.

“You need to put a system in place for your goals that allows you to identify what they are, quantify them by time and value, and prioritize them,” Boneparth says. “You’ll have to make sacrifices along the way that may require you to spend less or increase your income.”

Tying up liquidity

Pouring money into a house that you don’t plan on living in for more than five or 10 years ties up a good chunk of your liquidity for the foreseeable future.

That probably won’t be in your best interest, especially if your mortgage carries a low interest rate, says Helen Ngo, CFP, founder and CEO of Capital Benchmark Partners in Atlanta.

“Look at where else can you put your money so that it works for you,” Ngo says. “Your interest rate plays a factor in the decision, and you have to weigh the spread in rates.”

For example, a 30-year mortgage with a 4.5% rate is still super cheap compared with the 8% to 9% that people paid in the 90s, Ngo says.

Boneparth points out that if you have a mortgage rate near 4% but you can get a 6% to 7% return on a diversified investment portfolio, paying off your mortgage early won’t make sense on paper.

“The spread between your mortgage interest rate and what you can conservatively assume by investing your money might influence how you allocate your savings across any large debt,” Boneparth says.

Emotional baggage

Let’s face it: debt is a heavy topic. People feel defined by it, and that comes with considerable emotional baggage.

Some people will always view debt of any kind as the enemy, Boneparth says. Their feelings about debt– even carrying a mortgage long term — will override any financial considerations of putting their money to work elsewhere.

“It’s easier to think, ‘Hey, I’m debt-free’ instead of how to diversify an investment strategy,” Boneparth says. “But you have a choice to make. People are shooting from the hip instead of crunching the numbers.”

Ngo adds that many people assume all debt is bad, but a mortgage is different.

“A house is not like a car that depreciates in value (right away),” Ngo says.

Age, risk appetite

The younger you are and the more money you earn, the more you can afford to be aggressive with investment risk. But that appetite for risk dwindles as you get closer to retirement age, says Richard Barenblatt, a mortgage specialist with GuardHill Financial Corporation in New York City.

“There are situations where not having mortgage is good,” Barenblatt says. He adds that knocking out your mortgage ahead of schedule makes sense if you’re retired or you don’t need the tax benefits, which are less robust under the new tax law.

“Being debt free is the holy grail of financial security, and that’s ultimately what a retiree is working toward,” Barenblatt says, adding that as people age, they’re more afraid of running into financial trouble that could take the roof from over their heads. “It’s a common perception as people get older, and that overrides any other lucrative (money-making) opportunities that come their way.”