Causes and Risk Factors of Gallstones

Although scientists aren't entirely sure why and how gallstones form, they seem to occur when your bile has too much cholesterol, too much bilirubin, not enough bile salts, or when your gallbladder is functioning abnormally. Some people are more likely to have risk factors for gallstones too, as age, obesity, certain diseases, and dieting are risk factors.

gallstones causes and risk factors
Illustration by Joshua Seong. © Verywell, 2018. 

Common Causes

Gallstones develop, perhaps obviously, in the gallbladder, a pear-shaped organ beneath the liver on the right side of the abdomen. The gallbladder is about 3 inches long and 1 inch wide at its thickest part, and it stores and releases bile into the intestine to aid digestion.

Bile is a fluid made by the liver that helps in digestion. Bile contains substances called bile salts that act like natural detergents to break down fats in the food we eat. As food passes from the stomach into the small intestine, the gallbladder releases bile into the bile ducts. These ducts, or tubes, run from the liver to the intestine. Bile also helps eliminate excess cholesterol from the body. The liver secretes cholesterol into the bile, which is then eliminated from the body via the digestive system.

Most researchers believe at least one of four conditions is necessary to form gallstones:

  1. Excess cholesterol in your bile: Bile becomes supersaturated with cholesterol, which means it contains more cholesterol than your bile can dissolve. This can result in the cholesterol crystallizing and eventually turning into stones.
  2. Excess bilirubin in your bile: There are certain health conditions that can lead to too much bilirubin in your bile, including liver cirrhosis, specific genetic blood disorders, and infection in your biliary tract. Too much bilirubin can lead to pigment gallstones.
  3. Too few bile salts in your bile: This can result in gallstones either because you don't have enough bile salts to break down the cholesterol in your bile or as a result of having too much cholesterol in your bile for the bile salts to dissolve.
  4. Abnormal gallbladder functioning: The gallbladder doesn't contract enough to empty its bile regularly or fully, which can result in your bile becoming concentrated.


If you have a family history of gallstones, your chances of developing them are greater.

However, multiple studies have shown that genes only make up about 25% of the overall risk for developing gallstones.

If you're Native American, there may be a genetic predisposition to secrete higher levels of cholesterol in your bile.

Lifestyle Risk Factors

There are a number of lifestyle risk factors that may contribute to gallstones, including obesity, rapid weight loss, and dieting.


Obesity is a strong risk factor for gallstones. Scientists often use a mathematical formula called body mass index (BMI) to define obesity (BMI = weight in kilograms divided by height in meters squared). The more obese you are, the greater your risk of developing gallstones.

Several studies have shown that women with a high BMI are almost three times as likely to develop gallstones as women with a healthy BMI.

Why obesity is a risk factor for gallstones is unclear, but researchers have found that people who have obesity may have higher levels of cholesterol in their bile, which can cause gallstones. People who have obesity may also have large gallbladders that do not work well.

Body Mass Index (BMI) is a dated, flawed measure. It does not take into account factors such as body composition, ethnicity, sex, race, and age. 
Even though it is a biased measure, BMI is still widely used in the medical community because it’s an inexpensive and quick way to analyze a person’s potential health status and outcomes.

Losing Weight Rapidly

People who lose a lot of weight rapidly are at greater risk of developing gallstones. In fact, gallstones are one of the most medically important complications of voluntary weight loss. The relationship of dieting to gallstones has only recently received attention.

Studies have also shown that obese people develop gallstones while on a very low-calorie diet.

Very low-calorie diets are usually defined as those containing 800 calories a day, often composed of food that is in liquid form and taken for a prolonged period, typically 12 to 16 weeks.

The gallstones that develop in people on very low-calorie diets are usually silent and don't produce any symptoms. However, one study found that people on very-low-calorie diets may be at increased risk of developing gallstones that require hospitalization or cholecystectomy (surgical removal of the gallbladder).

Gallstones are also common among obese patients who lose weight rapidly after gastric bypass surgery, in which the size of the stomach is reduced, preventing the person from overeating. Gallstones are most likely to occur within the first few months after surgery.


