Our findings indicate that MDIG plays an important role in HCC progression via MDIG/H3K9me3/p21(CIP1/WAF1) signalling and serves as a potential therapeutic target. Here, CDKN1A is linked to hepatocellular carcinoma.