# Foods That Help You Sleep: What the Research Says (and What to Avoid)

URL: https://vitalzone.net/foods-that-help-you-sleep/
Author: Mohammed Achour
Published: 2026-11-09 | Updated: 2026-11-09

Can certain **foods that help you sleep** really make a difference? A few have small studies behind them: kiwifruit, tart cherry juice, fatty fish and chamomile. Overall diet matters more than any single food: more fiber and less sugar and saturated fat are linked with deeper sleep. And when you eat counts too.

Here’s what each food is really based on (spoiler: mostly small studies), what to skip in the evening, and where your gut comes in.

Short answer

- **Kiwifruit:** eating 2 kiwis an hour before bed for 4 weeks was linked with falling asleep faster, in a small study without a control group.

- **Tart cherry juice:** raised melatonin and improved sleep time and efficiency in a small randomized trial.

- **Fatty fish:** salmon 3 times a week was linked with better daily functioning in a winter trial.

- **Chamomile:** improved sleep quality in a meta-analysis, but not insomnia severity.

- **Overall diet:** more fiber was linked with deeper sleep; more sugar with more night-time awakenings.

- **Timing:** finish big meals 2–4 hours before bed, and cut caffeine and alcohol in the evening.

## How food affects sleep

Food can influence sleep in several ways:

- **Melatonin and serotonin:** some foods contain small amounts of melatonin or provide tryptophan, the building block for serotonin and melatonin.

- **Blood sugar and digestion:** large, sugary or fatty meals close to bedtime can cause discomfort, reflux and lighter sleep.

