The clock-gene-expressing lateral neurons are essential for the locomotor activity rhythm of Drosophila melanogaster. Traditionally, these neurons are divided into three groups: the dorsal lateral neurons (LN(d)), the large ventral lateral neurons (l-LN(v)), and the small ventral lateral neurons (s-LN(v)), whereby the latter group consists of four neurons that express the neuropeptide pigment-dispersing factor (PDF) and a fifth PDF-negative neuron. So far, only the l-LN(v) and the PDF-positive s-LN(v) have been shown to project into the accessory medulla, a small neuropil that contains the circadian pacemaker center in several insects. We show here that the other lateral neurons also arborize in the accessory medulla, predominantly forming postsynaptic sites. Both the l-LN(v) and LN(d) are anatomically well suited to connect the accessory medullae. Whereas the l-LN(v) may receive ipsilateral photic input from the Hofbauer-Buchner eyelet, the LN(d) invade mainly the contralateral accessory medulla and thus may receive photic input from the contralateral side. Both the LN(d) and the l-LN(v) differentiate during midmetamorphosis. They do so in close proximity to one another and the fifth PDF-negative s-LN(v), suggesting that these cell groups may derive from common precursors.