Purpose: To assess risk for demographic variables and other health conditions that are associated with Fuchs endothelial corneal dystrophy (FECD). Methods: We developed a FECD case-control algorithm based on structured EHR data and accuracy confirmed by individual review of charts at three VA Medical Centers. This algorithm was applied to the Department of Veterans Affairs Million Veteran Program cohort from whom sex, genetic ancestry, comorbidities, diagnostic phecodes and laboratory values were extracted. Single and multiple variable logistic regression models were used to determine the association of these risk factors with FECD diagnosis. Results: Being a FECD case was associated with female sex, European genetic ancestry, and a greater number of comorbidities. Of 1417 diagnostic phecodes evaluated, 213 had a significant association with FECD, falling in both ocular and non-ocular conditions, including diabetes mellitus (DM). Five of 69 laboratory values were associated with FECD, with the direction of change for four being consistent with DM. Insulin dependency and type 1 DM raised risk to a greater degree than type 2 DM, like other microvascular diabetic complications. Conclusions: Female gender, European ancestry and multimorbidity increased FECD risk. Endocrine/metabolic clinic encounter codes as well as altered patterns of laboratory values support DM increasing FECD risk. Our results evoke a threshold model in which the FECD phenotype is intensified by DM and potentially other health conditions that alter corneal physiology. DM may modify FECD onset and encourage progression among susceptible individuals, suggesting that optimizing glucose control may be an effective preventative for FECD.