This depends on your age. If you are 18 or older and you are applying for a UK study visa to attend a course that is at degree level, it will last for five years. If your studies are below degree level, your student visa will be valid for up to two years.