BackgroundIschemic stroke (IS) is a life-threatening neurological disease with various pathological mechanisms. Tetrahydropiperine (THP) is a natural alkaloid with protective effects against multiple diseases, such as seizure, and pain. This study was to examine the impact of THP on IS and investigate its potential mechanism. Material and methodsWe employed network pharmacology and molecular docking techniques to identify the target proteins of THP for intervention in IS. Adult male Sprague-Dawley rats were used to create a permanent middle cerebral artery occlusion model. PC-12 cells were chosen to establish an oxygen–glucose deprivation (OGD) cell model. Disease modeling followed by nimodipine (NIMO); 3-methyladenine (3-MA) and rapamycin (RAP) interventions. Open field test, Longa score, balance beam test, and forelimb grip test were used to measure motor and neurological functions. The degree of neurological damage recovery was assessed through behavioral analysis, and cerebral infarction volume was determined using TTC staining. Morphological changes were examined through HE and Nissl staining, and ultrastructural changes in neurons were observed using transmission electron microscopy. The protein expression of autophagy and related pathways was analyzed through Western blot (WB). The appropriate hypoxia time and drug concentration were determined using CCK-8 assay, which also measured cell survival rate. ResultsThe network pharmacology findings indicated that the impact of THP on IS was enhanced in the PI3K/Akt signaling pathway. THP demonstrated robust docking capability with proteins associated with the autophagy and PI3K/Akt/mTOR, as indicated by the molecular docking outcomes. THP significantly improved behavioral damage, reduced the area of cerebral infarction, ameliorated histopathological damage from ischemia, increase neuronal survival, and alleviated ultrastructural damage in neurons (P < 0.05). THP enhanced the survival of PC-12 cells induced by OGD and ameliorated the morphological harm to the cells (P < 0.05). THP was found to elevate the quantities of P62, LC3-Ⅰ, PI3K, P-AKt/Akt, and P-mTOR/mTOR proteins while reducing the levels of Atg7 and Beclin1 proteins. The results of transmission electron microscopy showed no autophagosomes in the THP, 3-MA, and 3-MA + THP groups. ConclusionThe activation of the PI3K/Akt/mTOR signaling pathway by THP inhibits autophagy and provides relief from neurological damage in IS.