Piper nigrum L. and P. longum L. are widely used in various medicinal formulations. The dichloromethane fraction of Piper nigrum L. and P. longum L. (DF) can prevent cerebral ischemic injury although the underlying mechanisms are obscure. The aim of this study was to evaluate the potential neuroprotective effects of DF on a rat model of permanent middle cerebral artery occlusion (pMCAO) and assess the molecular mechanisms. Animals were administered with DF (50, 100, and 150 mg/kg) or nimodipine (12 mg/kg) 6 h after pMCAO for 14 consecutive days via intragastric gavage. In the vitro this study identified that DF reduced neurological severity scores and improved survival rate. Results showed that DF markedly inhibited the percentage of apoptotic cells as well as neuronal autophagy and mitigated the overall neuronal and vascular damage in the ischemic region. Western blot testing showed that at the molecular level, DF significantly suppressed ischemia-induced activated expression of LC3, Beclin1, Atg12, and Atg5. Overall, our study indicated that DF attenuated neuronal autophagy by suppressing the expression of autophagy-related proteins to generate neuroprotection effect for ischemic stroke.