The role of ammonia in the development of hepatic encephalopathy is that ammonia enters the brain and causes metabolic disturbances that interfere with brain cells to form hepatic encephalopathy. Predisposing factors for hepatic encephalopathy due to ammonia include gastrointestinal bleeding, disturbances in electrolyte and acid-base balance, and excessive diuresis. Bleeding in the digestive tract, which induces portal artery hypertension in cases of cirrhosis, causes rupture and bleeding of the gastric fundus varices, and the blood flows to the intestines and breaks down into ammonia, causing hepatic encephalopathy. Electrolyte and acid-base balance disorders manifested in the body will mostly appear low potassium, low sodium, alkalosis, then can promote the production of ammonia, induced hepatic encephalopathy. Excessive diuresis can cause excessive protein loss in the body, which can also lead to electrolyte disorders, thus inducing hepatic encephalopathy.