Switching locomotion direction is a common task in daily life, and it has been studied extensively in healthy people. Little is known, however, about the locomotor adjustments involved in changing locomotion direction from forward (FW) to sideways (SW) in children with cerebral palsy (CP). The importance of testing the ability of children with CP in this task lies in the assessment of flexible, adaptable adjustments of locomotion as a function of the environmental context. On the one hand, the ability of a child to cope with novel task requirements may provide prognostic cues as to the chances of modifying the gait adaptively. On the other hand, challenging the child with the novel task may represent a useful rehabilitation tool to improve the locomotor performance. SW is an asymmetrical locomotor task and requires a differential control of right and left limb muscles. Here, we report the results of a cross-sectional study comparing FW and SW in 27 children with CP (17 diplegic, 10 hemiplegic, 2–10 years) and 18 age-matched typically developing (TD) children. We analyzed gait kinematics, joint moments, EMG activity of 12 pairs of bilateral muscles, and muscle modules evaluated by factorization of EMG signals. Task performance in several children with CP differed drastically from that of TD children. Only 2/3 of children with CP met the primary outcome, i.e. they succeeded to step sideways, and they often demonstrated attempts to step forward. They tended to rotate their trunk FW, cross one leg over the other, flex the knee and hip. Moreover, in contrast to TD children, children with CP often exhibited similar motor modules for FW and SW. Overall, the results reflect developmental deficits in the control of gait, bilateral coordination and adjustment of basic motor modules in children with CP. We suggest that the sideways (along with the backward) style of locomotion represents a novel rehabilitation protocol that challenges the child to cope with novel contextual requirements.