The progress of endoscopic diagnosis and treatment for inflammatory diseases of the biliary tract and pancreas have been remarkable. Endoscopic ultrasonography (EUS) and EUS-elastography are used for the diagnosis of early chronic pancreatitis and evaluation of endocrine and exocrine function in chronic pancreatitis. Notably, extracorporeal shock wave lithotripsy and electrohydraulic shock wave lithotripsy have improved the endoscopic stone removal rate in patients for whom pancreatic stone removal is difficult. Studies have reported the use of self-expanding metal stents for stent placement for pancreatic duct stenosis and EUS-guided pancreatic drainage for refractory pancreatic duct strictures. Furthermore, EUS-guided drainage using a double-pigtailed plastic stent has been performed for the management of symptomatic pancreatic fluid collection after acute pancreatitis. Recently, lumen-apposing metal stents have led to advances in the treatment of walled-off necrosis after acute pancreatitis. EUS-guided biliary drainage is an alternative to refractory endoscopic biliary drainage and percutaneous transhepatic biliary drainage for the treatment of acute cholangitis. The placement of an inside stent followed by switching to uncovered self-expanding metal stents in difficult-to-treat cases has been proposed for acute cholangitis by malignant biliary obstruction. Endoscopic transpapillary gallbladder drainage is an alternative to percutaneous transhepatic gallbladder drainage for severe and some cases of moderate acute cholecystitis. EUS-guided gallbladder drainage has been reported as an alternative to percutaneous transhepatic gallbladder drainage and endoscopic transpapillary gallbladder drainage. However, it is important to understand the advantages and disadvantages of each drainage method and select the optimal drainage method for each case.