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