Hepatology

Hepatic Encephalopathy: Ammonia, the Gut-Liver-Brain Axis, and Asterixis

Ask a patient with cirrhosis to hold their hands out and cock their wrists back, and you may watch their hands suddenly drop and flap — a jerky, arrhythmic tremor called asterixis, the bedside signature of a brain being poisoned by its own gut. Hepatic encephalopathy (HE) complicates roughly 30-45% of cirrhosis cases over the disease course, and an episode of overt HE marks a grim prognostic pivot: about 40-50% of patients are dead within a year of their first bout without transplant.

HE is a reversible neuropsychiatric syndrome — spanning subtle inattention to deep coma — caused by liver failure and/or portosystemic shunting that lets gut-derived neurotoxins, chiefly ammonia, bypass hepatic detoxification and reach the brain, where they drive astrocyte swelling and impaired neurotransmission.

  • MechanismGut-derived ammonia bypasses liver, triggers astrocyte glutamine accumulation and swelling
  • Classic signAsterixis (flapping tremor / negative myoclonus)
  • Key testClinical diagnosis; venous ammonia supports but does not confirm
  • Grading scaleWest Haven criteria (grades 0/minimal-IV)
  • First-line treatmentLactulose (nonabsorbable disaccharide); add rifaximin for recurrence
  • Main precipitantInfection, GI bleeding, constipation, dehydration/diuretics, hypokalemia

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

What It Is and Why It Matters Clinically

Hepatic encephalopathy is a spectrum of potentially reversible neuropsychiatric dysfunction — ranging from barely detectable cognitive slowing to coma — arising in patients with either acute liver failure or, far more commonly, chronic liver disease with portosystemic shunting. It is one of the defining complications of decompensated cirrhosis, alongside ascites, variceal bleeding, and jaundice.

Clinically, HE is stratified by mechanism into three types under the ISHEN classification:

  • Type A — associated with acute liver failure (carries risk of dangerous cerebral edema and herniation).
  • Type B — due to portosystemic bypass/shunting without intrinsic hepatocellular disease (e.g., congenital shunt, TIPS).
  • Type C — the classic form, superimposed on cirrhosis; further split into episodic, recurrent, and persistent.

Why it matters: overt HE is a hard prognostic marker. It signals hepatic decompensation, drives roughly 110,000 U.S. hospitalizations annually, and even minimal (covert) HE — present in up to 60-80% of cirrhotics on formal testing — impairs driving, work performance, and quality of life while predicting progression to overt episodes.

The Mechanism: The Gut-Liver-Brain Axis Step by Step

The unifying culprit is ammonia (NH₃), and the pathway is a failure of the gut-liver-brain axis:

  • Gut production. Colonic bacteria and enterocyte glutaminase generate ammonia from dietary protein and urea. Ammonia enters the portal vein.
  • Liver detoxification fails. Normally hepatocytes clear ammonia via the urea cycle (converting it to urea) and perisinusoidal glutamine synthetase. In cirrhosis, lost hepatocyte mass plus portosystemic shunting lets ammonia bypass the liver and enter systemic circulation.
  • Brain exposure. Ammonia crosses the blood-brain barrier. The brain has no urea cycle, so its only detox route is astrocytic glutamine synthetase, which combines glutamate + NH₃ → glutamine.
  • Astrocyte swelling. Accumulated glutamine acts as an osmolyte, drawing water into astrocytes → low-grade cerebral edema and Alzheimer type II astrocytosis. Oxidative/nitrosative stress and mitochondrial dysfunction follow.

Layered on top: ammonia and neuroinflammation potentiate GABAergic (inhibitory) tone — partly via endogenous benzodiazepine-like ligands and neurosteroids acting on GABA-A receptors — while glutamatergic signaling is deranged. Systemic inflammation (TNF-α, IL-6) and hyponatremia synergize with ammonia to lower the threshold for symptoms.

Clinical Presentation and the Classic Signs

HE evolves along a predictable arc. The earliest changes are subtle: reversed sleep-wake cycle (daytime somnolence, nighttime wakefulness), impaired attention, irritability, and slowed reaction time — features of covert HE detectable only on psychometric testing.

