TNFβ was inversely associated with depressive symptoms in T1D, whereas three biomarkers (GDNF, IL-18R1, LIF-R) were positively associated with depressive symptoms in T2D. This evidence concerns the gene GDNF and type 1 diabetes mellitus.