MyMacroFit
How to Improve Sleep Quality Through Nutrition and Habits
Health7 min readJanuary 1, 2025

How to Improve Sleep Quality Through Nutrition and Habits

Maya Russo
Maya Russo

RHC · Pre/Postnatal Fitness Specialist

Sleep is the most important recovery tool for both fat loss and muscle building, and one of the most neglected. Chronically poor sleep doesn't just leave you tired; it actively works against every dietary and training effort you make through specific hormonal and metabolic mechanisms.

Save this guide, pin it for later!

Why Sleep Is Non-Negotiable for Body Composition

The hormonal consequences of inadequate sleep (under 7 hours) are significant and immediate:

Growth hormone: Released primarily during deep sleep (stages 3 and 4). GH drives muscle protein synthesis, fat mobilisation, and cellular repair. Sleep deprivation dramatically reduces GH secretion, even one poor night reduces GH output significantly.

Cortisol: Rises substantially after poor sleep. Elevated cortisol promotes visceral fat storage, muscle protein breakdown, and insulin resistance.

Ghrelin and leptin: Ghrelin (hunger) rises; leptin (satiety) falls after sleep deprivation, a direct appetite amplification that makes calorie adherence dramatically harder.

Insulin sensitivity: Decreases after even one night of poor sleep, glucose clearance is impaired, promoting fat storage.

The research: A landmark Columbia University study found people sleeping 5–6 hours ate 300 kcal/day more than those sleeping 7–9 hours. This additional intake, over a week, more than offsets most people's daily calorie deficit.

The Sleep-Weight Loss Research

The PREDIMED-Plus trial found sleep duration independently predicted fat loss outcomes in a calorie-controlled programme, people with better sleep lost more fat even at identical calorie deficits.

A 2022 University of Chicago study (Tasali et al.) demonstrated that sleep extension from 6.5 to 8.5 hours in habitually sleep-deprived adults reduced calorie intake by an average of 270 kcal/day, purely through sleep improvement, no dietary change.

The implication: Fixing inadequate sleep has a measurable calorie-reducing effect equivalent to a significant dietary intervention.

Nutrition Strategies for Better Sleep

1. Evening carbohydrates (moderate): Carbohydrates in the evening meal stimulate insulin release, which improves tryptophan transport across the blood-brain barrier. Tryptophan is the precursor to both serotonin and melatonin. Moderate complex carbohydrates at dinner (rice, potato, oats), not refined sugar, support melatonin synthesis.

2. Tryptophan-rich foods: Turkey, chicken, whole milk, cottage cheese, banana, walnuts. These provide the substrate for serotonin and melatonin production.

3. Magnesium: Required for melatonin synthesis. Food sources: leafy greens (spinach, kale), nuts (almonds, cashews), seeds (pumpkin, sunflower), dark chocolate. Supplement: magnesium glycinate or threonate, 200–400mg 1–2 hours before bed.

4. Tart cherry juice: 30ml concentrate 2× daily, contains melatonin, melatonin precursors, and anti-inflammatory anthocyanins that improve sleep quality and duration. Multiple RCTs confirm 30–90 minute additional sleep and improved sleep efficiency.

5. Kiwi fruit: Two kiwis eaten 1 hour before bed improved sleep onset, duration, and efficiency in a 4-week RCT. Serotonin content and antioxidant properties are proposed mechanisms.

6. Avoid:

  • Caffeine after 2pm (5–7 hour half-life)
  • Alcohol close to bedtime (disrupts sleep architecture, reduces REM sleep despite seeming sedating)
  • Large meals within 2 hours of sleep (digestion impairs sleep quality)
  • High-sugar evening snacks (blood glucose volatility during sleep impairs sleep depth)
Sleep hygiene habits (consistent schedule, dark room, no screens) have the strongest combined effect, nutrition strategies complement this foundation.

Sleep Hygiene: The Behavioural Foundation

