Foods that help you sleep: what the evidence says for kiwi, milk, cherries and more

Kiwi, fatty fish and tart cherry juice have small human trials behind them. Milk, bananas, nuts and honey have none, and peanut butter's one trial found no effect. What you eat across the whole day, and when you stop eating, matters more than any single bedtime food.

Written with AI, checked against its sourcesPublished November 25, 2026 · 12 min read
Ask AI about this pageChatGPTClaudePerplexity
The distinctions
  1. 01
    Food dose vs trial dose

    Trials that improved sleep used 1 gram or more of tryptophan 1; a banana has about 11 mg and a cup of milk about 180 mg, roughly 1% and 18% of that dose. Melatonin shows the same gap: a whole kilogram of tart cherries holds about 13.5 micrograms 2, while low-dose tablets hold 300 to 500.

Only three foods have human trials showing better sleep: kiwifruit, fatty fish and tart cherry juice, and each trial is small. Milk, bananas, nuts and honey have never been shown to change sleep, because a normal portion carries a small fraction of the tryptophan or melatonin doses that worked in studies. The pattern of eating across the day, the caffeine cut-off and the gap between dinner and bed have better evidence than any single bedtime food. Below, each food is graded by its best human study.

Foods that help you sleep: the evidence, food by food

The table below sorts the foods people ask about by the strongest human study on sleep for each one. "Tested" means someone measured sleep after people ate the food. "Untested" means the case rests on what the food contains.

FoodWhat is in itBest human evidence on sleepVerdict
KiwifruitSerotonin, folate, vitamin C24 adults, two kiwis 1 hour before bed for 4 weeks: fell asleep about 35% faster, slept about 13% longer; no control group 6Tested, small benefit
Fatty fish (salmon)Omega-3 fats, vitamin D95 men in a forensic psychiatric hospital, salmon three times a week all winter vs chicken, pork or beef: better sleep onset and daytime functioning 7Tested, small benefit
Tart cherry juiceTrace melatonin, polyphenols20 healthy adults, concentrate twice daily for 7 days: about 34 more minutes of sleep 8Tested, small benefit
MilkTryptophan, casein peptidesNo good trial of plain milk at bedtimeUntested; the ritual may help
BananasMagnesium, potassium, trace tryptophanRaised blood melatonin in 12 men; sleep not measured 9Untested
Peanut butterProtein, fat40 firefighters, two tablespoons 2 hours before bed for 7 weeks: no change in sleep 10Tested, no effect
Pistachios and other nutsMagnesium; melatonin figure from one lab analysisNo sleep trialUntested
HoneySugarsChildren with a cough slept better by parents' report; no adult trial 11Untested in adults
Chamomile teaApigeninMeta-analysis: better sleep quality, no clear benefit for insomnia 12Mixed
Dark chocolateCaffeine, theobromine, magnesiumCaffeine shortens and lightens sleepAvoid in the evening if caffeine-sensitive

How food can affect sleep, and why the effect is small

Three routes connect food to sleep. Tryptophan, an amino acid found in protein, is the raw material for serotonin, which the pineal gland turns into melatonin, the hormone that signals night. Magnesium supports GABA, the brain's main calming messenger, and helps muscles relax. Carbohydrate changes how much tryptophan reaches the brain. Each route works in the lab, but a normal portion of food moves it only a little.

How a bedtime snack would have to become melatonin

1
You eat tryptophan
Protein foods carry tryptophan, but always alongside larger amounts of other amino acids.
2
It competes to enter the brain
Tryptophan has to share its doorway into the brain with several other amino acids from the same protein, so a protein-rich meal raises the competition as much as the supply. Carbohydrate tips the balance a little toward tryptophan.
3
The brain makes serotonin
Serotonin production depends on how much tryptophan crossed over, which for a normal snack is a modest bump.
4
Darkness sets the melatonin release
The pineal gland converts serotonin to melatonin on a schedule set by your body clock and light exposure. A snack can add raw material; it cannot move the clock.
Turkey, milk and bananas have a weak case on their own because their tryptophan competes with other amino acids at step 2, and light sets the timing of melatonin at step 4. Light is the bigger lever: see light and sleep.

