The purpose of this study was to evaluate the effects of hamstring lengthenings and psoas recessions over the brim of the pelvis (OTB) on pelvic function in the gait of patients with spastic cerebral palsy. Seventy-three patients were divided into four groups based on surgical intervention: medial hamstrings (n = 37), medial and lateral hamstrings (n = 12), medial hamstrings with psoas OTB (n = 9), and medial and lateral hamstrings with psoas OTB (n = 15). Three-dimensional gait analysis was completed both before and ∼1 year after surgery. When pelvic position in gait was normal or posterior of normal preoperatively, there was a significant increase in pelvic tilt (p < 0.05) when medial and lateral hamstrings were lengthened, irrespective of simultaneous psoas OTB surgery. Medial hamstrings alone, with or without simultaneous psoas OTB, did not result in a significant change in pelvic position, irrespective of preoperative pelvic position. The only surgical combination that caused a reduction in excessive preoperative anterior pelvic tilt was medial and lateral hamstrings with psoas OTB, a 4° change of limited clinical significance. In general, psoas and medial hamstring surgery have minimal effect on the pelvic position during gait. Medial and lateral hamstring lengthening will increase pelvic tilt if preoperative pelvic position is normal or slightly posteriorly tilted. The results of this study suggest that the fundamental determinants of pelvic position during gait postoperatively are the extent of hamstring surgery (medial only vs. both medial and lateral hamstring lengthening) and the preoperative position of the pelvis.