In many cases, a bankruptcy discharge can eliminate your personal responsibility for secured debt, so the lender can't sue you for unpaid amounts. However, the lien on the property doesn't automatically go away. The lender can still take back the collateral if you stop making payments.
Contrary to popular belief, there is no specific minimum amount of debt required to file for Chapter 7 bankruptcy.
Why is a Mortgage Secured Debt? A mortgage is what's called a secured debt because it is backed up by collateral. In this case, the collateral is your home.
If you file for a Chapter 7 bankruptcy, your secured debt may be discharged, but the lender is also able to repossess the property that secured the debt. In other words, if you have a mortgage on your home and file a Chapter 7 bankruptcy, the mortgage debt may be discharged but the lender can take back your home.