“If you are employed by a U.S. federal, state, local, or tribal government or not-for-profit organization, you might be eligible for the Public Service Loan Forgiveness Program.”
https://studentaid.gov/manage-loans/forgiveness-cancellation/public-service
“To qualify for PSLF, you must
“be employed by a U.S. federal, state, local, or tribal government or not-for-profit organization;
“work full-time for that agency or organization;
“have Direct Loans (or consolidate other federal student loans into a Direct Loan);
“repay your loans under an income-driven repayment plan; and
“make 120 qualifying payments.”
“Any loan received under the William D. Ford Federal Direct Loan (Direct Loan) Program qualifies for PSLF.
“Loans from these federal student loan programs don’t qualify for PSLF: the Federal Family Education Loan (FFEL) Program and the Federal Perkins Loan (Perkins Loan) Program. However, they may become eligible if you consolidate them into a Direct Consolidation Loan.
“Student loans from private lenders do not qualify for PSLF.
“If you consolidate your loans, only qualifying payments that you make on the new Direct Consolidation Loan can be counted toward the 120 payments required for PSLF. Any payments you made on the loans before you consolidated them don’t count.