We identified six core genes (BCL7A, GPR18, GRB10, KLRG1, TDRD9, and THEM4), confirming their critical value in diagnosing depression. This evidence concerns the gene GPR18 and major depressive disorder.