In conclusion, this study suggested inhibition of YAP/STAT3 reversed M2 polarization of TAMs and suppressed CD8+ T‐cell activity in the BC immune microenvironment. This evidence concerns the gene STAT3 and breast cancer.