The present study investigates the association between mental health problems and criminal behavior among adolescents in Sweden. Community crime prevention in a Swedish context is also discussed. Every two years, pupils from schools in Stockholm answer the Stockholm School Survey with questions and statements about their social situation, alcohol and drug use, attitudes, school climate, school grades and criminal behavior. Data collected from pupils who answered the survey in 2014, 2018 and 2020 form the basis of this study. A significant association between mental health problems and criminal behavior was shown, even after controlling for factors suggested in international literature. Mental health problems were shown to be a strong explanation for criminal behavior among adolescents.