Liz's Blog for a Healthier, Happier Life

Is Your Diet Enhancing or Hurting the Quality of Your Sleep?

The quality of your sleep each night – how fast you fall asleep, how long you sleep, and how much you wake in the night – profoundly impacts your health and well-being.  Poor quality sleep is linked to higher rates of heart disease, stroke, cancer, diabetes, obesity, dementia, depression, anxiety, and more.  While many factors affect sleep quality, emerging research says better quality diets result in better quality sleep.  This holds true for children, teens, and adults.

How What We Eat Affects Our Sleep

Although we still have much to learn about how what we eat impacts our sleep, research has shown that numerous factors are involved.  Primary among them is that what we eat influences the production of hormones and neurotransmitters in the body, such as melatonin and serotonin, which play key roles in regulating the sleep/wake cycle.  This includes stabilizing and reinforcing the body’s natural body clock or circadian rhythm.  What we eat can also impact how much inflammation we have in the body.  An inflammatory environment, especially when it’s chronic or ongoing, appears to play havoc with our sleep. 

Eat Better to Sleep Better

While everyone would love to know what one magical food will optimize their sleep each night, it’s the quality of your diet overall, that appears to matter most.  Numerous studies show that when you increase your intake of healthy foods, while also reducing your intake of less healthy options – including highly processed foods rich in sugar, salt, and unhealthy fats – sleep quality improves.  In a U.S. study, involving over 12,000 men and women, short sleepers (those who regularly slept 5 hours or less per night) consumed diets that were significantly less healthy, including lower intakes of fruits and vegetables, beans, whole grains, dairy, and fish. 

Carbohydrates, Fats, Protein, & Sleep Quality

How does the amount and/or food source of carbs, fats, and protein in your diet impact your sleep?    

  • CARBS:  In the Women’s Health Initiative Observational Study, a large study involving over 77,000 postmenopausal women, higher intakes of added sugars, starches (from foods like potatoes, breads, and crackers), and refined grains (like white bread) were associated with a significantly higher risk of insomnia.  Minimally processed fruits, vegetables, and whole grains were all linked to a lower insomnia risk. 
  • FATS:  Based on a review of 17 studies, involving over 32,000 participants, not getting enough omega-3 fats in your diet (the kind that come from higher fat fish, like salmon and rainbow trout) leads to sub-optimal sleep.  These fats help regulate the production of melatonin in the body and reduce inflammation as well.  A diet high in saturated fat (the type found in higher fat meats, higher fat dairy, and many processed foods) has been linked to lower sleep quality, including lighter, less restorative sleep with more arousals.
  • PROTEIN:  In a research review of 19 studies, by the National University of Singapore, consuming a greater proportion of calories from protein was linked to better sleep quality.  Tryptophan, an amino acid found in many protein-rich foods, promotes the synthesis of both melatonin and serotonin.  Plant-based protein sources – such as nuts, seeds and beans – are recommended, based on their anti-inflammatory profile, as well as their fibre and polyphenol content.  Both fibre and polyphenols (health-protective compounds found in a variety of plant foods) are linked to significantly better sleep.  Diets high in meat, especially red and processed meats, are linked to poor sleep quality, snoring, and more severe sleep apnea (a sleep disorder in which breathing repeatedly stops and starts). 

Vitamins, Minerals & Your Sleep

