To investigate the molecular mechanism of Xingnao Kaiqiao Pill in the treatment of perioperative neurocognitive disorder (PND) from the perspective of network pharmacology and molecular docking technology. Active ingredients of Xingnao Kaiqiao Pill were screened from the traditional Chinese medicine database and analysis platform, and the putative targets were predicted. The GeneCards database was searched to obtain PND-related targets. The genes corresponding to the targets were searched and annotated on the UniProt database. The VennDiagram package in R was employed to obtain common target genes. The overlap genes were introduced into STRING to obtain a protein-protein interaction (PPI) network; thus, key targets were screened. The target relationship network of “Xingnao Kaiqiao Pill–traditional Chinese medicine–compound–common target” was constructed by Cytoscape software. Using R language package Bioconductor, Gene Ontology (GO) and pathway enrichment analysis (Kyoto Encyclopedia of Genes and Genomes Pathway, KEGG Pathway) were performed on the common target genes. A total of 45 active ingredients of Xingnao Kaiqiao Pill were screened, with 182 potential targets, and 1,579 PND-related targets were retrieved from the GeneCards databases (Score ≥ 1). Using VennDiagram, 132 overlap genes were gotten. Xingnao Kaiqiao Pill mainly acted on targets, such as MAPK and JUN. GO enrichment analysis displayed G protein-coupled amine receptor activity, nuclear receptor activity, ligand-activated transcription factor activity, G protein-coupled neurotransmitter receptor activity, steroid hormone receptor activity, and cytokine receptor activity. KEGG enrichment analysis exhibited 157 signaling pathways. The regulation of interleukin 17, tumor necrosis factor, hypoxia-inducible factor-1, and MAPK signaling pathways affected central nervous system (CNS) inflammatory response, cellular immunity, tumor-related signaling pathways, protected neurons, and inhibited PND. The active ingredients of Xingnao Kaiqiao Pill adjust interleukin 17, tumor necrosis factor, hypoxia-inducible factor-1, and MAPK signaling pathways by acting on cell targets, such as JUN, MAPK, AKT1, etc., and finally exert a therapeutic effect on PND.