Indoleamine 2,3-deoxygenase (IDO) plays an important role in the catabolism of the amino acid tryptophan. Tryptophan and its metabolites are key immune modulators. Increased IDO activity has been observed in various diseases and is associated with worse clinical outcomes. However, comprehensive research regarding its role in cardiac surgery remains limited. Therefore, we aimed to investigate perioperative changes in IDO activity and pathway metabolites, along with their impact on clinical outcomes in adult patients undergoing cardiac surgery. As an observational cohort study conducted at the Inselspital in Bern from January to December 2019, we retrospectively analyzed the data of prospectively collected biobank samples of patients undergoing cardiac surgery with the use of cardiopulmonary bypass. IDO pathway metabolite analysis was conducted by mass spectrometry. Perioperative dynamics were descriptively assessed and associated with pre-defined clinical outcome measures (30-day mortality, 1-year mortality, incidence of stroke and myocardial infarction, and length of hospital stay) through a multi-step exploratory regression analysis. A cohort of 192 adult patients undergoing cardiac surgery with the use of cardiopulmonary bypass were included (median age 67.0, IQR 60.0-73.0, 75.5% male). A significant perioperative decrease in the kynurenine/tryptophan (Kyn/Trp) ratio (-2.298, 95% CI -4.028 to -596, p = 0.009) and significant perioperative dynamics in the associated metabolites was observed. No association of perioperative changes in IDO activity and pathway metabolites with clinical outcomes was found. A significant decrease in the Kyn/Trp ratio among adult patients undergoing cardiac surgery indicates a perioperative downregulation of IDO, which stands in contrast to other pro-inflammatory conditions. Further studies are needed to investigate IDO in the setting of perioperative immunomodulation, which is a key driver of postoperative complications in cardiac surgery patients.