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, CASP3 is linked to metabolic dysfunction-associated steatotic liver disease.