Hepatocellular carcinoma (HCC) is one of the most common malignant tumors. Identification of the underlying mechanism of HCC progression and exploration of new therapeutic drugs are urgently needed. Here, a compound library consisting of 419 FDA-approved drugs was taken to screen potential anticancer drugs. A series of functional assays showed that desloratadine, an antiallergic drug, can repress proliferation in HCC cell lines, cell-derived xenograft (CDX), patient-derived organoid (PDO) and patient-derived xenograft (PDX) models. N-myristoyl transferase 1 (NMT1) was identified as a target protein of desloratadine by drug affinity responsive target stability (DARTS) and surface plasmon resonance (SPR) assays. Upregulation of NMT1 expression enhanced but NMT1 knockdown suppressed tumor growth in vitro and in vivo. Metabolic labeling and mass spectrometry analyses revealed that Visinin-like protein 3 (VILIP3) was a new substrate of NMT1 in protein N-myristoylation modification, and high NMT1 or VILIP3 expression was associated with advanced stages and poor survival in HCC. Mechanistically, desloratadine binds to Asn-246 in NMT1 and inhibits its enzymatic activity, disrupting the NMT1-mediated myristoylation of the VILIP3 protein and subsequent NFκB/Bcl-2 signaling. Conclusively, this study demonstrates that desloratadine may be a novel anticancer drug and that NMT1-mediated myristoylation contributes to HCC progression and is a potential biomarker and therapeutic target in HCC.