Background:We investigated the prevalence of diabetic retinopathy (DR) in patients with undiagnosed diabetes through a nationwide survey, compared to those with known diabetes. Methods: Among the participants of the Korean National Health and Nutrition Examination Surveys (KNHANES) from 2017 to 2018, individuals aged ≥40 years with diabetes and fundus exam results were enrolled. Sampling weights were applied to represent the entire Korean population. Newly detected diabetes patients through KNHANES were classified under "undiagnosed diabetes. " Results: Among a total of 9,108 participants aged ≥40 years, 951 were selected for analysis. Of them, 31.3% (standard error, ±2.0%) were classified under "undiagnosed diabetes. " The prevalence of DR in patients with known and undiagnosed diabetes was 24.5%±2.0% and 10.7%±2.2%, respectively (P<0.001). The DR prevalence increased with rising glycosylated hemoglobin (HbA1c) levels in patients with known and undiagnosed diabetes (P for trend=0.001 in both). Among those with undiagnosed diabetes, the prevalence of DR was 6.9%±2.1%, 8.0%±3.4%, 5.6%±5.7%, 16.7%±9.4%, and 42.6%±14.8% for HbA1c levels of <7.0%, 7.0%-7.9%, 8.0%-8.9%, 9.0%-9.9%, and ≥10.0% respectively. There was no difference in the prevalence of hypertension, dyslipidemia, hypertriglyceridemia, or obesity according to the presence or absence of DR. Conclusion: About one-third of patients with diabetes were unaware of their diabetes, and 10% of them have already developed DR. Considering increasing the prevalence of DR according to HbA1c level was found in patients with undiagnosed diabetes like those with known diabetes, screening and early detection of diabetes and DR are important.