BackgroundCytomegalovirus (CMV) colitis significantly complicates the course of inflammatory bowel disease (IBD), frequently leading to severe flare-ups and poor outcomes. The role of antiviral therapy in hospitalized IBD patients with CMV colitis is currently under debate. This retrospective analysis seeks to clarify the influence of antiviral treatment on these patients.MethodsWe retrospectively reviewed IBD patients diagnosed with CMV colitis via immunohistochemistry staining from colonic biopsies at a major tertiary center from January 2000 to May 2021. The study focused on patient demographics, clinical features, risk factors, prognostic indicators, and antiviral treatment outcomes.ResultsAmong 118 inpatients, 42 had CMV colitis. Risk factors included hypoalbuminemia and antibiotic use. IBD patients with CMV colitis receiving < 14 days of antiviral therapy had higher complication (72% vs. 43%, p = 0.028) and surgery rates (56% vs. 26%, p = 0.017) compared to those without CMV. Adequate antiviral therapy (≥ 14 days) significantly reduced complications in the CMV group (29% vs. 72%, p = 0.006), especially in Crohn’s disease (20% vs. 100%, p = 0.015). Independent predictors of IBD-related complications were CMV colitis (Odds Ratio [OR] 3.532, 90% Confidence Interval [CI] 1.012–12.331, p = 0.048), biological treatment failure (OR 4.953, 95% CI 1.91-12.842, p = 0.001), and adequate antiviral therapy (OR 0.108, 95% CI 0.023–0.512, p = 0.005).ConclusionCMV colitis and a history of biological treatment failure increase complication risks in IBD patients. Adequate antiviral therapy significantly mitigates these risks, highlighting its importance in managing IBD patients with CMV colitis.