Cholelithiasis: How Gallstones Form and How They Are Treated

Cholelithiasis is the medical term for gallstones, and it affects a strikingly large share of the population in industrialized countries. Most people who have gallstones never know it: the stones sit quietly in the gallbladder for years. But when a stone shifts into the wrong position, the result can range from intense abdominal pain to life-threatening complications like pancreatitis or bowel obstruction. Understanding what these stones actually are, why they form, and what to do about them turns out to be more layered than the standard “just remove the gallbladder” advice suggests.

What Gallstones Are Made Of

Not all gallstones are the same. Roughly three-quarters of gallstones in Western populations are cholesterol stones, made mostly of hardened cholesterol. The rest are pigment stones, which come in two distinct varieties with very different origins. Knowing the type matters because the causes, the populations affected, and even some treatment options differ.

Cholesterol stones form when the liver secretes more cholesterol into bile than the bile can hold in solution. This cholesterol-supersaturated bile, combined with a sluggish gallbladder that doesn’t contract and empty well, creates the perfect conditions for cholesterol crystals to precipitate and slowly grow into stones.1PubMed Central. Prevention of gallbladder hypomotility via FATP2 inhibition protects from lithogenic diet-induced cholelithiasis Genetic background and the liver’s tendency to oversecrete cholesterol are the upstream drivers.2PubMed Central. An update on the pathogenesis of cholesterol gallstone disease

Black pigment stones, by contrast, form in sterile bile and are built mainly from bilirubin polymers and calcium salts. They show up more often in people with conditions that increase bilirubin production, such as chronic hemolysis (where red blood cells break down faster than normal), cirrhosis, and alcoholism.3PubMed. Pigment gallstone disease The key trigger is an excess of bilirubin conjugates in bile, driven mainly by hemolysis or ineffective red blood cell production.4PubMed Central. New pathophysiological concepts underlying pathogenesis of pigment gallstones

Brown pigment stones are a different animal entirely. They form in bile that is infected with bacteria, and they can appear not just in the gallbladder but also in the bile ducts themselves. Bacterial enzymes break down normal bile components into insoluble calcium salts that aggregate into soft, crumbly stones.5PubMed Central. The role of bacteria in pigment gallstone disease Brown stones are more common in East Asian populations and are closely tied to recurrent bile duct infections.

Who Gets Gallstones and Why

The classic teaching in medical school used to be “fair, fat, fertile, forty, and female.” That mnemonic is crude, but it captures some real patterns. Women are about twice as likely as men to develop cholesterol gallstones at every age, a gap that opens at puberty and persists through the childbearing years. Estrogen appears to be the main reason: it increases the liver’s secretion of cholesterol into bile, tipping the balance toward supersaturation.6PubMed Central. New insights into the molecular mechanisms underlying effects of estrogen on cholesterol gallstone formation Pregnancy, oral contraceptives, and hormone replacement therapy all amplify this effect.

Metabolic syndrome is another major risk factor, and it’s one that has been growing in importance as obesity rates climb. A large study found that the overall age-adjusted odds of gallstone disease were about 40% higher in people with metabolic syndrome, and the risk scaled with the number of metabolic components present. People who had all five components (central obesity, high blood pressure, high blood sugar, high triglycerides, low HDL cholesterol) had roughly three to four times the risk of those with none.7PubMed Central. Metabolic syndrome and gallstone disease Longitudinal data from a cohort study confirmed this dose-response pattern, with risk climbing steadily as metabolic disorders accumulated.8Scientific Reports. The association between gallstones and metabolic syndrome in urban Han Chinese: a longitudinal cohort study

Genetics plays a real but incomplete role. Variants in the ABCG8 gene, which encodes a cholesterol transporter in the liver and intestine, have been consistently linked to higher gallstone risk. In one study, carrying one or two copies of a specific ABCG8 variant raised the odds of gallstones by about 70%.9PubMed Central. Risk of gallstones based on ABCG8 rs11887534 single nucleotide polymorphism among Taiwanese men and women In obese individuals specifically, the same gene variant was associated with nearly triple the risk of gallstone disease.10PubMed. The ABCG8 polymorphism increases the risk of gallbladder cancer in the general population and gallstones in obese patients from Poland These findings help explain why gallstones run strongly in families and why certain ethnic groups, particularly some Native American and Hispanic populations, have exceptionally high rates.

