Best Foods for Better Sleep: What to Eat (and Avoid) Before Bed

SLEEP AND NUTRITION

Best Foods for Better Sleep: What to Eat (and Avoid) Before Bed

By WellnessVigor · Updated October 15, 2026 · 8 min read

This article contains affiliate links. If you buy through them, we may earn a small commission at no extra cost to you. Learn more.

What you eat during the day and in the evening can affect how quickly you fall asleep and how deeply you sleep. No single food is a sleeping pill, but some foods and eating patterns are linked to better sleep, while others can keep you awake.

Here’s what research says about the best foods for sleep, smart bedtime snacks and what to avoid.

Quick answer

Diets higher in fiber and lower in saturated fat and sugar are linked to deeper, less disrupted sleep. Specific foods with some research support include kiwifruit, tart cherry juice and fatty fish. Good bedtime snacks are small and combine a little protein with complex carbs, such as yogurt with fruit or whole-grain toast with peanut butter. Avoid caffeine, alcohol, large or spicy meals and lots of sugar in the evening.

A review in Advances in Nutrition found that diets higher in fiber were associated with more deep (slow-wave) sleep, while more saturated fat and sugar were linked to lighter, more disrupted sleep. Overall eating pattern matters more than any single “superfood”.

Foods with research support

  • Kiwifruit: in a small 4-week study, adults with sleep problems who ate two kiwis an hour before bed fell asleep faster and slept longer. The study had no control group, so results are preliminary.
  • Tart cherry juice: in a placebo-controlled study, tart cherry juice concentrate increased melatonin levels and improved total sleep time and sleep efficiency.
  • Fatty fish: salmon, sardines and mackerel provide omega-3s and vitamin D, both linked to sleep regulation in some studies. See our omega-3 guide.
  • Fiber-rich foods: oats, beans, whole grains, vegetables and fruit.
  • Magnesium-rich foods: nuts, seeds, leafy greens and legumes. See magnesium for sleep.

Best bedtime snacks

If you’re hungry before bed, a small snack is fine and better than lying awake hungry. Choose:

  • Greek yogurt with berries or kiwi
  • Whole-grain toast with a thin layer of peanut butter
  • A banana with a small handful of almonds
  • A small bowl of oatmeal
  • Cottage cheese with fruit
  • Warm milk or a caffeine-free herbal tea

More ideas: healthy late-night snacks for weight loss.

Want a simple, step-by-step plan to sleep better? The 14-Day Sleep Reset guide walks you through fixing your schedule, evening routine and bedroom, one day at a time.

Get the 14-Day Sleep Reset Guide →

RECOMMENDED · POPULAR FOR STRESS

Wind down after a stressful day

Ashwagandha (KSM-66) is one of the most popular supplements for stress. In small studies it modestly lowered stress and improved sleep quality for some people.

Good to know: Not suitable in pregnancy or with thyroid or autoimmune conditions. Rare liver problems have been reported. Check with your doctor if you take medicines.

Foods and drinks to avoid before bed

  • Caffeine: coffee, tea, energy drinks, cola and dark chocolate. Even 6 hours before bed it reduced sleep in research. See does afternoon coffee affect sleep?
  • Alcohol: disrupts the second half of the night.
  • Large, fatty or spicy meals: can cause reflux and discomfort. See how to sleep with acid reflux.
  • Lots of sugar: linked to lighter, more disrupted sleep.
  • Too many fluids: may mean bathroom trips at night.

When to eat

Finish your main meal 2–3 hours before bed. See the best time to eat dinner and is it bad to sleep right after eating?

Sleep-friendly foods and drinks on Amazon

These are common, inexpensive options that some people find helpful. We have not personally tested these products. Links go to Amazon search results so you can compare current options and prices.

BEST RESEARCHED DRINK

Tart Cherry Juice Concentrate

Tart cherry juice increased melatonin and improved sleep in a placebo-controlled study. Check sugar content.

Pros

  • Some research support
  • Easy to mix
  • Natural melatonin source

Cons

  • Contains natural sugar
  • Tart taste

BEST CAFFEINE-FREE TEA

Chamomile Tea

A warm, caffeine-free bedtime ritual.

Pros

  • Caffeine-free
  • Calming ritual
  • Cheap

Cons

  • Limited sleep evidence
  • Bathroom trips if drunk late

BEST SNACK

Unsalted Almonds

A small handful adds protein, fiber and magnesium to a bedtime snack.

Pros

  • Filling
  • Magnesium source
  • Shelf-stable

Cons

  • Calorie-dense
  • Portion control needed

BEST FOR OATS

Rolled Oats

Oatmeal is a filling, fiber-rich evening snack.

Pros

  • High fiber
  • Cheap
  • Versatile

Cons

  • Watch toppings
  • Large portions add calories

Keep reading

Frequently asked questions

What is the best food to eat before bed?

A small snack with a little protein and complex carbs, such as yogurt with fruit or toast with peanut butter.

Does warm milk help you sleep?

Evidence is limited, but a warm, caffeine-free drink can be a relaxing part of a bedtime routine.

Is it bad to eat right before bed?

A large meal can cause discomfort and reflux. A small snack is usually fine.

Do bananas help you sleep?

Bananas contain potassium and magnesium and make a light snack, but direct evidence for sleep is limited.

Does sugar affect sleep?

Higher sugar intake is linked to lighter, more disrupted sleep in research.

Sources

This article is for general information only and is not medical advice. See our Medical Disclaimer.

Scroll to Top