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. The gene discussed is CASP3; the disease is diabetes mellitus.