Altogether, we reveal the mechanism of AMPK inhibiting lung cancer metastasis via PHF2 mediated H3K9me2 demethylation, thereby promoting the clinical application of metformin and highlighting PHF2 as the potential epigenetic target in cancer metastasis. This evidence concerns the gene PRKAA2 and lung cancer.