Bankruptcy can clear student loans, but not the way it clears credit cards or medical bills. To wipe out student debt, you have to file a separate lawsuit inside your bankruptcy case and persuade the judge that repaying would cause you and your dependents “undue hardship.” That standard sits in 11 U.S.C. § 523(a)(8), and for federal loans a 2022 Department of Justice process has made the showing far more achievable than it used to be: 98 percent of borrowers whose cases were decided from November 2022 through early 2024 received full or partial relief.1United States Department of Justice. Justice Department and Department of Education Announce Continuing Success of Student-Loan Bankruptcy Discharge Process
Listing the Loans Isn’t Enough
A standard bankruptcy petition doesn’t touch student loans. Section 523(a)(8) of the Bankruptcy Code carves them out of the debts a routine discharge eliminates, and the exception covers government-made or government-guaranteed loans, obligations to repay scholarships and stipends, and any “qualified education loan” as defined by the Internal Revenue Code.2Office of the Law Revision Counsel. 11 USC 523 – Exceptions to Discharge Unless a judge specifically rules that repayment would be an undue hardship, the loans survive your case and remain fully collectible when it closes.
Getting that ruling requires an adversary proceeding: a lawsuit filed within your bankruptcy that names the lender, lays out your income and expenses, and asks the court to declare the debt dischargeable. The filing fee is $350, and attorney fees for handling the litigation can run from several thousand dollars into the tens of thousands if the case goes to trial. Skip the adversary proceeding and the court will not evaluate your hardship claim on its own — the loans stay.
What “Undue Hardship” Means
Federal courts use one of two frameworks, depending on where your case is filed. Most circuits apply the Brunner test, which requires three things: you can’t maintain a minimal standard of living for yourself and your dependents while repaying, that situation is likely to persist for a significant portion of the repayment period, and you made good-faith efforts to repay before filing. All three prongs must be met.3Justice.gov. Student Loan Discharge Guidance – Guidance Text
The Eighth Circuit and a few others use a totality-of-the-circumstances approach, which weighs your income, essential expenses, health, and history with the debt as a whole rather than through three fixed prongs. The flexibility is greater but the ultimate question is the same: would repayment push you into genuine financial distress.
The Federal Loan Process Since 2022
In November 2022, the DOJ and the Department of Education rolled out a streamlined process for borrowers seeking to discharge federal student loans. You still file an adversary proceeding, but the evaluation that follows is more predictable than a traditional court fight, and about 96 percent of borrowers in filed cases have opted into it voluntarily.1United States Department of Justice. Justice Department and Department of Education Announce Continuing Success of Student-Loan Bankruptcy Discharge Process
You complete a standard attestation form covering the same three factors courts already look at: current ability to pay, whether the hardship is likely to continue, and good faith. Expense figures are checked against IRS National and Local Standards, so the review has a consistent benchmark rather than a judge’s personal read on what counts as reasonable.3Justice.gov. Student Loan Discharge Guidance – Guidance Text When the government attorney concludes you qualify, DOJ recommends discharge to the judge, which often ends the case without a trial. The process applies only to federal loans; private lenders are not part of it.
Presumptions That Your Hardship Will Continue
The second Brunner prong — that hardship will persist — is often the hardest to prove. The DOJ guidance creates rebuttable presumptions in your favor if any of the following apply:
- You are 65 or older.
- You have a disability or chronic injury that affects your ability to earn, without needing to submit a treating physician’s records.
- Your loan has been in repayment status for at least 10 years, not counting in-school periods. For a consolidation loan, time repaying the original underlying loans counts.
- You have been unemployed for at least 5 of the last 10 years.
- You never earned the degree the loan paid for.
Good-Faith Effort
The attestation looks at what you actually did about the debt, not what you intended. Any of the following counts: making payments, applying for a deferment or forbearance, applying for an income-driven repayment plan, responding to your servicer or a collector, or engaging with the Department of Education about repayment options.3Justice.gov. Student Loan Discharge Guidance – Guidance Text You do not need all of them.
Partial Discharge Is on the Table
A judge doesn’t have to choose between full discharge and none. Most courts can wipe out part of the balance and leave the rest, and the DOJ guidance directs its attorneys to consider recommending that outcome when you can afford some payment but not the amount your loan actually requires.3Justice.gov. Student Loan Discharge Guidance – Guidance Text The undischarged portion should not exceed what you can reasonably pay in monthly installments over the remaining term.
Private Education Debt Isn’t All the Same
Section 523(a)(8) does not protect every loan that paid for education. To count as a “qualified education loan,” a private loan must have been incurred solely to pay higher education expenses at an eligible institution while the borrower was enrolled.4Legal Information Institute. 26 USC 221(d)(1) – Definition: Qualified Education Loan Loans that fall outside that definition are treated as ordinary consumer debt and can be discharged through a standard bankruptcy without proving undue hardship. The Consumer Financial Protection Bureau has flagged several common examples:5Consumer Financial Protection Bureau. Busting Myths About Bankruptcy and Private Student Loans
- Amounts borrowed above the school’s official cost of attendance.
- Loans to attend schools that aren’t permitted to process federal student aid, including unaccredited and certain foreign schools.
- Bar exam and other professional exam loans covering fees and living expenses.
- Medical residency loans covering fees, living expenses, and moving costs.
- Loans to students enrolled less than half-time.
Sorting your loans into these buckets is worth doing before you file. Anything in the list above may be dischargeable on the same terms as a credit card.
What Happens to a Co-Signer
Discharging your obligation does not cancel the debt for anyone else who signed for it. Your bankruptcy eliminates your personal liability only, and the lender can pursue the co-signer for the full remaining balance. In a Chapter 7 case, the automatic stay does not cover a non-filing co-signer, so collection against them can start right away. Chapter 13 extends the stay to co-signers on consumer debts during the case, but the lender can ask the court to lift it, and the co-signer’s obligation resumes once the case ends.
Taxes on the Discharged Balance
Debt forgiven outside bankruptcy is generally taxable income. Debt discharged in a Title 11 bankruptcy case, including student loans, is permanently excluded from gross income under 26 U.S.C. § 108(a)(1)(A), and that exclusion has no expiration date.6Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness You will not owe federal income tax on student loan debt cleared through bankruptcy.
Consider Income-Driven Repayment First
Before paying to file an adversary proceeding, federal borrowers should check whether an income-driven repayment plan would ease the pressure without litigation. These plans set the monthly payment as a percentage of discretionary income, and payments can be as low as $0 depending on earnings and family size, with any remaining balance forgiven after 20 or 25 years of qualifying payments.7Federal Student Aid. Income-Driven Repayment Plans
One tradeoff matters if you compare the two paths seriously: forgiveness through an income-driven plan after January 1, 2026, may be treated as taxable income, while a bankruptcy discharge is not. Public Service Loan Forgiveness stays non-taxable regardless. For a large balance and an income unlikely to recover, bankruptcy can be the more complete and more tax-efficient route than waiting two decades for IDR forgiveness.