TNFβ was significantly inversely associated with depressive symptoms in people with T1D only, whereas GDNF, IL18R1 and LIF-R were significantly positively associated with deprerssive symptoms in people with T2D. This evidence concerns the gene GDNF and type 1 diabetes mellitus.