Yes, you can sell a house with an existing mortgage. The proceeds from the sale will be used to pay off your remaining mortgage balance at closing.