Whether ERCP choledochotomy can treat chronic pancreatitis depends on the cause of chronic pancreatitis, for example, chronic pancreatitis caused by choledochal disease and duodenal sphincter disorder can be treated by ERCP. If chronic pancreatitis is combined with choledocholithiasis, cholangitis, bile duct stenosis, pancreatic duct stones, pancreatic duct stenosis, etc. can be treated by ERCP choledochotomy. For some chronic pancreatitis caused by duodenal sphincter dysfunction, sphincterotomy can be performed under ERCP to reduce the pressure of the pancreatic duct, and the chronic pancreatitis can be treated. ERCP choledochotomy is mainly through the duodenoscope, from the mouth to reach the esophagus, to reach the stomach, and then to reach the duodenum, to find the opening of the lower end of the choledochotomy jugular abdominal, injection of contrast medium and then X-ray film to show the pancreaticobiliary ducts, which can confirm the specific location of the choledochotomy stones, and carry out the corresponding treatments, such as lithotripsy, dilatation of the pancreaticobiliary ducts, and duodenal sphincter dissection, and so on. It is recommended that the specific cause of the formation of chronic pancreatitis should be clarified, and the doctor should make the appropriate treatment plan according to the cause of the disease.