Finally, we summarized the molecular mechanisms by which berberine regulated NAFLD/NASH, mainly focusing on activating the AMPK pathway, improving insulin sensitivity and glucose metabolism, regulating mitochondrial function, reducing inflammation and oxidative stress, regulating cell death and ER stress, reducing DNA methylation, and regulating intestinal microenvironment and neurotoxicity. The gene discussed is INS; the disease is metabolic dysfunction-associated steatohepatitis.