context: the endoscopic gastric perforation is a consequence of some endoscopic procedures and now a way to manage abdominal organs. this is the reason why endoscopists are studying a safe endoscopic repair. objective: to evaluate an endoscopic closure method for the gastric opening in natural orifice transenteric surgery design: short-term survival animal study. methods: ten white landrace pigs underwent a gastric perforation of 1.8 cm in diameter under general anesthesia. the opening was repaired with stitch assembled in a t-tag anchor placed through the gastric wall with a needle. a plastic transparent chamber, adapted to the endoscope tip protected the abdominal organs from the needle puncture outside the stomach. six t-tags were placed in most cases and the stitches were tied with a metallic tie-knot, forming three sutures. the animals received liquids in the same operative day. one shoot antibiotic was used. the leakage test was performed with a forceps and by air distention. results: no complication was detected in the postoperative course. one month later the endoscopy revealed a scar and some suture material was observed in all animals. the antral anterior gastric wall was clear with few adhesions in the laparotomy performed in the same time. the adhesions were intense in an animal in which a cholecystectomy was performed before the repair. conclusion: the endoscopic repair using t-tag and a protector chamber is feasible, easy to perform and safe. further studies are needed to show the real value of this kind of procedure.