Vitamins and minerals don’t work alone in the body.  They work synergistically, or in combination, with each other.  That’s why for optimal health, including sleep quality, I always recommend getting a full range of nutrients, primarily from a healthy diet, and if needed, from a multivitamin and mineral supplement.  I generally don’t recommend taking high dose or single nutrient supplements (except for vitamin D – see below).  Ultimately, you want to make sure all your nutrient needs are met, and no nutrient deficiencies exist for any nutrient.  Specific nutrients that many people fail to get enough of, and that are important for sleep quality, include iron (females, prior to menopause, are at especially high risk for iron deficiency), zinc, magnesium, and vitamin D.  Do your best to regularly consume foods rich in these nutrients. 

  • Food Sources of Iron:  iron-fortified cereals, red meat (beef/pork/lamb), poultry (especially the dark meat), shellfish (especially oysters and mussels), sardines, dried fruit (especially apricots), beans (especially soybeans and lentils), nuts (especially cashews, pine nuts, and hazelnuts), and seeds (especially sesame, pumpkin/squash, hemp, and chia seeds).
  • Food Sources of Magnesium:  nuts (especially Brazil nuts, cashews, and almonds), seeds (especially hemp, pumpkin/squash, and flaxseeds), beans (especially black beans and soybeans), quinoa, dark chocolate, and dark leafy greens (especially spinach and Swiss Chard).
  • Food Sources of Zinc:  shellfish (especially oysters), red meat (beef/lamb/pork), poultry (especially the dark meat), zinc-fortified cereals, nuts (especially pine nuts, cashews, and pecans), seeds (especially hemp, pumpkin/squash, and sesame seeds), beans (especially soybeans and lentils), and whole grains (especially oats).    
  • Food Sources of Vitamin D:  Few foods are rich in vitamin D, therefore, taking a multi-vitamin or a vitamin D supplement (400 to 1000 I.U.), especially in the winter months (depending on where you live), is generally recommended.

The Ultimate Diet for a Good Night’s Sleep

The Mediterranean diet is rich in fruits, vegetables, beans, nuts, whole grains, fish, and olive oil.  It contains smaller amounts of dairy and alcohol, and limited amounts of meat.  Several studies link this diet to better sleep quality.  In a study involving over 1,900 individuals from Italy, each person’s diet was scored based on how closely it aligned with the Mediterranean diet.  Researchers found that every 10% increase in diet score translated into a 10% higher likelihood of better sleep.  The DASH diet (rich in whole grains, fruits, vegetables, nuts, beans, fish, and low-fat dairy) is similar to the Mediterranean diet and has been linked to less daytime sleepiness and a lower risk of insomnia.  The Nordic Diet (rich in fish, cabbage, apples/pears, root vegetables, rye bread, and oatmeal) also appears to promote better quality sleep. 

The Power of the Gut Microbiome to Impact Sleep Quality

The gut microbiome is incredibly powerful.  It impacts every aspect of your health and well-being, including your sleep.  A healthy microbiome is good for sleep, while gut dysbiosis (an imbalance in the various microbes that live in your gut) can alter neurotransmitter levels, trigger inflammation in the body, and cause misalignment of the body’s natural circadian rhythm – all of which can lead to sleep disturbances.  Eating a wide variety of plant-based, high fibre foods, as well as fermented foods, promotes microbiome health.  In a 30-day study, involving 68 menopausal women (all who were troubled sleepers), those who consumed 1 cup (250 mL) of kefir (fermented milk) each morning and evening experienced significant improvements in sleep quality.  A healthy microbiome may even help protect against the type of sleep loss that occurs due to stress.  It does this by making the body less reactive to stress (for example, the body releases less cortisol when exposed to stress).  In a 12-week study, involving 94 medical students, consuming a fermented milk drink containing a specific type of bacteria (Lactobacillus casei strain Shirota), resulted in significantly less sleep loss during exam time. 

Enjoy Your Coffee… Just Not Before Bed

Coffee is one of the world’s most popular beverages.  The caffeine it contains, however, can impede sleep by antagonizing or interfering with specific receptors in the brain that normally promote sleep.  In a large U.K. study involving over 82,000 adults, a habitually high coffee intake (>4 cups/day) was one of the most significant factors impacting sleep quality.  Caffeine not only makes it harder to fall sleep, but can also shorten sleep duration, and increase how often you wake in the night.  This doesn’t mean you need to give up your coffee habit entirely.  Simply limit your daily caffeine intake to about 400mg daily (about 2 to 3 cups of coffee) and refrain from consuming caffeine-containing foods or drinks for a minimum of 6 hours prior to bedtime, and ideally more.  Other sources of caffeine include tea, energy drinks or shots, soft drinks (especially those that are cola-based), and dark chocolate.  Lastly, also be aware than many children and teens are consuming enough caffeine daily to interfere with their sleep.  A safe level of caffeine intake for children and adolescents, based on body weight, is 2.5 or 3 mg/kg/day.  It’s easy to exceed this level, especially since sugary coffee drinks and energy drinks are so popular with many of today’s youth.   

