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. This evidence concerns the gene PDCD1 and breast cancer.