Spinal cord injury (SCI) is characterized by high rates of disability and death. Valeriana jatamansi Jones (VJJ), a Chinese herbal medicine, has been identified to improve motor function recovery in rats with SCI. The study aimed to analyze the potential molecular mechanisms of action of VJJ in the treatment of SCI. The main ingredients of VJJ were obtained from the literature and the SwissADME platform was used to screen the active ingredients. The Swiss TargetPrediction platform was used to predict the targets of VJJ, and the targets of SCI were obtained from the GeneCards and OMIM databases. The intersecting genes were considered potential targets of VJJ in SCI. The protein–protein interaction network was constructed using the STRING database and the hub genes of VJJ for SCI treatment were screened according to their degree values. Gene ontology (GO) and Kyoto Encyclopedia of Genes and Genomes enrichment analyses were performed using the Metascape database. Cytoscape software was used to construct the “herb-ingredient-target-pathway” network. Preliminary validation was performed using molecular docking via Auto Dock Vina software. A total of 56 active ingredients of VJJ, mainly iridoids, were identified. There were 1493 GO items ( P < .01) and 173 signaling pathways ( P < .01) obtained from GO and Kyoto Encyclopedia of Genes and Genomes enrichment, including the phosphoinositide-3-kinase (PI3K)–protein kinase B (Akt) signaling pathway, hypoxia-inducible factor 1 signaling pathway, and tumor necrosis factor signaling pathway. Molecular docking revealed that 12 hub genes enriched in the PI3K/Akt signaling pathway had a high binding affinity for the active ingredient of VJJ. VJJ may exert its therapeutic effects on SCI through the iridoid fraction, acting on signal transducer and activator of transcription 3, CASP3, AKT1, tumor necrosis factor, mammalian target of rapamycin, interleukin 6, and other hub genes, which may be related to the PI3K/Akt signaling pathway.