Metformin inhibits pancreatic cancer metastasis caused by SMAD4 deficiency and consequent HNF4G upregulation. Here, HNF4G is linked to pancreatic neoplasm.