In summary, the current results showed that neuroinflammation and cognitive impairment after surgery are related to the activation of the P2X4/NLRP3 signaling pathway in the hippocampus, and inhibiting this pathway may be a promising method to prevent and treat PND. This evidence concerns the gene NLRP3 and Cognitive impairment.