Most Gallstones Never Cause Trouble

Here is a fact that surprises many people: the majority of gallstones are “silent.” They sit in the gallbladder without producing symptoms, and many are discovered incidentally during imaging done for something else entirely. Long-term follow-up studies from Western countries have consistently shown that only a small minority of asymptomatic gallstones lead to symptoms or complications.11PubMed Central. Asymptomatic Gallstones (AsGS) – To Treat or Not to?

That said, “small minority” is not “zero.” A large longitudinal study tracking over 22,000 patients with asymptomatic gallstones found that about 10% developed symptomatic disease within five years, rising to roughly a third by fifteen years.12PubMed. The Natural History of Asymptomatic Gallstones: A Longitudinal Study and Prediction Model So the risk isn’t negligible over a lifetime, but it’s also not high enough to justify surgery in most people who aren’t having symptoms. This is why the general approach for incidentally discovered gallstones is watchful waiting rather than preemptive surgery.

When gallstones do cause symptoms, the hallmark is biliary colic: a steady, intense pain in the upper right abdomen, often radiating to the back or right shoulder, typically triggered by a fatty meal. The pain comes on when a stone temporarily blocks the cystic duct (the exit pipe from the gallbladder). Episodes usually last anywhere from 30 minutes to several hours and then resolve when the stone falls back into the gallbladder. Nausea is common; vomiting sometimes follows.

How Gallstones Are Found

Standard abdominal ultrasound is the first-line test for gallbladder stones and catches the vast majority. It’s cheap, quick, radiation-free, and widely available. Where things get more complicated is when stones are suspected in the common bile duct, the main drainage tube shared by the liver and pancreas. Bile duct stones are harder to see on regular ultrasound because bowel gas often obscures the view.

For bile duct stones, two advanced imaging approaches compete: endoscopic ultrasound and magnetic resonance imaging of the bile ducts (MRCP). A meta-analysis comparing them head-to-head found that endoscopic ultrasound had a sensitivity of about 97% versus 87% for MRCP, with similar specificity around 90-92%.13PubMed. Diagnostic accuracy of EUS compared with MRCP in detecting choledocholithiasis: a meta-analysis of diagnostic test accuracy in head-to-head studies A Cochrane review, however, found both techniques performing at roughly 93-95% sensitivity and 96-97% specificity, and concluded there was no clear difference between them.14PubMed Central. Endoscopic ultrasound versus magnetic resonance cholangiopancreatography for common bile duct stones In practice, MRCP tends to be used first because it’s noninvasive, while endoscopic ultrasound is reserved for ambiguous cases or when a therapeutic procedure is anticipated.

MRCP also outperforms regular ultrasound in detecting biliary sludge and very small stones. In one comparison, MRCP identified sludge or tiny stones in more than twice as many patients as ultrasound did.15PubMed. Magnetic resonance cholangiography versus ultrasound in the evaluation of the gallbladder

When Gallstones Turn Dangerous

Most gallstone complications stem from a stone getting stuck somewhere it shouldn’t be. The complications range from common and manageable to rare and surgical emergencies.

Acute cholecystitis is the most frequent complication: a stone wedges into the cystic duct and stays there, causing the gallbladder wall to become inflamed. The diagnosis hinges on finding a combination of local signs (right upper quadrant pain and tenderness, a positive Murphy’s sign) along with systemic signs of inflammation like fever or an elevated white blood cell count, usually confirmed by imaging.16PubMed Central. Diagnostic criteria and severity assessment of acute cholecystitis: Tokyo Guidelines While stones are the usual culprit, cholecystitis can occasionally be triggered by other causes, including reduced blood flow, infections, or drug-related motility problems.17PubMed Central. Definitions, pathophysiology, and epidemiology of acute cholangitis and cholecystitis: Tokyo Guidelines

