Pigment-dispersing factor-immunoreactive neurons anterior to the accessory medulla (aPDFMes) in the optic lobes of insects are circadian pacemaker neurons in cockroaches and fruit flies. The authors examined whether any of the aPDFMes of the cockroach Leucophaea maderae are sensitive to changes in period and photoperiod of light/dark (LD) cycles as a prerequisite to adapt to changes in external rhythms. Cockroaches were raised in LD cycles of 11:11, 13:13, 12:12, 6:18, or 18:6 h, and the brains of the adults were examined with immunocytochemistry employing antisera against PDF and orcokinin. Indeed, in 11:11 LD cycles, only the number of medium-sized aPDFMes specifically decreased, while it increased in 13:13. In addition, 18:6 LD cycles increased the number of large- and medium-sized aPDFMes, as well as the posterior pPDFMes, while 6:18 LD cycles only decreased the number of medium-sized aPDFMes. Furthermore, PDF-immunoreactive fibers in the anterior optic commissure and orcokinin-immunoreactive fibers in both the anterior and posterior optic commissures were affected by different lengths of light cycles. Thus, apparently different groups of the PDFMes, most of all the medium-sized aPDFMes, which colocalize orcokinin, respond to changes in period and photoperiod and could possibly allow for the adjustment to different photoperiods.