Sleep is regulated by many environmental factors including food availability and exposure to sensory stimuli. A recent study identifies a gut-brain axis that is activated by dietary proteins and inhibits sensory responsiveness, allowing animals to enter and maintain deep sleep.