Animal movement is controlled by motor neurons (MNs), which project out of the central nervous system to activate muscles. MN activity is coordinated by complex premotor networks that allow individual muscles to contribute to many different behaviors. Here, we use connectomics to analyze the wiring logic of premotor circuits controlling the Drosophila leg and wing. We find that both premotor networks cluster into modules that link MNs innervating muscles with related functions. Within most leg motor modules, the synaptic weights of each premotor neuron are proportional to the size of their target MNs, establishing a circuit basis for hierarchical MN recruitment. In contrast, wing premotor networks lack proportional synaptic connectivity, which may allow wing steering muscles to be recruited with different relative timing. By comparing the architecture of distinct limb motor control systems within the same animal, we identify common principles of premotor network organization and specializations that reflect the unique biomechanical constraints and evolutionary origins of leg and wing motor control.