My mother was fifty two when she had her gallbladder out, and for about a year before that we all thought she had a heart problem. The pain came at night, an hour or two after dinner, right under the breastbone and round to her back. She would sit upright in the kitchen until three in the morning because lying down made it worse. Two visits to A and E, one normal ECG, one referral that took months. When the ultrasound finally happened, the sonographer turned the screen round and showed her a gallbladder packed with stones, "like a bag of gravel", as she put it.

What stayed with me was the conversation afterwards. She asked the surgeon what she had done wrong. He was kind about it, but the honest answer was mostly nothing: she was a woman in her fifties with a family history, she had carried some extra weight since her forties, and she had lost a lot of it fast on a crash diet the year before. Three of the biggest risk factors, and only one of them was ever in her control. This article is for anyone who has just been told they have gallstones, or has a parent who did, and wants to know how to prevent gallstones with the evidence rather than the folklore.

Breakfast table with nuts, coffee, oats and water, the everyday foods linked with a lower gallstone risk
The foods with the best evidence for gallstone prevention are unglamorous and cheap.

How common are gallstones, and why most people never know

Gallstones are extraordinarily common. Around 10 to 15 percent of adults in the United States and Western Europe have them, which works out at more than 20 million Americans, and the figure rises with age until roughly a quarter of women over sixty are affected (Stinton and Shaffer, Gut and Liver, 2012). Most people never find out. About 80 percent of gallstones stay silent for life and are only discovered when a scan is done for something else.

Roughly 80 percent of gallstones in Western countries are cholesterol stones. Bile is meant to hold cholesterol in solution using bile salts and lecithin, and when it carries more cholesterol than it can keep dissolved, crystals form. Two other ingredients turn crystals into stones: a gallbladder that does not empty properly, so bile sits and concentrates, and a mucus rich environment that lets crystals clump. Prevention works on all three.

The other 20 percent are pigment stones, made mostly of bilirubin. These are linked to conditions that break down red blood cells quickly, to liver disease and to certain infections, and diet has far less influence over them. Everything below is about the cholesterol type, because that is the one your habits can change.

The risk factors you cannot change, and why they still matter

Medical students learn the "four Fs": female, forty, fertile and fat. It is a crude and slightly unkind mnemonic, but the epidemiology behind it is real. Women form gallstones at roughly twice the rate of men, partly because oestrogen raises the cholesterol content of bile and progesterone slows gallbladder emptying. Pregnancy does both at once, which is why stones and biliary sludge are found in up to 10 percent of women by the end of a pregnancy, although many dissolve again afterwards.

Genetics matter more than most people realise. Having a first degree relative with gallstones roughly doubles your risk, and twin studies suggest about a quarter of the variation in gallstone disease is inherited (Katsika et al., Hepatology, 2005). People of Hispanic and Native American heritage carry a particularly high risk, and the Pima community in Arizona has one of the highest rates ever recorded. Knowing this does not change what you eat, but it should change how seriously you take the parts you can influence.

Bar chart showing which habits lower gallstone risk, such as coffee, nuts and exercise, and which raise it, such as obesity and rapid weight loss
Approximate relative risks from large cohort studies. The green bars are the ones worth building your week around.

Body weight: the strongest modifiable risk factor

If there is one number to know, it is this: in the Nurses' Health Study, women with a BMI over 45 were about seven times more likely to develop symptomatic gallstones than women with a BMI under 24, and the risk climbed steadily at every step in between (Stampfer et al., American Journal of Clinical Nutrition, 1992). Obesity raises the amount of cholesterol the liver pumps into bile, and the insulin resistance that often travels with it slows gallbladder emptying.

Chart of gallstone relative risk rising from 1 at a BMI under 24 to about 7 at a BMI over 45
The relationship is close to a straight line. Every point of BMI counts.

If you do not know your BMI, our BMI calculator takes thirty seconds and also shows the lower thresholds that apply to people of South Asian, Chinese, Black African and Black Caribbean heritage, where metabolic risk starts at a BMI of 23 rather than 25. For gallstones specifically, the risk is driven by central fat and insulin resistance, so if your waist is more than half your height, treat that as a signal even if your BMI looks reasonable.

The trap: losing weight too fast causes gallstones

This is the part my mother wishes someone had told her. Rapid weight loss is one of the most reliable ways to form a gallstone. When you lose fat quickly, cholesterol floods out of tissue and into bile faster than bile salts can handle, and if you are eating very little fat the gallbladder barely contracts, so that supersaturated bile just sits there. In studies of very low calorie diets, between 10 and 25 percent of people formed new gallstones within eight to sixteen weeks, and after bariatric surgery the figure can exceed 30 percent without protection (Weinsier et al., American Journal of Medicine, 1995; Everhart, Annals of Internal Medicine, 1993).

