Sleep is a fundamental aspect of human health that plays a crucial role in cognitive function, academic performance and social interactions. A study published in PLOS One by Yao Zhao at Temple University, U.S., and colleagues suggests that wearable devices can provide accurate, longitudinal sleep data to facilitate analyses of changing sleep patterns over time.