Generally speaking student loans are not dischargeable in a bankruptcy case. That means that if you file for bankruptcy, the student loan debt will not be eliminated. There is an exception to this general rule and a person can eliminate student loan debt in a bankruptcy if the person can show undue hardship. This legal test is virtually impossible to meet unless a person has a severe disability.