We treated 22 children (28 limbs) with diplegic cerebral palsy who were able to walk by the Baumann procedure for correction of fixed contracture of the gastrosoleus as part of multilevel single-stage surgery to improve gait. The function of the ankle was assessed by clinical examination and gait analysis before and at two years (2.1 to 4.0) after operation. At follow-up the ankle showed an increase in dorsiflexion at initial contact, in single stance and in the swing phase. There was an increase in dorsiflexion at initial push-off without a decrease in the range of movement of the ankle, and a significant improvement in the maximum flexor moment in the ankle in the second half of single stance. There was also a change from abnormal generation of energy in mid-stance to the normal pattern of energy absorption. Positive work during push-off was significantly increased. Lengthening of the gastrocnemius fascia by the Baumann procedure improved the function of the ankle significantly, and did not result in weakening of the triceps surae. We discuss the anatomical and mechanical merits of the procedure.