ABSTRACT: BACKGROUND:Population estimates of sleep duration and quality are inconsistent because they rely primarily on self-reported data. Passive and ubiquitous digital tracking and wearable devices may provide more accurate estimates of sleep duration and quality. OBJECTIVE:This study aimed to identify trends in sleep duration and quality in New York City based on 2 million nights of data from users of a popular mobile sleep app. METHODS:We examined sleep duration and quality using 2,161,067 nights of data captured from 2015 to 2018 by Sleep Cycle, a popular sleep-tracking app. In this analysis, we explored differences in sleep parameters based on demographic factors, including age and sex. We used graphical matrix representations of data (heat maps) and geospatial analyses to compare sleep duration (in hours) and sleep quality (based on time in bed, deep sleep time, sleep consistency, and number of times fully awake), considering potential effects of day of the week and seasonality. RESULTS:Women represented 46.43% (1,003,421/2,161,067) of the sample, and men represented 53.57% (1,157,646/2,161,067) of individuals in the sample. The average age of the sample was 31.0 years (SD 10.6). The mean sleep duration of the total sample was 7.11 hours (SD 1.4). Women slept longer on average (mean 7.27 hours, SD 1.4) than men (mean 7 hours, SD 1.3; P<.001). Trend analysis indicated longer sleep duration and higher sleep quality among older individuals than among younger (P<.001). On average, sleep duration was longer on the weekend nights (mean 7.19 hours, SD 1.5) than on weeknights (mean 7.09 hours, SD 1.3; P<.001). CONCLUSIONS:Our study of data from a commercially available sleep tracker showed that women experienced longer sleep duration and higher sleep quality in nearly every age group than men, and a low proportion of young adults obtained the recommended sleep duration. Future research may compare sleep measures obtained via wearable sleep trackers with validated research-grade measures of sleep.