A collection of chronic central motor, postural, and activity restriction symptoms are referred to as cerebral palsy (CP). Previous research suggests that a number of perinatal variables, including hypoxia, may be linked to CP. And the pathophysiological process that causes brain injury in growing fetuses is mostly caused by amniotic fluid infection and intra-amniotic inflammation. Still, there is still much to learn about the molecular mechanism of CP. The goal of this study was to identify the molecular mechanism of Liuwei Dihuang pill (LWDHP) in the treatment of CP using network pharmacology and bioinformatics. The Chinese medicine database provided the LWDHP components and targets, the CP illness gene data set was gathered from a disease, and the expression profile of children with CP was chosen from anther database. Using the Kyoto Encyclopedia of Genes and Genomes and gene ontology databases, a network of interactions between proteins was created, and functional enrichment analysis was carried out. Analysis of traditional Chinese medicine found that the key active ingredients of LWDHP are quercetin, Stigmasterol and kaempferol. Through enrichment analysis, it was found that the hub genes for LWDHP treatment of CP are CXCL8, MMP9, EGF, PTGS2, SPP1, BCL2L1, MMP1, and AR. K EGG analysis found that LWDHP treatment of CP mainly regulates PI3K-Akt signaling pathway, IL-17 signaling pathway, Jak-STAT signaling pathway, NF-kappa B signaling pathway, etc. To summarize, LWDHP regulates immunological and inflammatory variables through a variety of components, targets, and signaling pathways, which plays a significant role in the development and management of CP.