We identified six core genes (GRB10, TDRD9, BCL7A, GPR18, KLRG1, and THEM4) significantly associated with depression and cancer. This evidence concerns the gene KLRG1 and depressive symptom measurement.