What to Eat for Better Sleep: Best Foods, Drinks and What to Avoid

February 20, 2024 By Salva Off
what to eat for better sleep

What to eat for better sleep is one of the most searched nutrition questions, and the honest answer is that no single food works like a sleeping pill. Research does show that some foods, such as kiwifruit, tart cherries, fatty fish and complex carbohydrates, are linked to falling asleep faster or sleeping better, while caffeine, alcohol and heavy late meals reliably make sleep worse. This evidence-based guide covers the best foods and drinks for sleep, what to avoid, meal timing, a sample evening menu and when poor sleep needs medical attention.

Key Takeaways (Updated November 2026)

  • Best-studied foods: Kiwifruit, tart cherry juice and fatty fish such as salmon have small clinical trials suggesting improvements in sleep onset or quality.
  • Overall pattern matters most: Diets high in fiber, fruits, vegetables and whole grains, like the Mediterranean diet, are associated with better sleep quality, while high sugar and saturated fat intake is linked to lighter, more disrupted sleep.
  • Caffeine lingers: Caffeine’s half-life is roughly 5 hours on average, so an afternoon coffee can still affect sleep at bedtime.
  • Alcohol backfires: It can help you fall asleep but fragments sleep and suppresses REM sleep later in the night.
  • Timing: Finishing large meals about 2 to 3 hours before bed reduces reflux and discomfort; a small, light snack is fine if you are hungry.

How Food Affects Sleep

Sleep is regulated by the body’s internal clock (circadian rhythm) and by sleep pressure, which builds the longer you are awake. Food influences both. The amino acid tryptophan is a building block for serotonin, which the body converts into melatonin, the hormone that signals darkness to the brain. Carbohydrates can help more tryptophan reach the brain. Nutrients such as magnesium, B vitamins and omega-3 fatty acids are involved in nerve signaling and melatonin production. Meal timing also acts as a signal to the body clock, and large or spicy late meals can trigger reflux that wakes people at night.

A common misconception is that foods “contain” enough melatonin or tryptophan to sedate you. In reality, the amounts in food are small, and effects in studies are modest. The best results come from an overall healthy eating pattern combined with good sleep habits.

10 Foods and Drinks That May Help You Sleep Better

1. Kiwifruit

In a small Taiwanese study published in the Asia Pacific Journal of Clinical Nutrition (2011), adults with sleep problems who ate two kiwifruits one hour before bed for four weeks fell asleep faster, slept longer and had better sleep efficiency. Kiwifruit is rich in vitamin C, folate and antioxidants, and contains serotonin. The study had no control group, so results need confirmation.

2. Tart Cherries and Tart Cherry Juice

Montmorency tart cherries naturally contain melatonin. Small randomized trials have found that drinking tart cherry juice twice daily modestly increased total sleep time in older adults with insomnia. Choose unsweetened juice and be mindful of sugar and calories.

3. Fatty Fish (Salmon, Mackerel, Sardines)

A Norwegian study in the Journal of Clinical Sleep Medicine (Hansen and colleagues, 2014) found that men who ate Atlantic salmon three times a week for several months had improvements in daily functioning and a trend toward faster sleep onset compared with a meat group. Fatty fish provides omega-3 fatty acids (EPA and DHA) and vitamin D, both of which are linked to serotonin regulation.

4. Complex Carbohydrates

Whole grains such as oats, brown rice, quinoa and whole-grain bread provide steady energy and may help tryptophan enter the brain. Some research suggests high glycemic meals eaten about four hours before bed shorten the time it takes to fall asleep, but a diet heavy in refined carbs and sugar is linked to poorer sleep overall. A moderate portion of whole grains at dinner is a sensible middle ground.

5. Milk and Dairy

Warm milk is a traditional sleep aid. Milk contains tryptophan, and some studies of fermented or “night milk” (collected at night with higher melatonin) suggest small benefits, but evidence is limited. Part of the benefit may simply be the calming bedtime ritual.

6. Nuts and Seeds

Almonds, walnuts and pumpkin seeds provide magnesium, healthy fats and, in walnuts, small amounts of melatonin. Pumpkin seeds are especially rich in magnesium and tryptophan; see our guide to the pros and cons of pumpkin seeds. A small handful is a good evening snack.

7. Chamomile Tea

Chamomile contains apigenin, a compound that binds to receptors in the brain involved in relaxation. A 2019 systematic review and meta-analysis found chamomile improved sleep quality modestly, though it did not clearly help daytime functioning or insomnia severity. Avoid it if you are allergic to ragweed or related plants, and check with your doctor if you take blood thinners.

8. Bananas

Bananas provide potassium, magnesium and vitamin B6, which helps convert tryptophan to serotonin. They are an easy, light bedtime snack, though direct sleep studies are lacking.

9. Turkey, Eggs and Other Protein Foods

Turkey is famous for tryptophan, but it contains similar amounts to chicken and other proteins. Post-holiday sleepiness is more likely from a very large meal and alcohol. Including moderate protein at dinner supports steady blood sugar through the night.

10. Leafy Greens, Beans and Legumes

These foods are rich in magnesium, folate and fiber. Higher fiber intake was linked to deeper, more restorative slow-wave sleep in a small controlled study in the Journal of Clinical Sleep Medicine (St-Onge and colleagues, 2016), while higher saturated fat and sugar intake were linked to lighter, more disrupted sleep.

Sleep Foods at a Glance

