In the present study, remimazolam ameliorated systemic inflammation and neuroinflammation (via vagus nerve target α7nAChR), activated Nrf2/HO-1 signaling pathway, inhibited M1 microglial activation, and reversed sepsis-induced cognitive dysfunction. This evidence concerns the gene HMOX1 and Sepsis.