BackgroundSleep medication use is an indicator of underlying sleep problems that might be induced by various factors such as alcohol use. However, the longitudinal relationship between drinking and sleep problems remains poorly understood. We investigated associations between sleep medication and alcohol use throughout adulthood, and examined the role of familial and potential confounding factors contributing to these associations. MethodsWe used information of zygosity and self-report questionnaire data over a follow-up period of 36 years from the Older Finnish Twin Cohort (N=13,851). ResultsLogistic regression analyses suggested consistent associations between sleep medication use and heavy/binge drinking at all four time points (OR range =1.36-3.18, P <0.05), implying that increased drinking is associated with increased sleep medication use over time. Cross-lagged path analyses suggested that moderate/heavy and binge drinking predict sleep medication use at most time points (OR range = 1.15-1.94, P <0.05), whilst sleep medication use predicts subsequent abstaining from alcohol (OR range =2.26-2.47, P <0.05). Within-pair analyses implied that familial factors play a role, and quantitative genetic modelling estimated genetic factors to explain approximately 80% of the lifetime association of sleep medication use with moderate/heavy and binge drinking. ConclusionsDrinking is associated with sleep medication use throughout adulthood. Further, our results suggest that drinking is likely to predict sleep medication use, thereby potentially constituting a risk factor for sleep problems, and that genetic factors contribute to the association. These findings are important in terms of better understanding the development of sleep and alcohol use disorders.