A 2022 meta-analysis in Nutrition Reviews found that tryptophan supplements improved sleep at doses of 1 gram or more 1. Normal food portions sit far below that.

SourceTryptophan, approximate
Medium banana11 mg
Cup of whole milk180 mg
3 oz roast turkey250 mg
Doses that improved sleep in trials1,000 mg or more 1
13.5 µgmelatonin in a whole kilogram of Montmorency tart cherriesFrom a 2001 lab analysis 2. Common low-dose melatonin tablets hold 300 to 500 µg, roughly 20 to 40 times more.

Carbohydrate timing has one notable trial. In a 2007 study in the American Journal of Clinical Nutrition, a high-glycaemic-index rice meal eaten 4 hours before bed cut the time to fall asleep roughly in half compared with a low-GI meal, and worked better at 4 hours than at 1 hour 13. (Glycaemic index, or GI, rates how fast a food raises blood sugar; white rice is high, lentils are low.) That single short-term result sits awkwardly beside long-term data linking high-GI diets to more insomnia (see the day-pattern section below), so it does not justify eating more fast carbohydrate at night.

Does kiwi help you sleep?

Kiwi has the most quoted single-food sleep trial. In Taiwan, 24 adults with sleep problems ate two kiwifruit an hour before bed for 4 weeks; they fell asleep about 35% faster and slept about 13% longer 6. The study had no control group, so some of that gain could come from expectation or the routine of a bedtime ritual. The proposed reasons (kiwi's serotonin, folate and antioxidants) are unproven. For most people two kiwis are a low-risk snack, which makes kiwi the easiest food on this list to try; skip it if kiwi makes your mouth itch, or if you are allergic to kiwi or react to latex, which often cross-reacts.

Does fatty fish help you sleep?

A Norwegian trial gave 95 men in a forensic psychiatric hospital Atlantic salmon three times a week from September to February and compared them with men eating chicken, pork or beef. The salmon group reported better sleep onset and better daytime functioning 7. The authors pointed to vitamin D and the omega-3 fats as candidates, and both rose in the fish group. The setting was unusual, so the result may not carry over to everyone. The trial fed fish three times a week for five months, so any effect builds over weeks. The omega-3 page covers the wider evidence for those fats.

Does tart cherry juice help you sleep?

Tart cherry juice concentrate taken twice daily for a week raised urinary melatonin and added about 34 minutes of sleep in 20 healthy adults 8. That trial used 30 mL of concentrate, diluted, on waking and again about 30 minutes before the evening meal. The larger figure that circulates online, 84 extra minutes, comes from a 2018 pilot of 8 older adults with insomnia who drank 240 mL of juice twice a day 14. Both studies are small. The juice carries a fair amount of sugar per glass, which matters if you manage diabetes, and the melatonin it contains is trace-level, as the stat above shows, so polyphenols (plant pigments with antioxidant effects) are the more likely active ingredient if the effect holds up.

84 vs 34 minextra sleep reported in the two tart cherry studiesThe 84-minute figure comes from 8 older adults with insomnia 14; the 34-minute figure from a placebo-controlled trial in 20 healthy adults 8.

Does warm milk help you sleep?

Warm or hot milk before bed has about 180 mg of tryptophan per cup, well short of the gram-level doses that worked in trials 1, and the milk's other proteins compete with that tryptophan for entry to the brain. Milk also contains casein peptides, small fragments of milk protein; one, alpha-casozepine, has calming effects in small supplement studies at concentrated doses. "Night milk", collected from cows milked in the dark, holds more melatonin, though human data are thin. The warmth itself has little support: the meta-analysis often quoted for warm drinks studied warm showers and baths taken 1 to 2 hours before bed 15. Warm milk's likely benefit is the ritual, a repeated cue that the day is over. Skip it if lactose upsets you or if lying down after dairy brings on reflux.

Do bananas help you sleep?

A medium banana has about 32 mg of magnesium, about 420 mg of potassium, some vitamin B6 and about 11 mg of tryptophan. In one small study, blood melatonin rose in 12 men two hours after they ate two bananas, but nobody measured their sleep 9. A banana is a fine light snack if you are hungry. Riper bananas have more sugar and less resistant starch (starch that escapes digestion and feeds gut bacteria) than green ones; neither has sleep data.

Does peanut butter help you sleep?

Peanut butter is one of the few foods with a randomised sleep trial, and that trial found nothing. Forty full-time firefighters were split into two groups; one ate two tablespoons of peanut butter 2 hours before bed for 7 weeks, and wrist-worn sleep trackers showed no change in sleep compared with the other group 10. A spoonful can stop hunger keeping you awake, though the trial showed no direct sleep effect. Its saturated fat is worth a thought, because higher saturated fat intake went with less deep sleep in a controlled-diet study 3.

Do pistachios and other nuts help you sleep?

The high melatonin figure quoted for pistachios comes from a single lab analysis that has not been confirmed. Pistachios, almonds and walnuts do carry useful magnesium, but no trial has tested any of them on sleep. A small handful is a sensible snack with no sleep claim attached.

Does honey help you sleep?

No trial has tested honey on adult sleep. The popular explanation, that honey tops up liver glycogen and prevents a night-time stress-hormone surge, is a wellness theory without sleep data. The one real finding is in children: in a 2007 trial, a dose of honey at bedtime for a cough in children aged 2 and over improved parents' ratings of their child's sleep, likely by quieting the cough 11.

Does dark chocolate help you sleep?

Dark chocolate has some magnesium, but it also has caffeine and theobromine, a related stimulant, and both rise with cacao percentage. For anyone sensitive to caffeine, dark chocolate in the evening is more likely to hurt sleep than help it. Milk chocolate and decaf drinks carry far less.

ItemCaffeine, approximateTheobromine, approximate
Milk chocolate, 1 oz6 mg60 mg
Dark chocolate 70 to 85%, 1 oz23 mg230 mg
Unsweetened cocoa powder, 1 tbsp12 mg110 mg
Brewed coffee, 8 oz95 mg0
Decaf coffee, 8 oz2 mg0

Teas and other drinks for sleep

For a tea for better sleep, chamomile is the best studied. A 2019 meta-analysis found it improved sleep quality, with no clear benefit for diagnosed insomnia 12. Its likely active compound is apigenin. Valerian root teas and extracts have mixed trial results. The cards below collect what the studies found for these and for two other compounds often taken for sleep.

The magnesium figure comes from a 2021 review of three trials in 151 older adults, all at moderate to high risk of bias 16.

Caffeine is the drink that matters most. Its half-life (the time your body takes to clear half of it) is about 5 hours in most healthy adults, so half of an afternoon coffee is still circulating in the evening. In a 2013 trial, 400 mg of caffeine, about four cups of coffee, taken 6 hours before bed still cut total sleep by more than an hour 5. As our alcohol and sleep guide puts it: "Alcohol may help you fall asleep but makes the rest of the night worse."

Caffeine left from one 3 pm coffee
mg3 pm5 pm7 pm9 pm11 pm1 amBedtime
Illustrative: a 95 mg cup of coffee decaying with a 5-hour half-life, the typical figure for healthy adults. Half-life runs longer in pregnancy and with some medicines, and varies widely between people.

What to eat across the day for better sleep

Single bedtime foods have tiny trials and small effects. The strongest food evidence covers whole days of eating. In a controlled-diet study of 26 adults, more fibre predicted more slow-wave sleep (the deepest stage; see sleep stages), while more saturated fat predicted less slow-wave sleep and more sugar predicted more arousals during the night 3. In more than 50,000 postmenopausal women in the Women's Health Initiative, diets with a higher glycaemic index were linked to higher odds of developing insomnia, and more fruit, vegetables and fibre to lower odds 17.

Low fiber and high saturated fat and sugar intake is associated with lighter, less restorative sleep with more arousals.

St-Onge MP et al., Journal of Clinical Sleep Medicine, 2016 3

In practice that points to vegetables, whole grains, beans and fruit through the day; protein at dinner; magnesium-rich foods such as greens, seeds and nuts at any meal; and sugar and saturated fat kept modest in the evening. Deep sleep explains what slow-wave sleep does and why losing it leaves you unrefreshed.

Is it bad to sleep after eating? How long to wait

Sleeping straight after a large meal mainly raises the risk of reflux, because lying flat lets stomach acid move up into the oesophagus. The American College of Gastroenterology's 2022 guideline gives a short answer:

We suggest avoidance of meals within 2-3 hours of bedtime.Katz PO et al., ACG Clinical Guideline for GERD, American Journal of Gastroenterology, 2022 4

The ACG rates that advice as conditional and the evidence as low quality 4. The best-known supporting study, from Japan, found people who went to bed less than 3 hours after dinner had about 7.5 times the odds of reflux disease compared with people who waited 4 hours or more 18. For nighttime symptoms, the guideline also suggests raising the head of the bed 4. The idea that late cheese causes nightmares has no controlled evidence behind it.

What you ateSuggested gap before lying downWhy
Large, fatty or spicy dinner3 hours or moreSlower stomach emptying and more reflux
Normal dinner2 to 3 hoursThe ACG suggestion for nighttime reflux 4
Small snack, about 150 kcalNo set gapLittle sign of harm; going to bed hungry can keep you awake

Foods and drinks that keep you awake

The foods most likely to keep you awake at night are the ones carrying caffeine: coffee, tea, cola, energy and pre-workout drinks, and dark chocolate, covered above. Alcohol comes next, for the reasons in alcohol and sleep. Large, fatty or very sugary late meals go with lighter, more broken sleep 3. In a small 1992 study, a spicy evening meal made with Tabasco and mustard raised body temperature in the first part of the night and led to more time awake and less deep sleep 19. If you get reflux, the usual triggers (citrus, tomato, mint, fizzy drinks and fatty food) are worth keeping away from the last few hours. Drinking a lot of fluid late means waking to pass urine, so front-load your water earlier in the day.

A good bedtime snack, if you are hungry

If hunger is keeping you awake, eat something small: a little carbohydrate with a little protein, kept light on fat and sugar. Two kiwis, a banana with yoghurt, a small bowl of oats with milk, or a few nuts all fit. None of these has more than modest evidence on sleep, but each settles hunger without loading the stomach.

CalculatorSleep calculatorWork out a bedtime that fits your wake time, then plan to finish dinner 2 to 3 hours before it.Work it out

When food is not the problem

If you eat reasonably and still sleep badly, diet is probably not the cause. These signs point somewhere else:

SignWhat it may point toNext step
Loud snoring with gasping or pauses in breathing, or falling asleep while drivingSleep apnoeaAsk your GP about a home sleep study; it is a simple overnight test
An urge to move your legs in the eveningRestless legs, often linked to low iron stores even when haemoglobin is normalAsk for a ferritin test
Muscle cramps, twitching or a diet very low in greens, nuts and seedsMagnesium deficiency, uncommon but realAsk a clinician whether a magnesium test makes sense

Persistent insomnia, three or more nights a week for 3 months, is best treated first with cognitive behavioural therapy for insomnia (CBT-I), the first-line treatment in the American College of Physicians' 2016 guideline 20. Ask your clinician for a referral or a recognised CBT-I programme; it usually takes 6 to 8 weeks. Can't sleep walks through the causes in order, and how much sleep you need sets the target.

Citations
  1. Sutanto CN et al. (2022) The impact of tryptophan supplementation on sleep quality: a systematic review, meta-analysis, and meta-regression. Nutr Rev 80(2):306-316
  2. Burkhardt S et al. (2001) Detection and quantification of the antioxidant melatonin in Montmorency and Balaton tart cherries (Prunus cerasus). J Agric Food Chem 49(10):4898-4902
  3. St-Onge MP et al. (2016) Fiber and saturated fat are associated with sleep arousals and slow wave sleep. J Clin Sleep Med 12(1):19-24
  4. Katz PO et al. (2022) ACG Clinical Guideline for the Diagnosis and Management of Gastroesophageal Reflux Disease. Am J Gastroenterol 117(1):27-56
  5. Drake C et al. (2013) Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med 9(11):1195-1200
  6. Lin HH et al. (2011) Effect of kiwifruit consumption on sleep quality in adults with sleep problems. Asia Pac J Clin Nutr 20(2):169-174
  7. Hansen AL et al. (2014) Fish consumption, sleep, daily functioning, and heart rate variability. J Clin Sleep Med 10(5):567-575
  8. Howatson G et al. (2012) Effect of tart cherry juice (Prunus cerasus) on melatonin levels and enhanced sleep quality. Eur J Nutr 51(8):909-916
  9. Sae-Teaw M et al. (2013) Serum melatonin levels and antioxidant capacities after consumption of pineapple, orange, or banana by healthy male volunteers. J Pineal Res 55(1):58-64
  10. Oberther TJ et al. (2024) Effect of peanut butter intake on sleep health in firefighters: a randomized controlled trial. Int J Environ Res Public Health 21(5):571
  11. Paul IM et al. (2007) Effect of honey, dextromethorphan, and no treatment on nocturnal cough and sleep quality for coughing children and their parents. Arch Pediatr Adolesc Med 161(12):1140-1146
  12. Hieu TH et al. (2019) Therapeutic efficacy and safety of chamomile for state anxiety, generalized anxiety disorder, insomnia, and sleep quality: a systematic review and meta-analysis. Phytother Res 33(6):1604-1615
  13. Afaghi A et al. (2007) High-glycemic-index carbohydrate meals shorten sleep onset. Am J Clin Nutr 85(2):426-430
  14. Losso JN et al. (2018) Pilot study of the tart cherry juice for the treatment of insomnia and investigation of mechanisms. Am J Ther 25(2):e194-e201
  15. Haghayegh S et al. (2019) Before-bedtime passive body heating by warm shower or bath to improve sleep: a systematic review and meta-analysis. Sleep Med Rev 46:124-135
  16. Mah J, Pitre T (2021) Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther 21(1):125
  17. Gangwisch JE et al. (2020) High glycemic index and glycemic load diets as risk factors for insomnia: analyses from the Women's Health Initiative. Am J Clin Nutr 111(2):429-439
  18. Fujiwara Y et al. (2005) Association between dinner-to-bed time and gastro-esophageal reflux disease. Am J Gastroenterol 100(12):2633-2636
  19. Edwards SJ et al. (1992) Spicy meal disturbs sleep: an effect of thermoregulation? Int J Psychophysiol 13(2):97-100
  20. Qaseem A et al. (2016) Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Ann Intern Med 165(2):125-133

Educational context only, not medical advice or a diagnosis. Always discuss your results with a clinician.

Turning your results into a plan

One number says where you stand today. A plan says what you'll change, food, movement, sleep, and what to ask your doctor, and a retest shows whether it worked. Add your report and LifeFrom reads every marker on it, then builds the steps with you.

Results → plan → proofTurn your results into a plan, and see it working
  1. 01Read it. Every marker on your report in plain words, against your lab's range and the guideline.
  2. 02Plan it. Turn it into steps you choose: food, movement, sleep, and what to ask your doctor.
  3. 03See it working. Retest, and LifeFrom puts both results side by side.
Free to read, no account. You choose every step; nothing here is a prescription.