Just curious if there are conditions where student loans can be inherited by family members that did not co-sign on the loan?
I will assume for this question you are referring to a US Department of Education backed loan. In that case, according to the US DoE website:
If you, the borrower, die, then your federal student loans will be discharged. If you are a parent PLUS loan borrower, then the loan may be discharged if you die, or if the student on whose behalf you obtained the loan dies.
The loan will be discharged if a family member or other representative provides a certified copy of the death certificate to the school (for a Federal Perkins Loan) or to the loan servicer (for a Direct Loan or FFEL Program loan). For more information, contact your loan servicer.
If, however, it is a private student loan, it will have to be paid by the estate.
I am not a lawyer. This depends entirely on jurisdiction and the specific laws therein.
The common law rule of inheritance is that all creditors (which the lender would be) make claims on the estate. After these are paid, any remaining assets are distributed in accordance with the will or applicable law. If there are insufficient assets to satisfy all creditors then the estate is bankrupt and applicable bankruptcy laws kick in; generally secured creditors are paid and unsecured creditors divide up whatever is left in proportion to their debt.
So, no, debt cannot be inherited.