Caffeine, heavy meals, alcohol, sugar, and a lack of magnesium or B vitamins could ... trial alternatives for your last meal or snack of the evening. Instead of carb or sweet-based snacks, opt for ...