If it's your residence, how are you going to use the money? Borrow? That means you owe again. Paying down your mortgage earns you the mortgage rate you pay. Probably about 3.5 to 4.5 percent. Invested in the market over the  30 years will probably get you 6 to 8 percent. Plus you'll have a house paid off and liquid assets in the market.