BackgroundPrior studies indicate a possible association between depression and cholecystectomy, but no study has compared the risk of post-operative depressive disorders (DD) after cholecystectomy. This retrospective follow-up study aimed to examine the relationship between cholecystectomy and the risk of DD in patients with gallstones in a population-based database.MethodsUsing ambulatory care data from the Longitudinal Health Insurance Database 2000, 6755 patients who received a first-time principal diagnosis of gallstones at the emergency room (ER) were identified. Among them, 1197 underwent cholecystectomy. Each patient was then individually followed-up for two years to identify those who were later diagnosed with DD. Cox proportional hazards regressions were performed to estimate the risk of developing DD between patients with gallstone who did and those who did not undergo cholecystectomy.ResultsOf 6755 patients with gallstones, 173 (2.56%) were diagnosed with DD during the two-year follow-up. Among patients who did and those who did not undergo cholecystectomy, 3.51% and 2.36% later developed depressive disorder, respectively. After adjusting for the patient’s sex, age and geographic location, the hazard ratio (HR) of DD within two years of gallstone diagnosis was 1.43 (95% CI, 1.02–2.04) for patients who underwent cholecystectomy compared to those who did not. Females, but not males, had a higher the adjusted HR of DD (1.61; 95% CI, 1.08–2.41) for patients who underwent cholecystectomy compared to those who did not.ConclusionsThere is an association between cholecystectomy and subsequent risk of DD among females, but not in males.