Nutrition and Sleep: What to Eat (and Avoid) for Better Rest

The relationship between nutrition and sleep quality is bidirectional and more significant than most people realise. What you eat influences how well you sleep; how well you sleep influences what and how much you eat. Understanding the nutritional dimension of sleep optimisation — which nutrients matter, when eating influences sleep quality, and how common dietary patterns undermine the sleep they are in some ways designed to support — adds a practical and often neglected lever to a sleep improvement strategy.

The Key Nutritional Factors in Sleep

Tryptophan — The Sleep Nutrient

Tryptophan is an essential amino acid that serves as the precursor to both serotonin and melatonin — the neurotransmitter most associated with mood regulation and the hormone that signals sleep onset respectively. Dietary tryptophan availability directly influences the brain’s capacity to produce these sleep-promoting compounds.

Tryptophan-rich foods include turkey, chicken, eggs, cheese, nuts and seeds (particularly pumpkin and sunflower seeds), and dairy products. The popular belief that turkey at Thanksgiving makes people sleepy is based on tryptophan’s role in melatonin production — though the mechanism is more complex than simply eating tryptophan and feeling sleepy, as tryptophan must cross the blood-brain barrier in competition with other amino acids.

Research suggests that consuming carbohydrates with tryptophan-rich foods facilitates tryptophan’s transport into the brain by stimulating insulin release, which preferentially moves competing amino acids into muscle tissue and leaves tryptophan more available for cerebral uptake. A small carbohydrate-containing snack with a tryptophan-rich protein 1–2 hours before sleep may modestly support melatonin production.

Magnesium — The Relaxation Mineral

Magnesium is involved in hundreds of enzymatic reactions in the body and plays a specific role in sleep through several mechanisms: it activates the parasympathetic nervous system (promoting the rest-and-digest state), regulates melatonin production, binds to GABA receptors (producing the calming effect similar to, though weaker than, pharmaceutical GABA activators), and reduces cortisol levels.

Magnesium deficiency — which is common, with research suggesting up to 50% of the US population not meeting recommended intakes — is associated with insomnia and restless sleep. Magnesium-rich foods include leafy green vegetables, nuts (particularly almonds and cashews), seeds, legumes, and dark chocolate. Supplemental magnesium (glycinate or citrate forms for best absorption) at 200–400mg taken 1–2 hours before sleep has modest evidence supporting sleep quality improvement in magnesium-deficient individuals.

The Eating Schedule and Sleep

The timing of the last meal of the day influences sleep quality through its effects on body temperature, digestion, and circadian signals. Large meals close to sleep time elevate core body temperature through the thermogenic effect of digestion, competing with the temperature drop needed for sleep onset. Research suggests finishing the main evening meal at least 2–3 hours before target sleep time to allow digestive thermogenesis to resolve before sleep onset.

What Disrupts Sleep Through Nutrition

High sugar and refined carbohydrate consumption produces blood sugar fluctuations that can trigger cortisol release and waking during the night when blood glucose drops. High-fat meals close to sleep time slow gastric emptying and maintain digestive activity that competes with sleep onset. Caffeine (covered separately) and alcohol (covered separately) are the two most significant nutritional sleep disruptors for most adults.

This content is for informational purposes only and is not a substitute for professional medical or dietary advice. Consult a healthcare professional before making significant dietary changes or beginning supplementation.

Leave a Comment

Your email address will not be published. Required fields are marked *

The Mental Help
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.