These results suggested that an intact AMPK-p53 axis was necessary to observe the antimigratory effects of metformin in HCC cells. Here, TP53 is linked to hepatocellular carcinoma.