Depression is a common neuropsychiatric disorder with high incidence and disability. Electroacupuncture (EA) is effective in the treatment of depression. However, the underlying mechanisms are not fully understood. Social isolation stress during post-weaning period can impair purinergic signaling in the brain of rodents and has emerged as a major risk factor for depression. The purpose of this study was to investigate the involvement of P2Y1 receptor (P2Y1R) in the antidepressant-like effects of EA. In this study, C57BL/6 mice were randomly assigned to group-housed (GH) or social isolated (SI) groups at post-natal day 21. After 6weeks of social isolation, EA was performed on acupoints "Bai-hui" (GV20) and "Yin-tang" (GV29), or non-acupoints for 4weeks. The SI mice received either intracerebroventricular injection of a selective P2Y1R agonist, MRS2365 (1nmol); or a selective P2Y1R antagonist, MRS2179 (2μmol), before and after EA. We found that SI mice exhibited depression-like behaviors accompanied with anxiety-like behaviors. The expressions of P2Y1R were well co-localized with GFAP-positive astrocytes and increased in the prefrontal cortex and hippocampus of SI mice. After treated with MRS2179, the depression-like behaviors of SI mice were attenuated, but not with MRS2365. Meanwhile, we found that EA could attenuate social isolation caused depression- and anxiety-like behaviors, and inhibited the up-regulation of P2Y1R in the prefrontal cortex and hippocampus of SI mice. Notably, the positive effects of EA on depression-like behaviors of SI mice could be reversed by MRS2365, while MRS2365 had no effect on the anxiolytic-like effects of EA. Therefore, we provide new evidence that EA could ameliorate depression- and anxiety-like behaviors in social isolation stress mice, and P2Y1R was involved in the antidepressant-like effects of EA.