You can file bankruptcy and potentially keep your house, depending on the circumstances. Under Chapter 7 bankruptcy, you may keep your home if you can exempt its equity under your state's homestead exemption laws, and if you're current on your mortgage payments.