Endoscopic treatment of infected pseudocysts and infected postacute pancreatic necrosis using transgastral retroperitoneal endoscopy with fluid and necrosis removal is a minimally invasive and effective procedure in patients with acute pancreatitis or acute exacerbation of chronic pancreatitis. However, the mortality rate of 6.6 % has to be taken into account.