The migration and invasion of gastric cancer cells was inhibited by miR-1296-5p overexpression or herceptin treatment, and rescued by the overexpression of constitutively active Rac1-Q61L or ERBB2. Here, RAC1 is linked to gastric cancer.