Longitudinal studies report associations between use of electronic cigarettes (ECs) and cigarettes over time among young people, but do not distinguish within- from between-person effects, which complicates interpretation of findings. Further, the role of shared risk factors, such as substance use and mental health, in explaining longitudinal associations between EC and cigarette use remains unclear. This study used within- and between-person analyses to assess longitudinal associations between youths' EC and cigarette use and shared risk factors.