Articles & Guides › Articles › Gastroenterology & Nutrition
Gallstones and biliary disease
How bile keeps cholesterol dissolved and why cholesterol and pigment stones form, how biliary colic, cholecystitis, common bile duct stones, cholangitis and gallstone ileus differ, and how primary biliary cholangitis, primary sclerosing cholangitis and cholangiocarcinoma are recognized.
Gastroenterology & Nutrition · 6 min read · Reviewed 2026-11-10
Bile is a delicate solution. The liver secretes cholesterol into it, and bile acids and phospholipids hold that cholesterol in tiny dissolved packets called micelles. Tip the balance (too much cholesterol, too few bile acids, or bile sitting too long in the gallbladder) and crystals form, then stones. Most stones never cause trouble. When they do, where the stone lodges decides the illness: briefly in the cystic duct, persistently in the cystic duct, in the common bile duct, or in the small bowel. A separate group of diseases damages the bile ducts themselves.
Key points
- Cholesterol stones follow estrogen, obesity, rapid weight loss and bile acid loss; black pigment stones follow chronic hemolysis; brown pigment stones follow duct infection.
- Biliary colic is brief pain with normal labs; cholecystitis is pain lasting over six hours with fever, a raised white count and a positive Murphy sign.
- A stone in the common bile duct causes jaundice and a cholestatic pattern; add fever and it becomes cholangitis, which needs urgent drainage.
- Gallstone ileus is a stone that passes through a fistula and blocks the terminal ileum, with air in the bile ducts.
- Primary biliary cholangitis affects small ducts in middle-aged women with antimitochondrial antibodies; primary sclerosing cholangitis affects large ducts, mostly in men with ulcerative colitis, and raises cholangiocarcinoma risk.
Gallstones and cholecystitis
How bile works
The liver makes bile acids from cholesterol, a step controlled by 7-alpha-hydroxylase. Bile acids, phospholipids (lecithin), cholesterol and bilirubin are secreted together. About 95% of bile acids are reabsorbed in the terminal ileum and recycled. Between meals, the gallbladder stores and concentrates bile; after a fatty meal, CCK makes it contract[1].
Types of stones
| Stone | Made of | Risk factors |
|---|---|---|
| Cholesterol (most common in Western countries) | Cholesterol | Female sex and estrogen (pregnancy, contraceptives), obesity, older age, Native American ancestry, rapid weight loss, fibrates, octreotide, parenteral nutrition, Crohn disease or ileal resection |
| Black pigment | Calcium bilirubinate | Chronic hemolysis (sickle cell disease, hereditary spherocytosis), cirrhosis |
| Brown pigment | Calcium bilirubinate with fatty acids | Infected bile ducts and liver flukes, especially in East Asia |
Cholesterol stones need three things: supersaturation with cholesterol, nucleation of crystals and stasis in the gallbladder. The risk factors map onto these. Estrogen increases cholesterol secretion; fibrates block 7-alpha-hydroxylase and so reduce bile acids; ileal loss drains the bile acid pool; rapid weight loss floods bile with cholesterol; parenteral nutrition and octreotide stop the gallbladder from emptying. Ursodeoxycholic acid can dissolve small cholesterol stones and prevent them during rapid weight loss.
In pigment stones, the problem is excess unconjugated bilirubin, from hemolysis, or bacteria whose enzymes deconjugate bilirubin in infected bile.
From colic to cholecystitis
| Condition | What the stone is doing | Features | Tests |
|---|---|---|---|
| Biliary colic | Blocking the cystic duct briefly as the gallbladder contracts | Right upper quadrant pain after fatty meals, lasting under six hours, no fever | Normal labs; stones on ultrasound |
| Acute cholecystitis | Blocking the cystic duct persistently, leading to inflammation and then infection | Pain over six hours, fever, Murphy sign (breath catches on pressing under the right ribs), pain referred to the right shoulder blade | High white count; bilirubin and alkaline phosphatase usually normal; thick gallbladder wall with surrounding fluid; on a HIDA scan the gallbladder does not fill |
| Acalculous cholecystitis | No stone; stasis and ischemia | Critically ill patients: burns, trauma, sepsis, parenteral nutrition | No stones |
Cholecystitis is treated with antibiotics, fluids and early laparoscopic cholecystectomy, or drainage if the patient is too ill[2]. Complications include gangrene, perforation, emphysematous cholecystitis (gas-forming bacteria, often in diabetes) and a fistula into the bowel. A porcelain gallbladder, calcified by chronic inflammation, and gallstones in general raise the risk of gallbladder cancer, which is usually found late.
Choledocholithiasis, cholangitis and gallstone ileus
Choledocholithiasis
A stone in the common bile duct blocks bile from the whole liver. It causes biliary-type pain with jaundice, a high conjugated bilirubin and a cholestatic pattern (high alkaline phosphatase and GGT, sometimes with an early spike in aminotransferases). Ultrasound shows a dilated common bile duct[3]. The stone is removed by ERCP (endoscopic retrograde cholangiopancreatography), followed by cholecystectomy.
Ascending cholangitis
When bile stagnates behind an obstruction, gut bacteria (E. coli, Klebsiella, Enterococcus, anaerobes) multiply in it, and the raised pressure pushes them into the blood. The classic Charcot triad is fever, jaundice and right upper quadrant pain. Add low blood pressure and confusion and it becomes the Reynolds pentad of septic shock[4]. Cholangitis is an emergency: fluids, broad-spectrum antibiotics and urgent drainage of the bile duct, usually by ERCP.
A stone that blocks the ampulla of Vater can also obstruct the pancreatic duct and cause gallstone pancreatitis, covered in the pancreas article.
Gallstone ileus and Mirizzi syndrome
After repeated inflammation, a large stone can erode from the gallbladder into the duodenum through a fistula. It then travels down the small bowel and jams at its narrowest point, the terminal ileum near the ileocecal valve. The typical patient is an older woman with small bowel obstruction but no history of surgery or hernia. The imaging triad is bowel obstruction, air in the bile ducts (which entered through the fistula) and a stone outside the gallbladder. The stone is removed surgically.
In Mirizzi syndrome, a stone stuck in the gallbladder neck presses on the common hepatic duct from outside and causes jaundice.
Primary biliary cholangitis, primary sclerosing cholangitis and cholangiocarcinoma
Two cholestatic diseases
| Feature | Primary biliary cholangitis | Primary sclerosing cholangitis |
|---|---|---|
| Who | Middle-aged women | Young and middle-aged men |
| Ducts | Small ducts inside the liver | Large ducts inside and outside the liver |
| Mechanism | Autoimmune T cell destruction of ducts, with granulomas | Inflammation and "onion skin" fibrosis around ducts, causing strictures |
| Antibodies | Antimitochondrial antibodies in about 95% | Often p-ANCA; no specific test |
| Associations | Sjögren syndrome, autoimmune thyroid disease, systemic sclerosis | Ulcerative colitis |
| Imaging | Normal ducts | Beading of ducts (alternating strictures and dilations) on MRCP |
| Cancer risk | Liver cancer once cirrhotic | Cholangiocarcinoma, colorectal and gallbladder cancer |
| Treatment | Ursodeoxycholic acid first; transplant if needed[5] | No proven drug; stretching of dominant strictures; transplant[6] |
Both cause the features of chronic cholestasis: fatigue, itching (treated with cholestyramine), a high alkaline phosphatase and GGT, and eventually jaundice and cirrhosis. Retained cholesterol causes xanthelasmas and high blood cholesterol; poor bile flow to the gut causes osteoporosis and deficiency of vitamins A, D, E and K.
Long-standing obstruction from outside the liver, by stones, strictures or tumors, can produce the same end result, called secondary biliary cirrhosis.
Cholangiocarcinoma
Cholangiocarcinoma is an adenocarcinoma of the bile ducts. It can arise inside the liver, at the junction of the hepatic ducts (a Klatskin tumor) or in the distal duct[6]. Its risk factors share one theme, chronic inflammation of the ducts: primary sclerosing cholangitis, liver flukes (Clonorchis and Opisthorchis, in East Asia), choledochal cysts (congenital duct dilations), stones within the liver, and chronic viral hepatitis. It presents with painless jaundice, itching and weight loss; distal tumors can cause a palpable, nontender gallbladder. CA 19-9 is often raised. The prognosis is poor, though some patients can have resection or transplantation[7].
Common confusions
- Colic versus cholecystitis: the same pain, but cholecystitis lasts over six hours and brings fever and a raised white count.
- Cholecystitis versus a duct stone: cholecystitis usually leaves bilirubin normal; jaundice and a dilated duct point to the common bile duct.
- Primary biliary versus primary sclerosing cholangitis: small ducts, women and antimitochondrial antibodies versus large ducts, men and ulcerative colitis.
- Gallstone ileus: the stone blocks the ileum, not the bile duct; the clue is air in the bile ducts.
References
- Lammert F, Gurusamy K, Ko CW, et al. Gallstones. Nat Rev Dis Primers. 2016;2:16024. doi:10.1038/nrdp.2016.24 Link ↩
- Yokoe M, Hata J, Takada T, et al. Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholecystitis (with videos). J Hepatobiliary Pancreat Sci. 2018;25(1):41-54. doi:10.1002/jhbp.515 Link ↩
- Buxbaum JL, Abbas Fehmi SM, Sultan S, et al. ASGE guideline on the role of endoscopy in the evaluation and management of choledocholithiasis. Gastrointest Endosc. 2019;89(6):1075-1105.e15. doi:10.1016/j.gie.2018.10.001 Link ↩
- Kiriyama S, Kozaka K, Takada T, et al. Tokyo Guidelines 2018: diagnostic criteria and severity grading of acute cholangitis (with videos). J Hepatobiliary Pancreat Sci. 2018;25(1):17-30. doi:10.1002/jhbp.512 Link ↩
- Lindor KD, Bowlus CL, Boyer J, Levy C, Mayo M. Primary biliary cholangitis: 2018 practice guidance from the American Association for the Study of Liver Diseases. Hepatology. 2019;69(1):394-419. doi:10.1002/hep.30145 Link ↩
- Bowlus CL, Arrivé L, Bergquist A, et al. AASLD practice guidance on primary sclerosing cholangitis and cholangiocarcinoma. Hepatology. 2023;77(2):659-702. doi:10.1002/hep.32771 Link ↩
- Kumar V, Abbas AK, Aster JC. Robbins & Cotran Pathologic Basis of Disease. 10th ed. Elsevier; 2021. ↩