Hepatic encephalopathy is a brain dysfunction caused by liver disease or portosystemic shunting. It presents as a wide range of neurological or psychiatric abnormalities from mild alterations to coma. The prevalence is 30-40% in those with cirrhosis and risk of first episode is 5-25% within 5 years of cirrhosis diagnosis. Recurrence risk after an initial episode is 40% within 1 year. Ammonia, systemic inflammation, manganese, genetics, and oxidative stress may all contribute to pathogenesis. Diagnosis involves clinical exam and testing like serum ammonia levels or neuropsychological tests on phone apps. Management involves treating precipitating factors, lactulose, antibiotics like rifaximin, and