BackgroundNeuroinflammation and microglia play critical roles in the development of depression. Cluster of differentiation 200 (CD200) is an anti-inflammatory glycoprotein that is mainly expressed in neurons, and its receptor CD200R1 is primarily in microglia. Although the CD200–CD200R1 pathway is necessary for microglial activation, its role in the pathophysiology of depression remains unknown.MethodsThe chronic social defeat stress (CSDS) with behavioral tests were performed to investigate the effect of CD200 on the depressive-like behaviors. Viral vectors were used to overexpress or knockdown of CD200. The levels of CD200 and inflammatory cytokines were tested with molecular biological techniques. The status of microglia, the expression of BDNF and neurogenesis were detected with immunofluorescence imaging.ResultsWe found that the expression of CD200 was decreased in the dentate gyrus (DG) region of mice experienced CSDS. Overexpression of CD200 alleviated the depressive-like behaviors of stressed mice and inhibition of CD200 facilitated the susceptibility to stress. When CD200R1 receptors on microglia were knocked down, CD200 was unable to exert its role in alleviating depressive-like behavior. Microglia in the DG brain region were morphologically activated after exposure to CSDS. In contrast, exogenous administration of CD200 inhibited microglia hyperactivation, alleviated neuroinflammatory response in hippocampus, and increased the expression of BDNF, which in turn ameliorated adult hippocampal neurogenesis impairment in the DG induced by CSDS.ConclusionsTaken together, these results suggest that CD200-mediated alleviation of microglia hyperactivation contributes to the antidepressant effect of neurogenesis in dentate gyrus in mice.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12974-023-02836-4.