X

The Link Between Your Diet and Sleep Habits: How to Eat for the Best Sleep Ever

There is a significant connection between diet and sleep. But is your poor diet the chicken or egg of your sleep problems?

Taylor Leamey Senior Writer
Taylor Leamey writes about all things wellness, specializing in mental health, sleep and nutrition coverage. She has invested hundreds of hours into studying and researching sleep and holds a Certified Sleep Science Coach certification from the Spencer Institute. Not to mention the years she spent studying mental health fundamentals while earning her bachelor's degrees in both Psychology and Sociology. She is also a Certified Stress Management Coach.
Expertise Bachelor of Science, Psychology and Sociology Credentials
  • Certified Sleep Science Coach, Certified Stress Management Coach
Taylor Leamey
5 min read
Food in an alarm clock over a pink background.
Jordan Lye/Getty Images

The sleep quality you get doesn't just come down to how comfortable your mattress is. An often overlooked factor that keeps many of us up at night is the food we eat. 

In the spirit of National Sleep Awareness Month, let's explore the relationship between sleep and diet. Most people know that eating the wrong things at night can harm the quality of sleep you get. Eating food that's too spicy can cause acid reflux or eating something too sugary may make it hard to fall asleep to begin with. However, you may not know how sleep quality impacts your nutrition. That's right, folks, it works both ways. 

Read more: Can Tech Help You Sleep Better? This Is My 3-Week Quest for Answers

Your diet impacts the quality of sleep you get

Most people accept that nutrition is essential to keep your body working at peak performance -- you need calcium to keep your bones strong and potassium to keep your nerves and muscles functioning. Though, did you know that your vitamin and nutrient intake also dictates how well you sleep?

Studies have indicated that certain nutrient deficiencies like magnesium, calcium, and vitamins A, C, D, E and K -- can lead to sleep troubles. For example, a vitamin D deficiency may contribute to sleep disorders and shorter sleep duration, possibly because it's important for melatonin production pathways. 

A balanced diet rich in essential nutrients will set your body up to get the best sleep. There are a few rules you should follow when you're eating to promote better sleep. First, you should ensure you don't eat big meals too close to bedtime to avoid acid reflux and heartburn. You also should be careful of the kinds of foods you're eating, as some can keep you up at night. 

Foods to stay away from at night to get better sleep:

  • High-fat and sugary foods.
  • Spicy foods.
  • Caffeine.
  • Alcohol.
  • Acidic foods.
  • Chocolate.
Man getting a late night snack of grapes
LordHenriVoton/Getty Images

Thankfully, late-night snacks aren't completely off the table. There are foods that include tryptophan, magnesium, vitamin D and complex carbs that can promote sleep. Swapping out your usual go-to for one of these options might help you drift off more easily. 

  • Proteins like fish and poultry.
  • Whole grains.
  • Leafy greens.
  • Cruciferous veggies.
  • Milk and yogurt.
  • Nuts.
  • Fruits like berries, bananas, kiwis and oranges.

How much sleep you get dictates your food choices

I don't know about you, but if I'm tired, the only thing my stomach grumbles for are all the worst things: french fries, cookies and chips. It's as if the only thing that can get me through hours of brain fog and poor concentration is a shot of sugar right to the brain. 

When you're sleep deprived, you're more likely to make bad food choices and increase consumption without balancing it with energy expenditure. This could be one reason that sleep deprivation is linked to a higher risk of obesity and chronic health conditions like type 2 diabetes. 

Before you feel bad about yourself, you should know there's a hormonal driver at work. Ghrelin and leptin are the hormones in charge of regulating appetite. Leptin's role is to maintain energy balance and inhibit hunger. It naturally rises when we're sleeping. Conversely, ghrelin release tells your brain it's time to eat. That's why it's also known as the "hunger hormone."

Studies have shown that when your sleep is compromised, your leptin levels are down and your ghrelin levels are higher. So you feel more hungry even when you don't need to eat. Research published in the journal Sleepfound that sleep loss sends chemical signals that boost the pleasure and satisfaction one gets from eating. This is why you'll find yourself reaching for snacks instead of healthy alternatives. 

Compromised sleep doesn't just leave you tired and foggy the next day; it can also lead to poor food decisions that only add to your discomfort.

Ways to improve your sleep and diet 

Your nutrition and sleep habits rely on each other to be their best, meaning you can't ignore one without it affecting the other. If you don't know where to start, speaking with your doctor is a good jumping-off point. They can help you identify any nutritional deficiencies or sleep disorders like sleep apnea and help you tailor a nutritional plan to your needs. 

There are a few daily habit changes that you can make to sleep better at night.

  • Focus on your sleep hygiene: When I say sleep hygiene, I mean your environment and habits before sleep. Having good sleep hygiene will help you get better sleep at night. A few hours before bed, it's a good idea to start winding down your routine and integrate relaxing activities like reading a book or taking a bubble bath. Then, it's best to put away your phone at least 45 minutes before bed so the blue light doesn't keep you up. Making slight changes to your nightly routine can go a long way in improving your sleep. 
  • Keep it light at night: Going to bed hungry can disrupt sleep. So if you need a snack before bed, try to keep it light and pick food off the sleep-promoting list like a banana, yogurt or nuts. 
  • Don't drink caffeine late into the afternoon: Caffeine can linger in your body hours after you consume it. Because of this, it's best to stop drinking caffeine in the early afternoon so it doesn't interfere with falling asleep. 
  • Be intentional about what you eat during the day: A balanced diet full of nutrients will go a long way in ensuring you sleep well at night. This isn't to say you have to cut all the fun stuff out, though moderation is a good way to make sure you're getting everything your body needs. 
Young woman lying in bed reading a book
jarenwicklund/Getty Images

Too long; didn't read? 

Sleep and diet have a chick-or-egg relationship. At any point, you can be the chicken (sleeping poorly because of what you eat) and then the egg (making bad food choices because you sleep poorly). And there's no definitive way to determine which came first, your poor sleep or food choices.

The only way to fully address your sleep troubles is to also examine your diet. Does your diet have too much saturated fat? Or are you eating the wrong foods at night? Making changes to your diet will significantly impact your sleep, which will help you make better food choices. 

The information contained in this article is for educational and informational purposes only and is not intended as health or medical advice. Always consult a physician or other qualified health provider regarding any questions you may have about a medical condition or health objectives.