Each program has a different term. The shortest are 5 years, for teacher loan forgiveness, and the longest are 25 years, which is for income-based repayment.