Background and Purpose: Sleep deprivation compromises learning and memory in both humans and animals, and can be reversed by administration of modafinil, a drug promoting wakefulness. Dysfunctional autophagy increases activation of apoptotic cascades, ultimately leading to increased neuronal death, which can be alleviated by autophagy inhibitors. This study aimed to investigate the alleviative effect and mechanism of modafinil on the excessive autophagy occurring in the hippocampus of mice with deficiency of learning and memory induced by sleep deprivation. Experimental Approach: The Morris water maze was used to assess the effects of modafinil on male C57BL/6Slac mice after 48-hr sleep deprivation. The HT-22 hippocampal neuronal cell line was also used. Nissl staining, transmission electron microscope, immunofluorescence, Western blot, transient transfection, and autophagy inducer were used to study the effect and mechanism of modafinil on hippocampal neurons with excessive autophagy and apoptosis. Key Results: Modafinil improved learning and memory in sleep-deprived mice, associated with the inhibition of excessive autophage and apoptosis and an enhanced activation of the PI3K/Akt/mTOR/P70S6K signalling pathway in hippocampal neurons. These effects of modafinil were abolished by rapamycin. In addition, modafinil suppressed the aberrant autophagy and apoptosis induced by rapamycin and reactivated PI3K/Akt/mTOR/P70S6K signals in HT-22 cells. Conclusions and Implications: These results suggested that modafinil alleviated impaired learning and memory of sleep-deprived mice potentially by suppressing excessive autophagy and apoptosis of hippocampal neurons. This novel mechanism may add to our knowledge of modafinil in the clinical treatment of impaired memory caused by sleep loss.Abbreviations: DG, dentate gyrus; 3-MA, 3-methyladenine; mTOR, mammalian target of rapamycin; MWM, Morris water maze; p62, ubiquitin-binding protein p62 or sequestosome-1; P70S6K, ribosomal protein S6 kinase; p-Akt, phosphorylated PKB; p-P70S6K, phosphorylated ribosomal protein S6 kinase; p-PI3K, phosphorylated PI3K