Alcohol:  Sleep Aid or Sleep Hindrance?

Individuals who have trouble sleeping, sometimes reach for an alcoholic beverage as a sleep aid before bed.  Although alcohol can help people fall asleep faster, it generally interferes with REM sleep – the deepest, most restorative cycle of sleep that is essential to feeling rested the next day.  Chronic, excessive alcohol use is especially harmful to sleep, as damage to nerve cells and circadian rhythm disturbances caused by alcohol, can disrupt sleep significantly, sometimes permanently.  As for snoring and sleep apnea, based on a review of 13 studies, alcohol exacerbates the severity of both.  If you choose to consume alcohol, limit yourself to one drink daily.  Enjoy it at least several hours before bedtime. 

Regular Mealtimes Matter

Irregular mealtimes, which includes skipping meals and eating late at night, can cause misalignment of your body’s circadian rhythm.  In a comprehensive study involving over 6,000 employees from 29 different companies in Japan, an irregular meal pattern was one of the factors most strongly associated with sleep disturbance.  Do your best to eat meals at regular times.  Avoid eating late at night, especially large meals.

When a Healthy Diet May Not Be Enough

While a healthy diet promotes better sleep for many people, it may not provide the same benefits for those who are significantly overweight.  That’s because excess body weight and sleep disturbances generally go hand in hand.  This includes obstructive sleep apnea.  Obesity greatly increases the risk of this disorder, as fat deposits around the upper airway can lead to obstruction of breathing.  Excess body fat also creates a chronic inflammatory environment in the body, which also impairs one’s ability to regulate sleep. 

Bottom Line: 

Better quality diets promote better quality sleep.  Eat nutrient-rich, high fibre, plant-based foods, including beans, fruits, vegetables, nuts/seeds, and whole grains.  Consume healthy fats, like those found in extra virgin olive oil and fatty fish, like salmon.  Increase your intake of fermented foods, such as kefir.  Consider a multivitamin and mineral supplement to ensure all your nutrient needs are met.  Limit your intake of alcohol, caffeine, red and processed meats, and ultra-processed foods that are high in sugar, salt, and unhealthy fats.  Maintain a healthy body weight.  Eat at regular mealtimes.  Avoid large, late night meals.

P.S. Please share this blog with family and friends (especially those who are troubled sleepers!)


Abbasi, B., et al.  “The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial.” J Res Med Sci. 2012 Dec;17(12):1161-9.

Al-Shawwa, B., et al.  “Vitamin D and sleep in children.” J Clin Sleep Med. 2020 Jul 15;16(7):1119-1123.

Bhurosy T, and Thiagarajah K.  “Are Eating Habits Associated with Adequate Sleep among High School Students?” The Journal of School Health. 2020 Feb;90(2):81-87.

Binks, H., et al.  “Effects of Diet on Sleep: A Narrative Review.” Nutrients. 2020 Apr; 12(4): 936.

Britton, A., et al.  “The association between alcohol consumption and sleep disorders among older people in the general population.” Sci Rep. 2020 Mar 24;10(1):5275.

Burgos-Sanchez, C., et al.  “Impact of Alcohol Consumption on Snoring and Sleep Apnea: A Systematic Review and Meta-analysis.” Otolaryngol Head Neck Surg. 2020 Jun 9;194599820931087.

Burrows, T., et al.  “Diet and sleep health: a scoping review of intervention studies in adults.” 

J Hum Nutr Diet. 2020 Jun;33(3):308-329.

Clark, I. and Landolt, H.  “Coffee, caffeine, and sleep: A systematic review of epidemiological studies and randomized controlled trials.” Sleep Med Rev. 2017 Feb;31:70-78.

Daneshzad, E., et al.  “Dietary total antioxidant capacity and its association with sleep, stress, anxiety, and depression score: A cross-sectional study among diabetic women.” Clin Nutr ESPEN. 2020 Jun;37:187-194.

