HLA-DPB2 was selected because it had good prognostic value and unknown biological functions in BC based on our comprehensive analysis and literature review. Here, HLA-DPB2 is linked to breast cancer.