Student loans were dischargeable in bankruptcy prior to 1976. With the introduction of the US Bankruptcy Code (11 USC 101 et seq) in 1978, the ability to discharge education loans was limited. Subsequent changes in the law have further narrowed the dischargeability of education debt.
The exception to discharge for private student loans evolved over time. Prior to 1984, only private student loans made by a "nonprofit institution of higher education" were excepted from discharge. This was intended to protect the National Defense Student Loan Program (NDSL), the predecessor to the Perkins Loan Program. Those loans were made by colleges using a revolving loan fund created using matching federal contributions. The Bankruptcy Amendments and Federal Judgeship Act of 1984 made private student loans from all nonprofit lenders excepted from discharge, not just colleges, by striking the words "of higher education". The Bankruptcy Abuse Prevention and Consumer Protection Act of 2005 expanded this to include all "qualified education loans", regardless of whether a nonprofit institution was involved in making the loans.