Hyperammonemia is a dangerous buildup of ammonia in the blood, and it primarily threatens the brain. Under normal circumstances, the body produces large quantities of ammonia as a byproduct of protein metabolism but converts nearly all of it to urea in the liver, which the kidneys then excrete harmlessly. When that conversion fails or is overwhelmed, ammonia accumulates and crosses into the brain, where it can cause confusion, seizures, brain swelling, and death. The condition can stem from inherited enzyme deficiencies, severe liver disease, certain medications, and even urinary tract infections, making it a surprisingly diverse clinical problem.
How the Body Normally Keeps Ammonia in Check
Every tissue in your body releases ammonia as part of its normal nitrogen metabolism. That sounds alarming, but the liver is extraordinarily efficient at mopping it up. The urea cycle, a series of enzymatic reactions inside liver cells, captures ammonia and converts it to urea, a water-soluble waste product that travels through the bloodstream to the kidneys and leaves the body in urine. Under healthy conditions, the enormous amounts of ammonia generated by liver amino-acid metabolism are completely captured by this cycle and never contribute to blood ammonia levels at all.1PubMed Central. A model of blood-ammonia homeostasis based on a quantitative analysis of nitrogen metabolism in the multiple organs involved in the production, catabolism, and excretion of ammonia in humans
The body also has a first-line scavenging system that works even faster than the urea cycle. Tissues throughout the body neutralize ammonia by incorporating it into amino acids and glutamine. This scavenging has a clearance rate several times the liver’s blood flow, close to the total output of the heart, so it can intercept ammonia almost instantly.2PubMed Central. Down the road towards hepatic encephalopathy. Urea synthesis – the liver workhorse of nitrogen metabolism The catch is that this scavenging system has a much lower total capacity than the urea cycle. It buys time, but it cannot permanently dispose of nitrogen on its own. That job ultimately falls back on urea production. When the urea cycle is impaired, the scavenging system saturates, and ammonia starts to rise.
The kidneys also play a role, though it is often overlooked in discussions about ammonia. The kidneys produce ammonia from the amino acid glutamine in the proximal tubule, a process tightly linked to acid-base balance rather than waste disposal.3PubMed Central. Renal handling of ammonium and Acid base regulation The proportion of this ammonia that gets excreted into the urine versus returned to the bloodstream is carefully regulated, and urinary ammonia excretion is actually the main way the kidneys contribute to maintaining the body’s acid-base equilibrium.4PubMed Central. Ammonia Transporters and Their Role in Acid-Base Balance This means kidney dysfunction can complicate hyperammonemia indirectly, by disrupting the interplay between ammonia handling and overall metabolic balance.
Why Ammonia Is So Toxic to the Brain
The brain is the organ most vulnerable to excess ammonia, and the damage unfolds through several overlapping mechanisms. One of the most studied involves astrocytes, the star-shaped support cells in the brain that help regulate the chemical environment around neurons. When ammonia levels rise, astrocytes convert it to glutamine using an enzyme called glutamine synthetase. In hyperammonemia, this process goes into overdrive. Research in rats has shown that brain glutamine concentrations can more than triple during hyperammonemia, and blocking glutamine production prevented the resulting brain swelling.5PubMed. Inhibition of brain glutamine accumulation prevents cerebral edema in hyperammonemic rats The accumulated glutamine appears to act as an osmotic force, pulling water into astrocytes and causing them to swell.
The relationship between glutamine and swelling is not perfectly straightforward, though. Cell culture studies have found that ammonia-treated astrocytes can swell substantially over days even when their glutamine content has returned to normal, suggesting that glutamine may trigger downstream damage rather than causing swelling purely through osmotic pressure. One proposed explanation is that glutamine-mediated oxidative stress and changes in mitochondrial function are the real culprits behind the sustained swelling.6PubMed. Glutamine in the mechanism of ammonia-induced astrocyte swelling
Ammonia also damages the brain through overactivation of NMDA receptors, a type of receptor involved in signaling between neurons. This overactivation drains the brain’s energy stores, floods cells with calcium, disrupts mitochondria, and triggers the production of damaging free radicals. In acute ammonia toxicity, this cascade can cause seizures and death.7PubMed. Molecular mechanism of acute ammonia toxicity: role of NMDA receptors Blocking NMDA receptors or inhibiting nitric oxide production in animal studies has prevented ammonia-induced seizures and the associated energy failure in brain cells.8Neurochemistry International. Mitochondrial dysfunction in acute hyperammonemia
Inherited Causes and Urea Cycle Disorders
The most dramatic presentations of hyperammonemia often occur in newborns with inherited defects in the urea cycle. There are several enzymes in this cycle, and a deficiency in any one of them can prevent the liver from converting ammonia to urea efficiently. The most common of these is ornithine transcarbamylase (OTC) deficiency, which accounts for roughly half of all urea cycle disorder cases.9PubMed Central. Urea Cycle Defects: Early-Onset Disease Associated with A208T Mutation in OTC Gene-Expanding the Clinical Phenotype OTC deficiency is inherited in an X-linked pattern, meaning boys are typically affected more severely, though carrier females can also develop symptoms ranging from mild to life-threatening.
Babies with severe urea cycle defects often appear healthy at birth but deteriorate within the first few days of life as ammonia climbs. Symptoms include poor feeding, vomiting, lethargy that progresses rapidly to coma, and seizures. Without treatment, these crises are frequently fatal. Hyperammonemia during these critical developmental windows can cause irreversible brain damage, including cortical atrophy, loss of myelin around nerve fibers, and enlargement of the brain’s fluid-filled spaces.10PubMed. Hyperammonemia-induced toxicity for the developing central nervous system The developing brain is particularly vulnerable, and even patients who survive neonatal crises often face long-term cognitive impairment, seizure disorders, or psychiatric illness.11PubMed. Neurologic damage and neurocognitive dysfunction in urea cycle disorders
Urea cycle disorders are not the only inherited metabolic conditions that cause hyperammonemia. The classic organic acidemias, including propionic, methylmalonic, and isovaleric acidemia, can also produce severe ammonia elevations during metabolic crises. In these conditions, toxic metabolites accumulate and secondarily impair the urea cycle. Repeated episodes of hyperammonemia in these patients are linked to growth failure and intellectual disability, with worse outcomes tied to longer durations of elevated ammonia.12PubMed Central. Hyperammonaemia in classic organic acidaemias: a review of the literature and two case histories
Liver Disease as the Most Common Cause in Adults
In adults, the most frequent cause of hyperammonemia is liver disease, particularly cirrhosis. The liver’s capacity to run the urea cycle depends on having enough functional liver cells, and as cirrhosis advances, that capacity shrinks. On top of that, cirrhosis often creates portosystemic shunting, where blood from the intestines bypasses the liver entirely and dumps ammonia-rich blood directly into the general circulation.
The resulting condition, hepatic encephalopathy, ranges from subtle cognitive slowing to deep coma. Blood and cerebrospinal fluid ammonia levels are frequently elevated in patients with severe liver disease, and the brain damage that results has a characteristic appearance under the microscope, a change in astrocytes called Alzheimer type II astrocytosis that is also seen in congenital hyperammonemia.13PubMed. Ammonia: key factor in the pathogenesis of hepatic encephalopathy Though ammonia is central to hepatic encephalopathy, the full picture also involves systemic inflammation, bacterial products leaking from the gut, and oxidative stress, all of which amplify the brain’s vulnerability to ammonia.14PubMed. Hepatic encephalopathy in patients with acute decompensation of cirrhosis and acute-on-chronic liver failure
Surprising Non-Liver Triggers
Not all hyperammonemia comes from a failing liver or a genetic defect. Several other causes can catch clinicians off guard precisely because they do not fit the usual profile.
Valproic acid, a widely prescribed seizure and mood-stabilizing medication, is one of the most common drug-related causes. Valproate inhibits carbamoylphosphate synthetase I, the enzyme that kicks off the urea cycle, effectively throttling ammonia clearance at its source. Taking valproate alongside other medications like phenobarbital or topiramate raises the risk further.15PubMed. Valproate-induced hyperammonemic encephalopathy The resulting encephalopathy can mimic a worsening seizure disorder, leading to dose increases rather than the dose reductions the patient actually needs.
Urinary tract infections caused by urea-splitting bacteria are another underrecognized trigger. These bacteria break down urea in the urine back into ammonia, which can be reabsorbed into the bloodstream in significant quantities, especially when there is a urinary obstruction. A systematic review identified 31 cases where acute urinary tract infection produced hyperammonemia with altered consciousness, seizures, or signs of brain swelling. Urea-splitting bacteria were found in nearly all of them.16PubMed. Hyperammonemia associated with distal renal tubular acidosis or urinary tract infection: a systematic review Treating the infection with antibiotics and using lactulose to lower ammonia resolved the encephalopathy in reported cases.17PubMed Central. Hyperammonemic Encephalopathy Secondary to Urinary Tract Infection
Perhaps the most alarming non-liver cause is hyperammonemia after bariatric surgery. Case reports have described patients developing severe, often fatal encephalopathy months after Roux-en-Y gastric bypass, without any underlying cirrhosis. These patients typically share a cluster of features: significant weight loss after surgery, elevated glutamine alongside the high ammonia, low albumin, and low zinc levels. The mortality rate in published cases has been around 50%.18PubMed. Hyperammonemic syndrome after Roux-en-Y gastric bypass The mechanism is still debated, but nutritional deficiencies, altered gut bacterial metabolism, and loss of lean body mass likely converge to overwhelm ammonia clearance.19PubMed Central. Bariatric Surgery Causing Hyperammonemia
Why Ammonia Levels Are Tricky to Measure
One practical challenge with hyperammonemia is that blood ammonia levels are notoriously easy to get wrong. Ammonia in a blood sample continues to rise after the blood is drawn, because red blood cells and other cellular components keep generating it. Any delay between drawing the sample and getting it analyzed in the lab can falsely elevate the result. Samples collected from capillary sticks rather than veins are even more prone to contamination. Studies in pediatric populations have found a high proportion of false positives among elevated ammonia results, with capillary collection and delayed centrifugation being major contributors.20PubMed. False positives in plasma ammonia measurement and their clinical impact in a pediatric population Any unexpectedly elevated ammonia result should prompt a careful look at how the sample was collected and processed before assuming it reflects reality.21PubMed. Elevated ammonia concentrations: potential for pre-analytical and analytical contributing factors
Whether to draw the sample from an artery or a vein also matters, at least in the context of liver disease. Arterial ammonia levels correlate with the severity of hepatic encephalopathy in a statistically meaningful way, while venous ammonia levels tend to rise in encephalopathy patients but do not reliably track with how sick the patient is.22AMEI’s Current Trends in Diagnosis and Treatment. Comparison of Arterial vs Venous Ammonia Levels in Hepatic Encephalopathy For clinicians trying to gauge whether a patient’s encephalopathy is getting worse or better, arterial draws give more useful information, though venous samples are far more commonly obtained in practice because they are easier and less painful.
Treatment Strategies Across Different Causes
Treating hyperammonemia depends on the underlying cause, the severity, and how quickly ammonia is rising. In acute crises, especially in newborns with urea cycle defects, the first priority is stopping the body from breaking down its own protein, since catabolism floods the system with nitrogen the urea cycle cannot handle. This means providing enough calories (usually through intravenous glucose and lipids) to shift the body into an anabolic state. If ammonia levels are dangerously high, hemodialysis can physically remove ammonia from the blood faster than any medication.
Alternative pathway therapy uses drugs like sodium benzoate and sodium phenylbutyrate that create alternative routes for nitrogen disposal, bypassing the urea cycle entirely. These drugs conjugate with amino acids and are excreted by the kidneys, taking nitrogen with them. The introduction of alternative pathway therapy, alongside better supportive care and dialysis when needed, has improved survival in urea cycle patients compared to historical outcomes.23PubMed. Nitrogen sparing therapy revisited 2009 For organic acidemias that secondarily cause hyperammonemia, a drug called N-carbamyl-L-glutamate can rapidly normalize ammonia levels by stimulating the first step of the urea cycle.24PubMed Central. Hyperammonaemia in classic organic acidaemias: a review of the literature and two case histories
For hepatic encephalopathy in cirrhosis, the mainstays are lactulose and rifaximin. Lactulose is a non-absorbable sugar that acidifies the colon, trapping ammonia in its ionized form so it cannot be reabsorbed and is instead excreted in stool. Rifaximin is a gut-targeted antibiotic that reduces the ammonia-producing bacteria in the intestines. In a rat model of minimal hepatic encephalopathy, both drugs lowered ammonia levels and improved cognitive deficits, while also reducing markers of inflammation and bacterial toxins crossing from the gut to the liver.25PubMed Central. The effects of rifaximin and lactulose on the gut-liver-brain axis in rats with minimal hepatic encephalopathy
Dietary management is a constant companion for patients with chronic hyperammonemia risk, particularly those with urea cycle defects. Protein restriction limits the nitrogen load the body has to process, but it carries its own dangers: too little protein means the body starts breaking down its own muscle, actually worsening ammonia production. Patients often need about half their protein in the form of essential amino acid supplements, with particular attention to branched-chain amino acids, to maintain growth and prevent the body from cannibalizing itself.26PubMed Central. New Insights in Nutritional Management and Amino Acid Supplementation in Urea Cycle Disorders
When Liver Transplant Becomes the Answer
For severe urea cycle disorders, liver transplantation is the only intervention that replaces the missing enzymatic capacity outright. A transplanted liver carries a complete, functioning urea cycle, eliminating the metabolic bottleneck. In a cohort study of patients with urea cycle disorders who underwent liver transplantation, overall patient survival was 100%, and no patient experienced hyperammonemia or metabolic crises after the procedure. Protein restriction was no longer needed in any patient after transplant.27PubMed Central. Urea cycle disorders and indications for liver transplantation
The picture is not entirely rosy, though. Transplant effectively prevents future metabolic crises, but it cannot reverse neurological damage that has already occurred. A nationwide study in Japan found that while transplantation was effective for long-term survival and preventing recurrent hyperammonemia, it had limited effect on neurodevelopmental outcomes in patients with severe disease, because the brain damage from the initial ammonia exposure had already taken hold.28PubMed. Role of liver transplantation in urea cycle disorders: Report from a nationwide study in Japan This creates a difficult clinical tension: transplanting early, before catastrophic brain injury, offers the best chance of a good neurological outcome, but transplantation itself carries surgical risks and a lifelong need for immunosuppressive drugs. Families and clinicians weigh these trade-offs case by case, often with incomplete information about how much future metabolic risk a particular child faces.
How the Developing Brain Differs from the Adult Brain
The pediatric dimension of hyperammonemia deserves separate attention because the developing brain responds to ammonia differently and more destructively than the adult brain. While adults with hepatic encephalopathy often recover much of their cognitive function once ammonia levels normalize, children who experience severe hyperammonemia during early brain development frequently do not. The damage can include permanent cortical atrophy and cerebral palsy.29PubMed. Hyperammonemia-induced toxicity for the developing central nervous system
Part of the reason relates to timing. The neonatal brain is building its foundational architecture, forming synaptic connections, myelinating nerve fibers, and pruning neural circuits. Ammonia disrupts all of these processes. The myelin loss seen in children with severe urea cycle defects does not have a close parallel in adult hepatic encephalopathy, where astrocyte swelling is the dominant pathological feature. Even children who survive neonatal crises and go on to receive appropriate metabolic management or transplant often show a range of neurologic abnormalities, including learning disabilities, attention deficits, and psychiatric problems that become more apparent as they reach school age.30PubMed. Neurologic damage and neurocognitive dysfunction in urea cycle disorders This is why newborn screening programs that can identify urea cycle defects before the first crisis, along with early transplant consideration, are so consequential.
Valproate and Other Medication Pitfalls
Because valproate-induced hyperammonemia does not require pre-existing liver disease, it can blindside clinicians who are not specifically thinking about ammonia as a cause of their patient’s mental status changes. A patient on valproate who becomes confused, drowsy, or starts having more seizures might be assumed to have a worsening underlying neurological condition. The fix in many cases is simply checking an ammonia level, adjusting the dose, or switching medications. The risk increases when valproate is combined with other anticonvulsants, making polypharmacy a red flag.31PubMed. Valproate-induced hyperammonemic encephalopathy Clinicians who manage epilepsy or bipolar disorder are generally aware of this risk, but it remains underappreciated in emergency rooms and general practice settings, where an altered patient on valproate might get a head CT or lumbar puncture before anyone thinks to order a serum ammonia.