Consistent sleep schedule (highest impact): The body's circadian clock regulates melatonin release. Going to sleep and waking at the same time ±30 minutes every day, including weekends, is the most impactful single sleep improvement. Variable sleep timing (sleeping in on weekends) creates perpetual "social jet lag" that impairs sleep quality.

Temperature: Core body temperature drops to initiate sleep. Room temperature of 16–19°C is optimal. A warm bath or shower 1–2 hours before bed accelerates the core temperature drop, counterintuitive but evidence-based.

Light exposure:

  • Morning: Bright natural light exposure within 30 minutes of waking sets the circadian clock for earlier sleep onset
  • Evening: No bright light (including screens) in the 60–90 minutes before bed. Blue light from screens suppresses melatonin by up to 50%

Bedroom environment: Dark (blackout curtains), cool, quiet, and reserved for sleep and sex only, not working or scrolling. This conditions the brain to associate the bedroom with sleep.

No screens 60 minutes before bed: The single most commonly ignored but most impactful sleep habit for most people.

When to Consider Supplementation

Melatonin (0.5–3mg, 30–60 min before bed): Most effective for resetting circadian rhythm after travel or shift work, or establishing a new earlier sleep schedule. Not a long-term solution for poor sleep quality from other causes.

Magnesium glycinate or threonate (200–400mg before bed): Most beneficial for people with poor dietary magnesium intake. Safe long-term.

Ashwagandha (KSM-66, 300mg): Reduces cortisol and improves sleep quality through stress reduction pathway. 8+ weeks of consistent use required for full effect.

Save & share on Pinterest

Click any card to pin it — or share with someone who needs it.

Pinterest opens in a new tab. You can edit the description before saving.

#how to improve sleep quality#sleep and weight loss#foods that help sleep#sleep hygiene

Frequently Asked Questions

How does poor sleep affect weight loss?+
Sleep deprivation (under 7 hours) significantly impairs fat loss through multiple mechanisms: ghrelin (hunger hormone) increases by 15–20% after one poor night's sleep; leptin (satiety hormone) decreases by similar magnitude; cortisol elevates (promoting visceral fat storage and muscle catabolism); insulin sensitivity decreases; growth hormone secretion (primary repair and fat mobilisation hormone) is dramatically reduced; and reduced energy causes decreased physical activity and NEAT. Research shows people restricted to 5.5 hours sleep lose less fat and more muscle compared to identical dietary conditions with adequate sleep.
What foods help you sleep better?+
Foods with evidence for sleep improvement: kiwi (2 kiwis 1 hour before bed, serotonin + antioxidant content improved sleep quality in a RCT); tart cherry juice (melatonin precursors + anti-inflammatory anthocyanins); foods high in tryptophan (turkey, milk, cottage cheese, bananas, precursor to serotonin and melatonin); magnesium-rich foods (leafy greens, nuts, seeds, involved in melatonin synthesis and muscle relaxation); and carbohydrate-containing evening meals (insulin release improves tryptophan transport into the brain).
Does magnesium help with sleep?+
Yes, magnesium has consistent evidence for improving sleep quality, particularly glycine and threonate forms. Magnesium activates the parasympathetic nervous system ('rest and digest'), reduces cortisol, and is a cofactor in melatonin synthesis. 200–400mg elemental magnesium (as glycinate or threonate) taken 1–2 hours before bed improves time to sleep onset and reduces waking frequency in clinical studies. Most effective for people who are deficient, common in those with poor green vegetable intake.

About the Author

Maya Russo
Maya RussoRHC · Pre/Postnatal Fitness Specialist

Registered Health Coach and Pre/Postnatal Fitness Specialist. Writes on sleep, hydration, intermittent fasting, pregnancy nutrition, and hormonal health.

View full profile →
Back to all articles

Related Articles

Want more guides like this?

Join 10,000+ readers getting free weekly fitness tips, macro guides, and calculator updates.

Get the Free Macro Guide