Transparency Disclosure — We may receive a referral fee for products purchased through the links on our site…Read More.


A Complete Guide on the Connection Between Nutrition and Sleep

Nutrition and sleep have an interdependent relationship, meaning, when nutrition is off, this can impact sleep. Conversely, when we’re eating well, we tend to sleep better. We’ve probably all experienced some level of this at various points in our lives, but it can become a real problem when it turns into a long-term cycle of not eating well and subsequently, not sleeping well.

Luckily, we can break this cycle by changing the types of foods we’re eating, when we’re eating, and even how we’re eating. If you’re not getting the nutrition you need, making positive changes to your nutritional health should have a significant impact on how well you’re sleeping. We’ll go over how all this works in this complete guide on nutrition and sleep.

What Is Nutrition?

According to Harvard Health1, nutrition is eating a regular balanced diet. The foods we consume supply our bodies with nutrients, which go into maintaining every aspect of our functioning: our brains, muscles, bones, nerves, skin, circulation, and immune system.

There are two types of nutrients: macronutrients and micronutrients. Essentially, macronutrients are carbs, protein, and fat. These serve as the building blocks for our muscles and tissues.

Micronutrients are individual vitamins and minerals, and they are important for maintaining a healthy immune system, among many other essential bodily functions. The combination of getting enough healthy macro and micronutrients equates to proper nutrition1.

Conversely, malnutrition is the opposite of this. Usually, when we hear this word, our brains automatically go to starving groups of people who do not have access to food. While that accurately describes one type of malnutrition, the term actually encompasses anyone who is not getting proper nutrition, whether they are underweight or even overweight2.

For example, a person who is not able to eat enough food may be malnourished and underweight, while a different person may be solely eating processed or fast foods and be equally malnourished but appear overweight.

Eating unhealthy foods can lead to all sorts of adverse health effects3, including a higher risk for obesity, cardiovascular problems, type 2 diabetes, cancer, and of course, sleep problems.

How Nutrition Affects Sleep

Eating foods that contain sugar, refined carbohydrates, and processed starches can negatively impact our sleep4 that very night. This is also true for drinking caffeine, even as far out as six hours5 before bedtime. Conversely, eating foods that are high in melatonin (for example, almonds, goji berries, eggs, fish, and tart cherries) can have an immediate positive impact on your sleep that night4 .

Nutrition also has a long-term, cumulative effect on sleep. If you’re consistently eating a diet that is low in nutrients (for example, a diet consisting mostly of fast food or processed foods), your body’s hormones will be adversely impacted4 . Hormones like the growth hormone, melatonin, cortisol, leptin, and ghrelin are directly correlated with sleep6 and your body’s natural circadian rhythm. When you mess with these hormones, it can lead to circadian rhythm sleep disorders.

Research also shows that not consistently not getting proper nutrition can increase inflammation in the body, which is closely related to insomnia and other sleep disturbances7 .

Can an Unhealthy Diet Impact or Cause Sleep Disorders?

Yes, an unhealthy diet can lead to certain sleep disorders. As mentioned earlier, a diet low in nutrients can impact your hormone levels across the board. Since hormones like the growth hormone, melatonin, cortisol, leptin, and ghrelin are responsible for keeping your circadian rhythm on track, altering the levels of these hormones can cause circadian rhythm sleep disorders8. These include delayed sleep phase disorder, which is when you may go to bed early into the morning and sleep in as late as 3:00 p.m., and advanced sleep phase disorder, which is when you may go to bed around 6:00 p.m. and wake up at 2:00 a.m.

Poor nutrition can also lead to a condition called obstructive sleep apnea9 (OSA). With this form of sleep apnea, oxygen levels in the blood drop rapidly due to an obstruction in the back of the throat. Usually, this is just caused by the relaxation of the throat muscles in deep sleep, but in people with OSA, the airways narrow too much, and they can’t get enough air. This lack of oxygen causes the body to wake up abruptly to breathe better.

