BackgroundPreoperative anemia is a frequent complication in pancreatic surgical patients, and it adversely affects morbidity, mortality, and postoperative red blood cell (RBC) transfusion rates. Iron deficiency (ID) is often the underlying cause of anemia and constitutes a modifiable risk factor.MethodsSingle-center, longitudinal prospective cohort study conducted between May 2019 and August 2022 at the University Medical Center Groningen in the Netherlands. Patients scheduled for pancreatic surgery were referred to the outpatient prehabilitation clinic for preoperative optimization of patient-related risk factors. Patients were screened for anemia (< 12.0 g/dL in women and < 13.0 g/dL in men) and ID (either absolute [ferritin < 30 µg/L] or functional [ferritin ≥ 30 µg/L + transferrin saturation < 20% + C-reactive protein > 5 mg/L]). Intravenous iron supplementation (IVIS) (1,000 mg ferric carboxymaltose) was administered to patients with ID at the discretion of the consulting internist. Pre- and postoperative hemoglobin (Hb) levels were assessed, and perioperative outcomes were compared between patients receiving IVIS (IVIS-group) or standard care (SC-group).ResultsFrom 164 screened patients, preoperative anemia was observed in 55 (33.5%) patients, and in 23 (41.8%) of these patients, ID was the underlying cause. In 21 patients, ID was present without concomitant anemia. Preoperative IVIS was administered to 25 patients, out of 44 patients with ID. Initial differences in mean Hb levels (g/dL) between the IVIS-group and SC-group at the outpatient clinic and one day prior to surgery (10.8 versus 13.2,p< 0.001, and 11.8 versus 13.4,p< 0.001, respectively) did not exist at discharge (10.6 versus 11.1,p= 0.13). Preoperative IVIS led to a significant increase in mean Hb levels (from 10.8 to 11.8,p= 0.03). Fewer SSI were observed in the IVIS-group (4% versus 25.9% in the SC-group,p= 0.02), which remained significant in multivariable regression analysis (OR 7.01 (1.68 – 49.75),p= 0.02).ConclusionID is prevalent in patients scheduled for pancreatic surgery and is amendable to preoperative correction. Preoperative IVIS increased Hb levels effectively and reduced postoperative SSI. Screening and correction of ID is an important element of preoperative care and should be a standard item in daily prehabilitation practice.Supplementary InformationThe online version contains supplementary material available at 10.1186/s13741-023-00323-1.