Junk Food vs Sleep: New Study Reveals Impact of Diet on Sleep Quality

Summary: Researchers uncovered how an unhealthy diet affects deep sleep quality. The study revealed that consuming a diet high in sugars and saturated fats leads to deterioration in the quality of deep sleep.

These findings add to the existing evidence linking diet to sleep patterns, emphasizing the crucial role nutrition plays in overall health and sleep quality. It opens up new avenues for understanding how diet can be harnessed to improve sleep and subsequently, mitigate related health risks.

Key facts:

  1. The study conducted at Uppsala University reveals a direct link between unhealthy diets and poorer deep sleep quality.
  2. Despite the same duration of sleep, the depth or restorative quality of sleep was impacted after consuming junk food.
  3. The effect of an unhealthy diet on deep sleep was found to be similar to sleep changes that occur with aging or in conditions such as insomnia.

Source: Uppsala University

In a new study, researchers at Uppsala University have investigated how junk food affects sleep. Healthy participants consumed an unhealthier as well as a healthier diet in a randomized order.

After the unhealthier diet, the quality of the participants’ deep sleep had deteriorated, compared with those who had followed the healthier diet.

The results have been published in the journal Obesity.

Several epidemiological studies have shown that what we eat is associated with changes in our sleep. However, few studies have investigated how diet itself directly affects sleep. One way to do that is to have the same participant consume different diets in a randomized order.

“Both poor diet and poor sleep increase the risk of several public health conditions. As what we eat is so important for our health, we thought it would be interesting to investigate whether some of the health effects of different diets could involve changes to our sleep.

“In this context, so-called intervention studies have so far been lacking; studies designed to allow the mechanistic effect of different diets on sleep to be isolated,” says Jonathan Cedernaes, Physician and Associate Professor in Medical Cell Biology at Uppsala University.

This shows a person sleeping surrounded by junk food.
After each diet, the participants were examined in a sleep laboratory. Credit: Neuroscience News

Previous epidemiological studies have shown that diets with greater sugar content, for example, are linked to poorer sleep. Yet sleep is an interplay of different physiological states, as Cedernaes explains:

“For example, deep sleep can be affected by what we eat. But no study had previously investigated what happens if we consume an unhealthy diet and then compared it to quality of sleep after that same person follows a healthy diet.

“What is exciting in this context is that sleep is very dynamic. Our sleep consists of different stages with different functions, such as deep sleep which regulates hormonal release, for example.

“Furthermore, each sleep stage is hallmarked by different types of electrical activity in the brain. This regulates aspects such as how restorative sleep is, and differs across different brain regions.

“But the depth or integrity of the sleep stages can also be negatively affected by factors such as insomnia and aging. Previously, it has not been investigated whether similar changes in our sleep stages can occur after exposure to different diets.”

Each study session involved several days of monitoring in a sleep laboratory. Therefore, only 15 individuals were included in the study. A total of 15 healthy normal-weight young men participated in two sessions.

Participants were first screened for aspects such as their sleep habits, which had to be normal and within the recommended range (an average of seven to nine hours of sleep per night).

In random order, the participants were given both a healthier diet and an unhealthier diet. The two diets contained the same number of calories, adjusted to each individual’s daily requirements.

Among other things, the unhealthier diet contained a higher content of sugar and saturated fat and more processed food items. The meals of each diet had to be consumed at individually adjusted times, which were matched across the two dietary conditions.

Each diet was consumed for a week, while the participants’ sleep, activity and meal schedules were monitored at an individual level.

After each diet, the participants were examined in a sleep laboratory. There, they were first allowed to sleep a normal night, while their brain activity was measured to monitor their sleep.

The participants were then kept awake in the sleep laboratory, before being allowed to catch up on sleep. Their sleep was recorded in this case, too.

“What we saw was that the participants slept for the same amount of time when they consumed the two diets. This was the case both while they were following the diets, as well as after they had switched to another, identical diet.

“In addition, across the two diets, the participants spent the same amount of time in the different sleep stages. But we were particularly interested in investigating the properties of their deep sleep.

“Specifically, we looked at slow-wave activity, a measure that can reflect how restorative deep sleep is.

“Intriguingly, we saw that deep sleep exhibited less slow-wave activity when the participants had eaten junk food, compared with consumption of healthier food. This effect also lasted into a second night, once we had switched the participants to an identical diet.

“Essentially, the unhealthy diet resulted in shallower deep sleep. Of note, similar changes in sleep occur with aging and in conditions such as insomnia. It can be hypothesised, from a sleep perspective, that greater importance should potentially be attached to diet in such conditions,” explains Cedernaes.

The researchers do not currently know how long-lasting the sleep effects of the unhealthier diet may be. The study did not investigate whether shallower deep sleep may alter functions that are regulated by deep sleep, for example.

“It would also be interesting to conduct functional tests, for example to see whether memory function can be affected. This is regulated to a large extent by sleep. And it would be equally interesting to understand how long-lasting the observed effects may be.

“Currently, we do not know which substances in the unhealthier diet worsened the depth of deep sleep. As in our case, unhealthy diets often contain both higher proportions of saturated fat and sugar and a lower proportion of dietary fiber. It would be interesting to investigate whether there is a particular molecular factor that plays a greater role.

“Our dietary intervention was also quite short, and both the sugar and fat content could have been higher. It is possible that an even unhealthier diet would have had more pronounced effects on sleep,” notes Cedernaes.

About this diet and sleep research news

Author: Elin Bäckström
Source: Uppsala University
Contact: Elin Bäckström – Uppsala University
Image: The image is credited to Neuroscience News

Original Research: Open access.
Exposure to a more unhealthy diet impacts sleep microstructure during normal sleep and recovery sleep: A randomized trial” by Jonathan Cedernaes et al. Obesity


Exposure to a more unhealthy diet impacts sleep microstructure during normal sleep and recovery sleep: A randomized trial


Although intake of specific macronutrients has been associated with sleep parameters, interventional evidence is lacking. Therefore, this randomized trial was conducted to examine how a more unhealthy high-fat/high-sugar (HFHS) diet impacts sleep in humans.


In a crossover study, 15 healthy young men consumed two isocaloric diets in random order for a week: an HFHS and a low-fat/low-sugar diet. Following each diet, in-lab sleep was recorded using polysomnography during a full night of sleep and during recovery sleep after extended wakefulness. Sleep duration, macrostructure, and microstructure (oscillatory pattern and slow waves) were investigated using machine learning-based algorithms.


Sleep duration did not differ across the diets based on actigraphy and the in-lab polysomnography. Sleep macrostructure was similar after 1 week on each diet. Compared with the low-fat/low-sugar diet, consumption of the HFHS diet resulted in reduced delta power, delta to beta ratio, and slow wave amplitude but increased alpha and theta power during deep sleep. During recovery sleep, similar sleep oscillatory changes were observed.


Short-term consumption of a more unhealthy diet alters sleep oscillatory features that regulate the restorative properties of sleep. Whether such changes can mediate adverse health outcomes associated with consumption of an unhealthier diet warrants investigation.

Join our Newsletter
I agree to have my personal information transferred to AWeber for Neuroscience Newsletter ( more information )
Sign up to receive our recent neuroscience headlines and summaries sent to your email once a day, totally free.
We hate spam and only use your email to contact you about newsletters. You can cancel your subscription any time.