New research using fruit flies reveals that sleep loss can trigger both increased eating and sleeping—if the deprivation leads to energy depletion. Flies that lost energy while sleep-deprived compensated with extra rest and food intake, while those deprived without losing energy showed no such rebound.