Ammonia is central to the pathogenesis of hepatic encephalopathy. This study was designed to determine the quantitative dynamics of ammonia metabolism in patients with cirrhosis and previous treatment with a transjugular intrahepatic portosystemic stent shunt (TIPSS). We studied 24 patients with cirrhosis who underwent TIPSS portography. Blood was sampled and blood flows were measured across portal drained viscera, leg, kidney, and liver, and arteriovenous differences across the spleen and the inferior and superior mesenteric veins. The highest amount of ammonia was produced by the portal drained viscera. The kidneys also produced ammonia in amounts that equaled total hepatosplanchnic area production. Skeletal muscle removed more ammonia than the cirrhotic liver. The amount of nitrogen that was taken up by muscle in the form of ammonia was less than the glutamine that was released. The portal drained viscera consumed glutamine and produced ammonia, alanine, and citrulline. Urea was released in the splenic and superior mesenteric vein, contributing to whole-body ureagenesis in these cirrhotic patients. In conclusion, hyperammonemia in metabolically stable, overnight-fasted patients with cirrhosis of the liver and a TIPSS results from portosystemic shunting and renal ammonia production. Skeletal muscle removes more ammonia from the circulation than the cirrhotic liver. Muscle releases excessive amounts of the nontoxic nitrogen carrier glutamine, which can lead to ammonia production in the portal drained viscera (PDV) and kidneys. Urinary ammonia excretion and urea synthesis appear to be the only way to remove ammonia from the body.