Avoid consuming sugar at least two hours before bed. High-sugar foods can lead to blood sugar spikes and crashes, causing restless sleep. You may wake up feeling hungry, shaky, or have unusual dreams.
If you want something sweet, try pairing it with foods that contain other, more slowly digested nutrients, such as fiber, protein, and fats. Have half a peanut butter and jelly sandwich on whole-grain bread before bed to help stabilize blood sugar and keep you fuller for longer.

2. Carbs: 4 Hours Before Bed
Four hours before bed, choose complex carbs like whole-grain toast with avocado or a banana with almond butter.
Complex carbs are higher in fiber and take longer to digest, which helps keep blood sugar levels more stable. Experts recommend consuming complex carbs four hours before bedtime.
Some research suggests that consuming fiber-rich foods before bed is associated with increased time spent in slow-wave sleep, a deep sleep phase essential for growth, memory, and immune function.
3. Protein: 2-3 Hours Before Bed
A small protein-rich snack like Greek yogurt or nuts can be beneficial before bed. However, avoid large protein meals within two to three hours of bedtime to ensure proper digestion.
High-protein meals before bed may take longer to digest, potentially disrupting sleep if you lie down shortly after eating.
Lean proteins, on the other hand, help with overnight muscle repair and keep you fuller longer. Fish or plant-based options (such as tofu, beans, or lentils) are easier on the stomach than heavier proteins, like red meat, and are associated with better sleep quality.
4. Fats: 3-4 Hours Before Bed
If you want to eat fats before bed, stick to foods with unsaturated fats, such as avocados or nuts, and aim to finish eating them at least three to four hours before bedtime to avoid digestive issues. Unsaturated fats help support satiety and maintain stable blood sugar levels.
High-fat foods, especially fried or greasy ones, take longer to digest and may cause discomfort, bloating, or acid reflux when lying down. Fatty meals may also delay sleep onset, as they require more energy for digestion.
Some research has found that eating foods with saturated fat before bed is associated with less time spent in deep sleep.
5. Drinks: 1-2 Hours Before Bed

Limit liquids at least one to two hours before bed to prevent sleep disturbances. While hydration is essential for overall wellness and sleep quality, drinking too much liquid close to bedtime can lead to frequent nighttime bathroom trips, disrupt deep sleep cycles, and cause a groggy morning.
Limit liquids one to two hours before bed to avoid sleep disturbances. Staying hydrated is important for health and sleep quality, but too much liquid before bed can result in frequent bathroom trips, disrupted deep sleep cycles, and groggy mornings.
Caffeine can remain in your system for at least 12 hours after drinking it, so limit caffeinated beverages to the morning.
Despite its sedative effects, alcohol can disrupt your sleep later in the night, so avoid drinking it too close to bedtime.
Benefits of Eating Before Bed
Here are some of the benefits you might experience from eating before bed:
Prevents midnight hunger: A small, protein-rich snack before bed can help curb hunger and avoid waking up in the middle of the night.
Supports muscle recovery: A light protein snack may support overnight muscle repair and growth, particularly for those who exercise in the evening.10
May help stabilize blood sugar levels: Some people, particularly those with blood sugar imbalances, may benefit from a small snack with protein and fiber to prevent glucose dips.
May support relaxation: Certain foods, such as those rich in tryptophan or magnesium, may promote the production of the hormone melatonin and the neurotransmitter serotonin, which can help improve relaxation and sleep quality.11 Kiwifruit and tart cherry juice are also known to support sleep.
Drawbacks of Eating Late
While eating before bed can be beneficial in some cases, there are drawbacks to eating before bed, such as:
May contribute to weight gain: While nighttime eating does not directly cause weight gain, eating additional calories than needed and not pairing eating with exercise can lead to extra pounds.14
May disrupt sleep: Consuming large or heavy meals close to bedtime can cause indigestion, acid reflux, or bloating, which can make it harder to fall and stay asleep.
May interfere with circadian rhythm: The body may interpret late eating as a signal that it’s still in an active phase (rather than a rest-and-digest state), potentially disrupting natural metabolic processes.15
May have unwanted blood sugar effects: High-carb or sugary foods before bed can cause blood sugar spikes and crashes, leading to restless sleep and increased hunger in the morning.
What to Eat Before Bed
Good bedtime snacks balance protein, fiber, and healthy fats to stabilize your blood sugar and prevent nighttime hunger without overloading your digestive system, such as:
Tryptophan-rich foods: Turkey, almonds, walnuts, pumpkin seeds, tofu, and bananas11
Magnesium-rich foods: Dark chocolate, spinach, avocado, cashews, and sunflower seeds16
Lean proteins: Greek yogurt, cottage cheese, hard-boiled eggs, or a smoothie with soy milk
Fiber-rich carbs: Whole-grain crackers, oatmeal, quinoa, or whole-grain toast with nut butter
Healthy fats: A small handful of nuts, chia seed pudding, or avocado on whole-grain toast