Diabetes mellitus, a prevalent metabolic disorder, is associated with a multitude of complications that necessitate vigilant management post-diagnosis. A notable complication, diabetic retinopathy, could lead to intense ocular injury, including vision impairment and blindness, due to the impact of the disease. Studying the transition from diabetes to diabetic retinopathy is paramount for grasping and halting the progression of complications. In this study, we examine the statistical correlation between type 2 diabetes mellitus and retinal disorders classified elsewhere, ultimately proposing a comprehensive disease network. The National Sample Cohort of South Korea, containing approximately 1 million samples and primary diagnoses based on the International Statistical Classification of Diseases and Related Health Problems 10th Revision classification, was utilized for this retrospective analysis. The diagnoses of both conditions displayed a statistically significant correlation with a chi-square test value of P < .001, and the t test for the initial diagnosis date also yielded a P < .001 value. The devised network, comprising 27 diseases and 142 connections, was established through statistical evaluations. This network offers insight into potential pathways leading to diabetic retinopathy and intermediary diseases, encouraging medical researchers to further examine various risk factors associated with these connections.Copyright © 2023 the Author(s). Published by Wolters Kluwer Health, Inc.