Bar chart showing new gallstone formation rising from about 3 percent with slow weight loss to over 30 percent after bariatric surgery without ursodiol
Speed is the variable. Slow loss barely moves the needle; crash diets and surgery move it a lot.

Three practical rules follow from that evidence:

  • Aim to lose no more than 0.5 to 1 kg (1 to 2 lb) a week. Weinsier's group found that people losing more than 1.5 kg a week had a sharply higher stone rate.
  • Keep some fat in every meal, at least 7 to 10 grams. A small handful of nuts or a tablespoon of olive oil is enough to make the gallbladder empty properly. Very low fat crash diets are the worst of both worlds.
  • If you are having bariatric surgery or a medically supervised very low calorie diet, ask about ursodeoxycholic acid (ursodiol). A meta analysis of thirteen trials found it cut gallstone formation from about 28 percent to 8 percent during rapid weight loss (Stokes et al., Clinical Gastroenterology and Hepatology, 2014).

The same logic applies to the newer weight loss injections. Trials of GLP-1 medicines such as semaglutide show a modest rise in gallbladder problems, and most of it tracks the speed and amount of weight lost rather than the drug itself. If you are on one, the rules above still apply and the doses that produce very fast loss deserve a conversation with your prescriber.

What to eat to prevent gallstones: the foods with real evidence

Diet studies on gallstones are mostly large cohorts followed for decades rather than randomised trials, so hold the numbers loosely. That said, the same handful of foods keep showing up.

Coffee

In over 46,000 men followed for ten years, drinking two to three cups of caffeinated coffee a day was linked with a 40 percent lower risk of symptomatic gallstones, and four or more cups with a 45 percent lower risk. Decaffeinated coffee did nothing, which points to caffeine stimulating gallbladder contraction (Leitzmann et al., JAMA, 1999). A later study in women found the same pattern. If you already like coffee, this is welcome news. If you do not, it is not worth starting for.

Nuts

Women eating five or more one ounce servings of nuts a week had a 25 percent lower risk of gallbladder removal than women who rarely ate them, and the finding held in men (Tsai et al., American Journal of Clinical Nutrition, 2004). Nuts combine unsaturated fat, fibre and plant sterols, all of which help, and they are an easy way to put enough fat in a meal to make the gallbladder empty.

Fibre and vegetable protein

Higher intakes of insoluble fibre and of protein from plants rather than animals were each associated with roughly 15 to 20 percent lower gallstone risk in the Nurses' Health Study cohorts. Fibre speeds transit and reduces the amount of deoxycholic acid, a secondary bile acid that makes bile more likely to form crystals. Beans, lentils, oats and whole grains are the practical translation.

Unsaturated fat instead of saturated

Men with the highest intake of polyunsaturated and monounsaturated fats had about an 18 percent lower risk than those with the lowest, while long chain saturated fats went the other way (Tsai et al., Annals of Internal Medicine, 2004). Olive oil, rapeseed oil, oily fish and nuts in; pastry, fatty processed meat and fried food down.

Sugar and refined carbohydrate

A high glycaemic load diet was linked with a higher risk of gallbladder removal in women, independent of weight. Sugar raises insulin, insulin raises the cholesterol content of bile and slows the gallbladder. Sweets, sugary drinks and white bread are the ones to cut first.

Vitamin C

Vitamin C is a cofactor for the enzyme that converts cholesterol into bile acids. In a German population study, regular vitamin C supplement users had about half the prevalence of gallstones, and higher blood levels were protective in US survey data (Walcher et al., BMC Gastroenterology, 2009). The evidence is observational, so eat citrus, peppers and berries rather than buying megadoses.

For meal plans, food lists and the exercise routine that goes with them, see our companion piece on the gallstone diet and exercise plan.

Do not skip breakfast: meal timing and gallbladder emptying

A small but memorable study in the Lancet found that women with gallstones had fasted overnight for significantly longer than women without, and every extra hour of overnight fasting raised the odds (Capron et al., Lancet, 1981). The gallbladder only empties when food, especially fat, reaches the small intestine. Fourteen or more hours with no food means fourteen hours of bile concentrating in a full, still gallbladder.

This is worth knowing if you practise time restricted eating. Intermittent fasting is not off limits, but if you have a family history or existing sludge on ultrasound, a moderate window of ten to twelve hours with a proper breakfast containing some fat is a safer pattern than a daily eighteen hour fast.

