Student loans will be written off if you don't repay them within a certain amount of time, as long as you are not in arrears. The timescales for the write off varies depending on which country provided the loan.