BackgroundChemsex (the use of psychoactive drugs in sexual contexts) has been associated with HIV acquisition and other STIs, so there is benefit in identifying those most likely to start chemsex to offer risk reduction interventions such as pre-exposure prophylaxis (PrEP). To date, there have been no data from a longitudinal study analysing factors most associated with starting and stopping chemsex.MethodsThe prospective cohort study, Attitudes to and Understanding Risk of Acquisition of HIV over Time (AURAH2), collected 4 monthly and annual online questionnaire data from men who have sex with men (MSM) from 2015 to 2018. We investigate the association of sociodemographic factors, sexual behaviours and drug use with starting and stopping chemsex among 622 men who completed at least one follow-up questionnaire. Poisson models with generalised estimating equations were used to produce risk ratios (RRs) accounting for multiple starting or stopping episodes from the same individual. Multivariable analysis was adjusted for age group, ethnicity, sexual identity and university education.FindingsIn the multivariable analysis, the under 40 age group was significantly more likely to start chemsex by the next assessment (RR 1.79, 95% CI 1.12 to 2.86). Other factors which showed significant association with starting chemsex were unemployment (RR 2.10, 95% CI 1.02 to 4.35), smoking (RR 2.49, 95% CI 1.63 to 3.79), recent condomless sex (CLS), recent STI and postexposure prophylaxis (PEP) use in the past year (RR 2.10, 95% CI 1.33 to 3.30). Age over 40 (RR 0.71, 95% CI 0.51 to 0.99), CLS, and use of PEP (RR 0.64, 95% CI 0.47 to 0.86) and PrEP (RR 0.47, 95% CI 0.29 to 0.78) were associated with lower likelihood of stopping chemsex by the next assessment.InterpretationKnowledge of these results allows us to identify men most likely to start chemsex, thus providing an opportunity for sexual health services to intervene with a package of risk mitigation measures, especially PrEP use.