Abstract. Melatonin, a natural product of the pineal gland, has been shown to protect against ischemic stroke, but the molecular mechanisms underlying its protective function are not fully understood. In the present study, we tested whether melatonin could protect against ischemiareperfusion (I/R) injury to rat brain by targeting the autophagy pathway. The I/R brain injury was induced by the established rat transient middle cerebral artery occlusion model. We found intraperitoneal injection of melatonin can ameliorate rat brain injury as evidenced by multiple morphological and behavioral criteria, such as infarct size, neurological score, serum creatine kinase, and lactate dehydrogenase content, as well as pyknotic-positive cells. Further studies revealed that the beneficial effects of melatonin is through targeting the autophagy pathway by inhibiting expression of beclin-1 and conversion of LC3, as well as activating the PI3K/Akt pro-survival pathway. To further confirm this finding, the autophagy pathway was activated by lentiviral mediated beclin-1 delivery and the PI3K/Akt pathway was inhibited by a pharmacological inhibitor, LY294002. In both manipulations, the beneficial effects of melatonin were greatly abolished. Taken together, our study suggested melatonin plays a protective role against I/R brain injury by inhibiting autophagy and activating the PI3K/Akt pro-survival pathway.