One family of genes allows cells to adapt to daily changes in environmental conditions by adjusting their internal ‘body clock,’ the circadian clock responsible for regular sleep-wake cycles. The new discovery reveals for the first time that circadian regulation may be directly connected to cellular stress.