Background Postsurgical gastroparesis is recognized as a gastrointestinal dysfunction syndrome following foregut surgery. Gastric peroral endoscopic myotomy (G-POEM) is suggested as a minimally invasive therapy for gastroparesis. But the long-term efficacy and safety of G-POEM in treating postsurgical gastroparesis are rarely explored. Methods The primary outcomes included the symptomatic improvement based on gastroparesis cardinal symptoms index (GCSI) and the improvement of gastric emptying. The secondary outcomes included the improvement of gastroesophageal reflux symptoms and complications of G-POEM. Results The severity of postsurgical gastroparesis was not associated with the onset time and the course of the disease. G-POEM significantly reduced GCSI throughout the follow-up period (p < 0.0001). For different anastomotic site, a significant improvement of GCSI was found at 6 month post-G-POEM (F 4,165 = 74.18, p < 0.0001). Subscale analysis of GCSI showed that nausea/vomiting, post-prandial fullness/early satiety, and bloating were improved significantly at 6-month post-G-POEM (p < 0.0001, respectively). Half-emptying and whole-emptying time were significantly shortened in patients with different anastomotic site post-G-POEM (half-emptying time: F 3,174 = 65.44, p < 0.0001; whole-emptying time: F 3,174 = 54.85, p < 0.0001). The emptying of ioversol was obviously accelerated after G-POEM. GCSI wasn't related to pyloric length, pyloric diameter, and thickness of pyloric wall. GERDQ was also used to evaluate the clinical efficacy of G-POEM. For each time points, GERDQ didn't differ significantly in patients with different anastomotic site (F 4,104 = 0.8075, p = 0.5231). For patients with different anastomotic site, GERDQ was improved significantly at different time points (F 4,104 = 59.11, p < 0.0001). The higher the esophageal anastomotic site was, the faster G-POEM improved the symptoms of gastroesophageal reflux. No one required re-hospitalization for any complication. Conclusion G-POEM is a minimally invasive therapy with long-term effectiveness and safety in treating postsurgical gastroparesis. Keywords G-POEM • Postsurgical gastroparesis • GCSI • GERDQ • The anastomotic site • Gastric emptying Postsurgical gastroparesis refers to the gastrointestinal dysfunction syndrome that occurs after esophageal and gastrointestinal surgery and other surgical operations affecting the