Best Foods to Eat Before Bed for Better Sleep

Eat your way to better sleep with these science-backed food choices.

What you eat—and when you eat it—can significantly impact your sleep quality. Certain foods contain compounds that promote relaxation and sleepiness, while others can keep you awake. Here's your guide to eating for better sleep.

Sleep-Promoting Nutrients

Several nutrients play key roles in sleep regulation:

  • Tryptophan: An amino acid that helps produce serotonin and melatonin
  • Magnesium: Helps regulate neurotransmitters and melatonin
  • Potassium: Relaxes muscles and regulates sleep patterns
  • Calcium: Helps the brain use tryptophan to manufacture melatonin
  • Vitamin B6: Required for melatonin production
  • Melatonin: The sleep hormone, found naturally in some foods

Best Foods for Sleep

Tart Cherries

Tart cherries are one of the few natural food sources of melatonin. Studies show that drinking tart cherry juice can increase sleep time and quality. They also contain anti-inflammatory compounds that may reduce muscle soreness.

Kiwi

Research found that eating two kiwis one hour before bed improved sleep onset, duration, and efficiency. Kiwis are rich in serotonin, folate, and vitamins C and E—all linked to better sleep.

Fatty Fish

Salmon, tuna, and mackerel are high in omega-3 fatty acids and vitamin D. This combination may enhance sleep quality by increasing serotonin production. Aim to eat fatty fish 2-3 times per week.

Nuts

Almonds, walnuts, and pistachios contain melatonin, magnesium, and healthy fats. Walnuts are particularly high in melatonin. A small handful (about 1 ounce) makes an ideal evening snack.

Dairy Products

Warm milk isn't just a folk remedy—dairy contains tryptophan and calcium. Greek yogurt or cottage cheese also provide protein that stabilizes blood sugar overnight.

Complex Carbohydrates

Whole grains like oatmeal, brown rice, or whole wheat bread can help tryptophan enter the brain more efficiently. Pair with a protein source for optimal effect.

Herbal Teas

Chamomile tea contains apigenin, an antioxidant that promotes sleepiness. Passionflower and valerian teas also have sleep-promoting properties. Avoid adding too much sugar.

Foods to Avoid Before Bed

  • Caffeine: Found in coffee, tea, chocolate, and some medications. Follow the 10-hour caffeine rule
  • Spicy foods: Can cause heartburn and raise body temperature
  • High-fat foods: Take longer to digest and may cause discomfort
  • Large meals: Can lead to indigestion and disrupt sleep
  • Alcohol: Disrupts REM sleep and sleep quality
  • Sugary foods: Can cause blood sugar spikes and crashes
  • Acidic foods: Tomatoes and citrus can trigger acid reflux

Timing Your Evening Eating

When you eat matters as much as what you eat:

  • Last large meal: Finish 3-4 hours before bed
  • Light snack: Okay 1-2 hours before bed if hungry
  • Ideal snack size: 150-200 calories maximum
  • Avoid: Going to bed very hungry (low blood sugar disrupts sleep)

Perfect Pre-Sleep Snack Combinations

Try these sleep-promoting snack combinations:

  • Banana with almond butter
  • Greek yogurt with a drizzle of honey and walnuts
  • Whole grain crackers with cheese
  • Tart cherry juice with a small handful of almonds
  • Oatmeal with warm milk and cinnamon
  • Kiwi with a few pistachios

The Blood Sugar Connection

Stable blood sugar throughout the night prevents wake-ups. Combining complex carbs with protein and healthy fats provides steady energy and prevents the blood sugar crashes that can wake you at 3 AM.

The Bottom Line

Strategic eating can enhance your sleep quality. Focus on foods rich in tryptophan, magnesium, and natural melatonin, while avoiding stimulants and heavy meals close to bedtime. Combined with good sleep hygiene, nutrition can be a powerful tool for better rest.