A vast array of animal behavior—from locomotion to human speech—is thought to consist of different hierarchical levels, but its neural implementation remains poorly understood. In this issue of Neuron, Kaplan et al. (2020) identify neuronal circuit dynamics responsible for multiple levels and timescales of hierarchical locomotion control in Caenorhabditis elegans.