Restless legs syndrome (RLS) is also impacted by diet. A research study10 found that participants who ate a diet rich in vegetables, fruits, nuts, soy, fiber, a healthy white-to-red meat ratio, polyunsaturated fats, and multivitamins were less likely to have RLS than those with a less healthy diet. Not coincidentally, incidents of RLS, OSA, and several other sleep disorders are much higher in people with obesity.

Research11 also shows that it’s not just what we eat, but the way in which we eat that can lead to sleep disorders. For example, skipping meals throughout the day and then eating one large meal at night has been shown to increase the risk of sleep issues. Spicy foods, stimulants like caffeine or chocolate, eating things you’re intolerant to (like ice cream when you’re lactose intolerant), or even eating too quickly can have an immediate and direct impact on your sleep and lead to sleep disorders like insomnia11 .

How Sleep Quality Affects Nutrition

Not only can the way you eat impact how well you sleep, but your sleep quality can also impact the way you eat. You may have already noticed that when you don’t get enough sleep one night, you’re much more likely the next day to crave carbs and sweets. On a scientific level, this makes sense; you’re running low on energy due to a lack of sleep, so your body craves the foods that will give you the fastest source of energy12. For more information, check out our article on the connection between obesity and sleep.

On top of this, not getting enough sleep causes the body to produce too much ghrelin13 (a hormone that stimulates appetite) and too little leptin (the hormone that tells us we are full).

Finally, research also shows us that sleep deprivation – both short-term and long-term – has a direct impact on our decision-making abilities14, which means you may be more inclined to make poor food choices.

All of these combined factors lead to craving more high-calorie and carb-heavy foods, an inability to feel as full as we ought to, and a decreased ability to make good decisions about what we’re eating. This can happen after just one or two nights of sleep deprivation; if you’re consistently not getting enough sleep, this may mean a lifestyle of poor eating.

Tips to Improve Your Nutrition for Better Sleep

  • Don’t consume sweets, foods high in fat, caffeine, or alcohol before bed – All of these foods and drinks can either keep you up late, or disrupt your sleep15 through the night.
  • Avoid spicy foods at night – Spicy foods tend to cause or exacerbate acid reflux16. When you lie down to sleep, the spicy foods and your position may make heartburn worse. Spicy foods have also been shown to make sleep apnea worse16.

Learn more: How to Sleep Better with GERD and Acid Reflux

  • Avoid processed cheese, salami, or pepperoni at night – These processed foods contain tyramine, which can release norepinephrine16. This can make your brain overactive and excited – not a good thing for a good night’s sleep.
  • Don’t eat dinner too early or too late – Experts say that the ideal time to eat dinner is about three hours before bed. This means you’ll have time to digest your food, but you also shouldn’t feel hungry when you lie down to sleep. Going to bed hungry can also have a negative impact on sleep15.

Find out more: Should You Eat Before Bed?

  • If you must snack late, snack correctly – If you’re starving before bed, you’re probably not going to be able to sleep. Late-night snacks should be small, simple, and easy to digest. Something like whole wheat toast with almond butter, Greek yogurt with berries, or a small bowl of high-fiber oatmeal should not be too activating or hard to digest at night.
  • Eat foods high in fiber and low in saturated fat and sugarResearch17 shows that eating a high-fiber, low-saturated fat, and low-sugar diet leads to deeper, more restorative sleep.
  • Consume foods that foster better sleep – Aside from foods high in fiber and low in saturated fat, there are particular foods that promote better sleep. Kiwis, cherries, and walnuts, for example, are rich in melatonin and magnesium, which are good for sleep. Fatty fish like salmon is also great for sleep18, as it helps regulate serotonin levels.

