Recent studies have shown a close correlation between air pollution and the occurrence of asthma. A distributed lag nonlinear model was used in this research to analyze the relationship between 58,610 asthma outpatient hospital visits and daily PM2.5, PM10, NO2, SO2, CO, and eight hour mean O3 exposure from 4 hospitals in Xinxiang City, Henan province from January 1, 2016 to December 31, 2021, and a stratified analysis of gender and age were conducted. Results showed that low concentrations of daily PM2.5 (40 µg/m3), PM10 (20 and 80 µg/m3), CO (0.8 mg/m3), NO2 (10-30 µg/m3) and SO2 (15 µg/m3) exposure reduced the number of outpatient visits for asthma patients. High levels of daily PM2.5 (50-100 µg/m3), PM10 (100-140 and 820 µg/m3), and SO2 (20-25 µg/m3) exposure increased the number of outpatient visits for asthma patients. Both low (15-60 µg/m3) and high (150-205 µg/m3) concentrations of the eight hour mean O3 exposure increased asthma outpatient hospital visits. Gender-stratified analysis revealed that, for male asthma patients, the daily outpatient visits decreased when CO exposure concentration of 0.8 mg/m3; while for female asthma patients, the daily outpatient visits decreased when SO₂ exposure concentration of 15 µg/m³, but increased when the concentration was 20 µg/m3. In comparison, both low and high concentrations of eight hour mean O3 exposure increased the daily male asthma outpatient hospital visits. Additionally, when the eight hour mean O3 exposure concentration was 10-30 µg/m3 and the daily SO2 exposure concentration was 20 µg/m3, asthma outpatient hospital visits for adult increased; when the eight hour mean O3 exposure concentration was 145-220 µg/m3 and the daily SO2 exposure concentration was 50-110 µg/m3, asthma outpatient hospital visits for adolescent increased. This study suggests that asthma patients should limit going outdoors on days with poor air quality, especially for women and adolescents.