- **Your gut:** gut bacteria help process nutrients involved in sleep and stress. Read [can your gut microbiome affect your sleep?](https://vitalzone.net/gut-microbiome-and-sleep/)

A [review in *Advances in Nutrition*](https://doi.org/10.3945/an.116.012336) found **some evidence** that certain dietary patterns and foods, including milk, fatty fish, tart cherry juice and kiwifruit, support better sleep, but noted that more research is needed to confirm these early findings.

_An evening food timeline for better sleep, and how strong the evidence is for each food._

## Foods that may help you sleep

###

- Kiwifruit

In a [study in the *Asia Pacific Journal of Clinical Nutrition*](https://pubmed.ncbi.nlm.nih.gov/21669584/), 24 adults with sleep problems ate **2 kiwifruits 1 hour before bed for 4 weeks**. They fell asleep about 35% faster, woke less during the night and slept about 13% longer. The study was small and had no control group, so the results need confirming.

###

- Tart cherry juice

Tart Montmorency cherries naturally contain melatonin. In a [randomized, double-blind, placebo-controlled trial in the *European Journal of Nutrition*](https://doi.org/10.1007/s00394-011-0263-7), 20 adults drank tart cherry juice concentrate or placebo for 7 days. The cherry group had **higher melatonin levels and longer total sleep time and better sleep efficiency**. Watch the sugar content of juices.

###

- Fatty fish

In a [randomized trial in the *Journal of Clinical Sleep Medicine*](https://doi.org/10.5664/jcsm.3714), 95 men ate either Atlantic salmon or other meats 3 times a week over winter. The time it took the control group to fall asleep increased over the winter, while the fish group reported **better daily functioning**. Fatty fish provides omega-3 fats and vitamin D, both linked with sleep regulation. The participants were male patients in a secure facility, so the results may not apply to everyone.

###

- Chamomile tea

A [meta-analysis in *Phytotherapy Research*](https://doi.org/10.1002/ptr.6349) found that chamomile **improved sleep quality**, but one trial found no change in insomnia severity. Even so, a warm, caffeine-free cup is an easy way to signal that the day is over.

###

- Fiber-rich foods

In a [study in the *Journal of Clinical Sleep Medicine*](https://doi.org/10.5664/jcsm.5384), adults who ate more fiber during the day had **more deep, slow-wave sleep**, while more sugar was linked with more awakenings. Oats, beans, lentils, vegetables and whole grains all count. See [how much fiber per day do you need?](https://vitalzone.net/how-much-fiber-per-day/)

###

- Carbohydrates, timed well

In a [small study in the *American Journal of Clinical Nutrition*](https://doi.org/10.1093/ajcn/85.2.426), 12 healthy men fell asleep faster after a high-glycemic-index rice meal eaten **4 hours before bed** than after a low-glycemic meal, and faster than when the same meal was eaten 1 hour before bed. Timing seemed to matter as much as the food.

###

- Magnesium-rich foods

Pumpkin seeds, almonds, spinach and black beans are good sources of magnesium, which is involved in nerve signaling. The evidence for magnesium supplements and sleep is limited. Read [magnesium for sleep](https://vitalzone.net/magnesium-for-sleep/).

**My take:** no single food will fix bad sleep. If I had to pick one change, it would be cutting off caffeine earlier. That one has the strongest evidence of anything on this page.

## Foods and drinks to avoid before bed

- **Caffeine:** coffee, tea, energy drinks and chocolate. A [meta-analysis in *Sleep Medicine Reviews*](https://doi.org/10.1016/j.smrv.2023.101764) suggests finishing a cup of coffee at least 8–9 hours before bed. See our [sleep hygiene tips](https://vitalzone.net/sleep-hygiene-tips/).

- **Alcohol:** it may make you drowsy, but a [review in *Alcoholism: Clinical and Experimental Research*](https://doi.org/10.1111/acer.12006) found it disrupts sleep in the second half of the night.

- **Large, fatty or spicy meals** close to bedtime, which can cause reflux.

- **Sugary snacks and drinks**, which were linked with more night-time awakenings.

- **Too much fluid** in the last hour or two if bathroom trips wake you.

## The gut-sleep connection

A fiber-rich diet with plenty of plants and fermented foods supports a diverse gut microbiome, which is linked with better sleep. See [fermented foods for gut health](https://vitalzone.net/fermented-foods-for-gut-health/). For the bigger picture, read [how to sleep better naturally](https://vitalzone.net/how-to-sleep-better/).

## The evidence at a glance

| | Food | Evidence strength | What it is based on  |
| Kiwifruit | **Limited** | One small study, no control group  |
| Tart cherry juice | **Limited** | Small randomized trial (20 people)  |
| Fatty fish | **Limited** | One randomized trial in a special population  |
| Chamomile | **Limited to moderate** | Meta-analysis; mixed outcomes  |
| High-fiber, low-sugar diet | **Limited** | Small controlled study  |
| Avoiding caffeine and alcohol at night | **Strong** | Meta-analysis and systematic review  |

## Who should be careful

- **Ongoing insomnia** (3+ nights a week for 3+ months): food changes won’t be enough on their own. Ask your doctor about CBT-I.

- **Loud snoring, gasping at night or daytime sleepiness:** see a doctor to rule out sleep apnea.

- **Diabetes:** juices and high-glycemic meals can raise blood sugar. Check with your care team.

- **Reflux:** avoid eating within 2–3 hours of bedtime.

- **Medicines:** chamomile may interact with blood thinners such as warfarin, and grapefruit affects many drugs. Ask your pharmacist.

- **Allergies:** avoid chamomile if you’re allergic to ragweed or daisies.

This guide is for general information and is not medical advice. Read our [medical disclaimer](https://vitalzone.net/medical-disclaimer/).

## FAQ

### What foods help you sleep better?

Kiwifruit, tart cherry juice, fatty fish and chamomile tea have small studies suggesting benefits. A diet rich in fiber and low in sugar is also linked with deeper sleep.

### What is the best thing to eat before bed?

If you’re hungry, a small snack such as a kiwi, a handful of almonds or a small bowl of oatmeal is a reasonable choice. Avoid large, fatty or sugary foods close to bedtime.

### How long before bed should I stop eating?

Aim to finish large meals 2–4 hours before bed. One small study found a carbohydrate-rich meal helped people fall asleep faster when eaten 4 hours before bed rather than 1 hour.

### Does warm milk help you sleep?

Milk contains tryptophan, and a warm drink can be part of a relaxing routine, but evidence that milk itself improves sleep is limited.

### Can what I eat cause insomnia?

Caffeine, alcohol, heavy late meals and sugary foods can all disrupt sleep. Chronic insomnia usually has other causes too and needs proper treatment.

## Share your experience

Have any foods or drinks made a difference to your sleep? Tell other readers in the comments below: what you eat in the evening, when you eat it, and what helped or didn’t.

Comments are moderated. Please don’t share personal medical details, and remember that what worked for one person may not suit another.

## Sources

- St-Onge MP, Mikic A, Pietrolungo CE. Effects of diet on sleep quality. *Adv Nutr*. 2016;7:938-949. [doi:10.3945/an.116.012336](https://doi.org/10.3945/an.116.012336)

- Lin HH, et al. Effect of kiwifruit consumption on sleep quality in adults with sleep problems. *Asia Pac J Clin Nutr*. 2011;20:169-174. [PubMed 21669584](https://pubmed.ncbi.nlm.nih.gov/21669584/)

- Howatson G, et al. Effect of tart cherry juice (Prunus cerasus) on melatonin levels and enhanced sleep quality. *Eur J Nutr*. 2012;51:909-916. [doi:10.1007/s00394-011-0263-7](https://doi.org/10.1007/s00394-011-0263-7)

- Hansen AL, et al. Fish consumption, sleep, daily functioning, and heart rate variability. *J Clin Sleep Med*. 2014;10:567-575. [doi:10.5664/jcsm.3714](https://doi.org/10.5664/jcsm.3714)

- Hieu TH, et al. Therapeutic efficacy and safety of chamomile for state anxiety, generalized anxiety disorder, insomnia, and sleep quality: a systematic review and meta-analysis. *Phytother Res*. 2019;33:1604-1615. [doi:10.1002/ptr.6349](https://doi.org/10.1002/ptr.6349)

- St-Onge MP, et al. Fiber and saturated fat are associated with sleep arousals and slow wave sleep. *J Clin Sleep Med*. 2016;12:19-24. [doi:10.5664/jcsm.5384](https://doi.org/10.5664/jcsm.5384)

- Afaghi A, O’Connor H, Chow CM. High-glycemic-index carbohydrate meals shorten sleep onset. *Am J Clin Nutr*. 2007;85:426-430. [doi:10.1093/ajcn/85.2.426](https://doi.org/10.1093/ajcn/85.2.426)

- Gardiner C, et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. *Sleep Med Rev*. 2023;69:101764. [doi:10.1016/j.smrv.2023.101764](https://doi.org/10.1016/j.smrv.2023.101764)

- Ebrahim IO, et al. Alcohol and sleep I: effects on normal sleep. *Alcohol Clin Exp Res*. 2013;37:539-549. [doi:10.1111/acer.12006](https://doi.org/10.1111/acer.12006)
