Researchers say poor sleeping patterns can lead to weight gain and an increase in body mass index.

Researchers in a study published in the journal JAMA Internal Medicine used Fitbit wearable technology to collect sleep data from more than 120,000 people over a 2-year period.

“We examined the hypothesis that shorter sleep duration (hours slept at night) and greater day-to-day variability of sleep duration (standard deviation of hours slept at night) are associated with increased body mass index (BMI),” the study authors wrote.

They found that those in the study with a BMI over 30 (what’s considered the obesity range) had slightly shorter sleep durations and more variability in their sleep.

Get the full story at healthline.com.