Gallstone pancreatitis occurs when a stone passes out of the gallbladder and lodges at the junction where the bile duct and pancreatic duct meet. Gallstones are the leading cause of acute pancreatitis in Western countries, and smaller stones paradoxically carry a higher risk because they’re more likely to slip into the duct and get stuck at the narrow opening into the intestine.18PubMed Central. Gallstone pancreatitis: general clinical approach and the role of endoscopic retrograde cholangiopancreatography The mechanism appears to involve obstruction or impaired flow from the pancreatic duct, which triggers the pancreas to start digesting itself.19Pancreapedia: Exocrine Pancreas Knowledge Base. Gallstone-related pathogenesis of acute pancreatitis Severe cases can involve a persistent stone blocking both the bile and pancreatic ducts, leading to cholangitis (bile duct infection) alongside pancreatic inflammation.20PubMed Central. Pathophysiology of severe gallstone pancreatitis: A new paradigm

Mirizzi syndrome is an uncommon but treacherous complication where a stone impacted in the gallbladder neck or cystic duct compresses the adjacent common hepatic duct from the outside, causing obstructive jaundice.21PubMed Central. Updates in Mirizzi syndrome If the inflammation continues unchecked, the stone can erode through the gallbladder wall, creating an abnormal connection (fistula) into the bile duct or even into the stomach or small intestine.22PubMed. Complications of gallstone disease: Mirizzi syndrome, cholecystocholedochal fistula, and gallstone ileus In the most dramatic scenario, a large stone passes through such a fistula into the gut and lodges in the small bowel, causing a mechanical bowel obstruction known as gallstone ileus.23PubMed. Mirizzi syndrome and gallstone ileus: an unusual presentation of gallstone disease

Gallstones and Cancer Risk

A question that understandably worries patients with long-standing gallstones is whether the stones increase cancer risk. The answer is yes, but the absolute risk remains low. A systematic review and meta-analysis found that people with gallstones had roughly a sevenfold higher odds of gallbladder cancer compared to those without stones, along with about triple the odds of cancers in the extrahepatic bile duct and the ampulla of Vater.24PubMed Central. Association between gallstones and the risk of biliary tract cancer: a systematic review and meta-analysis Larger stones (over 1 cm) carry higher risk than smaller ones. Other risk factors for gallbladder cancer include advancing age, female sex, and chronic inflammatory conditions of the gallbladder.25PubMed Central. Epidemiology of gallbladder disease: cholelithiasis and cancer The relative risk numbers sound alarming, but gallbladder cancer itself is rare enough that this elevated risk doesn’t justify preventive cholecystectomy in most asymptomatic patients.

Surgical Treatment

When gallstones cause repeated symptoms or complications, the standard treatment is laparoscopic cholecystectomy — removing the gallbladder through small keyhole incisions. The gallbladder is not essential for life; without it, bile flows directly from the liver into the intestine rather than being stored and concentrated.

A key question in acute cholecystitis is whether to operate right away or wait for the inflammation to settle. Meta-analyses of randomized controlled trials have found that early surgery (within a week of presentation) is as safe and effective as delayed surgery and shortens total hospital stay.26PubMed. Early versus delayed laparoscopic cholecystectomy for acute cholecystitis: an up-to-date meta-analysis of randomized controlled trials One randomized trial found that total hospital stay was about two and a half days shorter with early surgery, and costs were significantly lower.27PubMed Central. Early versus delayed laparoscopic cholecystectomy for acute cholecystitis: a prospective, randomized study Similar findings hold for more severe presentations like gallbladder perforation, where early surgery shortened total hospital stay by nearly three days without increasing complication rates.28PubMed. Early versus delayed laparoscopic cholecystectomy for gallbladder perforation