Exercise: 30 minutes most days lowers risk by a third

Physical activity works independently of weight. In the Health Professionals Follow-up Study, men who exercised for 30 minutes five times a week had a 34 percent lower risk of symptomatic gallstones, and the effect held after adjusting for BMI. Sitting for more than 40 hours a week roughly doubled the risk compared with sitting for under 6 (Leitzmann et al., New England Journal of Medicine, 1998). In women, two to three hours of recreational activity a week cut the risk of gallbladder surgery by about 20 percent, and the more active women did better still (Leitzmann et al., NEJM, 1999).

Brisk walking counts. Exercise improves insulin sensitivity, lowers triglycerides and appears to improve gallbladder motility directly. It is also the only intervention on this list that helps with weight, mood and heart disease at the same time.

Medicines and hormones that raise gallstone risk

  • Menopausal hormone therapy. In the Women's Health Initiative trials, oral oestrogen raised the risk of gallbladder disease by about 60 percent (Cirillo et al., JAMA, 2005). Transdermal patches and gels appear to carry less risk because they bypass the liver. If you are on HRT and have other risk factors, that is a conversation worth having.
  • Fibrates (such as fenofibrate) for cholesterol raise the cholesterol content of bile.
  • Octreotide and long courses of ceftriaxone are well documented causes of sludge and stones.
  • Statins, on the other hand, were linked with a lower risk of gallstone surgery in a large UK database study, particularly with longer use (Bodmer et al., JAMA, 2009). Nobody should start a statin to prevent gallstones, but if you are already on one, it is a small bonus.

A realistic gallstone prevention plan

Here is what I would put on one side of paper for anyone with a family history, a recent scan showing sludge or small stones, or a BMI heading in the wrong direction.

PriorityWhat to doWhy
1If you need to lose weight, lose it at 0.5 to 1 kg a week, never fasterRapid loss is the single biggest avoidable trigger
2Move for 30 minutes on at least five daysAbout a third less risk, independent of weight
3Eat breakfast, and keep overnight fasts under 12 to 14 hoursEmpties the gallbladder before bile stagnates
4Put some unsaturated fat in every meal: nuts, olive oil, oily fishTriggers emptying; nuts alone cut risk about 25 percent
5Swap refined sugar and white starch for whole grains, beans and lentilsLower insulin, more fibre, less deoxycholic acid
6Keep the coffee if you drink itCaffeinated coffee lowers risk by up to 40 percent
7Review HRT, fibrates and crash diet plans with your doctorKnown, avoidable contributors

Notice what is not on the list: gallbladder flushes, apple cider vinegar, lemon juice cleanses and "liver detox" supplements. None of them have evidence, and the famous olive oil flush produces soft green lumps that are saponified oil, not stones. The Lancet published the chemical analysis to prove it (Sies and Brooker, Lancet, 2005).

What I would tell my mother's younger self

She did not do anything wrong. She had the genes, the hormones and the decade of life where stones form, and nobody warned her that the crash diet she was so proud of was quietly loading her gallbladder. If I could go back, I would tell her three things: lose the weight slowly, keep walking, and eat breakfast with a handful of almonds in it. Small, boring, sustainable. That is what the evidence supports, and it happens to be the advice that also protects your heart and your blood sugar.

If you already have symptoms, prevention alone may not be enough, and it helps to understand your options clearly before an appointment. Our guide on how to get rid of gallstones, with and without surgery covers what actually works.

Read next

Frequently asked questions

Can you prevent gallstones if they run in your family?

You can lower the odds meaningfully, though not to zero. Family history roughly doubles baseline risk, while regular exercise, keeping weight steady and eating nuts and fibre each trim 20 to 35 percent. Stacked together those habits offset a good deal of the inherited risk.

Does drinking water prevent gallstones?

Unlike kidney stones, there is no strong evidence that extra water prevents gallstones. Bile concentration depends on gallbladder emptying, not on how much water you drink. Staying hydrated is sensible for other reasons, but it is not a gallstone strategy.

Is a low fat diet good for preventing gallstones?

A very low fat diet can actually raise risk because the gallbladder stops emptying. The better target is moderate fat from unsaturated sources at each meal and less saturated and fried fat overall.

Do gallstones go away on their own?

Sludge and very small stones sometimes dissolve, especially after pregnancy or once rapid weight loss stops. Established stones rarely disappear without treatment, but most never cause symptoms either.

This article is for general information and does not replace advice from your own doctor. If you have severe abdominal pain, fever, yellowing of the skin or eyes, or pain lasting more than a few hours, seek medical care urgently.