Pyloromyotomy is a common surgical procedure in infants with hypertrophic pyloric stenosis and can be performed with a small laparotomy or laparoscopically. No specific complications have been documented about one of the approaches. We aim to study (severity of) complications of pyloromyotomy and to compare complications of both approaches. Children undergoing pyloromyotomy between 2007 and 2017 were analyzed retrospectively. Complication severity was classified using the Clavien-Dindo classification. We included 474 infants (236 open; 238 laparoscopic). 401 were male (85%) and median (IQR) age was 33 (19) days. There were 83 surgical complications in 71 patients (15.0%). In the open group 45 infants (19.1%) experienced a complication vs. 26 infants in the laparoscopic group (10.5%)(p = 0.013). Severity and quantity of postoperative complications were comparable between both groups. Serosal tears of the stomach (N = 19) and fascial dehiscence (N = 8) occurred only after open pyloromyotomy. Herniation of omentum through a port site occurred only after laparoscopy (N = 6) and required re-intervention in all cases. In conclusion, the surgical complication rate of pyloromyotomy was 15.0%. Serosal tear of the stomach and fascial dehiscence are only present after open pyloromyotomy and omental herniation after laparoscopy respectively. The latter complication is underestimated and requires attention.