Introduction. To investigate the effects of acupuncture on endogenous metabolites in the liver of type 2 diabetes mellitus (T2DM) with nonalcoholic fatty liver disease (NAFLD) mice-based metabolomics. Methods. Proton nuclear magnetic resonance (1H-NMR) metabolomics combined with multivariate statistical analysis and univariate analysis were used to analyze the changes of endogenous metabolites in the liver of mice in each group and to provide new clinical ideas for acupuncture in the treatment of glycolipid metabolism disorders caused by T2DM and NAFLD. Results. After 4 weeks of continuous treatment, fasting blood glucose (FBG), insulin (INS), total cholesterol (TC), and triglyceride (TG) decreased significantly in mice in the acupuncture treatment group (ATG), and the content of liver glycogen increased significantly. Based on 1H-NMR metabolomic analysis, a total of 47 metabolites were identified in the liver of T2DM with NAFLD mice, of which eight metabolites: UDP-N-acetylglucosamine, adenosine, glutamate, isoleucine, ATP, 3-hydroxybutyric acid, NADP+, and leucine were significantly altered by acupuncture treatment. Through the Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway analysis, it is found that acupuncture has an intervention effect on five metabolic pathways, mainly involving amino acid metabolism, energy metabolism, and oxidative stress. Conclusion. Our study shows that acupuncture can regulate the liver metabolism mode of T2DM in NAFLD mice. It can reduce blood glucose and lipid accumulation in the liver, and these findings provide a new idea and theoretical basis for acupuncture in the treatment of diseases related to glucose and lipid metabolism.