The present study describes the segmental variation in the distribution and morphology of nociceptive neurons (N cells) in the central nervous system of the leech. N cells of midbody ganglia can be segregated into lateral and medial types. We show that monoclonal antibodies specific for N cells can distinguish between the two populations. The monoclonal antibodies were used to map the complete distribution of the cells along the nervous cord. There are two pairs of the medial and lateral nociceptive neurons in the midbody ganglia, one pair of the medial type in the sex ganglia (5 and 6), and a pair of the lateral type in ganglia 20 and 21. The caudal brain is without nociceptive neurons. This distribution was confirmed by electrophysiological means. The morphology of N cells in different parts of the nervous system was investigated by intracellular horseradish peroxidase (HRP) injections. In the terminal segmental ganglia the N cells showed extensive arborizations in the head and tail brains and, contrary to N cells in the midbody ganglia, their arborizations spanned more than three segments. N cells are absent in the tail brain, but the N cells of ganglia 20 and 21 were shown to innervate the entire caudal region. The basic morphology of all N-cell homologues was found to be very similar for three leech species. In the sex ganglia the pair of N-cell homologues were examined in Haemopis, Hirudo, and Macrobdella. The results showed a progressive modification in the three species of the cell's morphology, peripheral projections, and physiological responses, possibly correlated with the evolution and complexity of the sexual organs. HRP injections and monoclonal antibody staining revealed that a common feature of N-cell homologues is the presence of processes that tightly surround the cell soma of other cells. This suggests that N cells may have other functional properties in addition to being primary sensory neurons.