Yes, you can file bankruptcy on federal student loans, but it's not automatic. To "discharge" or erase student loan debt......
Take action to continue accessing the content on this site