Objective: Traditional Chinese medicine has been increasingly used in the prevention and treatment of gastric cancer, especially in application of compound Chinese medicine. The aim of this study was to investigate the effect of Qi Ling decoction (QLD) on the invasion and metastasis of gastric cancer and its related signaling pathways at the cellular and molecular level in vitro, and explore the mechanism of QLD. Methods: Scratch assay, transwell assay, and adhesion experiments were used to study the effects of QLD and its compounds on gastric cancer. Western blot was employed to detect expression of the PI3K/Akt pathway after administration of QLD. Results: QLD can significantly inhibit the invasion, migration, and adhesion of gastric cancer cells in vitro. The main chemical components of QLD (diosgenin, catechins, and calycosin) can also inhibit the invasion, migration and adhesion of gastric cancer cells. Furthermore, QLD inhibits MMP-9 and affects gastric cancer cell metastasis through the PI3K/Akt pathway. Conclusion: QLD and its three main chemical components can inhibit the invasion, migration, and adhesion of gastric cancer cells, and the mechanism may be related to the PI3K/Akt pathway.