During insect metamorphosis, neuronal networks undergo extensive remodeling by restructuring their connectivity and recruiting newborn neurons from postembryonic lineages. The neuronal network that directs the essential behavior, ecdysis, generates a distinct behavioral sequence at each developmental transition. Larval ecdysis replaces the cuticle between larval stages, and pupal ecdysis externalizes and expands the head and appendages to their adult position. However, the network changes that support these differences are unknown. Crustacean cardioactive peptide (CCAP) neurons and the peptide hormones they secrete are critical for ecdysis; their targeted ablation alters larval ecdysis progression and results in a failure of pupal ecdysis. In this study, we demonstrate that the CCAP neuron network is remodeled immediately before pupal ecdysis by the emergence of 12 late CCAP neurons. All 12 are CCAP efferents that exit the central nervous system. Importantly, these late CCAP neurons were found to be entirely sufficient for wild-type pupal ecdysis, even after targeted ablation of all other 42 CCAP neurons. Our evidence indicates that late CCAP neurons are derived from early, likely embryonic, lineages. However, they do not differentiate to express their peptide hormone battery, nor do they project an axon via lateral nerve trunks until pupariation, both of which are believed to be critical for the function of CCAP efferent neurons in ecdysis. Further analysis implicated ecdysone signaling via ecdysone receptors A/B1 and the nuclear receptor ftz-f1 as the differentiation trigger. These results demonstrate the utility of temporally tuned neuronal differentiation as a hard-wired developmental mechanism to remodel a neuronal network to generate a scheduled change in behavior.neuronal identity | neuropeptide | neuronal plasticity