The molecular mechanisms that drive mucosal T helper type 2 (T(H)2) responses against parasitic helminths and allergens remain unclear. In this study, we demonstrate in mice that TFF2 (trefoil factor 2), an epithelial cell-derived repair molecule, is needed for the control of lung injury caused by the hookworm parasite Nippostrongylus brasiliensis and for type 2 immunity after infection. TFF2 is also necessary for the rapid production of IL-33, a T(H)2-promoting cytokine, by lung epithelia, alveolar macrophages, and inflammatory dendritic cells in infected mice. TFF2 also increases the severity of allergic lung disease caused by house dust mite antigens or IL-13. Moreover, TFF2 messenger RNA expression is significantly increased in nasal mucosal brushings during asthma exacerbations in children. These experiments extend the biological functions of TFF2 from tissue repair to the initiation and maintenance of mucosal T(H)2 responses.