In this study, two M2 macrophage-related subtypes were identified and a four-gene prognostic model including ECM2, SLC16A11, SLC2A2, and TMCC1 was constructed to predict OS in HCC. This evidence concerns the gene ECM2 and hepatocellular carcinoma.