In most situations, neither federal student loans nor private student loans are eligible to be discharged in bankruptcy. However, in some cases, you can have a federal student loan discharged if you experienced serious problems with your school, worked in public service, or have a severe disability.