What Foods Help You Sleep Better at Night

CaribFlyer article cover

Specific foods contain compounds that directly influence sleep-regulating neurotransmitters. Tart cherries are one of the few natural food sources of melatonin, and clinical trials show that tart cherry juice increases sleep time by an average of 84 minutes. Kiwifruit, fatty fish, and nuts each affect different sleep pathways through serotonin precursors, omega-3 fatty acids, and magnesium. This guide covers what the research actually shows for each food, how much you need, and when to eat it relative to bedtime.

For a broader overview of natural sleep approaches including herbal remedies and environmental changes, see our complete guide to natural sleep remedies. We detail our fact-checking process in our research methodology.

Which foods have the strongest evidence for improving sleep?

Tart cherries, kiwifruit, and fatty fish have the most clinical evidence. Each works through a different mechanism, and combining them addresses multiple sleep pathways simultaneously. The table below ranks foods by the strength of published research.

Food Key Compound Mechanism Evidence Strength Effective Amount
Tart cherry juice Melatonin + procyanidins Direct melatonin source + tryptophan metabolism Strong (4 RCTs) 240 ml twice daily
Kiwifruit Serotonin + folate + antioxidants Serotonin precursor, reduces oxidative stress Moderate (2 clinical trials) 2 kiwifruits 1 hour before bed
Fatty fish (salmon, mackerel) Omega-3 DHA + vitamin D Regulates serotonin production and circadian rhythm Moderate (3 trials) 300g serving 3x per week
Walnuts Melatonin + ALA omega-3 + magnesium Multiple sleep pathways Low-moderate (observational) 30g (small handful)
Turkey/chicken breast Tryptophan Serotonin and melatonin precursor Low (mechanism plausible, few trials) 85-115g at dinner
Warm milk Tryptophan + casein peptides Serotonin pathway + psychological conditioning Low (mostly tradition) 240 ml before bed

How do tart cherries help with sleep?

Tart cherries are the strongest food-based sleep intervention in published research. A 2018 study in the American Journal of Therapeutics found that participants drinking 240 milliliters of Montmorency tart cherry juice twice daily for two weeks slept 84 minutes longer than the placebo group. Louisiana State University researchers confirmed these results, reporting that tart cherry juice increased sleep efficiency and reduced insomnia severity scores.

The mechanism is twofold. Tart cherries contain measurable amounts of melatonin, roughly 13 nanograms per gram of fruit. They also contain procyanidins that inhibit indoleamine 2,3-dioxygenase, an enzyme that degrades tryptophan. This means more tryptophan is available for conversion into serotonin and then melatonin. According to the European Journal of Nutrition, this dual action makes tart cherries more effective than melatonin supplements alone for some individuals.

Use Montmorency tart cherry juice concentrate, not sweet cherry varieties. Sweet cherries (Bing, Rainier) contain negligible melatonin. Drink one serving in the morning and one roughly 90 minutes before bed for the protocol used in clinical trials.

Does eating kiwifruit before bed actually work?

Yes, with decent evidence. A 2011 study at Taipei Medical University followed 24 adults who ate two kiwifruits one hour before bed every night for four weeks. Sleep onset time decreased by 35 percent, wake time after sleep onset dropped by 29 percent, and total sleep time increased by 13 percent. The Asia Pacific Journal of Clinical Nutrition published these results, noting the improvements were significant.

Kiwifruits are rich in serotonin, folate, and vitamins C and E. Serotonin is a direct precursor to melatonin, and the antioxidant content may reduce the oxidative stress associated with poor sleep. Research from the University of Oslo suggests that the high folate content also matters because folate deficiency is linked to insomnia and restless leg syndrome.

My take: kiwifruit is the most practical sleep food. It requires no preparation, costs little, has no downsides, and the protocol is simple. Two kiwifruits before bed is a lower barrier than drinking tart cherry juice twice daily.

What role does magnesium play in sleep quality?

Magnesium regulates GABA receptors and melatonin production. The National Institutes of Health reports that approximately 50 percent of Americans do not meet the recommended daily intake of magnesium. A 2012 randomized controlled trial in the Journal of Research in Medical Sciences found that 500 milligrams of magnesium supplementation daily for eight weeks significantly improved sleep quality, sleep time, and melatonin levels in elderly adults with insomnia.

Food sources high in magnesium include pumpkin seeds (156 mg per ounce), almonds (80 mg per ounce), spinach (78 mg per half cup cooked), and dark chocolate (64 mg per ounce). Eating magnesium-rich foods at dinner rather than breakfast may be more effective for sleep because magnesium helps activate the parasympathetic nervous system in the hours before bed.

For related dietary strategies, our guide to bedtime routines for adults covers how to structure your evening meals. You may also find our article on using lavender oil for sleep useful as a complementary approach.

When should you eat these foods relative to bedtime?

Timing matters more than most guides acknowledge. Eating a large meal within two hours of bedtime can disrupt sleep by raising core body temperature and increasing digestive activity. The American Academy of Sleep Medicine recommends finishing heavy meals at least three hours before bed. However, a small sleep-promoting snack 60 to 90 minutes before bed is beneficial.

The practical protocol: eat your fatty fish or magnesium-rich foods at dinner (three or more hours before bed), then have a small snack of two kiwifruits or a handful of walnuts about one hour before sleep. If you use tart cherry juice, take the evening serving 90 minutes before bed on an empty stomach for better absorption.

Frequently asked questions

The foods listed here are standard dietary items with no risk of overconsumption at the recommended amounts. Tart cherry juice is the only one with a specific dosing protocol (240 ml twice daily). Eating excessive amounts of any food before bed can impair sleep through digestive discomfort.

Bananas contain tryptophan, magnesium, and potassium, all of which are linked to muscle relaxation and serotonin production. However, no controlled clinical trials have tested bananas specifically for sleep outcomes. The evidence is mechanistic rather than clinical.

Yes. The American Academy of Sleep Medicine recommends avoiding caffeine at least six hours before bed. Dark chocolate contains 12 to 25 milligrams of caffeine per ounce. If you eat dark chocolate for its magnesium content, consume it at lunch rather than dinner.

Dietary changes alone are unlikely to resolve clinical insomnia, which the American Academy of Sleep Medicine defines as difficulty sleeping at least three nights per week for three months. Sleep-promoting foods are most effective for mild sleep difficulty and as a complement to behavioral strategies like cognitive behavioral therapy for insomnia.

Nora Ashfield

Nora Ashfield

Nora Ashfield is a health and wellness journalist with over eight years covering natural remedies, nutrition science, and evidence-based wellness. She holds a degree in public health communications and has contributed to consumer health publications focused on making clinical research accessible. When she is not reviewing the latest studies on herbal medicine or sleep science, she tests the protocols herself and reports what actually works.