In this study, we examined five cancer immunity-related pathways (IFNα, IFNγ, STAT3, TGFβ and TNFα) in four large independent breast cancer cohorts (n = 6,381) and their associations with the prognosis of breast cancer subtypes. This evidence concerns the gene STAT3 and breast cancer.