Sensitization of the local bending reflex of the medicinal leech Hirudo medicinalis was studied in a semi-intact preparation in which behavioral and electrophysiological recordings were made simultaneously. 1. Sensitization of local bending could be produced in two ways: by repeated stimulation of the mechanoreceptor sensitive to pressure (the P cell), and by stimulation of the mechanoreceptor sensitive to noxious stimuli (the N cell). 2. Both forms of sensitization produced a central neuronal change, measured as an increase in the number of stimulus-evoked action potentials in cell 3 (an excitor of dorsal longitudinal muscles). 3. Intracellular stimulation of serotonin-containing neurons 21 and 61 mimicked the sensitizing stimuli, but stimulation of the Retzius cell, which also contains serotonin, did not. 4. Stimulation of the Leydig cell, which releases octopamine, decreased the strength of local bending.