Peripheral IL-17 was significantly upregulated in the male group with MDD. Here, IL17A is linked to major depressive disorder.