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. Here, TGFB1 is linked to breast carcinoma.