By examining all S-palmitoylation related enzymes with bioinformatics tools and cellular function study, we found that both ZDHHC7 and LYPLA2 were associated with the prognosis of HCC patients. This evidence concerns the gene ZDHHC7 and hepatocellular carcinoma.