Mucus hypersecretion is an important pathological feature of chronic airway diseases, such as asthma and pulmonary diseases. MUC5AC is a major component of the mucus matrix forming family of mucins in the airways. The initiation of endoplasmic reticulum (ER)-mediated stress responses contributes to the pathogenesis of airway diseases. The present study investigated that ER stress was responsible for airway mucus production and this effect was blocked by the flavonoid kaempferol. Oral administration of ≥10 mg/kg kaempferol suppressed mucus secretion and goblet cell hyperplasia observed in the bronchial airway and lung of BALB/c mice sensitized with ovalbumin (OVA). TGF-β and tunicamycin promoted MUC5AC induction after 72 h in human bronchial airway epithelial BEAS-2B cells, which was dampened by 20 μM kaempferol. Kaempferol inhibited tunicamycin-induced ER stress of airway epithelial cells through disturbing the activation of the ER transmembrane sensor ATF6 and IRE1α. Additionally, this compound demoted the induction of ER chaperones such as GRP78 and HSP70 and the splicing of XBP-1 mRNA by tunicamycin. The in vivo study further revealed that kaempferol attenuated the induction of XBP-1 and IRE1α in epithelial tissues of OVA-challenged mice. TGF-β and tunicamycin induced TRAF2 with JNK activation and such induction was deterred by kaempferol. The inhibition of JNK activation encumbered the XBP-1 mRNA splicing and MUC5AC induction by tunicamycin and TGF-β. These results demonstrate that kaempferol alleviated asthmatic mucus hypersecretion through blocking bronchial epithelial ER stress via the inhibition of IRE1α-TRAF2-JNK activation. Therefore, kaempferol may be a potential therapeutic agent targeting mucus hypersecretion-associated pulmonary diseases.