Correction to: Nature Medicine https://doi.org/10.1038/s41591-025-03560-7, published online 5 March 2025.

In the version of this article initially published, citations to Hou et al. (Hou, J., van Wingen, G., van de Mortel, L., Popma, A. & Smit, D. Predicting the onset of mental health problems in adolescents. Preprint at PsyArXiv https://doi.org/10.31234/osf.io/edfba (2023)) were missing in the Introduction and Discussion sections, and are now included in the HTML and PDF versions of the article.