Choledocholithiasis means a gallstone is stuck in the common bile duct, the main tube that carries bile from your liver to your intestine. Cholecystitis means the gallbladder itself is inflamed, usually because a stone is blocking its outlet. It is the same kind of stone in two different places, and where it gets stuck decides your symptoms, your tests, and who treats you.
The two can also happen at the same time. This is how I explain the difference in the exam room.
Part 1 is for patients. Part 2 is for medical students and residents.
Part 1: Same stone, two different places
Follow the stone
Pick where the stone goes, or press Play all to see the five steps. You will hear me explain each one. Steps 3 and 4 are the two problems in this post.

Step 1
Stones form
Read the whole script
Bile is mostly water, mixed with cholesterol and bile salts. When there is more cholesterol than the bile salts can hold, or the gallbladder does not empty well, tiny crystals can form. Over time, these tiny crystals grow into stones. Having stones is not by itself a reason to take out the gallbladder. The time to talk about surgery is when those stones start causing trouble.
Stones can cause several problems. The first is what I most commonly see, where a stone gets caught in the neck of the gallbladder, and when the gallbladder squeezes against that stone, you can often feel pain, especially after a fatty meal. If that stone falls back into the gallbladder, the pain goes away. This is called biliary colic.
However, if that stone stays stuck in the neck of the gallbladder, inflammation can occur, and sometimes infection can result. This is called cholecystitis.
Sometimes a stone can leave the gallbladder and get stuck in the common bile duct. This can cause pain and because bile backs up, it can turn your skin and the whites of your eyes yellow. This is called choledocholithiasis, or a stone in the duct. If the bile in the duct becomes infected, this is called cholangitis, and this requires prompt surgical and medical evaluation.
Sometimes this stone travels down to where the bile duct and the pancreatic duct meet. It can block the pancreas from draining and the pancreas becomes inflamed. This is called biliary pancreatitis or gallstone pancreatitis.
Where do the gallbladder and the bile duct sit?
Your gallbladder is a small pouch under your liver on the upper right side of your abdomen. It stores bile, the fluid that helps you digest fat. When you eat, the gallbladder squeezes bile out through a short tube called the cystic duct (the gallbladder's outlet).
The cystic duct joins with the common hepatic duct to form the common bile duct (CBD). The CBD is the main pipe that brings bile from the liver and gallbladder into the small intestine.
What is cholecystitis?
In cholecystitis, a stone plugs the cystic duct and stays there. Bile is trapped inside the gallbladder, the gallbladder swells, and its wall becomes inflamed (Figure 1). Gallstones cause about 95% of cases.¹

What is choledocholithiasis?
In choledocholithiasis, a stone slips out of the gallbladder, travels through the cystic duct, and lodges in the common bile duct. Now bile from the liver cannot drain into the intestine (Figure 2). Stones in the common bile duct turn up in about 10% to 20% of people who have gallstones.²

How do the symptoms of cholecystitis and choledocholithiasis differ?
Cholecystitis usually starts like a gallbladder attack: pain under the right ribs or in the upper abdomen. The difference is that it does not let up after a few hours. Many people run a fever. The area under the right ribs is tender, and some people catch their breath when a doctor presses there.¹
Choledocholithiasis can cause the same kind of pain. The clue is that bile is backing up:
- yellow skin or yellow whites of the eyes (jaundice)
- dark, tea-colored urine
- pale or clay-colored stools
- liver blood tests that come back high
Some bile duct stones cause no symptoms, and about one in three pass into the intestine on their own.² The ones that stay are the ones that cause trouble.
How do cholecystitis and choledocholithiasis compare side by side?
| Cholecystitis | Choledocholithiasis | |
|---|---|---|
| Where the stone is | Cystic duct (gallbladder outlet) | Common bile duct (main bile pipe) |
| What is affected | Gallbladder wall is inflamed | Bile from the liver cannot drain |
| Typical signs | Steady right-sided pain for hours, fever, tenderness | Pain plus yellow skin or eyes, dark urine, pale stools |
| Key test | Ultrasound | Liver blood tests, ultrasound, then MRCP or endoscopic ultrasound if needed |
| Main treatment | Remove the gallbladder | Clear the duct (usually ERCP), then remove the gallbladder |
Why is a gallstone in the bile duct dangerous?
A stone that stays in the common bile duct can cause two serious problems. If bacteria grow in the trapped bile, the result is cholangitis, an infection of the bile duct. That happens in about 6% to 9% of people with bile duct stones.² A stone at the lower end of the duct can also set off gallstone pancreatitis. I cover both in Cholangitis vs. Cholecystitis and Gallstone Pancreatitis.
Can you have cholecystitis and choledocholithiasis at the same time?
Yes. About 13% of people who come in with cholecystitis also have a stone in the common bile duct.² That is why we check liver blood tests and the width of the bile duct in everyone with cholecystitis, not only in patients who look yellow.
How do doctors tell cholecystitis from choledocholithiasis?
- Ultrasound is the first test. In cholecystitis it shows stones plus a thickened gallbladder wall (more than 3 mm), fluid around the gallbladder, and pain when the probe presses on it (Figure 3).³
- Liver blood tests rise when bile cannot drain.
- A widened bile duct on ultrasound points toward a stone in the duct.
- MRCP (a special MRI of the bile ducts) or endoscopic ultrasound (a thin camera with an ultrasound tip, passed through the mouth) can confirm a duct stone when the picture is unclear.⁴

National guidelines from the American Society for Gastrointestinal Endoscopy sort patients by how likely they are to have a duct stone. A stone seen on imaging, a bilirubin above 4 mg/dL with a widened duct, or signs of a bile duct infection put someone in the high-risk group that goes straight to stone removal.⁴
How are cholecystitis and choledocholithiasis treated?
Cholecystitis: antibiotics and IV fluids start right away, and the gallbladder comes out (cholecystectomy). For most people that surgery happens during the same hospital stay.¹
Choledocholithiasis: the duct is cleared first, usually with ERCP. A GI specialist passes a flexible scope through the mouth into the small intestine, opens the end of the bile duct, and sweeps the stone out.² ERCP works well, but it is a procedure with its own risks: complications happen in 6% to 15% of cases.⁴
Some surgeons can remove the stone from the duct during the gallbladder operation, so ERCP may not be necessary.⁴ Whether that is an option depends on your surgeon and your hospital. Either way, the gallbladder comes out.
Your own care: these are the usual treatments. Reading this does not make you my patient or create a doctor-patient relationship. Talk with your own doctor or surgeon about what is right for you.
Why does the gallbladder still come out after the bile duct is cleared?
Clearing the duct removes the stone that is blocking it. It does not remove the source. That stone came from the gallbladder. If more stones are inside, they can drop into the duct next. If it was the only stone, the gallbladder can make new ones. Either way, the same problem can come back. That is why, when a GI specialist clears the duct first, the gallbladder should still come out.
When should I go to the emergency department for gallbladder pain?
- If the pain comes and goes, call your doctor or surgeon for advice.
- If the pain does not go away, call your doctor or surgeon, and go to the emergency department.
- If you have fever or chills, yellow eyes or skin, or cannot keep anything down, call your doctor or surgeon, and go to the emergency department.
Check yourself
Three quick questions
Tap an answer to see if you are right.
1. A stone stuck in the gallbladder's outlet, and staying there, causes which one?
Answer: The outlet is the cystic duct. A stone that stays there inflames the gallbladder. More in Acute Cholecystitis.
2. Which sign points to a stone in the main bile duct?
Answer: When the main bile duct is blocked, bile backs up into the blood and turns the skin and eyes yellow.
3. About how many people with cholecystitis also have a stone in the bile duct?
Answer: About 13%, which is why the bile duct gets checked in everyone with cholecystitis.
Part 2: Resident Pearls
1. About 13% of patients with acute cholecystitis also have a common bile duct stone. Check liver tests and duct diameter in every patient with cholecystitis, jaundiced or not.²
2. ASGE 2019 sends high-risk patients straight to ERCP. High risk: a CBD stone on ultrasound or cross-sectional imaging; total bilirubin above 4 mg/dL with a dilated CBD; or ascending cholangitis.⁴
3. Intermediate-risk patients get confirmation before ERCP. Abnormal liver tests, age over 55, or a dilated CBD on ultrasound: EUS, MRCP, laparoscopic intraoperative cholangiography, or laparoscopic intraoperative ultrasound.⁴ About one-third of CBD stones pass spontaneously,² and ERCP carries a 6% to 15% adverse event rate.⁴
4. TG18 kept the TG13 diagnostic criteria and severity grades for acute cholecystitis without changes. Validation studies supported them.⁶
References
1. Jones MW, Santos G, Patel PJ. Acute Cholecystitis. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing. Updated July 6, 2025. https://www.ncbi.nlm.nih.gov/books/NBK459171/
2. LaGattuta N, Puri R, St Hill CR. Choledocholithiasis. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing. Updated September 8, 2026. https://www.ncbi.nlm.nih.gov/books/NBK441961/
3. Jones MW, Weir CB, Marietta M. Gallstones (Cholelithiasis). In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing. Updated June 19, 2026. https://www.ncbi.nlm.nih.gov/books/NBK459370/
4. ASGE Standards of Practice Committee; 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. https://pubmed.ncbi.nlm.nih.gov/30979521/
5. Murphy MC, Gibney B, Gillespie C, Hynes J, Bolster F. Gallstones top to toe: what the radiologist needs to know. Insights into Imaging. 2020;11(1):13. https://doi.org/10.1186/s13244-019-0825-4
6. 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. https://pubmed.ncbi.nlm.nih.gov/29032636/