Chinese herb pairs are the most basic and compressed examples of Chinese herbal combinations and can be used to effectively explain the fundamental concepts of traditional Chinese medicine prescriptions. These pairings have gained significant interest due to their subtle therapeutic benefits, minimal side effects, and efficacy in treating complicated chronic conditions. The Banxia-Xiakucao Chinese herb pair (BXHP) consists of Pinellia ternata (Thunb.) Breit. (Banxia) and Prunella vulgaris L. (Xiakucao). This formula was documented in The Medical Classic of the Yellow Emperor approximately 2000 years ago,and clinical research has demonstrated that BXHP effectively treats insomnia. This study aimed to evaluate the efficacy and therapeutic mechanism of the BXHP through a comprehensive strategy involving network pharmacology, molecular docking, transcriptomics, and molecular biology experimental validation. The composition of BXHP was characterized using the UPLC-Q-TOF-MS. The active compounds were screened to find drug-likeness compounds by analyzing the ADME data. To predict the molecular mechanism of BXHP in sleep deprivation (SD) by network pharmacology and molecular docking. We established a rat model of SD and the in vivo efficacy of BXHP was verified through the pentobarbital sodium righting reflex test, behavioral assays, enzyme-linked immunosorbent assay, transmission electron microscopy, HE staining, and Nissl staining, and the underlying molecular mechanism of BXHP in SD was revealed through transcriptomic and bioinformatic analyses in conjunction with quantitative real-time PCR, Western blot, and immunofluorescence staining. In the present study, we showed for the first time that BXHP reduced sleep latency, prolongs sleep duration, and improves anxiety; lowered serum CORT, IL6, TNF-α and MDA levels; decreased hypothalamic Glu levels; and elevated hypothalamic GABA and 5-HT levels in SD rats. We found 16 active compounds that acted on 583 targets, 145 of which are related to SD. By modularly dissecting the PPI network, we discovered three critical targets, Akt1, CREB1, and PRKACA, all of which play important roles in the effects of BXHP on SD. Molecular docking resulted in the identification of 16 active compounds that strongly bind to key targets. The results of GO and KEGG enrichment analyses of network pharmacology and transcriptomics focused on both the regulation of circadian rhythm and the cAMP signaling pathway, which strongly demonstrated that BXHP affects SD via the cAMP-PKA-CREB-Circadian rhythm pathway. Molecular biology experiments verified this hypothesis. Following BXHP administration, PKA and CREB phosphorylation levels were elevated in SD rats, the cAMP-PKA-CREB signaling pathway was activated, the expression levels of the biological clock genes CLOCK, p-BMAL1/BMAL1, and PER3 were increased, and the rhythmicity of the biological clock was improved. The active compounds in BXHP can activate the cAMP-PKA-CREB-Circadian rhythm pathway, improve the rhythmicity of the biological clock, promote sleep and ameliorate anxiety, which suggests that BXHP improves SD through a multicomponent, multitarget, multipathway mechanism. This study is important for the development of herbal medicines and clinical therapies for improving sleep deprivation.