The motor areas of the cortex and the basal ganglia both contribute to determining which motor actions will be recruited at any moment in time, and their functions are intertwined. Here, we review the basal ganglia mechanisms underlying the selection of behavior of the downstream control of motor centers in the midbrain and brainstem and show that the basic organization of the forebrain motor system is evolutionarily conserved throughout vertebrate phylogeny. The output level of the basal ganglia (e.g. substantia nigra pars reticulata) has GABAergic neurons that are spontaneously active at rest and inhibit a number of specific motor centers, each of which can be relieved from inhibition if the inhibitory output neurons themselves become inhibited. The motor areas of the cortex act partially via the dorsolateral striatum (putamen), which has specific modules for the forelimb, hindlimb, trunk, etc. Each module operates in turn through the two types of striatal projection neurons that control the output modules of the basal ganglia and thereby the downstream motor centers. The mechanisms for lateral inhibition in the striatum are reviewed as well as other striatal mechanisms contributing to action selection. The motor cortex also exerts a direct excitatory action on specific motor centers. An overview is given of the basal ganglia control exerted on the different midbrain/brainstem motor centers, and the efference copy information fed back via the thalamus to the striatum and cortex, which is of importance for the planning of future movements.