It's recommended to eat your bedtime snack about 30 minutes to an hour before bed to allow enough time for your blood sugar to stabilize. Eating your snack too close to bedtime may cause your blood sugar to spike and then drop while you're sleeping.