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. The gene discussed is PRKAA2; the disease is cancer.