What to Eat Before Sleep: Best and Worst Foods

A small, nutrient-rich snack about 150 calories is the sweet spot before bed. The right foods can genuinely help you fall asleep faster and sleep more deeply, while the wrong ones can leave you tossing, dealing with heartburn, or waking up to use the bathroom. What matters most is choosing foods that work with your body’s sleep chemistry, keeping portions modest, and timing your eating so digestion doesn’t compete with rest.

How Food Affects Your Sleep Chemistry

Your brain manufactures melatonin (the hormone that regulates your sleep-wake cycle) from serotonin, which itself is built from an amino acid called tryptophan. The catch is that tryptophan has to compete with other amino acids to cross from your bloodstream into your brain. Eating carbohydrates triggers insulin release, which clears those competing amino acids from your blood and gives tryptophan a clear path. That’s why a carbohydrate-rich, protein-poor snack can make you feel genuinely sleepy.

This is also why the classic advice to drink warm milk before bed has some basis in reality. Dairy contains tryptophan, and pairing it with a small amount of carbohydrate helps that tryptophan reach your brain more effectively.

Best Foods to Eat Before Bed

Kiwi

Kiwi is one of the most studied sleep-friendly foods. Adults with sleep problems who ate two kiwis one hour before bed for four weeks saw their total sleep time increase by 13.4% and their sleep efficiency improve by 5.41%. Kiwis are rich in serotonin and antioxidants, which likely drive these effects. At roughly 40 calories per fruit, two kiwis fit comfortably into a pre-bed snack.

Tart Cherry Juice

Tart cherry juice contains small amounts of melatonin along with compounds called procyanidins that appear to slow the breakdown of tryptophan in the body. In a pilot study, participants drank about 8 ounces of tart cherry juice in the morning and again one to two hours before bed for two weeks and experienced improvements in insomnia symptoms. The melatonin content alone is far too low to explain the effect (a fraction of what’s in a supplement), so the benefit likely comes from how the juice influences tryptophan metabolism overall.

High-Glycemic Carbohydrates

White rice, a small piece of white bread with honey, or a bowl of plain cereal can help you fall asleep faster. A study in healthy sleepers found that a high-glycemic carbohydrate meal cut the time to fall asleep nearly in half, from about 17.5 minutes down to 9 minutes. The key detail: this worked best when eaten four hours before bed rather than one hour before. So if you go to bed at 11 p.m., having rice with dinner at 7 p.m. is more effective than snacking on it at 10.

Nuts and Seeds

Almonds, cashews, and pumpkin seeds deliver magnesium, a mineral that helps calm nervous system activity. Magnesium supports the function of GABA, a neurotransmitter that reduces neuronal excitability and plays a direct role in regulating sleep-wake cycles. GABA works by slowing down brain activity, essentially putting the brakes on the mental chatter that keeps you awake. A small handful of almonds (about one ounce) provides roughly 75 mg of magnesium and stays under 170 calories.

Banana With Nut Butter

A banana gives you both carbohydrates and magnesium, while a tablespoon of nut butter adds a small amount of protein and healthy fat to prevent a blood sugar spike and crash. This combination supports tryptophan uptake without being heavy enough to cause digestive discomfort.

What to Eat for Muscle Recovery Overnight

If you exercise in the evening, your pre-sleep snack can double as recovery fuel. Casein protein, the slow-digesting protein found in dairy, gets absorbed gradually throughout the night and keeps amino acid levels elevated for hours. Research on young men who consumed 40 grams of casein 30 minutes before sleep after resistance training showed increased whole-body protein synthesis and improved protein balance overnight.

That 40-gram threshold matters. Studies using only 30 grams found no significant benefit, while 40 to 48 grams consistently improved recovery markers, including next-day jump performance in soccer players. You can get roughly 40 grams of casein from about 1.5 cups of cottage cheese or a casein protein shake mixed with water or milk. For people who aren’t doing intense evening workouts, a smaller serving of Greek yogurt or cottage cheese still provides steady protein release without the full 40-gram dose.

Foods to Avoid Before Bed

High-fat meals are one of the worst choices close to bedtime. Fatty foods lower pressure in the valve between your esophagus and stomach, increase the rate at which that valve relaxes open, and slow gastric emptying. All three of these effects increase acid reflux, which gets significantly worse when you lie down. Greasy pizza, burgers, fried snacks, and rich desserts are common culprits.

Spicy foods and high-lactose dairy products can trigger similar issues. Lactose has been shown to increase reflux episodes and esophageal acid exposure even in otherwise healthy people. If you’re prone to heartburn, stick to low-fat, non-spicy options and avoid chocolate, which also relaxes the esophageal valve.

Caffeine and alcohol are obvious ones to skip, but their timing catches people off guard. Caffeine has a half-life of about five to six hours, so a coffee at 3 p.m. still has half its caffeine in your system at 9 p.m. Alcohol may help you fall asleep initially but fragments sleep in the second half of the night.

Timing and Portion Size

Eating within two hours of bedtime is where metabolic risks start to appear. Research tracking over 8,000 adults found that habitual late-night eating was associated with metabolic syndrome markers like abnormal blood lipids in both men and women. A separate large study of over 60,000 people found that late-night dinner eating combined with skipping breakfast the next morning was an especially problematic pattern. One striking finding: higher calorie intake in the two hours before bed increased the odds of obesity fivefold, particularly in people who naturally prefer staying up late.

This doesn’t mean you should go to bed hungry. A light snack around 150 calories, eaten about 30 to 60 minutes before bed, is a reasonable target. One study found that consuming a low-calorie carbohydrate or protein snack 30 minutes before sleep actually boosted morning metabolism. The goal is satisfying mild hunger without triggering a full digestive cycle.

If you’re having a full meal, aim to finish it at least two to three hours before bed. For carbohydrate-heavy meals meant to promote drowsiness, four hours before bed appears to be the optimal window based on the sleep onset research.

Managing Fluids Before Bed

Waking up to urinate is one of the most common sleep disruptors, and fluid timing plays a direct role. Finish your last significant drink at least one hour before bed. Total daily fluid intake between 1,000 and 2,500 ml (roughly 4 to 10 cups) is associated with the best outcomes. If you find yourself waking two or more times per night, gradually shift more of your fluid intake to the morning and afternoon rather than the evening. A few sips of water at bedtime are fine, but avoid downing a full glass of tart cherry juice or milk right as you get into bed.

Simple Pre-Sleep Snack Ideas

  • Two kiwis: about 80 calories, rich in serotonin and antioxidants
  • Small bowl of cereal with milk: combines carbohydrates with tryptophan and casein
  • Handful of almonds with a few dried tart cherries: magnesium plus natural melatonin
  • Half a banana with a tablespoon of almond butter: carbs, magnesium, and healthy fat
  • Cottage cheese (3/4 cup): slow-digesting protein, especially useful after evening exercise
  • Whole grain crackers with a thin slice of turkey: carbohydrate-tryptophan combination

Each of these comes in under 200 calories and pairs at least two of the sleep-supporting nutrients: tryptophan, magnesium, natural melatonin, or complex carbohydrates. Pick whichever appeals to you and fits your usual eating pattern. Consistency matters more than perfection here.