Drake, C., et al.  “Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed.” J Clin Sleep Med. 2013;9(11):1195-1200.

Fan., H., et al.  “Associations of dietary habits and sleep in older adults: a 9-year follow-up cohort study.” Eur Geriatr Med. 2020 Aug 9. doi: 10.1007/s41999-020-00377-0.

Gangwisch, J., et al.  “High glycemic index and glycemic load diets as risk factors for insomnia: analyses from the Women’s Health Initiative.” Am J Clin Nutr. 2020 Feb 1;111(2):429-439.

Gao, Q., et al.  “The Association between Vitamin D Deficiency and Sleep Disorders: A Systematic Review and Meta-Analysis.” Nutrients. 2018 Oct; 10(10): 1395.

Godos, J., et al.  “Adherence to the Mediterranean Diet is Associated with Better Sleep Quality in Italian Adults.”  Nutrients. 2019 May; 11(5): 976.

Godos, J., et al.  “Dietary Inflammatory Index and Sleep Quality in Southern Italian Adults.”  Nutrients. 2019 Jun; 11(6): 1324.

Godos, J., et al.  “Specific Dietary (Poly)phenols Are Associated With Sleep Quality in a Cohort of Italian Adults.” Nutrients.   . 2020 Apr 26;12(5):1226.

Hasler, B. and Pedersen, S.  “Sleep and circadian risk factors for alcohol problems: a brief overview and proposed mechanisms.” Curr Opin Psychol. 2020 Aug;34:57-62.

He, S., et al.  “Alcohol and sleep-related problems.” Curr Opin Psychol. 2019 Dec;30:117-122.

Ikonte, C., et al.  “Micronutrient Inadequacy in Short Sleep: Analysis of the NHANES 2005–2016.” Nutrients. 2019 Oct; 11(10): 2335.

Inkelis, S., et al.  “Sleep and Alcohol Use in Women.” Alcohol Res. 2020 Jul 16;40(2):13.

Jahangard, L., et al.  “Influence of adjuvant omega-3-polyunsaturated fatty acids on depression, sleep, and emotion regulation among outpatients with major depressive disorders – Results from a double-blind, randomized and placebo-controlled clinical trial.”  J Psychiatr Res. 2018 Dec;107:48-56.

Jansen, E., et al. “Associations between sleep duration and dietary quality: Results from a nationally-representative survey of US adults.” Appetite. 2020 Oct 1;153:104748.

Jansen, E., et al.  “Healthier Dietary Patterns Are Associated With Better Sleep Quality Among Mid-Life Mexican Women.”  J Clin Sleep Med. 2020 Apr 24.

Jansen, E., et al.  “Plasma DHA Is Related to Sleep Timing and Duration in a Cohort of Mexican Adolescents.” J Nutr.  2020 Mar 1;150(3):592-598.

Jansen, E., et al.  “Sleep Duration and Quality in Relation to Fruit and Vegetable Intake of US Young Adults: a Secondary Analysis.” Int J Behav Med. 2020 Feb 3. doi: 10.1007/s12529-020-09853-0.

Kechribari, I., et al.  “Associations between Red Meat Intake and Sleep Parameters in Patients with Obstructive Sleep Apnea.” J Acad Nutr Diet. 2020 Jun;120(6):1042-1053.

Ji, X., et al.  “The relationship between micronutrient status and sleep patterns: a systematic review.” Public Health Nutr. 2017 Mar;20(4):687-701.

Lana, A., et al.  “Habitual Meat Consumption and Changes in Sleep Duration and Quality in Older Adults.” Aging Dis. 2019 Apr; 10(2): 267–277.

Liang, H., et al.  “Dietary Approaches to Stop Hypertension (DASH) Score and Its Association With Sleep Quality in a National Survey of Middle-Aged and Older Men and Women.”  Nutrients. 2020 May 22;12(5):E1510.

