Loss of Barx1 promotes hepatocellular carcinoma metastasis through up-regulating MGAT5 and MMP9 expression and indicates poor prognosis. Here, MGAT5 is linked to hepatocellular carcinoma.