For critically ill patients who can’t tolerate surgery, percutaneous cholecystostomy offers a bridge. A tube is placed through the skin into the gallbladder under imaging guidance to drain infected bile. This buys time for the acute crisis to resolve.29PubMed Central. Percutaneous Cholecystostomy: Evidence-Based Current Clinical Practice In some high-risk patients, percutaneous stone extraction through the drain tract has emerged as an alternative to cholecystectomy altogether, with one series reporting that over three-quarters of patients avoided further gallstone-related complications afterward.30PubMed. Safety and Efficacy of Percutaneous Gallstone Extraction in High-Risk Patients: An Alternative to Cholecystectomy or Long-Term Drainage?

Dissolving Stones Without Surgery

For patients who refuse or cannot undergo surgery, ursodeoxycholic acid (commonly called UDCA or ursodiol) is the main nonsurgical option. It works by reducing the cholesterol concentration in bile, gradually dissolving cholesterol stones from the outside in.31PubMed Central. Ursodeoxycholic acid in the management of symptomatic gallstone disease: systematic review and clinician survey The catch is that it only works on a specific subset of stones: they must be cholesterol-based, non-calcified (radiolucent on imaging), and ideally under 20 mm. At higher doses taken for over six months, UDCA achieved complete dissolution in about 37% of patients. For small stones (under 5 mm), the success rate was much better — around 81%.32Journal of Translational Gastroenterology. A Review of Ursodeoxycholic Acid Therapy for Cholelithiasis and Choledocholithiasis Larger stones rarely dissolve with medication alone, and recurrence after stopping the drug is a known problem.

Despite its limitations, UDCA appears helpful for biliary pain even when stones don’t fully dissolve. A systematic review found that seven out of eight studies were favorable regarding UDCA for pain relief in symptomatic gallstone disease.33PubMed Central. Ursodeoxycholic acid in the management of symptomatic gallstone disease: systematic review and clinician survey Still, the widespread adoption of laparoscopic cholecystectomy has pushed UDCA therapy to the margins in everyday clinical practice.

Diet, Weight Loss, and Prevention

Diet has a genuine influence on gallstone risk, though its effects are more about long-term patterns than any single meal. Diets high in refined sugars, fructose, saturated fat, and low in fiber are consistently associated with higher risk. On the protective side, high fiber intake, olive oil, fish (omega-3 fatty acids), vegetable protein, fruit, coffee, moderate alcohol, and vitamin C all seem to help.34PubMed Central. The Role of Diet in the Pathogenesis of Cholesterol Gallstones35PubMed. Diet as a risk factor for cholesterol gallstone disease Coffee, in particular, has shown up as a protective factor across multiple studies — a finding that often surprises people who associate it with digestive complaints.

Paradoxically, rapid weight loss is itself a major gallstone trigger. After bariatric surgery, the incidence of new gallstones spikes dramatically during the first year. A randomized double-blind trial found that patients who took UDCA (500 mg daily for six months) after gastric restrictive surgery developed gallstones at a rate of only 3% at one year, compared to 22% in the placebo group.36PubMed Central. Gallstone Formation Prophylaxis After Gastric Restrictive Procedures for Weight Loss: A Randomized Double-Blind Placebo-Controlled Trial Routine UDCA after bariatric surgery is now widely recommended, typically for at least the first three to six months of rapid weight loss.37PubMed Central. Prevention of Gallstones After Bariatric Surgery using Ursodeoxycholic Acid: A Narrative Review of Literatures Emerging research also suggests that probiotics and moderate dietary fat intake after bariatric surgery may help reduce gallstone formation.38PubMed Central. Gallstones after bariatric surgery: mechanisms and prophylaxis

Life After the Gallbladder Is Gone

Most people do well after cholecystectomy and return to eating normally within a few weeks. But a subset develop persistent diarrhea, sometimes called post-cholecystectomy diarrhea. Without the gallbladder to store and release bile in timed bursts, bile acids flow continuously into the intestine. When too much bile acid reaches the colon, it stimulates water and electrolyte secretion, resulting in loose stools.39PubMed Central. Diagnosis and treatment of post-cholecystectomy diarrhoea

