Resveratrol-4-O-D-(2'-galloyl)-glucopyranoside (RESG) is one of the active compounds isolated from Polygonum cuspidatum. The purpose of our present study was to investigate the anti-hepatocellular carcinoma effect of RESG in vitro and in vivo, and the possible mechanisms in vitro. In vitro, our results showed that RESG could significantly inhibit the human hepatocellular carcinoma viability in the MTT assay, in a dose- and time-dependent manner. Furthermore, our results demonstrated that RESG could induce SMMC-7721 cell apoptosis and activate caspases 3 and caspases 9 by using Annexin V-FITC staining and western blot, respectively. In vivo, RESG also showed efficacy in SMMC-7721 xenograft model in nude mice, and further molecule mechanisms were investigated in vitro. The results showed that RESG up-regulated the p-JNK expressions, whereas it down-regulated the p-ERK expressions. Above results demonstrated that RESG is a potential therapeutic agent for hepatocellular carcinoma via JNK and ERK pathway to induce apoptosis. Our finding provided a basis for further development of RESG as an anticancer agent.