Objective To investigate the effect of Chaihu Shugan Decoction on the expressions of B⁃cell lymphoma 2 (Bcl⁃2), NLR family pyrin domain containing 1 (NLRP1), Caspase⁃3, and Caspase⁃1 in hippocampus tissues of rats with epilepsy. Methods The core active components and core targets of Chaihu Shugan Decoction for the treatment of epilepsy were analyzed and screened based on bioinformatics. A total of 100 SD rats were randomly assigned to epilepsy group (n=80) or blank group (n=20). Rats of the blank group received no treatment. Epileptic model of rats in the epilepsy group was established, after successful modeling, rats of the epilepsy group were randomly assigned to model group, or Chaihu Shugan Decoction in low⁃dose, medium⁃dose, and high⁃dose groups, with 20 rats in each group. Rats of the Chaihu Shugan Decoction in low⁃dose, medium⁃dose, and high⁃dose groups received intragastric administration of Chaihu Shugan Decoction (2.5 mg/100 g, 5 mg/100 g, 10 mg/100 g), whereas the model and blank groups received intragastric administration of normal saline. After 4 weeks of administration, seizure grade of rats with epilepsy was compared between the model group and the Chaihu Shugan Decoction in low⁃dose, medium⁃dose, and high⁃dose groups, and then rats of the five groups were killed for obtaining their hippocampus tissues. Expressions of mRNA and protein of Bcl⁃2, NLRP1, Caspase⁃3, and Caspase⁃1 were detected by employing the real⁃time fluorescent quantitative PCR and Western blot. Results (1) The core active components of Chaihu Shugan Decoction for the intervention of epilepsy contained quercetin, kaempferol, naringenin, β⁃sitosterol, nobiletin, isorhamnetin, luteolin, stigmasterol, 7⁃methoxy⁃2⁃methyl isoflavone, hyndarin. The core targets included Bcl⁃2, NLRP1, Caspase⁃3, and Caspase⁃1. Quercetin, kaempferol, naringenin, β⁃sitosterol, nobiletin and luteolin showed favorable binding activity with the core targets. (2) After intervention, compared with the model group, seizure grade of epilepsy in Chaihu Shugan Decoction in medium⁃does and high⁃dose groups was reduced (P<0.05); furthermore, compared with the Chaihu Shugan Decoction in low⁃dose group, seizure grade of epilepsy in the Chaihu Shugan Decoction in medium⁃dose and high⁃dose groups was reduced (P<0.05). Compared with the blank group, the model group exhibited decreased mRNA and protein expressions of Bcl⁃2, whereas elevated mRNA and protein expressions of NLRP1, Caspase⁃3, and Caspase⁃1 (P<0.05). Compared with the model group, Bcl⁃2 mRNA and protein expressions of the Chaihu Shugan Decoction in various doses groups were elevated, and mRNA and protein expressions of NLRP1, Caspase⁃3, and Caspase⁃1 were decreased (P<0.05). Expressions of Bcl⁃2 mRNA and protein were elevated successively in the Chaihu Shugan Decoction in low⁃, high⁃, and medium⁃dose groups, and mRNA and protein expressions of NLRP1 were elevated successively in the Chaihu Shugan Decoction in medium⁃, low⁃, and high⁃dose groups, as well as Caspase⁃3 and Caspase⁃1 mRNA and protein expressions were also successively elevated in the Chaihu Shugan Decoction in high⁃, low⁃, and medium⁃dose groups (P<0.05). Conclusion Chaihu Shugan Decoction may inhibit expressions of NLRP1, Caspase⁃3, and Caspase⁃1, so as to exert antiepileptic effect through up⁃regulating expression of Bcl⁃2 in hippocampus tissues in rats.