IMPORTANCE Diabetic retinopathy (DR) is a leading cause of vision loss worldwide. As the incidence of both type 1 and type 2 diabetes among youths continues to increase around the world, understanding the factors associated with the development of DR in this age group is important.