COVID-19 impacts technical success of endoscopic retrograde cholangiopancreatography (ERCP). In this study, we aimed to assess the influence of COVID-19 on hospitalizations that underwent ERCP. We identified all adult COVID-19 and non-COVID-19 hospitalizations that underwent ERCP in the United States using the National Inpatient Sample for 2020. Hospitalization characteristics, clinical outcomes, and complications were compared between the two groups. In 2020, 2015 COVID-19 and 203,094 non-COVID-19 hospitalizations underwent ERCP. The COVID-19 cohort had a higher mean age (60.3 vs 55.6years, p < 0.001) and a higher proportion of Blacks and Hispanics compared to the non-COVID-19 cohort. After adjusting for confounders, the COVID-19 cohort had higher all-cause inpatient mortality (4.77 vs 1.45%, aOR 4.09, 95% CI 2.50-6.69, p < 0.001), mean length of stay (LOS) [10.19 vs 5.94days, mean difference: 3.88, 95% CI 2.68-5.07, p < 0.001] and mean total hospital charges (THC) [$152,933 vs $96,398, mean difference: 46,367, 95% CI 21,776-70,957, p < 0.001] compared to the non-COVID-19 cohort. Increasing age, higher Charlson Comorbidity Index, and post-ERCP pancreatitis were identified to be independent predictors of inpatient mortality for COVID-19 hospitalizations that underwent ERCP. Furthermore, the COVID-19 cohort had higher odds of developing post-ERCP pancreatitis (PEP) (11.55 vs 7.05%, aOR 1.64, 95% CI 1.19-2.25, p = 0.002) compared to the non-COVID-19 cohort, after adjusting for confounders. However, there was no statistical difference in the rates of bowel perforations and post-ERCP hemorrhage between the two groups. COVID-19 hospitalizations that underwent ERCP had higher inpatient mortality, mean LOS, mean THC, and odds of developing PEP compared to the non-COVID-19 cohort. This study is not a part of a clinical trial.