Managing the health of migrants has become a crucial aspect of promoting social harmony and cohesion in China. This study investigates the impact of public health education on the health status of migrants in China using cross-sectional data from the China Migrants Dynamic Survey 2017. A total of 169,989 migrants in China were selected as samples for empirical test. Data were analyzed using descriptive statistics, logistic regression, and the structural equation model. The findings show that health education significantly influences the health status of migrants in China. Specifically, health education related to occupational diseases, venereal diseases/AIDS, and self-rescue in public emergencies had a significant positive impact on migrants’ health, while health education regarding chronic diseases had a significant negative impact. Health education delivered through lectures and bulletin boards had a significant positive impact on migrants’ health, but online education had a significant negative effect on the health status of migrants. The effects of health education differ by gender and age, with a stronger positive impact on female migrants and elderly migrants aged 60 and above. The mediating effect of health behaviors was significant only in the total effect. In conclusion, health education can effectively enhance the health status of migrants in China by modifying their health behaviors.