BackgroundMental health in adolescence is critical in its own right and a predictor of later symptoms of anxiety and depression. To address these mental health challenges, it is crucial to understand the variables linked to anxiety and depression in adolescence.MethodsHere, we analyzed data of 278 adolescents that were collected in a nation-wide survey provided via a smartphone-based application during the COVID-19 pandemic. We used an elastic net regression machine-learning approach to classify individuals with clinically relevant self-reported symptoms of depression or anxiety. We then identified the most important variables with a combination of permutation feature importance calculation and sequential logistic regressions.Results40.30% of participants reported clinically relevant anxiety symptoms, and 37.69% reported depressive symptoms. Both machine-learning models performed well in classifying participants with depressive (AUROC = 0.77) or anxiety (AUROC = 0.83) symptoms and were significantly better than the no-information rate. Feature importance analyses revealed that anxiety and depression in adolescence are commonly related to sleep disturbances (anxiety OR = 2.12, depression OR = 1.80). Differentiating between symptoms, self-reported depression increased with decreasing life satisfaction (OR = 0.43), whereas self-reported anxiety was related to worries about the health of family and friends (OR = 1.98) as well as impulsivity (OR = 2.01).ConclusionOur results show that app-based self-reports provide information that can classify symptoms of anxiety and depression in adolescence and thus offer new insights into symptom patterns related to adolescent mental health issues. These findings underscore the potentials of health apps in reaching large cohorts of adolescence and optimize diagnostic and treatment.