A balanced diet is one key factor in getting a restful night’s sleep. SimpleImages/Moment via Getty Images

Erica Jansen, University of Michigan

You probably already know that how you eat before bed affects your sleep. Maybe you’ve found yourself still lying awake at 2 a.m. after enjoying a cup of coffee with dessert. But did you know that your eating choices throughout the day may also affect it at night?

Ready for a challenge? Click here to take our quiz and show off your knowledge!

In fact, more and more evidence shows that overall dietary patterns can affect sleep quality and contribute to insomnia.

I am a nutritional epidemiologist, and I’m trained to look at diets at the population level and how they affect health.

A large percentage of the population suffers from poor sleep quality and insomnia and obstructive sleep apnea, a condition in which the upper airway becomes blocked and breathing stops during sleep. At the same time, most Americans eat far too much fatty and processed food, too little fiber and too few fruits and vegetables.

Ready for a challenge? Click here to take our quiz and show off your knowledge!

Although it is difficult to determine whether these two trends are causally linked to one another, more and more research points to linkages between sleep and diet and offers hints at the biological underpinnings of these relationships.

Overhead view of colorful foods with high dietary fiber content arranged side by side on a countertop.
Most Americans consume far too little fiber and too few fresh fruits and vegetables. fcafotodigital/E+ via Getty Images

How diet and sleep quality can be intertwined

My colleagues and I wanted to get a deeper understanding of the possible link between sleep and diet in people who are 18 and older.

Using a nationally representative dataset of surveys in the US we found that people who did not adhere to dietary recommendations such as consuming enough servings of fruits, vegetables, legumes and whole grains had shorter sleep duration.

In a separate study, we followed more than 1,000 young adults ages 21 to 30 who were enrolled in a web-based dietary intervention study designed to help them increase their daily servings of fruits and vegetables. We found that those who increased their fruit and vegetable consumption over a three-month period reported reductions in insomnia symptoms.

Research conducted outside the U.S. by my group and others also shows that healthier overall dietary patterns are associated with better sleep quality and fewer insomnia symptoms. These include the Mediterranean diet – a diet rich in plant foods, olive oil and seafood, and low in red meat and added sugar – and anti-inflammatory diets. These are similar to the Mediterranean diet but include additional emphasis on certain components in the diet like flavonoids, a group of compounds found in plants, which are shown to lower inflammatory biomakers in the blood.

Parsing the foods and nutrients

Within overall healthy diet patterns, there are numerous individual foods and nutrients that may be linked to quality of sleep, with varying degrees of evidence.

For example, fatty fish, dairy, kiwi fruit, tart cherries and other berries such as strawberries and blueberries are there. One of the common pathways through which these foods may affect sleep is by providing melatonin, an important modulator of sleep and wake cycles in the brain.

Walnuts and almonds, as well as fruits like kiwis and bananas, provide natural sources of melatonin.

Fiber-rich foods like beans and oatmeal and certain protein sources – especially those that are high in the amino acid tryptophan, such as poultry – are also associated with it. Individual nutrients that may be beneficial include magnesium, vitamin D, iron, omega-3 fatty acids and manganese. Some foods like salmon are sources of multiple nutrients.

Untangling the complexity

One important caveat with a lot of the research on individual foods, as well as diet patterns, is that most studies cannot easily disentangle the direction of the relationships.

In other words, it’s hard to know whether the association is a result of diet affecting sleep, or sleep affecting diet. The reality is that it is likely a cyclical relationship.

With observational studies, there are also possible confounding factors, such as age and economic status, that may have important correlations with both sleep and diet.

Foods to avoid for sleep health

Aiming for higher intake of sleep-promoting foods isn’t necessarily enough to get better sleep. It’s also important to avoid certain foods that could be bad for sleep. Here are some of the main culprits:

  • Saturated fats, such as that in burgers and fries and processed foods, could lead to less slow-wave sleep, which is considered the most restorative sleep.
  • Refined carbohydrates, such as those in white bread and pasta, are metabolized quickly. If you eat these foods for dinner, they can result in waking up from hunger.
  • You should be away from alcohol. Although the sedative effects of alcohol can initially make it easier to fall asleep, it disrupts sleep patterns by shortening the amount of REM, or rapid eye movement, sleep in the first part of the night and leads to more night awakenings.
  • Caffeine consumed even six hours before bed can make it difficult to fall asleep because it blocks the hormone adenosine, which promotes sleepiness.
  • The consistent overconsumption of calories can lead to weight gain, one of the strongest predictors of obstructive sleep apnea. Having excess weight is a factor because it can put additional pressure on the diaphragm and lungs, and can also lead to a narrower airway if fat accumulates around the neck and throat.

Interestingly, our group has recently shown that toxicants in food or food packaging, like pesticides, mercury and phthalates – chemicals used to manufacture plastics – can affect sleep. Since toxicants can be found in both healthy and unhealthy foods, this research suggests that some foods can contain a mix of components that are both beneficial and harmful for sleep.

Timing of meals and gender considerations

The timing and consistency of eating, known as “chrononutrition” in the sleep research field, also very likely help to explain associations between healthy diets and good sleep.

A final and very interesting piece of this puzzle is that associations between diet and sleep often differ by gender. For example, it appears that the associations between healthy diet patterns and insomnia symptoms could be stronger among women. One reason for this could be gender differences in sleep. In particular, women are more likely than men to suffer from insomnia.

Keys to a good night’s sleep

Overall, there is not one magic food or drink that will improve your bedtime experience. It’s better to focus on overall healthy dietary patterns throughout the day, with a higher proportion of calories consumed earlier in the day.

And, in addition to avoiding caffeine, alcohol and heavy meals in the two to three hours before bed, the last few hours of the day should help.

These include disengaging from technology, reducing light exposure and creating a comfortable and relaxing environment for sleep. Moreover, maintaining a consistent bedtime and wake time is essential.

Erica Jansen, Assistant Professor of Nutritional Sciences, University of Michigan

This article is republished from The Conversation under a Creative Commons license. Read the original article.