Mechanistically, we identified a novel PA–SMARCA4–ZDHHC12 axis that increases ZDHHC12 expression, and we showed that ZDHHC12 palmitoylates and stabilizes HDAC8, which promotes HCC progression. This evidence concerns the gene SMARCA4 and hepatocellular carcinoma.