Diabetic retinopathy (DR) is the most common and detrimental microvascular complication of diabetes mellitus. It has become one of the top causes of blindness and visual impairment in the working-age population. However, prevention and treatment options for DR are limited, invasive, and expensive, and most are focused on advanced-stage disease. The gut microbiota is an intricate system that alters the body’s microenvironment, and its dysbiosis is strongly associated with DR. Recently, more and more investigations into the relationship between microbiota and DR have enhanced our understanding of how the gut microbiota influences the occurrence, development, prevention, and treatment of DR. In this review, we summarize the changes in the gut microbiota of animals and patients with DR and the function of metabolites and anti-diabetes drugs. Furthermore, we discuss the potential use of gut microbiota as an early diagnostic marker and targeting for DR in the healthy people and diabetic patients. Finally, the microbiota-gut-retina axis is presented to help us understand the mechanisms underlying the effect of gut microbiota on triggering or promoting DR, with a focus on the key pathways (e.g., bacterial dysbiosis and gut barrier dysfunction) that promote inflammation, insulin resistance, retinal cell and acellular capillary damage, leading to DR. Based on these data, we can hope to achieve a non-invasive, inexpensive treatment for DR by modulating the gut microbiota, either by supplementation with probiotics or by fecal transplantation. We outline the gut microbiota-targeting treatments in detail that could prevent DR progression.Copyright © 2023. Published by Elsevier Masson SAS.