Background: Perioperative glycemic status after pancreatic surgery has never been described. However, it's essential for optimal perioperative glucose management and understanding the pathogenesis of new-onset diabetes mellitus (NODM) after pancreatectomy. Continuous glucose monitoring (CGM) system provides us a helpful tool for closely monitoring and studying perioperative glucose change. This study tried to describe and compare perioperative glucose level and glycemic variability between different types of pancreatic surgeries via CGM device.Methods: This study was designed as a prospective observational study. Eighteen patients were enrolled and were grouped by different types of surgery received: control group (CTRL), pancreaticoduodenectomy (PD), distal pancreatectomy (DP), and total pancreatectomy (TP). CGM devices were implanted and initiated right after the surgery. Mean glucose value (MGV), coefficient of variation (CV), mean of daily difference (MODD), continuous overall net glycemic action (CONGA), and time above range (TAR)/time below range (TBR) was compared between groups to assess glucose level and glycemic variability.Results: TP showed the highest MGV and CV among all groups (P<0.001), while CTRL showed the lowest (P<0.001). PD and DP had similar MGV and CV lower than TP but higher than CTRL (P<0.001).TP had the highest MODD and CONGA, CTRL had the lowest, but no significant differences were found between groups. TP had the highest TAR (24.29%) and the lowest TBR (1.28%), while the control group showed the opposite. The differences in TAR/TBR between groups were all significant (P<0.05).Conclusions: TP had the highest mean glucose level and the greatest glycemic variability. PD and DP had similar results: a higher mean glucose level than control but lower than TP. For glycemic variability, PD and DP seemed to have a near-normal result resembling the control group. CGM is useful for glucose monitoring in the perioperative management of pancreatic surgery.