This research unites traditionally disparate developmental domains-cognition and locomotion-to examine the classic cognitive issue of the development of inhibition in infancy. In 2 locomotor A-not-B tasks, 13-month-old walking infants inhibited a prepotent response under low task demands (walking on flat ground), but perseverated under increased task demands (descending a staircase). Despite elimination of factors previously associated with infant perseveration, infants still perseverated in the difficult stairs condition. Increasing cognitive load by manipulating task difficulty affected infants' ability to inhibit repeated responses that were no longer appropriate. Evidence supports a cognitive capacity account of infant perseveration, in which infants' performance depends on allocation of cognitive and attentional resources.