We identified six genes, namely IRC3, GBP2, IGJ, KLHDC7B, KLRB1, and RAC2, associated with both immune infiltration and PD-1 expression as key prognostic genes in BC. This evidence concerns the gene KLHDC7B and breast cancer.