A smart ring tracked an average of 154 days of sleep for each of roughly 23,000 people, giving researchers a longer view of bedtime habits than a quick survey could. The data pointed to a simple pattern: people whose sleep and wake times shifted more from day to day tended to report more anxiety, depression and loneliness.

The study, led by researchers at the University of California, San Francisco, and the University of California, San Diego, was published in Scientific Reports on Nov. 12. Much sleep research has focused on how long people sleep or how restful their sleep seems. This study instead examined sleep regularity: how closely someone keeps to a similar schedule each day.

The participants came from TemPredict, a project launched in 2020 to see whether wearable data could help spot COVID-19 before people noticed symptoms. Their average age was 46, and just under half were women. A smart ring used movement and vital-sign sensors to estimate when each person fell asleep and woke up. Researchers used those estimates to calculate a sleep regularity index, or SRI, scored from 0 to 100. Higher scores meant more consistent sleep timing.

Participants also completed monthly surveys about depression, anxiety and loneliness. In the long-term analysis, people reporting few or no depression symptoms had an average SRI of 84. The average was 83 among those with mild symptoms, 81 among those with moderate symptoms and 75 among those with severe symptoms. People with normal anxiety levels averaged 84, while those with severe anxiety averaged 79. Elevated loneliness was also linked with less regular sleep.

The scores reflect meaningful shifts in daily routines. First author Severine Soltani, formerly of UC San Diego’s Bioinformatics and Systems Biology graduate program, said a person with an SRI of 84 might go to bed and wake up about an hour earlier or later than the previous day, on average. At an SRI of 75, that shift might be closer to an hour and a half.

Senior author Ashley Mason, of UCSF’s Department of Psychiatry and Behavioral Sciences, said regular sleep and wake times help keep the body’s circadian rhythms aligned. Those rhythms help organize sleep and other daily processes. Irregular schedules may also change when people get light, eat meals, exercise or see others, which can affect the body’s timing.

The findings show a link, not proof that uneven sleep causes mental health symptoms. Mason noted that the relationship could work both ways: mental health struggles may disrupt sleep, while irregular sleep could contribute to later health problems. She pointed to other long-term research that gives some reason to think sleep irregularity may come first in some cases. The study’s months of data also showed stronger links than a shorter, “typical week” snapshot, suggesting that longer tracking can reveal patterns brief studies miss.

The next step is to test whether helping people keep steadier sleep and wake times can improve mental health. For now, the study offers a practical question for future research: could a more predictable daily rhythm support better well-being?