Within the MDD group, the S100B levels showed no significant difference between the first-onset group and the recurrent group (Z =  − 1.39, p = 0.166). Here, S100B is linked to major depressive disorder.