Certain nutrients in bedtime snacks may support better sleep, including magnesium, zinc, omega-3 fatty acids, and protein. Some foods can keep you awake, especially caffeine, sugary snacks, and spicy ...