Categorical variables were described as proportions and percentages. Continuous variables were described as mean and standard deviations. Categorical variables were compared using Chi-squared test and continuous variables using independent Student’s t-test. Multivariate logistic regression model was used to calculate the adjusted odds ratio (OR) and 95% confidence interval (CI) for in-hospital mortality and severity of IBD. Linear regression models were constructed to estimate the effect of CMV infection on length of hospital stay and total charges of IBD-related hospitalization. Multivariate models were adjusted for all the factors associated with CMV infection at a P value < 0.2 on the univariate analysis. Least square regression analysis was used for trend analysis of CMV infection over the years. SPSS 26 was used for statistical analysis.