Our findings elucidated that BAMBI is a prognostic biomarker and is associated with macrophage polarization, glycolysis, and lipid metabolism in HCC. This evidence concerns the gene BAMBI and hepatocellular carcinoma.