Only if you want to keep it. If you are current on your house payments when you file chapter 7 bankruptcy and keep them current until the house is paid off (like you are supposed to do anyway whether you file bankruptcy or not), then the bank cannot foreclose and sell the house.
If you file a chapter 13 bankruptcy in South Carolina then you pay any back house payments owed at the time of the bankruptcy filing into the chapter 13 payment plan, but you must make all future house payments on time until the house is paid off or the bank can foreclose, whether you have made your chapter 13 plan payments or not. If you file a chapter 13 bankruptcy in the Western District of North Carolina then you will make a payment to the chapter 13 trustee which will pay the regular chapter 13 plan payment AND your mortgage payments for each month you are in the chapter 13 bankruptcy. For that reason, this is called a conduit plan.
If you let your house be sold at foreclosure (which is called surrendering it), then if you file a chapter 7 bankruptcy, you will not owe the bank any money. If the same thing happens and you file a chapter 13 bankruptcy, then if the bank does not get all of its money at the foreclosure sale, it can file a proof of claim with the bankruptcy court and be paid the unpaid amount (known as the deficiency) with the other unsecured creditors.



