Although feeding in Aplysia is mediated by a central pattern generator (CPG), the activity of this CPG is modified by afferent input. To determine how afferent activity produces the widespread changes in motor programs that are necessary if behavior is to be modified, we have studied two classes of feeding sensory neurons. We have shown that afferent-induced changes in activity are widespread because sensory neurons make a number of synaptic connections. For example, sensory neurons make monosynaptic excitatory connections with feeding motor neurons. Sensori-motor transmission is, however, regulated so that changes in the periphery do not disrupt ongoing activity. This results from the fact that sensory neurons are also electrically coupled to feeding interneurons. During motor programs sensory neurons are, therefore, rhythmically depolarized via central input. These changes in membrane potential profoundly affect sensori-motor transmission. For example, changes in membrane potential alter spike propagation in sensory neurons so that spikes are only actively transmitted to particular output regions when it is behaviorally appropriate. To summarize, afferent activity alters motor output because sensory neurons make direct contact with motor neurons. Sensori-motor transmission is, however, centrally regulated so that changes in the periphery alter motor programs in a phase-dependent manner.