The role of interleukin-22 in intracellular bacterial infections is a controversial issue, although the contribution of this cytokine to host defense against extracellular bacterial pathogens has been well established. In this study, we focused on an intracellular bacterium, Chlamydia, and evaluated the production and function of IL-22 in host defense against chlamydial lung infection using a mouse model. We found that Chlamydia muridarum infection elicited quick IL-22 responses in the lung, which increased during infection and were reduced when bacterial loads decreased. More importantly, blockade of endogenous IL-22 using neutralizing anti-IL-22 monoclonal antibodies (mAb) resulted in more severe disease in the mice, leading to significantly higher weight loss and bacterial growth and much more severe pathological changes than treatment with isotype control antibody. Immunological analyses identified significantly lower T helper 1 (Th1) and Th17 responses in the IL-22-neutralized mice. In contrast, intranasal administration of exogenous IL-22 significantly enhanced protection following chlamydial lung infection, which was associated with a significant increase of Th17 response. The data demonstrate that IL-22 is a critical cytokine, mediating host defense against chlamydial lung infection and coordinating the function of distinct Th-cell subsets, particularly Th1 and Th17, in the process.