As it deepens, patients show:

  • Asterixis — the hallmark. With arms extended and wrists dorsiflexed, brief lapses in postural tone cause a coarse, irregular flapping. It is technically negative myoclonus (a transient loss of muscle contraction), not a true tremor. It is not specific to HE — uremia, CO₂ narcosis, and drug toxicity cause it too.
  • Disorientation, personality change, dyspraxia (e.g., cannot draw a five-pointed star — constructional apraxia).
  • Hyperreflexia, and in advanced disease, extrapyramidal signs, rigidity, and progression to coma (grade IV).

Fetor hepaticus — a sweet, musty breath odor from mercaptans/dimethyl sulfide — may accompany advanced disease. Crucially, focal neurologic deficits, seizures, or fever should prompt a search for an alternative diagnosis, because HE is characteristically non-focal and fluctuating.

Diagnosis: Tests, Scores, and Cutoffs

HE is fundamentally a clinical diagnosis of exclusion in a patient with liver disease and altered mentation — there is no single confirmatory test. The workflow:

  • Grade severity with the West Haven criteria (grades I-IV) for overt HE. For covert disease, use psychometric tools: the Psychometric Hepatic Encephalopathy Score (PHES) or number-connection test (Reitan trail-making A/B), with the Critical Flicker Frequency < 39 Hz and the Stroop-based EncephalApp as validated bedside/app options.
  • Venous ammonia is supportive but not diagnostic. A normal ammonia in an encephalopathic cirrhotic argues against HE and should prompt reconsideration, but elevated levels do not correlate tightly with grade, and guidelines advise against using ammonia to diagnose, stage, or monitor HE. (Draw arterial or free-flowing venous, on ice, run promptly — tourniquet time and delay falsely elevate it.)
  • Find the precipitant — this is the real diagnostic work: CBC and cultures (infection/SBP — do a diagnostic paracentesis), electrolytes (hypokalemia, hyponatremia), renal function, glucose, GI bleed assessment, and a medication/sedative review.
  • Neuroimaging (CT/MRI) is used to exclude mimics (intracranial hemorrhage, stroke) in atypical or focal presentations, not to confirm HE. EEG may show triphasic waves — supportive but nonspecific.

Management at a Mechanism Level

Treatment attacks ammonia at its gut source and, first, removes the trigger.

  • Treat the precipitant. Correct GI bleeding, treat infection (SBP, UTI, pneumonia), reverse hypokalemia and dehydration, hold sedatives, and relieve constipation — this reverses most episodes.
  • Lactulose (nonabsorbable disaccharide) — first-line. Colonic bacteria ferment it, acidifying the lumen; this converts absorbable NH₃ to non-absorbable ammonium (NH₄⁺), traps it, and its cathartic effect purges nitrogen. Titrate to 2-3 soft stools/day (typical 30-45 mL PO q1-2h until catharsis, then maintenance); over-dosing causes dehydration and hypernatremia that paradoxically worsen HE. Lactitol is an equivalent alternative.
  • Rifaximin — a minimally absorbed antibiotic that reduces ammonia-producing gut flora. Added (550 mg BID) to lactulose after a first recurrence, it significantly cuts recurrent overt HE and HE-related hospitalization.
  • Adjuncts: L-ornithine L-aspartate (LOLA) supplies urea-cycle substrate and boosts muscle glutamine synthesis to fix ammonia; polyethylene glycol may clear an acute episode faster than lactulose. Do not protein-restrict — malnutrition worsens outcomes; target adequate protein with branched-chain amino acids.
  • Refractory disease: consider embolizing large spontaneous shunts, and ultimately liver transplantation, the definitive cure.

Mimics, Pitfalls, and Significance

Because HE has no confirmatory test, its greatest danger is anchoring — labeling every confused cirrhotic as "HE" and missing a lethal mimic. Key do-not-miss diagnoses:

  • Wernicke encephalopathy — malnourished, often alcohol-related patients; the confusion-ataxia-ophthalmoplegia triad demands empiric thiamine before glucose.
  • Intracranial hemorrhage / subdural — cirrhotics are coagulopathic and fall; focal signs or headache warrant urgent CT.
  • Sepsis, hypoglycemia, hyponatremia, and drug/sedative toxicity — all cause encephalopathy and all can precipitate HE simultaneously.
  • Non-convulsive status epilepticus — mimics grade III-IV HE; consider EEG if no improvement.

