ZDHHC23 mediates the palmitoylation of E3 ligase PHF2, leading to its degradation. PHF2 reduces HCC lipid generation by directly destabilizing SREBP1c. Here, PHF2 is linked to hepatocellular carcinoma.