Conclusion: High estrogen receptor levels decrease PD-1/PD-L1 expression and CD8+ T cell infiltration by suppressing Th17 cell infiltration and IL-17 signal transduction in breast cancer. Here, CD8A is linked to breast carcinoma.