Gallstone-related disorders are common and costly, but preventive measures are largely unexplored. Lifestyle risk factors include physical activity, obesity/overweight, and diet. Increasing consumption of magnesium appears to decrease the risk of symptomatic gallstones in men, although the underlying mechanisms remain unclear. Understanding the role of a healthy diet in gallstone-related diseases, including a diet high in magnesium, may lead to new preventive measures.