The postoperative delirium-like behavior, gut microbiota, levels of brain IL-6, PSD-95 and synaptophysin, and mitochondrial function were determined by a battery of behavioral tests, 16s rRNA sequencing, ELISA, Western blot and Seahorse XFp Extracellular Flux Analyzer. Here, IL6 is linked to delirium.