Lesson video — Eating for Better SleepAdd your YouTube or Vimeo embed here
The Bidirectional Relationship Between Food and Sleep
The relationship between nutrition and sleep runs in both directions. Poor sleep increases appetite — particularly for high-calorie, high-carbohydrate foods — disrupts hunger hormones (elevating ghrelin, reducing leptin), and impairs the prefrontal cortex decision-making that governs food choices. One night of poor sleep measurably shifts dietary patterns toward more calorie-dense food.
And conversely, what you eat and when you eat it has significant and measurable effects on sleep quality. This bidirectionality means that improving your diet and improving your sleep can be mutually reinforcing — addressing one helps the other.
💡
The biggest nutritional impact on sleep comes from reducing the disruptive factors — late large meals, alcohol, caffeine, high sugar — rather than optimising specific nutrients. Get the basics right before adding supplements.
Timing — The Most Actionable Variable
When you eat matters as much as what you eat, particularly in relation to sleep. The key principles:
Last main meal at least 2–3 hours before bedtime — allows sufficient time for the metabolic heat and digestive activity to subside before sleep
Avoid going to bed very hungry — hunger can trigger cortisol release and cause waking in the second half of the night
A small, light snack 60–90 minutes before bed can be sleep-neutral or mildly beneficial — particularly if it contains tryptophan or magnesium
Caffeine cutoff at 1–2pm — caffeine has a half-life of 5–7 hours in most adults, meaning an afternoon coffee still has measurable effects 10+ hours later
⚠️
Caffeine is the most commonly underestimated sleep disruptor. A 3pm coffee at 100mg caffeine means ~50mg is still circulating at 8–9pm, and ~25mg at midnight. Many people attribute their difficulty sleeping to stress or anxiety when the cause is simply caffeine timing.
Nutrients That Support Sleep
Trp
Tryptophan
Melatonin and serotonin precursor. Found in turkey, dairy, eggs, nuts, seeds, tofu, oats. Evening tryptophan with some carbohydrate enhances brain uptake.
Mg
Magnesium
Supports GABA function, promotes muscle relaxation, reduces cortisol. Found in dark leafy greens, nuts, seeds, dark chocolate, legumes. Deficiency is common and associated with insomnia.
Mel
Food-source melatonin
Small amounts in tart cherries, grapes, walnuts, tomatoes, eggs. Tart cherry juice has modest but consistent evidence for mild sleep benefit in studies.
The Mediterranean pattern
Rather than optimising individual nutrients, the most evidence-supported nutritional approach for sleep is the Mediterranean dietary pattern overall: abundant vegetables, fruits, legumes, whole grains, fish, olive oil, and nuts — minimal processed foods, red meat, and refined sugar. This pattern is anti-inflammatory, rich in sleep-relevant micronutrients, and provides a stable blood glucose environment that supports sleep continuity.
✓
If you make one dietary change for sleep this week, make it the caffeine cutoff. Move your last caffeinated drink to 12–1pm for one week and note what happens to your sleep onset. For many people, this single change produces more improvement than any supplement.
ReflectionYour Evening Nutrition
Honest assessment of your current eating pattern relative to sleep.
Auto-saved to your browser
Knowledge check
Test your understanding
3 questions · at least 2 correct to continue
Question 1 of 3
Which dietary pattern has the strongest evidence for better sleep quality?
Question 2 of 3
Why does a large meal close to bedtime disrupt sleep?
Question 3 of 3
Which nutrients are most consistently associated with supporting sleep quality?
The full 6-module course includes sleep restriction therapy, stimulus control,
cognitive restructuring, and ACT for sleep — the techniques that produce lasting change.