Distinguishing features favoring HE: fluctuating, non-focal deficits, asterixis, and a clear precipitant that responds to lactulose. Prognostically, the arrival of overt HE moves a patient toward transplant evaluation — 1-year survival after a first episode is only ~40-50% without transplant. Even covert HE matters: it independently predicts falls, motor-vehicle accidents, and progression, so screening and treating it is not academic.

West Haven criteria for grading hepatic encephalopathy severity
GradeConsciousness / cognitionAsterixisBedside clue
Minimal (covert)Normal exam; deficits only on psychometric/number-connection testingAbsentImpaired driving, poor concentration
Grade I (covert)Trivial lack of awareness, euphoria/anxiety, shortened attention spanMay be presentReversed sleep-wake cycle, mild confusion
Grade II (overt)Lethargy, disorientation to time, personality changePresent (obvious)Asterixis, dyspraxia (e.g., constructional apraxia)
Grade III (overt)Somnolent but rousable; gross disorientation, confusionPresent if cooperativeResponds to voice, marked confusion
Grade IV (overt)Coma, unresponsive to painful stimuliAbsent (comatose)No response; may have decerebrate posturing

Frequently asked questions

Is asterixis specific to hepatic encephalopathy?

No. Asterixis (a flapping, negative-myoclonus loss of postural tone) is the classic bedside sign of HE, but it also appears in uremic encephalopathy, CO₂ narcosis (hypercapnia), and certain drug toxicities such as phenytoin. In the right clinical setting — a cirrhotic with fluctuating confusion — it strongly supports HE, but it must be interpreted alongside the whole picture, not in isolation.

Why don't we use ammonia levels to diagnose or track hepatic encephalopathy?

Because ammonia correlates poorly with clinical grade. Many encephalopathic patients have only modestly elevated levels, and non-HE patients can have high levels. Sampling error (tourniquet, delayed processing, warm sample) falsely elevates it. Guidelines say a normal ammonia should make you question the HE diagnosis, but elevated ammonia should not be used to confirm, stage, or monitor treatment — the diagnosis and response are clinical.

How does lactulose actually work if it isn't absorbed?

Lactulose is a nonabsorbable disaccharide that reaches the colon intact. Bacteria ferment it into short-chain acids, lowering luminal pH. The acidic environment protonates ammonia (NH₃) into ammonium (NH₄⁺), which cannot cross the gut wall, trapping nitrogen in the lumen. It also acts as an osmotic cathartic, physically flushing nitrogenous waste. The therapeutic target is 2-3 soft stools per day — too much causes dehydration that worsens HE.

Should patients with hepatic encephalopathy be put on a low-protein diet?

No — this is an outdated and harmful practice. Protein restriction accelerates the muscle wasting (sarcopenia) that is common in cirrhosis, and skeletal muscle is actually an important backup site for ammonia detoxification via glutamine synthesis. Current guidelines recommend adequate protein (about 1.2-1.5 g/kg/day), often favoring vegetable and dairy protein and branched-chain amino acids, rather than restriction.

What is the difference between covert and overt hepatic encephalopathy?

Covert HE (West Haven minimal and grade I) has a normal or near-normal bedside exam; deficits show up only on psychometric or app-based testing (PHES, number-connection test, EncephalApp Stroop, critical flicker frequency). Overt HE (grades II-IV) has clinically obvious disorientation, asterixis, and progressive somnolence to coma. Covert HE still matters — it impairs driving and predicts progression to overt episodes.

What most commonly triggers an episode of hepatic encephalopathy?

Precipitants, not spontaneous worsening, cause most episodes. The big ones are infection (including spontaneous bacterial peritonitis — always tap the ascites), gastrointestinal bleeding (a large protein/nitrogen load), constipation, dehydration and electrolyte disturbances from over-diuresis (especially hypokalemia and hyponatremia), and sedatives. Identifying and reversing the trigger is the single most important treatment step.