In conclusion, our study demonstrated that a high level of estrogen receptor expression decreases PD-1/PD-L1 expression and CD8+ T cell infiltration by suppressing Th17 cell infiltration and IL-17 signaling transduction in breast cancer. Here, IL17A is linked to breast carcinoma.