Lieberman, H., et al.  “Tryptophan Intake in the US Adult Population Is Not Related to Liver or Kidney Function but Is Associated with Depression and Sleep Outcomes.”  J Nutr. 2016 Dec;146(12):2609S-2615S.

Liu, J., et al. “The mediating role of sleep in the fish consumption – cognitive functioning relationship: a cohort study.” Sci Rep 7, 17961 (2017).

Lopes, T., et al.  “Association between inflammatory potential of the diet and sleep parameters in sleep apnea patients.” Nutrition. 2019 Oct;66:5-10.

Majid, M., et al.  “The effect of vitamin D supplement on the score and quality of sleep in 20–50 year-old people with sleep disorders compared with control group.” Nutr Neurosci. 2018 Sep;21(7):511-519.

Matenchuk, B., et al.  “Sleep, circadian rhythm, and gut microbiota.”  Sleep Med Rev. 2020 May 13;53:101340.

Matsuda, Y., et al.  “Ergothioneine, a metabolite of the gut bacterium Lactobacillus reuteri, protects against stress-induced sleep disturbances.” Transl Psychiatry. 2020 May 28;10(1):170.

Matsunaga, T., et al.  “Associations Between Dietary Consumption and Sleep Quality in Young Japanese Males.”  Sleep Breath. 2020 May 8. doi: 10.1007/s11325-020-02077-2.

Mead, M., et al.  “The effect of caffeine abstinence on sleep among habitual caffeine users with poor sleep.” J Sleep Res. 2020 May 6;e13048.

Melaku, Y., et al.  “Association between Macronutrient Intake and Excessive Daytime Sleepiness: An Iso-Caloric Substitution Analysis from the North West Adelaide Health Study.” Nutrients. 2019 Oct; 11(10): 2374.

Murphy, R., et al.  “Omega-3 Fatty Acid Biomarkers and Sleep: Pooled Analysis of Prospective Studies in the Fatty Acids and Outcome Research Consortium (FORCE).” Curr Dev Nutr. 2020 June. 4(2): 1460.

Muscogiuri, G., et al.  “Sleep Quality in Obesity: Does Adherence to the Mediterranean Diet Matter?” Nutrients. 2020 May; 12(5): 1364.

Muscogiuri, G., et al.  “The lullaby of the sun: the role of vitamin D in sleep disturbance.” Sleep Med. 2019 Feb;54:262-265.

Neighbors, C., et al.  “Vitamin D and obstructive sleep apnea: a systematic review and meta-analysis.” Sleep Med. . 2018 Mar;43:100-108.

Noorwali, E., et al.  “Bridging the Reciprocal Gap between Sleep and Fruit and Vegetable Consumption: A Review of the Evidence, Potential Mechanisms, Implications, and Directions for Future Work.” Nutrients. 2019 Jun; 11(6): 1382.

Noorwali, E., et al.  “Fruit and Vegetable Consumption and Their Polyphenol Content Are Inversely Associated with Sleep Duration: Prospective Associations from the UK Women’s Cohort Study.” Nutrients. 2018 Nov; 10(11): 1803.

Noorwali, E., et al.” The relationship between sleep duration and fruit/vegetable intakes in UK adults: a cross-sectional study from the National Diet and Nutrition Survey.” BMJ Open. 2018 Apr 27;8(4):e020810.

Özcan, H., et al.  “Effects of Kefir on Quality of Life and Sleep Disturbances in Postmenopausal Women.”  Holist Nurs Pract. Jul/Aug 2019;33(4):207-213.

Pahlavani, N., et al.  “Adherence to a Dietary Approach to Stop Hypertension (DASH)-Style in Relation to Daytime Sleepiness.” Nat Sci Sleep. 2020; 12: 325–332.

Pereira, N., et al.  “Influence of Dietary Sources of Melatonin on Sleep Quality: A Review.”  J Food Sci. 2020 Jan;85(1):5-13.

Peuhkuri, K., et al.  “Diet promotes sleep duration and quality.” Nutr Res. 2012 May;32(5):309-19.

Prather, A., et al.  “Short and sweet: Associations between self-reported sleep duration and sugar-sweetened beverage consumption among adults in the United States.” Sleep Health.  2016 Dec;2(4):272-276.

