To investigate the effect and mechanism of resveratrol on the biological behavior of cervical cancer cells (HeLa cells), the apoptosis, migration, and invasion of HeLa cells were detected by flow cytometry, wound healing, and transwell assays. The expression levels of Hedgehog signal pathway proteins (smoothened (SMO), zinc finger transcription factors (Gli1), and sonic hedgehog homolog (Shh)) were detected by quantitative real-time PCR (qPCR) and western blotting. Compared with that control group, resveratrol (RES) significantly induced apoptosis, inhibited the migration and invasion of the HeLa cells. The expression of SMO, Gli1, and Shh were downregulated in the HeLa cells treated with RES. The Hedgehog agonist purmorphamine (PUR) reversed the RES-induced increase of apoptosis and reduction of migration and invasion in the HeLa cells. In conclusion, RES induced the apoptosis and suppressed the migration and invasion of HeLa cells by inhibiting Hedgehog signal pathway.