SUMMARYAnimal behavior is often organized into stereotyped sequences that promote the goals of reproduction, development and survival. However, for most behaviors, the neural mechanisms that govern the order of execution of the motor programs within a sequence are poorly understood. An important model in understanding the hormonal determinants of behavioral sequencing is the ecdysis sequence, which is performed by insects at each developmental transition, or molt. The adult ecdysis sequence in Drosophila includes the emergence of the insect from the pupal case followed by expansion and hardening of the wings. Wing expansion is governed by the hormone bursicon, and stimulation of the bursicon-expressing neurons in newly eclosed flies induces rapid wing expansion. Here we show that that such stimulation delivered prior to eclosion has no immediate effect, but does cause rapid wing expansion after eclosion if the stimulus is delivered within 40 min of that event. We observe a similar delayed effect upon stimulation of a single pair of bursicon-expressing neurons previously identified as command neurons for wing expansion. We conclude that command neuron stimulation enables the motor output pathway for wing expansion, but that this pathway is blocked prior to eclosion. By manipulating the time of eclosion, we demonstrate that some physiological process tightly coupled to adult ecdysis releases the block on wing expansion. Eclosion thus serves as a behavioral checkpoint and complements hormonal mechanisms to ensure that wing expansion strictly follows eclosion in the ecdysis sequence.