A study presented at the meeting of the American Society for Cell Biology found that fruit flies were better able to fight off infections that they got while asleep at night than those received while awake during the day. Karen Hopkin reports