Foods That Help You Sleep: What to Eat Before Bed, in UK Portions
In this article
- Can what you eat change how you sleep?
- How long before bed should you stop eating?
- Do carbohydrates help you fall asleep, or does sugar keep you awake?
- Do kiwis help you sleep?
- Does tart cherry juice help you sleep?
- Does oily fish help you sleep?
- Does warm milk, cheese or turkey make you sleepy?
- Which foods are high in magnesium?
- What we don't know
- Frequently asked questions
No food is a treatment for insomnia, but a few have been tested: two kiwifruit an hour before bed for four weeks cut the time 24 poor sleepers took to fall asleep by 35%, in a supplier-funded study with no control group; tart cherry juice gave more sleep in two placebo-controlled crossover trials, of 20 and 8 people, and less night-time waking in a third of 15, two of the three funded by the juice industry; two longer or larger trials found no difference: 44 adults on juice or capsules for 30 days, and 34 adults with sleep problems and overweight or obesity on 500 mg of powder for 14 days, both funded by cherry industry bodies21, 22; and a high-glycaemic-index rice meal four hours before bed shortened sleep onset from 17.5 to 9 minutes in 12 men. The firmer evidence is about timing: in 793 young adults, eating within three hours of bed went with 61% higher odds of waking in the night, and the NHS says "do not eat a big meal late at night". This page sits alongside the Wellgard sleep guide.
Sources checked on 30 October 2026.
Can what you eat change how you sleep?
Probably, and the evidence is observational. A 2024 systematic review of 23 reports found that people who ate closer to a Mediterranean pattern were less likely to report poor sleep quality, short sleep, daytime sleepiness or insomnia symptoms.1 In 34 young US adults tracked over 201 diet-and-sleep days, more fruit and vegetables by day predicted less fragmented sleep that night; moving from none to the recommended intake was associated with 16% better sleep quality, and added sugar made no difference.2
How long before bed should you stop eating?
The NHS says "do not eat a big meal late at night", and its Every Mind Matters sleep page adds that "Eating large meals close to bedtime may make it harder to fall asleep."3, 4 In a survey of 793 adults aged 18 to 29, eating within three hours of bedtime was associated with waking in the night (odds ratio 1.61, 95% CI 1.15 to 2.27) but not with taking over 30 minutes to fall asleep (1.24, not significant) or with sleeping six hours or less; adjusted for ethnicity and body mass index, 1.43 (1.00 to 2.04).5 Size matters as much as the clock: a 2015 review found the harms were shown for large mixed meals eaten at night, while a small snack of about 150 kcal, a single food or a single nutrient "does not appear to be harmful".6
Do carbohydrates help you fall asleep, or does sugar keep you awake?
Twelve healthy men ate a rice meal four hours before bed: after high-glycaemic-index rice they fell asleep in 9.0 minutes on average against 17.5 after low-GI rice (P = 0.009); the same meal one hour before bed gave 14.6 minutes, and no other sleep measure changed. The authors' explanation is that carbohydrate raises plasma tryptophan.7
Across 77,860 postmenopausal women in the Women's Health Initiative, 53,069 of them followed for three years, those in the highest fifth for dietary glycaemic index had 16% higher odds of developing insomnia than the lowest fifth (odds ratio 1.16, 95% CI 1.08 to 1.25); added sugars, starch and refined grains went with higher odds, and fibre, whole grains, fruit and vegetables with lower odds.8
Do kiwis help you sleep?
In a supplier-funded study in Taiwan, 24 adults with self-reported sleep problems ate two kiwifruit an hour before bed for four weeks, with no control group: time to fall asleep fell 35.4%, time awake after falling asleep fell 28.9%, total sleep rose 13.4% and sleep efficiency rose 5.41%.10 In 2023, 24 young men, half of them poor sleepers, had two fresh kiwifruit, the same as dried powder, or water with an evening meal in a single-blind crossover: dried fruit improved morning sleepiness, alertness on waking and vigour, and in poor sleepers ease of waking (24%, P = 0.005); fresh fruit's 13% was not significant (P = 0.052).11 Neither study used a placebo, and in the 2023 study, one evening per treatment, wrist-worn trackers showed no change in total sleep time or sleep efficiency.11
Does tart cherry juice help you sleep?
All three are covered on do sour cherries help you sleep. In 20 healthy adults, seven days of Montmorency concentrate raised urinary melatonin and increased total sleep time and sleep efficiency.12 In 15 older adults with chronic insomnia, in a trial funded by the juice's maker, two weeks of a juice blend reduced insomnia severity and minutes awake after sleep onset against placebo, but not sleep latency, total sleep or efficiency.13 In eight completers over 50, in a supplier-funded trial, 240 mL twice a day for two weeks added 84 minutes of sleep on polysomnography (P = 0.0182).14 Its authors point to tryptophan availability rather than melatonin.14 What to drink before bed compares the juice with milk, teas and sleep powders.
Does oily fish help you sleep?
One trial, in an unusual setting. Ninety-five men in a secure forensic facility in the United States were randomised to Atlantic salmon three times a week from September to February or to meat meals of equal nutritional value. Time to fall asleep rose over the winter in the control group and not in the fish group, the fish group reported better daily functioning, and vitamin D status correlated with sleep efficiency (does low vitamin D affect sleep?).16 The Eatwell Guide says: "Aim for at least 2 portions (2 x 140g) of fish every week, 1 of which should be oily, such as salmon, sardines or mackerel."9
Does warm milk, cheese or turkey make you sleepy?
Milk has a systematic review of 14 studies from 1972 to 2019, eight of them randomised: a balanced diet including milk and dairy was associated with better sleep quality, with mixed results across the studies.17 The tryptophan explanation is a question of dose: by the UK food tables a 200 ml glass of semi-skimmed milk carries about 70 mg and 100 g of grilled turkey breast about 400 mg.18 The one meta-analysis of tryptophan taken as a supplement found less time awake after sleep onset only at 1 g a day or more (28.9 minutes awake against 56.6 below 1 g, P = 0.001), and no effect on any other sleep measure.19 The supplement dose, the UK limit and the antidepressant caution are on does tryptophan help you sleep.
Which foods are high in magnesium?
Magnesium is the one nutrient here with authorised wording in Great Britain: the register allows "Magnesium contributes to a reduction of tiredness and fatigue" and "to normal functioning of the nervous system", and says nothing about sleep. Figures are from the government's Composition of Foods Integrated Dataset (CoFID 2021); what foods contain magnesium has the full list.18
| Food (portion) | Magnesium, mg per 100 g | Magnesium, mg per portion |
|---|---|---|
| Brazil nuts (30 g handful) | 410 | 123 |
| Pumpkin seeds (30 g) | 270 | 81 |
| Wholemeal bread (two slices, 72 g) | 66 | 48 |
| Porridge oats, dry (40 g) | 114 | 46 |
| Grilled turkey breast (100 g) | 42 | 42 |
| Banana (100 g flesh) | 27 | 27 |
| Semi-skimmed milk (200 g glass) | 11 | 22 |
| Kiwifruit (one, 75 g flesh) | 13 | 10 |
| Cheddar (30 g) | 29 | 9 |
What we don't know
Whether any single food changes sleep in insomnia: the kiwifruit, cherry and rice studies enrolled 8 to 24 people each, most without a placebo, for one night to four weeks.7, 10, 13, 14 In the one cherry trial in older adults with insomnia, juice did not shorten time to fall asleep or lengthen total sleep against placebo.13 No trial has improved sleep by changing a whole diet; the Mediterranean-diet link is observational and may run both ways.1
Frequently asked questions
What should I eat 30 minutes before sleep?
If you are hungry, something small: a snack of about 150 kcal, a single food rather than a mixed meal, has not been shown to harm sleep.6
Which foods are high in melatonin?
Montmorency tart cherries, at 13.46 nanograms per gram, are the best measured, which is about one microgram in a 75 g portion, a thousandth of a milligram.15 The NHS says of melatonin "It's only available with a prescription", so no food or food supplement in the UK is a route to a melatonin dose.20
What foods should I avoid if I have insomnia?
The NHS insomnia page says "do not smoke or drink alcohol, tea or coffee at least 6 hours before going to bed" and "do not eat a big meal late at night"; the studies above add a large meal inside three hours of bed and a refined-carbohydrate, added-sugar diet.3, 5, 8 If sleep problems have lasted months, the NHS says to see a GP (when to see a GP about sleep).3
Sources
- Godos J et al. Mediterranean diet and sleep features: systematic review. 2024. Systematic review, 23 observational reports; EU-funded. PubMed 38257175
- Boege HL et al. Daytime fruit and vegetable intake and night-time sleep disruption. 2025. Observational, 34 adults; US government-funded. PubMed 40506285
- NHS. Insomnia. Page last reviewed 19 March 2024. nhs.uk
- NHS Every Mind Matters. How to fall asleep faster and sleep better. nhs.uk
- Chung N et al. Proximity of meals to bedtime and the sleep of young adults. 2020. Cross-sectional survey, 793 students; no external funding. PubMed 32295235
- Kinsey AW, Ormsbee MJ. The health impact of night-time eating. 2015. Narrative review; funding not stated on PubMed. PubMed 25859885
- Afaghi A et al. High-glycaemic-index carbohydrate meals shorten sleep onset. 2007. Randomised crossover, 12 healthy men; funding not stated on PubMed. PubMed 17284739
- Gangwisch JE et al. High glycaemic index and glycaemic load diets and insomnia. 2020. Cohort, 77,860 women; US government-funded. PubMed 31828298
- NHS. The Eatwell Guide. Page last reviewed 29 November 2022. nhs.uk
- Lin HH et al. Kiwifruit consumption and sleep quality. 2011. Before-and-after study, 24 adults, no control group; funded by a kiwifruit supplier. PubMed 21669584
- Kanon AP et al. Fresh versus dried green kiwifruit and sleep quality. 2023. Randomised crossover, 24 men; New Zealand public funding, fruit from a kiwifruit company. PubMed 36998905
- Howatson G et al. Tart cherry juice, melatonin and sleep quality. 2012. Randomised double-blind crossover, 20 adults; funding not stated on PubMed. PubMed 22038497
- Pigeon WR et al. Tart cherry juice and sleep in older adults with insomnia. 2010. Randomised double-blind crossover pilot, 15 older adults; funded in full by the juice maker. PubMed 20438325
- Losso JN et al. Tart cherry juice for insomnia: pilot study. 2018. Randomised crossover pilot, 8 completers; cherry-industry and US government funding. PubMed 28901958
- Burkhardt S et al. Melatonin in Montmorency and Balaton tart cherries. 2001. Laboratory analysis; funding not stated on PubMed. PubMed 11600041
- Hansen AL et al. Fish consumption, sleep and daily functioning. 2014. Randomised controlled trial, 95 men; university-funded, not industry-supported. PubMed 24812543
- Komada Y et al. Milk and dairy products and sleep: systematic review. 2020. Systematic review of 14 studies; funded by a national dairy association. PubMed 33339284
- Public Health England. Composition of Foods Integrated Dataset (CoFID), 2021. Government food composition tables. gov.uk
- Sutanto CN et al. Tryptophan supplementation and sleep quality: meta-analysis. 2022. Systematic review, 4 trials pooled of 18 articles; funding not stated on PubMed. PubMed 33942088
- NHS. Melatonin (reviewed 6 November 2026). nhs.uk/medicines/melatonin.
- Hillman AR, et al. Nutrition and Health, 2026. Randomised placebo-controlled trial, 44 adults, 30 days; funded by a cherry industry body. PubMed 35790450.
- Tucker RM, et al. Nutrients, 2024. Randomised placebo-controlled crossover, 34 adults, 14 days per arm; funded by a cherry marketing body, which had no role in the study. PubMed 39683518.
Spotted something out of date? Email support@wellgard.co.uk with the page address and the sentence.