A healthy bedtime snack is a small, nutrient-rich bite, ideally around 150 calories, that combines a slow-digesting protein or healthy fat with a moderate amount of carbohydrates. This combination keeps your blood sugar stable overnight, supports your body’s natural sleep chemistry, and prevents the kind of hunger that wakes you up at 2 a.m. The key is choosing foods that help you sleep rather than fight against it.
Why Certain Nutrients Help You Sleep
Your body produces melatonin, the hormone that regulates your sleep-wake cycle, through a chain reaction that starts with the amino acid tryptophan. Tryptophan converts into serotonin, which then converts into melatonin. Foods rich in tryptophan give your body more raw material for this process. Turkey, dairy, nuts, seeds, and eggs are all good sources.
Magnesium plays a supporting role by helping serotonin bind to its receptors and by boosting the activity of an enzyme critical for melatonin production. Animal studies have shown that magnesium deficiency leads to lower melatonin levels in the blood. Almonds, pumpkin seeds, and bananas all deliver meaningful amounts of magnesium in a small serving.
Carbohydrates matter too, but the type and timing make a difference. A study of healthy young men found that a higher-glycemic carbohydrate meal cut the time it took to fall asleep nearly in half compared to a lower-glycemic option (9 minutes versus 17.5 minutes). The effect was strongest when the carbs were eaten about four hours before bed. That said, for a small snack closer to bedtime, pairing a modest amount of carbs with protein or fat keeps blood sugar from spiking and crashing overnight.
Best Foods to Eat Before Bed
A few specific foods have direct research backing their effects on sleep quality.
Tart cherry juice is one of the most studied options. Tart Montmorency cherries contain naturally occurring melatonin, and a clinical trial found that drinking tart cherry juice concentrate significantly increased total sleep time and sleep efficiency compared to a placebo. A small glass (about 8 ounces of diluted concentrate) is enough.
Kiwifruit is another strong choice. In a study of elite athletes, eating two medium kiwis an hour before bed for four weeks increased total sleep time by about 50 minutes (from 7.6 hours to 8.55 hours) and raised sleep efficiency from 86% to 93%. Kiwis are rich in serotonin and antioxidants, which likely drive the effect.
Greek yogurt or cottage cheese provides casein, a slow-digesting milk protein that releases amino acids gradually throughout the night. Research has shown that consuming casein before sleep increases overnight protein synthesis, which is especially useful if you exercise regularly. For athletes specifically, pre-sleep casein has been linked to reduced muscle soreness and better strength recovery after hard workouts.
A handful of almonds or walnuts delivers both magnesium and healthy fats that digest slowly, helping maintain stable blood sugar. Walnuts also contain small amounts of melatonin. Pair them with a few whole-grain crackers or a small banana for a balanced snack.
Whole-grain toast with nut butter hits the protein-plus-carb combination without being too heavy. The complex carbs support tryptophan uptake into the brain, and the fat from the nut butter slows digestion enough to prevent a blood sugar drop in the middle of the night.
How Much and When to Eat
Aim for roughly 150 calories. That’s about a small bowl of cottage cheese with berries, a banana with a tablespoon of almond butter, or a handful of nuts with a few dried cherries. You want enough to take the edge off hunger without forcing your digestive system into heavy work while you’re trying to sleep.
Timing matters more than most people realize. Cleveland Clinic recommends finishing your last full meal about three hours before bed. A small snack can come closer to bedtime, but eating a large or heavy meal right before lying down increases your risk of acid reflux and disrupted sleep. If you’re having a light snack, 30 to 60 minutes before bed is a reasonable window.
Watch your fluid intake as well. Drinking large amounts of liquid close to bedtime increases the likelihood of waking up to use the bathroom. Research suggests finishing your last significant drink at least an hour before bed to reduce nighttime awakenings.
What to Avoid at Night
Some foods actively work against sleep. High-fat, greasy, or spicy foods are the biggest offenders because they relax the valve between your stomach and esophagus, making acid reflux more likely when you lie down. Specific triggers include fried foods, pizza, chips, fatty meats like bacon, and anything heavily seasoned with chili or black pepper.
Chocolate is a sneaky problem. It contains both caffeine and a related stimulant that can delay sleep onset. Citrus fruits, tomato-based sauces, peppermint, and carbonated drinks also tend to worsen reflux symptoms at night. Even if you don’t normally experience heartburn, these foods are more likely to cause trouble when eaten close to bedtime because lying flat removes gravity’s help in keeping stomach acid where it belongs.
Sugary snacks like cookies, candy, or ice cream cause a rapid blood sugar spike followed by a crash, which can trigger your body to release stress hormones that wake you up. If you want something sweet, a small serving of fruit paired with protein (like apple slices with cheese) gives you the sweetness without the metabolic roller coaster.
Quick Combinations That Work
- Banana with a small handful of walnuts: magnesium, tryptophan, and healthy fats in one simple pairing
- Tart cherry juice with a few whole-grain crackers: natural melatonin plus slow-release carbs
- Greek yogurt with kiwi slices: casein protein and serotonin-boosting fruit
- Cottage cheese with pumpkin seeds: slow-digesting protein paired with one of the richest food sources of magnesium
- Warm milk with a drizzle of honey: tryptophan and just enough carbohydrate to support its uptake into the brain
The best bedtime snack is one you actually enjoy eating, that sits well in your stomach, and that doesn’t leave you wired or uncomfortable. Start with any of these combinations, pay attention to how you sleep afterward, and adjust from there.

