ABSTRACT: The 24-h expression of seven clock genes (Bmal1, Clock, Per1, Per2, Cry1, Cry2, and CK1 epsilon ) was assayed by in situ hybridization in the suprachiasmatic nucleus (SCN) and the pars tuberalis (PT) of the pituitary gland, collected every 4 h throughout 24 h, from female Soay sheep kept under long (16-h light/8-h dark) or short (8-h light/16-h dark) photoperiods. Locomotor activity was diurnal, inversely related to melatonin secretion, and prolactin levels were increased under long days. All clock genes were expressed in the ovine SCN and PT. In the SCN, there was a 24-h rhythm in Clock expression, in parallel with Bmal1, in antiphase with cycles in Per1 and Per2; there was low-amplitude oscillation of Cry1 and Cry2. The waveform of only Per1 and Per2 expression was affected by photoperiod, with extended elevated expression under long days. In the PT, the high-amplitude 24-h cycles in the expression of Bmal1, Clock, Per1, Per2, Cry1, and Cry2, but not CK1 epsilon, were influenced by photoperiod. Per1 and Per2 peaked during the day, whereas Cry1 and Cry2 peaked early in the night. Hence, photoperiod via melatonin had a marked effect on the phase relationship between Per/Cry genes in the PT. This supports the conclusion that an "external coincidence model" best explains the way photoperiod affects the waveform of clock gene expression in the SCN, the central pacemaker, whereas an "internal coincidence model" best explains the way melatonin affects the phasing of clock gene expression in the PT to mediate the photoperiodic control of a summer or winter physiology.