Through pathway inhibitor screening, we found that HMGCR promoted the stemness and metastasis of HCC by activating the Hedgehog signaling. Here, HMGCR is linked to hepatocellular carcinoma.