Our key findings reveal that TGFA, TGFB, PTGS2, IRF1 and IKBKB could be responsible for immune system activation in depression. Here, TGFB1 is linked to depressive disorder.