For 2009, the American Opportunity Credit--which is a variation of the Hope Credit--will be allowed for 4 years. For years before and after the new credit is allowed, the Hope credit is supposed to be for 2 years.