Public health education is gaining significance globally, and it is important for managing health risks. This study empirically analyzed the effect of public health education on people's demand for commercial health insurance. And we used the fixed effects and the mediating effect models, and instrumental variables regression in our research based on panel data of 31 provinces (including municipalities and autonomous regions) in China from year 2009 to 2019. The findings show that public health education significantly increases people's demand for commercial health insurance, and this effect remains significant when considering endogeneity and robustness. We further analyzed and found that the increased demand for commercial health insurance is caused by health literacy, health risk perceptions and health risk attitudes. Through heterogeneity analysis, we found that there were significant differences in the effects of public health education in regions with different demographic and socioeconomic characteristics. We found that the effect of health education on promoting people's demand for commercial health insurance is more obvious in regions with high levels of urbanization, proportion of men, education, economic development, medical resources, and social medical insurance coverage. Governments are supposed to take further measures to enhance the effectiveness of public health education, develop high-quality commercial health insurance, and continuously improve health risk coverage.