BackgroundPsychiatric disorders (PDs) are common among patients with inflammatory bowel disease (IBD). Brain-gut dysfunction and psychotropic medications may have adverse effects on postoperative outcomes in patients with IBD. This study aimed to evaluate the association between PD and outcomes after surgery for IBD. MethodsThis was a retrospective study of adult patients with IBD who underwent small bowel, colon, or rectal resection in the 2016 to 2021 Nationwide Readmissions Database. PDs, including psychotic, mood, anxiety, eating, sleep, personality, and childhood-onset behavioral disorders, were identified. Records about colorectal cancer were excluded. Multivariate regressions were used to examine the association of PD with outcomes. ResultsOf 81,955 patients included in the study, 21,800 (26.6%) had PDs. On risk adjustment, PD was associated with significantly increased postoperative ileus (adjusted odds ratio [AOR], 1.11; 95% CI, 1.03–1.19), length of stay (β, +1.4 days; 95% CI, 1.1–1.7), and costs (β, +$2100; 95% CI, $1200-$3100) compared with no PD. In addition, patients with PDs experienced increased odds of nonhome discharge (AOR, 1.23; 95% CI, 1.12–1.34) and 30-day readmission (AOR, 1.32; 95% CI, 1.22–1.43). Over the study period, the prevalence of PDs significantly increased from 24.3% to 28.5% (P < .001), along with an increase in the rates of ileus among patients with PDs (8.1%−15.8%; P < .001). ConclusionPD is associated with a significantly greater burden of adverse clinical and financial outcomes after IBD operations. Given the growing prevalence of mental health conditions among patients with IBD, further efforts to optimize preoperative psychiatric care may enhance the quality of colorectal surgery.