In conclusion, this study revealed the upregulation of B4GALNT1 in HCC tumor cells, which could be used as a valuable prognostic predictor, and revealed the functions of B4GALNT1 in microenvironment remodeling in HCC via the HES4-SPP1-TAM/Th2 axis. This evidence concerns the gene B4GALNT1 and neoplasm.