Reynolds, A., et al. “Bidirectional associations between sleep and dietary intake in 0–5-year-old children: A systematic review with evidence mapping.”  Sleep Med Rev. 2020 Feb;49:101231.

Rostami, H., et al.  “The relationship between adherence to a Dietary Approach to Stop Hypertension (DASH) dietary pattern and insomnia.” BMC Psychiatry. 2019; 19: 234.

Sampasa-Kanyinga, H., et al.  “Sleep duration and consumption of sugar-sweetened beverages and energy drinks among adolescents.” Nutrition. 2018 Apr;48:77-81.

Shimura, A., et al.  “Which sleep hygiene factors are important? comprehensive assessment of lifestyle habits and job environment on sleep among office workers.” Sleep Health. 2020 Apr 28;S2352-7218(20)30066-8.

Sidell, M., et al.  “Dietary behaviors and poor sleep quality among young adult women: watch that sugary caffeine!” Sleep Health. 2020 Apr;6(2):214-219.

Smith, R., et al.  “Gut microbiome diversity is associated with sleep physiology in humans.” PLoS One. 2019 Oct 7;14(10):e0222394.

Soysal, P., et al.  “Relationship Between Nutritional Status and Insomnia Severity in Older Adults.” J Am Med Dir Assoc. 2019 Dec;20(12):1593-1598.

St-Onge, M., et al.  “Effects of Diet on Sleep Quality.”  Adv Nutr. 2016 Sep 15;7(5):938-49.

St-Onge, M., et al.  “Fiber and Saturated Fat Are Associated with Sleep Arousals and Slow Wave Sleep.” J Clin Sleep Med. 2016 Jan 15; 12(1): 19–24.

Sutanto, C., et al.  “Association of Sleep Quality and Macronutrient Distribution: A Systematic Review and Meta-Regression.” Nutrients. 2020 Jan; 12(1): 126.

Takada, M., et al.  “Beneficial effects of Lactobacillus casei strain Shirota on academic stress-induced sleep disturbance in healthy adults: a double-blind, randomised, placebo-controlled trial.”  Benef Microbes. 2017 Apr 26;8(2):153-162.

Theorell-Haglow, J., et al.  “Sleep duration is associated with healthy diet scores and meal patterns: results from the population-based EpiHealth study.”  J Clin Sleep Med . 2020 Jan 15;16(1):9-18.

Thompson, R., et al.  “Dietary prebiotics alter novel microbial dependent fecal metabolites that improve sleep.”  Sci Rep. 2020 Mar 2;10(1):3848.

Um, M., et al.  “Rice bran extract supplement improves sleep efficiency and sleep onset in adults with sleep disturbance: A randomized, double-blind, placebo-controlled, polysomnographic study.” Sci Rep. 2019; 9: 12339.

Watson, E., et al.  “The Relationship Between Caffeine, Sleep, and Behavior in Children.” J Clin Sleep Med. 2017 Apr 15; 13(4): 533–543.

Xie, J., et al.  “High-Salt Diet Causes Sleep Fragmentation in Young Drosophila Through Circadian Rhythm and Dopaminergic Systems.”  Front Neurosci. 2019; 13: 1271.

Zhao, M., et al.  “The Effects of Dietary Nutrition on Sleep and Sleep Disorders.” Mediators Inflamm. 2020; 2020: 3142874.

Zhu, G., et al.  “Objective sleep assessment in >80,000 UK mid-life adults: Associations with sociodemographic characteristics, physical activity and caffeine.” PLOS One. 2019; 14(12): e0226220.



I’m a registered dietitian with a passion for peanut butter sandwiches and an undying love for chocolate. I’ve been researching, writing, and speaking about eating for optimal health for over 25 years. I have two wonderful daughters, love hiking year-round, and have a definite addiction to pickleball. Perhaps, most importantly, I never let a good dance song go to waste!

Post a Comment:

Subscribe to Liz’s blog for a healthier, happier, & more delicious life!

(P.S. Your email will never be shared!)