Firstly, you must apply before your Student Visa or Tier 4 (General) Student Visa expires. You can apply as soon as the University or College you attended has told the Home Office that you’ve successfully completed your course. It is not necessary to wait until you’ve formally graduated or you have your degree certificate. You should check with your education provider if you’re in any doubt about whether they’ve informed the Home Office about the successful completion of your course.