There is some evidence that coffee exerts its effect via caffeine, which stimulates gallbladder contractions. However further studies are needed to elucidate the exact effects of coffee on gallbladder function.
A 3×3 intervention trial – gallstone-free, non-symptomatic gallstones and symptomatic gallstones versus no coffee, decaffeinated coffee and regular coffee – testing for at least cholecystokinin* levels, gallbladder contraction and general symptoms, might help to further clarify the role of coffee and caffeine in gallbladder disease.