In conclusion, this study shows that marine-derived natural product terphenyllin binds to STAT3 inhibits the growth and metastasis of gastric cancer at an effective dose without significant toxicity in vitro and in vivo by inhibiting the STAT3 signaling pathway. Here, STAT3 is linked to gastric cancer.