How long do students have to pay back their student loans under the new system?

Graduates begin to repay

Graduates begin to repay their loans at the rate of 9% of gross earnings above £21,000. But if they earn less they pay back nothing and if there is any of the debt remaining after 30 years then it will be written off.