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. Here, PRKAA1 is linked to cancer.