Researchers believe dieting may cause a shift in the balance of bile salts and cholesterol in the gallbladder. The cholesterol level is increased and the amount of bile salts is decreased. Going for long periods without eating (skipping breakfast, for example), a common practice among people on a diet, may also decrease gallbladder contractions. If the gallbladder does not contract often enough to empty out the bile, gallstones may form.

If substantial or rapid weight loss increases the risk of developing gallstones, more gradual weight loss would seem to lessen the risk of getting gallstones. However, studies are needed to test this theory.

Some very-low-calorie diets may not contain enough fat to cause the gallbladder to contract enough to empty its bile.

A meal or snack containing approximately 10 grams (one-third of an ounce) of fat is necessary for the gallbladder to contract normally.

But again, no studies have directly linked a diet's nutrient composition to the risk of gallstones.

Also, no studies have been conducted on the effects of repeated dieting on gallstone formation, through a pattern of repeatedly losing and gaining weight has been shown to possibly increase your chances of developing gallstones.

Other Lifestyle Factors

Other lifestyle factors that may increase your chances of developing gallstones include:

  • A diet that's high in fat, high in cholesterol, and/or low in fiber
  • Not getting enough exercise
  • Fasting, which slows down your gallbladder's movement, allowing cholesterol to collect

Other Risk Factors

Other risk factors for gallstones include:

  • Age 40 or over
  • Gender (women are at higher risk than men)
  • Ethnicity, especially Native American and Mexican American
  • High triglyceride levels
  • Low high-density lipoprotein (HDL) cholesterol
  • Taking cholesterol-lowering drugs
  • Diabetes
  • Crohn's disease in the terminal ileum
  • High estrogen levels from pregnancy, hormone replacement therapy, or birth control pills
  • Liver disease
  • Bile duct infection
  • Cirrhosis
  • Anemia

When Gallstones Are an Emergency

Gallstones can lead to serious complications. Some symptoms that you should discuss with your healthcare provider immediately include gallbladder attacks that are accompanied by sweating, chills, fever, jaundice or clay-colored stools. If you have severe abdominal pain accompanied by vomiting or diarrhea, you should seek medical attention immediately.

Frequently Asked Questions

  • What are the types of gallstones?

    There are three types of gallstones:

    • Cholesterol gallstones, which form when bile contains excess cholesterol
    • Black pigment gallstones, which are small, hard structures composed of calcium bilirubinate and inorganic salts
    • Brown pigment gallstones, which are soft and greasy and consist of bilirubinate and fatty acids
  • What foods can trigger a gallbladder attack?

    Virtually any food or beverage can bring on a gallbladder attack, also known as biliary colic, although heavy meals and foods high in saturated fat, such as fried foods or greasy pizza, are most often involved.

  • Can you have gallstones without knowing it?

    Yes. In fact, around 80% of the time a person can have gallstones—clinically known as cholelithiasis—without experiencing symptoms. Although gallstones don't tend to go away once they form, they don't necessarily cause problems.

6 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Gallstones.

  2. Stinton LM, Shaffer EA. Epidemiology of gallbladder disease: cholelithiasis and cancer. Gut Liver. 2012;6(2):172-87. doi:10.5009/gnl.2012.6.2.172

  3. Johns Hopkins Medicine. Gallstones.

  4. National Institute of Diabetes and Digestive and Kidney Diseases. Dieting & Gallstones.

  5. Johansson K, Sundström J, Marcus C, Hemmingsson E, Neovius M. Risk of symptomatic gallstones and cholecystectomy after a very-low-calorie diet or low-calorie diet in a commercial weight loss program: 1-year matched cohort study. Int J Obes (Lond). 2014;38(2):279-84. doi:10.1038/ijo.2013.83

  6. Merck Manual. Professional Version. Cholelithiasis.

Additional Reading

By Tracee Cornforth
Tracee Cornforth is a freelance writer who covers menstruation, menstrual disorders, and other women's health issues.