This contribution highlights the scientific development of two intertwined disciplines, photoneuroendocrinology and circadian biology. Photoneuroendocrinology has focused on nonvisual photoreceptors that translate light stimuli into neuroendocrine signals and serve rhythm entrainment. Nonvisual photoreceptors first described in the pineal complex and brain of nonmammalian species are luminance detectors. In the pineal, they control the formation of melatonin, the highly conserved hormone of darkness which is synthesized night by night. Pinealocytes endowed with both photoreceptive and neuroendocrine capacities function as "photoneuroendocrine cells." In adult mammals, nonvisual photoreceptors controlling pineal melatonin biosynthesis and pupillary reflexes are absent from the pineal and brain and occur only in the inner layer of the retina. Encephalic photoreceptors regulate seasonal rhythms, such as the reproductive cycle. They are concentrated in circumventricular organs, the lateral septal organ and the paraventricular organ, and represent cerebrospinal fluid contacting neurons. Nonvisual photoreceptors employ different photopigments such as melanopsin, pinopsin, parapinopsin, neuropsin, and vertebrate ancient opsin. After identification of clock genes and molecular clockwork, circadian biology became cutting-edge research with a focus on rhythm generation. Molecular clockworks tick in every nucleated cell and, as shown in mammals, they drive the expression of more than 3000 genes and are of overall importance for regulation of cell proliferation and metabolism. The mammalian circadian system is hierarchically organized; the central rhythm generator is located in the suprachiasmatic nuclei which entrain peripheral circadian oscillators via multiple neuronal and neuroendocrine pathways. Disrupted molecular clockworks may cause various diseases, and investigations of this interplay will establish a new discipline: circadian medicine.