A total of 820 patients who visited Endocrinology department in our hospital were enrolled in the study from June 2016 to May 2018. These patients were divided into diabetic retinopathy ( DR ) and non-diabetic retinopathy ( NDR) groups according to the occurrence of DR. Factors such as gender, age, course of diabetes, smoking/drinking history, family history of diabetes, and onset age of diabetes were compared between the two groups, and logistic regression was used to analyze the risk factors of DR. The results showed that there were 387 smoker( 47. 2%) and 433 non-smoker ( 52. 8%) in 820 tyge 2 diabetic patients, and 339 ( 41. 3%) patients were diagnosed with DR. There were no statistical differences in gender, age, body mass index, family history of diabetes, drinking history, and HbA1C between the two groups. Logistic regression analysis showed that duration of diabetes (OR=2.653,P<0.001), hypertension(OR=1.371,P=0.041),onset age of diabetes<40years(OR=1.526,P=0.028) , and adolescent smoking history( OR=2.178,P<0.001) were independent risk factors for DR.