Our study reveals a genetic correlation between IL-5, IL-7, IL-16, and HER2-positive breast cancer, providing valuable insights for future research on the pathogenesis and pharmacological intervention of HER2-positive breast cancer. Here, IL7 is linked to breast cancer.