There is a paucity of studies regarding the association between long-term glycemic variability with the risk of diabetic retinopathy (DR) in patients with type 2 diabetes. Therefore, the purpose of this study is to explore the association of glycated albumin (GA) variability and HbA1c variability with the risk of DR in patients with type 2 diabetes. This prospective cohort study included 315 inpatients with type 2 diabetes (191 males and 124 females) with at least 3 measurements of GA and HbA1c within 2years prior to the baseline investigation. Different GA and HbA1c variability markers were calculated, including CV, variability independent of the mean (VIM), and the average real variability (ARV). Cox proportional hazard regression models were used to explore the association between visit-to-visit variability of GA and HbA1c and the risk of DR. After an average follow-up of 3.42years, 81 patients developed incident DR. Multivariable-adjusted (diabetes duration, smoking status, systolic blood pressure, albumin to creatinine ratio, triglycerides, using fibrates, and mean HbA1c) hazard ratios of DR associated with each unit increase in GA-CV, GA-VIM, and GA-ARV were 1.05 (95% CI 1.02-1.09), 1.69 (95% CI 1.24-2.32), and 1.13 (95%CI 1.04-1.23), respectively. However, there was no significant association between visit-to-visit HbA1c variability and the risk of DR. The present study indicated that visit-to-visit variability of GA can predict the risk of incident DR in patients with type 2 diabetes, and the prediction ability is independent of the average HbA1c levels.