Biliary colic, often called a gallbladder attack, is a bout of pain in the upper belly caused by a gallstone briefly blocking the outlet of the gallbladder. The pain often starts after a large or fatty meal, or during the night, and fades within a few hours once the stone shifts. It is a warning that gallstones are causing trouble. Pain that lasts longer, or comes with fever or yellow skin, may mean a more serious problem.
Key points
- The pain is steady and strong, usually in the upper right or middle of the belly. It may spread to the right shoulder blade or back.
- An attack usually lasts from 30 minutes to a few hours.
- Ultrasound is the main test for gallstones.
- After one attack, more are likely. Surgery to remove the gallbladder is the usual long-term fix.
- Pain lasting more than about 6 hours, fever, or yellow skin or eyes needs care right away.
What causes biliary colic
The gallbladder is a small pouch under the liver that stores bile, a fluid that helps digest fat. After you eat, especially a fatty meal, the gallbladder squeezes bile into a narrow tube that leads to the intestine. If a gallstone gets wedged in the gallbladder’s outlet, the gallbladder keeps squeezing against the blockage. That causes the pain. When the stone falls back or the gallbladder relaxes, the pain eases.
Gallstones are hard lumps that form from substances in bile, most often cholesterol. Many people have them and never feel a thing. Things that raise the risk include:
- Being female, especially during pregnancy or when taking estrogen
- Being over 40
- Having obesity
- Losing weight quickly, such as after weight-loss surgery or on a very low-calorie diet. Weight-loss medicines such as semaglutide have also been linked to gallstones.
- Family history of gallstones
- Diabetes, cirrhosis of the liver, and blood disorders such as sickle cell disease
- Native American or Mexican American heritage
Biliary colic symptoms
- Steady, often severe pain in the upper right or upper middle belly. Despite the name “colic,” it usually doesn’t come and go in waves.
- Pain that may spread to the back or the right shoulder blade
- Nausea and sometimes vomiting
- Restlessness. It is hard to find a comfortable position.
- Feeling well again once the attack passes, perhaps with some soreness
Attacks may happen days, weeks or months apart.
When gallstones cause more trouble
Biliary colic itself is not dangerous, but the same stones can lead to:
- Inflamed gallbladder (cholecystitis). The stone stays stuck, and pain lasts for hours or days, often with fever.
- Stone in the bile duct. A stone moves into the main bile duct and blocks bile from the liver. This causes yellow skin or eyes (jaundice), dark urine and pale stools. Infection here (cholangitis) is an emergency.
- Pancreatitis. A stone blocks the opening of the pancreas, causing severe pain that spreads to the back, with vomiting.
How it’s diagnosed
- Your story. The pattern of the pain often points to gallstones.
- Ultrasound. A handheld probe moved over the belly shows gallstones well. It is quick, painless and uses no radiation.
- Blood tests. These check liver tests, the pancreas and signs of infection. They are usually normal in simple biliary colic.
- Other scans. A HIDA scan, which tracks a small amount of tracer through the liver and gallbladder, can help when ultrasound is unclear. An MRI of the bile ducts (MRCP) looks for stones in the duct.
Biliary colic treatment
During an attack
Anti-inflammatory pain relievers such as ibuprofen, or stronger ones given by a doctor, often work well. Medicine for nausea helps too. Many attacks settle on their own. If you’ve been told you have gallstones, ask your doctor ahead of time what to take and when to come in.
Gallbladder removal
For people with symptoms, surgery to remove the gallbladder (cholecystectomy) is the usual treatment. It prevents more attacks and the complications above. It is almost always done by laparoscopy, through a few small cuts, using a camera. Many people go home the same day and return to most activities within a week or two.
You can live normally without a gallbladder. Bile flows straight from the liver into the intestine. Some people have loose stools after fatty meals for a while, which usually improves.
Without surgery
If surgery isn’t safe for you, a medicine called ursodiol can slowly dissolve small cholesterol stones over months to years. Stones often come back when it is stopped.
While you wait for surgery
No diet will dissolve gallstones. Smaller meals with less fat may make attacks less likely. Don’t skip meals and then eat a large one.
Lowering your risk of gallstones
- Keep a healthy weight, and lose extra weight slowly, about 1 to 2 pounds a week.
- Avoid crash diets and long fasts.
- Stay active.
- Eat plenty of fiber from vegetables, fruits and whole grains.
- If you’re having weight-loss surgery or losing weight fast, ask whether ursodiol makes sense for you.
When to see a doctor
See a doctor if you’ve had an attack of upper belly pain, even if it went away. Gallstones are easy to check for.
Get emergency care if you have:
- Belly pain that lasts more than 5 or 6 hours
- Fever or chills with belly pain
- Yellow skin or eyes, dark urine or pale stools
- Severe pain spreading to the back with vomiting
Common questions about biliary colic
What does biliary colic mean?
“Biliary” refers to bile and the gallbladder, and “colic” is pain from a hollow organ squeezing against a blockage. Older names include hepatic colic, liver colic and bilious colic, though the pain comes from the gallbladder, not the liver. Some people call it a biliary spasm. It has nothing to do with colic in babies.
Can you have biliary colic without gallstones?
Rarely. Thick bile (sludge) can block the gallbladder like a stone does. Some people have gallbladder-type pain with no stones because the gallbladder doesn’t empty well, which a HIDA scan can show. In both cases, removing the gallbladder may help if the attacks keep coming.
How can I tell biliary colic from other belly pain?
Biliary colic is usually a steady ache in the upper right or middle belly that starts after eating and lasts 30 minutes to a few hours. Heartburn, ulcers, pancreatitis and even heart problems can feel similar. Call 911 for chest pressure, shortness of breath or sweating with the pain.
Questions to ask your doctor
- Is my pain caused by gallstones?
- Do I need surgery, and how soon?
- What should I do if I have another attack?
- Should I change what I eat in the meantime?
- Will I have any digestive problems after my gallbladder is removed?
Learn more
- Gallstones (National Institute of Diabetes and Digestive and Kidney Diseases)
- Gallstones (MedlinePlus, U.S. National Library of Medicine)
This guide is general information and doesn’t replace advice from your own doctor. Last updated October 2026.



