A long photoperiod had the opposite effect, increasing anxiety- and depression-like behaviors and producing a switch from dopaminergic to somatostatin neurons in the hypothalamus. Here, SST is linked to major depressive disorder.