We identified six core genes (BCL7A, GPR18, GRB10, KLRG1, TDRD9, and THEM4), confirming their critical value in diagnosing depression. Here, GRB10 is linked to depressive disorder.