Our study illustrates that suppression of either miR-124-5p or HDAC1 up-regulates NPY to improve memory and learning abilities in depressed mice, which may update the existed knowledge of depression and provide a novel reference for treatment of depression. Here, NPY is linked to major depressive disorder.