Over 20% of mortality during acute liver failure is associated with the development of hepatic encephalopathy (HE). Thus, HE is a complication of acute liver failure with a broad spectrum of neuropsychiatric abnormalities ranging from subclinical alterations to coma. HE is caused by the diversion of portal blood into systemic circulation through portosystemic collateral vessels. Thus, the brain is exposed to intestinal-derived toxic substances. Moreover, the strategies to prevent advancement and improve the prognosis of such a liver-brain disease rely on intestinal microbial modulation. This is supported by the findings that antibiotics such as rifaximin and laxative lactulose can alleviate hepatic cirrhosis and/or prevent HE. Together, the significance of the gut-liver-brain axis in human health warrants attention. This review paper focuses on the roles of bacteria metabolites, mainly ammonia and bile acids (BAs) as well as BA receptors in HE. The literature search conducted for this review included searches for phrases such as BA receptors, BAs, ammonia, farnesoid X receptor (FXR), G protein-coupled bile acid receptor 1 (GPBAR1 or TGR5), sphingosine-1-phosphate receptor 2 (S1PR2), and cirrhosis in conjunction with the phrase hepatic encephalopathy and portosystemic encephalopathy. PubMed, as well as Google Scholar, was the search engines used to find relevant publications.