Hepatic encephalopathy
Hepatic encephalopathy is a change in brain function, such as confusion, sleepiness or personality changes, caused by toxins building up when the liver is not working well.

Overview
Hepatic encephalopathy (HE) is a problem with how the brain works that happens when the liver cannot do its job of cleaning the blood. "Hepatic" means to do with the liver, and "encephalopathy" means a disorder of brain function. It is sometimes called portosystemic encephalopathy or, in its most severe form, hepatic coma.
A healthy liver removes waste substances from the blood, including ammonia, which is made when your gut breaks down protein. When the liver is badly damaged, most often by cirrhosis (long-term scarring of the liver), these substances can pass into the bloodstream and reach the brain. This can cause anything from mild forgetfulness and poor concentration to deep confusion, extreme sleepiness and coma.
HE is common in people with advanced liver disease. It often comes in episodes that are set off by a trigger, such as an infection, bleeding in the gut or constipation. The good news is that it can usually be treated, and the brain changes often get better once the trigger is fixed and treatment is started. Many people take daily medicine to help prevent it from coming back.
Symptoms
Symptoms can come on slowly over days or suddenly over hours. They can also come and go. Family members or friends often notice changes before the person does.
Mild or early symptoms
- Trouble concentrating, slow thinking or forgetfulness
- Changes in sleep, such as sleeping in the day and being awake at night
- Mood or personality changes, such as being irritable, anxious or unusually flat
- Slower reactions, which can make driving unsafe
- Handwriting that becomes messy or small
More severe symptoms
- Confusion about the time, place or who people are
- Strange behaviour or saying things that do not make sense
- Slurred speech
- A flapping shake of the hands when the arms are held out (doctors call this asterixis)
- Clumsiness and unsteady walking
- Breath that smells sweet or musty
- Extreme sleepiness, being hard to wake, or coma
Covert (hidden) HE
Some people have very mild changes that are only picked up by special memory and attention tests. This is called minimal or covert hepatic encephalopathy. It can still affect work, driving and safety, and it raises the chance of a more obvious episode later.
Causes
HE happens when two things come together: the liver cannot clear toxins well, and blood bypasses the liver. In cirrhosis, scar tissue raises the pressure in the vein that carries blood from the gut to the liver (portal hypertension). Blood then finds other routes around the liver, called shunts, and goes straight to the rest of the body without being cleaned.
Ammonia is the best-known toxin involved, but inflammation and other substances also play a part. Underlying liver problems that can lead to HE include:
- Cirrhosis from any cause, such as alcohol, fatty liver disease, or long-term hepatitis B or C
- Acute liver failure, when the liver fails suddenly, for example after a paracetamol (acetaminophen) overdose or severe hepatitis
- A TIPS procedure (a tube placed inside the liver to lower portal pressure), which can make HE more likely
Common triggers of an episode
- Infections, including infection of fluid in the belly (ascites), urine or chest infections
- Bleeding in the stomach or bowel
- Constipation
- Dehydration, vomiting or diarrhea
- Low or high levels of salts such as sodium or potassium in the blood
- Kidney problems
- Medicines that cause drowsiness, such as sleeping pills, benzodiazepines and opioid pain medicines
- Drinking alcohol
- Missing doses of medicines used to prevent HE
Risk factors
You are more likely to develop HE if you:
- Have cirrhosis, especially advanced cirrhosis
- Have had HE before
- Have other signs of advanced liver disease, such as ascites, jaundice (yellowing of the skin and eyes) or bleeding from swollen veins in the food pipe (varices)
- Have had a TIPS procedure
- Have diabetes, kidney disease or low muscle mass
- Are older
- Keep drinking alcohol
Diagnosis
There is no single test for HE. Doctors make the diagnosis by looking at your symptoms in a person with liver disease, and by ruling out other causes of confusion, such as low blood sugar, a stroke, a head injury, alcohol withdrawal or infection.
Tests may include:
- A physical exam: checking alertness, speech, memory and the hand flap.
- Blood tests: liver and kidney tests, blood sugar, salts, blood count and signs of infection. Ammonia levels are sometimes checked, but a normal or high level alone does not prove or rule out HE.
- Tests for triggers: urine tests, a chest X-ray, a sample of belly fluid if you have ascites, or a check for bleeding.
- Brain scans: a CT or MRI scan may be done to rule out bleeding in the brain or a stroke, especially after a fall.
- Thinking tests: short paper or computer tests of attention and reaction time can find covert HE.
- EEG: a test of the brain's electrical activity is sometimes used.
Doctors grade HE from mild to severe. This helps guide where you are treated and how closely you are watched.
Treatment
Treatment has two goals: finding and fixing the trigger, and lowering the amount of toxins, like ammonia, made in the gut. Most people with obvious confusion are treated in hospital. Severe cases may need care in an intensive care unit, where staff can protect the airway and breathing.
Treating the trigger
This might mean antibiotics for an infection, treatment for bleeding, fluids for dehydration, correcting salt levels, or stopping medicines that cause drowsiness. Fixing the trigger is often the most important step.
Medicines
- lactulose: a syrup that is the main treatment. It draws water into the bowel and changes the gut so less ammonia is absorbed. It causes loose stools, and the aim is usually about two or three soft bowel movements a day. Your care team will tell you how much to take and how to adjust it.
- rifaximin: an antibiotic that stays mostly in the gut and lowers the number of ammonia-making bacteria. It is usually added to lactulose to help prevent HE from coming back.
- neomycin and metronidazole: older antibiotics that are now used much less because of side effects with longer use, such as kidney and hearing problems with neomycin and nerve damage with metronidazole.
- polyethylene glycol: a bowel cleansing solution sometimes used in hospital to clear the bowel quickly.
In some cases doctors may consider other treatments, such as L-ornithine L-aspartate, or closing off a large shunt with a procedure. For people with repeated or hard-to-control HE, a liver transplant may be discussed, as it treats the underlying liver failure.
Do not stop or change the amount of any prescribed medicine without talking to your care team first.
Living with hepatic encephalopathy
After an episode, many people take medicine every day to lower the chance of it happening again. These steps can help:
- Take your medicines every day. Missing lactulose is one of the most common reasons HE comes back.
- Keep your bowels moving. Track your bowel movements. Tell your team if you are constipated, or if you have too much diarrhea, as both can cause problems.
- Eat well. People with cirrhosis need enough protein and calories to keep their muscles strong. Cutting out protein is no longer advised. Eating small meals through the day and a snack before bed, such as one with some protein and complex carbohydrates, can help. A dietitian can make a plan for you.
- Avoid alcohol completely.
- Check before taking any new medicine, including over-the-counter sleep aids, allergy pills that cause drowsiness, and herbal products.
- Do not drive if you have had HE until your doctor says it is safe. Even mild HE can slow your reactions.
- Involve family or carers. They can learn the early signs and help you get care quickly.
Living with HE can be hard for you and the people close to you. It is okay to ask for support, including help at home, counselling or support groups for people with liver disease.
Complications
Without quick treatment, HE can lead to:
- Coma
- Breathing in food or fluid into the lungs (aspiration), which can cause pneumonia
- Falls and injuries, including head injuries
- Brain swelling, mainly in acute liver failure, which can be life-threatening
- Problems with work, money and daily tasks, even with mild HE
- Repeated hospital stays
Too much lactulose can cause dehydration and salt problems, which is why it is important to follow your care team's instructions.
Outlook
An episode of HE usually improves within days once the trigger is treated. Some people, especially after several episodes, may have lasting problems with memory or attention.
HE is a sign that liver disease is advanced, so having it means your overall health needs close follow-up. Your doctor may talk with you about being assessed for a liver transplant. A transplant can reverse HE in many people. Your care team can explain what your own outlook may be.
Prevention
You can lower your chance of HE by protecting your liver and avoiding triggers:
- Stop drinking alcohol if you have liver disease.
- Get tested and treated for hepatitis B and C, and get vaccinated against hepatitis A and B if advised.
- Keep a healthy weight and manage diabetes to help prevent fatty liver disease.
- If you have cirrhosis, keep up with regular check-ups and take your prescribed medicines.
- Avoid constipation and stay well hydrated.
- Get infections treated early.
- Avoid sedating medicines unless your doctor has agreed they are safe for you.
In the United States
In the United States, rifaximin is approved by the FDA to reduce the risk of recurrent overt hepatic encephalopathy; it can be costly, and insurance prior authorization is often needed. Liver transplant listing is coordinated through transplant centers within the national organ network (UNOS/OPTN).
When to get medical help
See your doctor or liver team soon if you or someone close to you notices:
- New forgetfulness, poor concentration or changes in sleep
- Mood or personality changes
- Constipation, or fewer bowel movements than your team advised
- Ongoing diarrhea, vomiting or signs of dehydration while taking lactulose
Call emergency services or go to the nearest emergency department if someone with liver disease:
- Is confused, disoriented or acting very strangely
- Is very sleepy or hard to wake
- Has a seizure or loses consciousness
- Vomits blood or material that looks like coffee grounds, or passes black, tarry stools
- Has a fever with belly pain or a swollen belly
- Has had a fall or hit their head
In an emergency, call 911.
References
- U.S. National Library of Medicine. MeSH: Hepatic Encephalopathy. meshb.nlm.nih.gov
- MedlinePlus: Liver Diseases. medlineplus.gov/liverdiseases.html
- NIDDK: Cirrhosis. niddk.nih.gov/health-information/liver-disease/cirrhosis
- AASLD/EASL: Hepatic encephalopathy in chronic liver disease, 2014 practice guideline. doi.org/10.1002/hep.27210
- EASL: Clinical Practice Guidelines on the management of hepatic encephalopathy (2022). doi.org/10.1016/j.jhep.2022.06.001