Yes. When you sell a home with a mortgage, you can use the proceeds from the sale to pay off your mortgage balance and any closing costs. As long as you sell your home for more than the outstanding balance, you will be able to clear your debt. A problem might only arise if the sales price you net is less than the amount you owe.