Food or drinkKey nutrientsStrength of evidence
KiwifruitSerotonin, vitamin C, antioxidantsSmall uncontrolled study; promising
Tart cherry juiceMelatonin, polyphenolsSmall randomized trials; modest benefit
Fatty fishOmega-3s, vitamin DOne controlled study; modest
High-fiber whole foodsFiber, magnesiumControlled feeding and observational studies
Chamomile teaApigeninMeta-analysis; small effect on sleep quality
Warm milkTryptophan, calciumLimited; mostly ritual effect
Nuts and seedsMagnesium, healthy fatsIndirect evidence

Foods and Drinks to Avoid Before Bed

  • Caffeine: Found in coffee, tea, cola, energy drinks and chocolate. Its average half-life is about 5 hours, and a study in the Journal of Clinical Sleep Medicine (Drake and colleagues, 2013) found 400 mg of caffeine taken even 6 hours before bed reduced total sleep time by more than an hour. Many sleep experts suggest stopping caffeine by early afternoon.
  • Alcohol: It may make you drowsy, but it disrupts sleep in the second half of the night, suppresses REM sleep and worsens snoring and sleep apnea.
  • Large, fatty or fried meals: They take longer to digest and can cause discomfort and reflux when lying down.
  • Spicy and acidic foods: Common heartburn triggers such as chili, tomato sauces and citrus may wake you up at night if you are prone to reflux.
  • Sugary snacks and desserts: High sugar intake is associated with more nighttime awakenings.
  • Too much fluid late at night: Large drinks right before bed can lead to bathroom trips that break up sleep.

Pros and Cons of Using Diet to Improve Sleep

ProsCons
Safe, low cost and easy to tryEffects of individual foods are modest
Healthy sleep foods also support heart and metabolic healthMost studies are small and short term
Cutting caffeine and alcohol often gives quick improvementsWill not treat sleep apnea, insomnia disorder or other medical causes
No risk of dependence, unlike some sleep medicationsCalorie-dense snacks can add up if eaten nightly

Best Time to Eat Before Bed

Many sleep and digestive health experts recommend finishing your main evening meal about 2 to 3 hours before bed. This gives time for digestion and reduces reflux risk. If you are hungry later, a small snack of about 150 to 200 calories that combines complex carbohydrate with some protein or healthy fat is reasonable, for example:

  • Two kiwifruits
  • A small bowl of oatmeal with milk
  • Whole-grain toast with a thin layer of nut butter
  • Plain yogurt with a few walnuts
  • A banana with a small handful of almonds
  • A cup of chamomile tea with a few whole-grain crackers

Sample Sleep-Friendly Evening Menu

TimeWhat to eat or drink
Afternoon (by about 2 p.m.)Last caffeinated coffee or tea
Dinner (about 3 hours before bed)Baked salmon, brown rice or quinoa, steamed vegetables and a leafy green salad
1 hour before bedTwo kiwifruits or a small glass of unsweetened tart cherry juice
Wind-downChamomile tea, dim lights and screen-free time

What About Sleep Supplements?

Melatonin supplements can help with jet lag and some circadian rhythm problems, but the American Academy of Sleep Medicine does not recommend melatonin for chronic insomnia in adults, and supplement doses and purity vary. Magnesium supplements have mixed evidence. Valerian, L-theanine and other herbal products have limited or inconsistent research. Talk to a doctor or pharmacist before taking supplements, especially if you are pregnant, take other medications or are considering them for a child.

Other Habits That Matter More Than Food

  • Keep a consistent sleep and wake time, even on weekends.
  • Get daylight exposure in the morning and limit bright screens in the evening.
  • Keep the bedroom cool, dark and quiet.
  • Exercise regularly, but avoid intense workouts right before bed if they keep you awake.
  • Use the bed for sleep, not work or scrolling.
  • For chronic insomnia, cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment recommended by sleep medicine guidelines.

The CDC recommends at least 7 hours of sleep per night for adults aged 18 to 60. If you regularly snore loudly, stop breathing during sleep, feel very sleepy during the day despite enough time in bed, or have insomnia lasting more than three months, see a doctor; diet changes will not fix these problems.

Frequently Asked Questions

What is the best food to eat before bed for sleep?

Kiwifruit and tart cherry juice have the most specific sleep research, though the studies are small. A light snack combining complex carbs and protein, such as oatmeal with milk, is another good choice.

Does warm milk really help you sleep?

Milk contains tryptophan, but the amount is small. The calming routine of a warm drink may matter as much as the milk itself.

Is it bad to eat right before bed?

Large or heavy meals close to bedtime can worsen reflux and sleep quality. A small snack is usually fine.

What drink helps you sleep?

Caffeine-free options such as chamomile tea, warm milk and unsweetened tart cherry juice are the most commonly studied. Avoid alcohol and caffeinated drinks in the evening.

Can certain foods cause insomnia?

Caffeine, alcohol, large spicy or fatty meals and high sugar intake can all contribute to poor sleep, especially when eaten late in the day.

Bottom Line

For better sleep, focus on an overall eating pattern rich in fiber, fruits, vegetables, whole grains and fatty fish, finish dinner a few hours before bed, and cut caffeine by early afternoon and alcohol in the evening. Kiwifruit, tart cherries and chamomile tea are reasonable additions with some research behind them. If sleep problems persist despite good habits, speak with a healthcare provider.

Disclaimer: This article is for general information only and is not medical advice. Persistent sleep problems can signal conditions such as sleep apnea or insomnia disorder that need professional evaluation.

Sources


Discover more from Pros & Cons Reviews

Subscribe to get the latest posts sent to your email.