Yes. The following student loans aren't eligible for consolidation:
Loans for K-12 education,
Post-graduate loans (e.g., bar exam loans, residency loans) and private parent loans,
Loans that weren't used for qualified education expenses (Custom Career Loans),
Loans taken out while enrolled less than half-time,
Loans originated and/or serviced outside of the United States, and
Loans that weren't used for qualified education expenses for yourself, your dependent, or your spouse.