If your night-time junk food snacking turns into habit, you could then be putting your health at risk, albeit by affecting the quality of your sleep and by increasing the risk for obesity and diabetes, reports Longevity.

Researches from the University of Arizona in Tucson attempted to find an association poor sleep quality and junk food cravings. The study also aimed to confirm the suggestion that night-time snacking could lead to poor eating habits.

For the study, researchers quizzed 3,105 adults from 23 metropolitan areas across the United States. Through a phone-based survey, the participants were asked about their night-time snacking habits, sleep quality, and any diagnosed health issues. They were also asked if they ever craved junk foods as a result of sleep deprivation.