If you know that you will be moving in 3 to 5 years, you might want to consider refinancing to a 3 or 5 year ARM (adjustable rate mortgage). These loans typically have a much lower rate that a traditional fixed rate loan such as a 30 year fixed, but they do have a fixed rate for the first 3 or 5 years of the loan. This will enable you to benefit from the lower rate, but you won't ever have to worry about the risk of a rate adjustment because you will be selling the home before the fixed-rate period ends.
Refinancing a mortgage means the owners are paying off their existing mortgage and replacing that mortgage with a new loan. Generally, the costs associated with mortgage refinancing are rolled into the loan, meaning they are added to the existing balance, increasing the loan amount.
When refinancing, don't take the first offer that comes around. Instead you should actively compare both interest rates and lenders.
Many financial advisers caution against cash-out refinancing to pay down unsecured debt (such as credit cards) or short-term secured debt (such as car loans). You may want to talk with a trusted financial adviser before you choose cash-out refinancing as a debt-consolidation plan.