All known circadian clocks have an endogenous period that is remarkably insensitive to temperature, a property known as temperature compensation, while at the same time being readily entrained by a diurnal temperature oscillation. Although temperature compensation and entrainment are defining features of circadian clocks, their mechanisms remain poorly understood. Most models presume that multiple steps in the circadian cycle are temperature-dependent, thus facilitating temperature entrainment, but then insist that the effect of changes around the cycle sums to zero to enforce temperature compensation. An alternative theory proposes that the circadian oscillator evolved from an adaptive temperature sensor: a gene circuit that responds only to temperature changes. This theory implies that temperature changes should linearly rescale the amplitudes of clock component oscillations but leave phase relationships and shapes unchanged. We show using timeless luciferase reporter measurements and Western blots against TIMELESS protein that this prediction is satisfied by the Drosophila circadian clock. We also review evidence for pathways that couple temperature to the circadian clock, and show previously unidentified evidence for coupling between the Drosophila clock and the heat-shock pathway.circadian clock | temperature compensation | mathematical models C ircadian rhythms are daily oscillations in gene expression and protein concentration that regulate sleep (1, 2), metabolism (3,4), and a host of other biological processes (5-8). Circadian oscillations are known to be present in nearly all animals and plants, as well as some fungi and bacteria (9). In all organisms in which circadian oscillations have been observed, circadian oscillations satisfy three defining properties (10). First, circadian oscillations are self-sustained and spontaneously maintain a period of about 24 h. Second, the circadian rhythm is sensitive to light and temperature and can be synchronized to external oscillations in the quantity of either. Third, the period of the circadian oscillation is "temperature-compensated"; that is, the endogenous period of the oscillation is relatively insensitive to temperature.The genetic basis of circadian clocks has been elucidated in considerable detail over the past two decades, particularly in the fruitfly Drosophila melanogaster, the mouse Mus musculus, and the bread mold Neurospora crassa (11). In Drosophila, a self-sustained circadian oscillation in neurons is generated when a pair of proteins, PERIOD (PER) and TIMELESS (TIM), dimerize and, after some delay, translocate into the nucleus, where the proteins repress their own transcription by inactivating a transcription factor dimer composed of the proteins CLOCK and CYCLE. Light sensitivity is mediated by the blue light photoreceptor CRYPTOCHROME (CRY), which upon activation binds TIMELESS and promotes TIMELESS degradation. A remarkably similar mechanism underlies circadian clocks in mouse and Neurospora. The circadian clock of cyanobacteria has also bee...