Therefore, in T2DM patients, increasing G6PD activity levels may regulate the occurrence and development of DR, so as to play a role in improving DR, which may provide a new direction for the prevention and treatment of DR. Here, G6PD is linked to type 2 diabetes mellitus.