We spend a lot of time optimising sleep environments — blackout curtains, white noise machines, cooling mattress toppers — while often ignoring one of the most direct influences on sleep quality: what we eat and when. The relationship between diet and sleep is bidirectional, well-researched, and more actionable than most people realise.
The most significant dietary sleep disruptor, beyond caffeine, is large meals close to bedtime. When you eat a heavy meal within two to three hours of sleeping, your digestive system stays active, your body temperature rises slightly (sleep requires a drop in core body temperature), and insulin spikes can interfere with the hormonal cascade that initiates deep sleep. This doesn’t mean going hungry before bed — it means eating your largest meal earlier in the evening.
Certain foods genuinely support sleep. Tryptophan, an amino acid that serves as a precursor to serotonin and melatonin, is found in turkey, chicken, eggs, milk, cheese, nuts, and seeds. The classic warm milk before bed is less superstition than biochemistry, though the effect is modest. Magnesium, found in dark leafy greens, nuts, seeds, and legumes, plays a role in nervous system regulation and is associated with improved sleep quality in people who are deficient — which, given dietary patterns in many populations, is quite a few people.
Kiwi fruit has emerged from the research in a somewhat surprising way: two kiwis consumed an hour before bed, in studies conducted at Taiwan’s Taipei Medical University, significantly reduced the time taken to fall asleep and improved total sleep time. The proposed mechanism involves serotonin content and antioxidant properties, though more research is needed.
On the avoid side: alcohol is the most misunderstood sleep disruptor. It does help you fall asleep faster, which is why many people use it as a sleep aid. What it also does is fragment sleep architecture in the second half of the night, suppressing REM sleep and causing lighter, more disrupted rest even when you don’t wake fully. The net result is lower-quality sleep despite the drowsiness.
The simplest, evidence-based dietary sleep strategy: stop caffeine by early afternoon, eat your main meal at least three hours before bed, include tryptophan and magnesium-rich foods in your evening meal, limit alcohol close to bedtime, and avoid ultra-processed, high-sugar snacks late at night. None of this requires a complete dietary overhaul — it’s four or five targeted adjustments with measurable impact.