Read more about the best foods for getting a good night’s sleep

  • Drink something warm (and caffeine-free) at night – Drinking something warm like chamomile tea before bed can help you wind down after a long day. Be sure your warm drink is free of sugar and caffeine, though, to sleep well.
  • Try adding magnesium before bed – Eating magnesium-rich foods or even adding magnesium supplements before bedtime could be a game changer for sleep. Magnesium19 has been found to be an effective, natural sleep aid.

Summary

According to the CDC, most people in the U.S. don’t eat a healthy diet and consume too much sodium, saturated fat, and sugar3. Perhaps, then, it shouldn’t be surprising that one in three American adults20 doesn’t get enough sleep on a regular basis, considering what we now know about the connection between nutrition and sleep.

If you aren’t sleeping well and you’re also not eating well, try making some changes to your diet before jumping to things like sleep aids. Not only could this help you sleep better, but sleeping better can help you eat better as well.

Natalie Grigson

Natalie Grigson

Writer

About Author

Natalie is a content writer for Sleep Advisor with a deep passion for all things health and a fascination with the mysterious activity that is sleep. Outside of writing about sleep, she is a bestselling author, improviser, and creative writing teacher based out of Austin.

Side Sleeper

References:
  1. “Nutrition”. Harvard Health Publishing. Webpage accessed May 5, 2024.  
  2. “Malnutrition”. World Health Organization. 2020.
  3. “Junk food and your health”. Health Direct. Last modified June 2023.
  4. Zhao, Mingxia., et al. “The Effects of Dietary Nutrition on Sleep and Sleep Disorders”. National Library of Medicine. 2020.
  5. Drake PhD, Christopher., et al. “Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed”. National Library of Medicine. 2013.
  6. Kim, Tae Won., Jeong, Jong-Hyun., Hong, Seung-Chul. “The impact of sleep and circadian disturbance on hormones and metabolism”. National Library of Medicine. 2015.
  7. Irwin, Michael R., Olmstead, Richard., Carroll, Judith E. “Sleep Disturbance, Sleep Duration, and Inflammation: A Systematic Review and Meta-Analysis of Cohort Studies and Experimental Sleep Deprivation”. National Library of Medicine. 2016.
  8. “Circadian Rhythm Sleep Disorders”. Cleveland Clinic. Last modified April 1, 2020.  
  9. Reid, Michelle., et al. “Association between diet quality and sleep apnea in the Multi-Ethnic Study of Atherosclerosis”. National Library of Medicine. 2019.
  10. Batool-Anwar MD, Salma., et al. “Lifestyle Factors and Risk of Restless Legs Syndrome: Prospective Cohort Study”. National Library of Medicine. 2016.
  11. Vernia, Filippo., et al. “Sleep disorders related to nutrition and digestive diseases: a neglected clinical condition”. National Library of Medicine. 2021.
  12. Jéquier, E. “Carbohydrates as a source of energy”. National Library of Medicine. 1994.
  13. “3 ways decreased sleep contributes to overeating”. Harvard School of Public Health. Webpage accessed May 5, 2024. 
  14. Salfi, Federico., et al. “Effects of Total and Partial Sleep Deprivation on Reflection Impulsivity and Risk-Taking in Deliberative Decision-Making”. National Library of Medicine. 2020.
  15. “Is Eating Before Bed Bad for You?”. Cleveland Clinic. 2022.
  16. “Better Sleep: 3 Simple Diet Tweaks”. Johns Hopkins Medicine. Webpage accessed May 5, 2024. 
  17. St-Onge, Marie-Pierre., et al. “Fiber and Saturated Fat Are Associated with Sleep Arousals and Slow Wave Sleep”. National Library of Medicine. 2016.
  18. Hansen PhD, Anita L., et al. “Fish consumption, sleep, daily functioning, and heart rate variability”. National Library of Medicine. 2014.
  19. Abbasi, Behnood., et al. “The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial”. National Library of Medicine. 2012.
  20. CDC: More than 1 in 3 Americans are sleep-deprived”. America Academy of Sleep Medicine. 2011.