We performed MR analysis to explore the causal relationship between six key genes (EGFR, AKT1, ESR1, MMP9, HSP90AA1, CASP3) and two diseases: NAFLD and DM. Here, EGFR is linked to diabetes mellitus.