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. The gene discussed is YAP1; the disease is breast cancer.