The link between light exposure and melanopsin function in patients with MDD, and in particular in non-seasonal depression, has not been examined. Here, OPN4 is linked to major depressive disorder.