The depletion of MAPK4 facilitates the invasion and metastasis of gastric cancer cells by polarizing TAMs in orthotopic mouse models. Here, MAPK4 is linked to gastric cancer.