This study was to investigate the effects of ammonia and manganese in the metabolism of minimal hepatic encephalopathy (MHE). A total of 32 Sprague-Dawley rats were divided into four subgroups: chronic hyperammonemia (CHA), chronic hypermanganese (CHM), MHE and control group (CON). 1H-NMR-based metabolomics was used to detect the metabolic changes. Sparse projection to latent structures discriminant analysis was used for identifying and comparing the key metabolites. Significant elevated blood ammonia were shown in the CHA, CHM, and MHE rats. Significant elevated brain manganese (Mn) were shown in the CHM, and MHE rats, but not in the CHA rats. The concentrations of γ-amino butyric acid (GABA), lactate, alanine, glutamate, glutamine, threonine, and phosphocholine were significantly increased, and that of myo-inositol, taurine, leucine, isoleucine, arginine, and citrulline were significantly decreased in the MHE rats. Of all these 13 key metabolites, 10 of them were affected by ammonia (including lactate, alanine, glutamate, glutamine, myo-inositol, taurine, leucine, isoleucine, arginine, and citrulline) and 5 of them were affected by manganese (including GABA, lactate, myo-inositol, taurine, and leucine). Enrichment analysis indicated that abnormal metabolism of glutamine and TCA circle in MHE might be affected by the ammonia, and abnormal metabolism of GABA might be affected by the Mn, and abnormal metabolism of glycolysis and branched chain amino acids metabolism might be affected by both ammonia and Mn. Both ammonia and Mn play roles in the abnormal metabolism of MHE. Chronic hypermanganese could lead to elevated blood ammonia. However, chronic hyperammonemia could not lead to brain Mn deposition.