The best foods to eat before bed are small, nutrient-dense snacks around 150 calories that combine complex carbohydrates with a little protein or healthy fat. Eating a large meal too close to sleep can cause indigestion and restless nights, but going to bed hungry isn’t great either. The sweet spot is a light snack that supports your body’s natural sleep chemistry without overloading your digestive system.
The Three-Hour Rule for Meals
If you’re eating a full meal, aim to finish it about three hours before you plan to fall asleep. That window gives your body enough time to digest so food isn’t sitting in your stomach when you lie down, which is a common trigger for acid reflux. It also keeps you from climbing into bed so hungry that your brain won’t settle. Whether your last meal is at 7 p.m. or 9 p.m. doesn’t matter much. It’s the three-hour gap between that meal and lights-out that counts.
A small snack closer to bedtime is a different story. If you’re genuinely hungry an hour or two before sleep, a light bite can actually help. One study found that eating a low-calorie carbohydrate or protein snack 30 minutes before sleep boosted metabolism the following morning. The key is keeping it simple and small.
Nutrients That Help You Sleep
Three nutrients play an outsized role in sleep quality: tryptophan, melatonin, and magnesium. Choosing snacks rich in these gives you the best shot at falling asleep faster and staying asleep longer.
Tryptophan is an amino acid your body can’t make on its own. You have to get it from food. It fuels the production of serotonin, a hormone that helps regulate your sleep cycle. Good sources include turkey, chicken, fish, eggs, cheese, edamame, peanuts, tofu, quinoa, and pumpkin seeds. Pairing a tryptophan-rich food with a complex carbohydrate helps your body absorb and use the amino acid more effectively.
Melatonin is the hormone your brain produces to signal that it’s time for sleep, and certain foods contain it naturally. Tart cherries (especially Montmorency cherries), pistachios, almonds, eggs, and milk are all solid sources. Tart cherry juice has some of the strongest research behind it. In a small study of adults over 50, drinking about 8 ounces of tart cherry juice twice daily for two weeks led to measurably longer sleep compared to a placebo.
Magnesium promotes muscle relaxation, which can ease the physical tension that keeps people awake. Bananas, avocados, spinach, and sweet potatoes are all rich in both magnesium and potassium.
Good Bedtime Snack Combinations
The most effective pre-bed snacks pair two or three of those sleep-supporting nutrients together. Complex carbohydrates keep blood sugar stable through the night, protein helps release tryptophan, and a little fat slows carbohydrate absorption so you don’t wake up from a blood sugar dip. Here are some combinations that check those boxes while staying around 150 calories:
- A banana with a tablespoon of peanut butter: magnesium, potassium, tryptophan, and healthy fat in one snack.
- A small bowl of whole-grain cereal with milk: complex carbs plus the natural melatonin and tryptophan in milk.
- A handful of almonds or pistachios: both contain melatonin, magnesium, and enough protein to keep you satisfied.
- Cheese and whole-grain crackers: tryptophan from the cheese, steady-release carbs from the crackers.
- A small serving of tart cherry juice: one of the few foods with direct clinical evidence for improving sleep duration.
- Plain yogurt with pumpkin seeds: protein, tryptophan, and magnesium together.
Herbal Teas That Promote Sleep
A warm cup of herbal tea before bed can serve double duty, helping you wind down psychologically while delivering mild sedative compounds. Chamomile is the most well-known option. It contains a plant compound called apigenin that binds to receptors in the brain to reduce anxiety and increase drowsiness. A 2016 study found chamomile tea reduced symptoms of physical fatigue and improved mood in postpartum women over a two-week period.
Lavender tea has also been shown to decrease anxiety and depression, which makes it useful if your mind tends to race at bedtime. Valerian root tea works through a different mechanism, activating a calming brain chemical called GABA that helps quiet neural activity.
One tea to be cautious with is green tea. It contains an amino acid called L-theanine that can improve sleep quality, but it also has caffeine. If you’re sensitive to stimulants, read the label carefully or skip green tea in the evening altogether.
Foods and Drinks to Avoid Before Bed
Some foods are reliably disruptive to sleep, either because they trigger acid reflux, stimulate your nervous system, or send you to the bathroom repeatedly through the night.
Caffeine is the most obvious culprit, and it hides in places beyond coffee. Chocolate, some teas, and certain supplements all contain enough caffeine to interfere with sleep if consumed in the evening. Caffeine’s effects can linger in your body for six hours or more, so even an afternoon source can bleed into bedtime.
Spicy and acidic foods are a recipe for reflux when you lie down. Tomatoes, citrus fruits, salsa, onions, and pickled foods all increase stomach acid production. If you’re prone to heartburn, these are worth avoiding for at least three hours before bed.
Alcohol feels like it helps you fall asleep, but it fragments sleep cycles later in the night, reducing the deep and restorative stages. It also acts as a diuretic, making middle-of-the-night bathroom trips more likely.
Carbonated beverages can irritate the bladder and contribute to nighttime awakenings. High water-content foods like watermelon, cucumbers, and strawberries have a similar diuretic effect. They’re healthy choices earlier in the day, but eating a large portion right before bed may mean more trips to the bathroom.
How Much to Eat
Portion size matters as much as food choice. A 150-calorie snack is a useful benchmark for most people. That’s roughly a medium banana, a small handful of nuts, or a cup of cereal with milk. Going much beyond that starts to tax your digestive system and can raise your core body temperature, both of which make it harder to fall and stay asleep.
If you find yourself ravenous before bed on a regular basis, that’s often a sign your daytime eating pattern needs adjustment rather than a problem to solve with a bigger nighttime snack. Spreading your calories more evenly across the day, with adequate protein at dinner, typically reduces late-night hunger without requiring you to eat right before sleep.

