In our study, we revealed the significantly upregulated expression of xCT in TAMs, and xCT knockout in macrophages substantially diminished the infiltration of TAMs, suppressed the M2‐like phenotype shift in HCC tumor tissues, as well as triggering and enhancing the activity of ferroptosis in macrophages and attenuated tumor development and metastasis. The gene discussed is SLC7A11; the disease is hepatocellular carcinoma.