In summary, this study suggested that intermittent sleep disturbance before surgery exacerbated microglial activation, neuroinflammation, and microglial BDNF-TrkB signalling dysfunction induced by surgery, resulting in postoperative emotional changes and cognitive impairments of aged rats. The gene discussed is NTRK2; the disease is Cognitive impairment.