In conclusion, B4GALT5 may be a potential biomarker for prognosis of patients with hepatocellular carcinoma. Here, B4GALT5 is linked to hepatocellular carcinoma.