Research into this problem has turned up interesting connections to the gut microbiome. Patients with post-cholecystectomy diarrhea show reduced microbial diversity, lower levels of beneficial bacteria like Bifidobacterium, and higher levels of certain potentially harmful bacteria. The balance between major bacterial groups shifts, and the microbiome’s capacity for lipid metabolism appears diminished.40PubMed Central. Changes in gut microbiota composition and diversity associated with post-cholecystectomy diarrhea Bile acid sequestrants (medications that bind excess bile acids) are the standard treatment for persistent cases, and probiotics are being explored as an additional approach.

The Gut Microbiome’s Role in Stone Formation

One of the more surprising research developments in recent years is the discovery that gut bacteria don’t just respond to gallstones — they may help cause them. Researchers found that certain bacteria called Desulfovibrionales were dramatically more abundant in the guts of gallstone patients, at levels roughly 42 times higher than in stone-free controls.41PubMed Central. Gastrointestinal microbiome and cholelithiasis: Current status and perspectives

To test whether this was a cause or just a correlation, researchers transplanted fecal material from gallstone patients into mice. The mice developed a higher prevalence of gallstones. The proposed mechanism is multistep: the gut bacteria alter bile acid metabolism in ways that make bile more cholesterol-saturated, increase intestinal cholesterol absorption, and ultimately promote more cholesterol being dumped into bile by the liver.42Nature Communications. Gut microbiota promotes cholesterol gallstone formation by modulating bile acid composition and biliary cholesterol secretion This line of research is still relatively young, but it opens the door to microbiome-targeted prevention strategies down the road.

Gallstones in Children

Cholelithiasis is overwhelmingly a disease of adults, but it does occur in children and adolescents, and the causes often differ. While obesity and metabolic factors are increasingly recognized in pediatric gallstones (mirroring trends in adult populations), a significant share of childhood cases are linked to hemolytic conditions like hereditary spherocytosis, use of certain medications like ceftriaxone, prolonged parenteral nutrition, and other comorbidities.43PubMed Central. The Etiology of Cholelithiasis in Children and Adolescents – A Literature Review

In one retrospective study of pediatric patients, no identifiable risk factor was found in half the cases. Family history of gallstones was present in about 17%, and ceftriaxone use accounted for about 9%. The study also found that stones were more likely to dissolve on their own in children diagnosed before age two, those with a single stone, and those with stones under 5 mm.44European Journal of Gastroenterology & Hepatology. Gallstones in childhood: etiology, clinical features, and prognosis This higher spontaneous resolution rate in young children makes the watchful waiting approach even more appropriate in pediatric cases, especially when stones are small and the child has no symptoms.

Why a Sluggish Gallbladder Matters More Than You’d Think

One underappreciated piece of the puzzle is gallbladder motility. Even if bile is only mildly supersaturated with cholesterol, a gallbladder that doesn’t empty properly gives crystals extra time to form and grow. Animal studies have demonstrated this convincingly: in mice lacking the hormone CCK (which normally triggers gallbladder contraction after meals), the prolonged residence time of cholesterol in the gallbladder led to rapid crystallization and precipitation of solid cholesterol crystals, even on a normal diet.45PubMed Central. Effect of gallbladder hypomotility on cholesterol crystallization and growth in CCK-deficient mice

This is one reason why conditions that impair gallbladder contraction — diabetes, pregnancy, prolonged fasting, certain medications, spinal cord injury, and very-low-calorie diets — are all associated with increased gallstone risk. It also helps explain why eating some fat at each meal (which triggers CCK release and gallbladder emptying) is actually protective. Skipping meals or extreme caloric restriction leaves bile sitting in a stagnant gallbladder, nudging the chemistry toward stone formation. The advice to include moderate fat in your diet after bariatric surgery isn’t just about nutrition; it’s about keeping the gallbladder active enough to prevent crystallization.