These results indicated that HER4-YAP1 axis acted as a vital pathway that promoted trastuzumab resistance in HER2-positive gastric cancer by inducing the occurrence of EMT. Here, ERBB2 is linked to gastric cancer.