Gastric cancer is a common malignancy worldwide. However, the molecular mechanisms underlying this malignancy remain unclear and there are a lack of effective drugs. The present study aimed to investigate the antitumor effect of Dihydroartemisinin (DHA) or inhibition of Tankyrases (TNKS), and determine the underlying molecular mechanisms of gastric cancer. Immunohistochemistry and immunofluorescence analyses were performed to detect the expression levels of TNKS, epithelial-to-mesenchymal transition (EMT) and Wnt/β-catenin pathway-related proteins in gastric cancer tissues and adjacent normal tissues. The Cell Counting Kit-8 assay was performed to assess the viability of HGC-27 and AGS cells following treatment with different concentrations of HLY78 (a Wnt activator) or DHA. Following treatment with HLY78, DHA or small interfering (si)-TNKS1/si-TNKS2, colony formation and migratory abilities were assessed via the colony formation, wound healing and Transwell assays. Furthermore, western blot and immunofluorescence analyses were performed to detect the expression levels of TNKS, EMT-and Wnt/β-catenin-related proteins. The results demonstrated that the expression levels of TNKS, AXI2, β-catenin, N-cadherin and Vimentin were upregulated, whereas E-cadherin expression was downregulated in gastric cancer tissues compared with normal tissues. Furthermore, HLY78 and DHA suppressed the viability of HGC-27 and AGS cells, in a concentration-independent manner. Notably, TNKS knockdown or treatment with DHA suppressed colony formation, migration, TNKS expression, EMT and the Wnt/β-catenin pathway. Opposing effects were observed following treatment with HLY78, which were ameliorated following co-treatment with DHA. Taken together, these results suggest that DHA or inhibition of TNKS can suppress the proliferation and migration of gastric cancer cells, which is partly associated with inactivation of the Wnt/β-catenin pathway and EMT process.