Post-ERCP pancreatitis (PEP) is significantly influenced by the reflux of duodenal fluid. While gastrointestinal decompression represents a fundamental approach in acute pancreatitis management, the effectiveness of immediate duodenal decompression following ERCP to prevent PEP remains uncertain. This study aimed to investigate the impact of immediate duodenal decompression after ERCP on reducing the incidence of hyperamylasemia and PEP. This retrospective study encompassed patients with native papilla who underwent therapeutic ERCP for choledocholithiasis at the Department of Gastroenterology, Chun'an Branch of Zhejiang Provincial People's Hospital (Zhejiang, China) between January 2020 and June 2023. Based on the immediate placement of a duodenal decompression tube post-ERCP, patients were categorized into two groups: the duodenal decompression group and the conventional procedure group. Primary outcomes included the incidence of PEP and hyperamylasemia. A total of 195 patients were enrolled (94 in the duodenal decompression group and 101 in the conventional procedure group). Baseline clinical and procedural characteristics exhibited no significant differences between the two groups. PEP occurred in 2 patients (2.1%) in the duodenal decompression group, in contrast to 11 patients (10.9%) in the conventional procedure group (Risk difference [RD] 8.8%; 95% confidence interval [CI] 1.7%-16.5%, P = 0.014). Hyperamylasemia was observed in 8 patients (8.5%) in the duodenal decompression group, compared to 20 patients (19.8%) in the conventional procedure group (RD 11.3%; 95% CI 1.4%-21.0%; P = 0.025). Patients with PEP in both groups showed improvement after receiving active treatment. No severe cases of PEP occurred in either group, and no serious adverse events related to duodenal catheter decompression were reported. Immediate duodenal decompression following ERCP demonstrates an effective reduction in the incidence of hyperamylasemia and PEP.