Basketball can improve physical fitness, keep healthy, and become the main form of modern sports. However, basketball generally has the problem of unreasonable sports schemes and even reduces physical fitness. Therefore, finding an effective basketball program is an urgent problem to be solved at present. In order to improve the level of public health, this paper proposes a correlation analysis method to study the impact of basketball on teenagers’ health. The correlation analysis method is used to analyze the health data of adolescents, combined with the influence of basketball on fitness and the characteristics of basketball itself. Previous studies on basketball neglected comprehensive analysis and lack of correlation analysis of basketball indexes, resulting in unsatisfactory analysis results. The correlation analysis method can adjust the technical method, intensity, and program of basketball in combination with the physical development of teenagers. MATLAB simulation shows that the correlation analysis method can accurately analyze the impact of basketball on teenagers’ health, with an accuracy of 95%. Therefore, the correlation analysis method constructed in this paper can provide guidance for basketball and improve the health level of teenagers.