SUMMARY
Increasing ambient temperature reorganizes the Drosophila sleep pattern in a way similar to the human response to heat, increasing daytime sleep while decreasing nighttime sleep. Mutation of core circadian genes blocks the immediate increase in daytime sleep, but not the heat-stimulated decrease in nighttime sleep, when animals are in a light:dark cycle. The ability of per01 flies to increase daytime sleep in light:dark can be rescued by expression of PER in either LNv or DN1p clock cells and does not require rescue of locomotor rhythms. Prolonged heat exposure engages the homeostat to maintain daytime sleep in the face of nighttime sleep loss. In constant darkness, all genotypes show an immediate decrease in sleep in response to temperature shift during the subjective day, implying that the absence of light input uncovers a clock-independent proarousal effect of increased temperature. Interestingly, the effects of temperature on nighttime sleep are blunted in constant darkness and in cryOUT mutants in light:dark, suggesting that they are dependent on the presence of light the previous day. In contrast, flies of all genotypes kept in constant light sleep more at all times of day in response to high temperature, indicating that the presence of light can invert the normal nighttime response to increased temperature. The effect of temperature on sleep thus reflects coordinated regulation by light, the homeostat, and components of the clock, allowing animals to reorganize sleep patterns in response to high temperature with rough preservation of the total amount of sleep.