Our findings provide evidence that PYGB plays a substantial role in glycogen accumulation, while identifying a new target for the development of innovative antidepressants to treat major depressive disorder. Here, PYGB is linked to major depressive disorder.