Local pancreatic resection and enucleation have the advantage of preserving pancreatic parenchyma but pancreatic fistula often occurs postoperatively. We describe a case in which preoperative endoscopic pancreatic stenting prevented pancreatic fistula formation following local pancreatic resection. A pancreatic stent seems to prevent leakage from small pancreatic branch ducts not identified or ligated intraoperatively, via the pancreatic decompression effect. The present case demonstrates a novel indication for endoscopic pancreatic stenting.