ImportanceAlthough questionnaire-based cross-sectional research suggests that screen time before bed correlates with poor sleep, self-reported data seem unlikely to capture the complexity of modern screen use, requiring objective night-by-night measures to advance this field.ObjectiveTo examine whether evening screen time is associated with sleep duration and quality that night in youths.Design, Setting, and ParticipantsThis repeated-measures cohort study was performed from March to December 2021 in participant homes in Dunedin, New Zealand. Participants included healthy youths aged 11 to 14.9 years. Data were analyzed from October to November 2023.ExposureObjectively measured screen time, captured using wearable or stationary video cameras from 2 hours before bedtime until the first time the youth attempted sleep (shut-eye time) over 4 nonconsecutive nights. Video data were coded using a reliable protocol (κ = 0.92) to quantify device (8 options [eg, smartphone]) and activity (10 options [eg, social media]) type.Main Outcomes and MeasuresSleep duration and quality were measured objectively via wrist-worn accelerometers. The association of screen use with sleep measures was analyzed on a night-by-night basis using mixed-effects regression models including participant as a random effect and adjusted for weekends.ResultsOf the 79 participants (47 [59.5%] male; mean [SD] age, 12.9 [1.1] years), all but 1 had screen time before bed. Screen use in the 2 hours before bed had no association with most measures of sleep health that night (eg, mean difference in total sleep time, 0 minutes [95% CI, –3 to 20 minutes] for every 10 minutes more total screen time). All types of screen time were associated with delayed sleep onset but particularly interactive screen use (mean difference, 10 minutes; 95% CI, 4 to 16 minutes for every additional 10 minutes of interactive screen time). Every 10 minutes of additional screen time in bed was associated with shorter total sleep time (mean difference, –3 minutes; 95% CI, –6 to –1 minute). The mean difference in total sleep time was −9 minutes (95% CI, −16 to −2 minutes) for every 10 minutes of interactive screen use and −4 minutes (95% CI, −7 to 0 minutes) for passive screen use. In particular, gaming (mean difference, –17 minutes; 95% CI, –28 to –7 minutes for every 10 minutes of gaming) and multitasking (mean difference, −35 minutes; 95% CI, –67 to –4 minutes on nights with vs without multitasking) were associated with less total sleep time.Conclusions and RelevanceIn this repeated-measures cohort study, use of an objective method showed that screen time once in bed was associated with impairment of sleep, especially when screen time was interactive or involved multitasking. These findings suggest that current sleep hygiene recommendations to restrict all screen time before bed seem neither achievable nor appropriate.