Interleukin-22 plays an important protective role in host defense responses during bacterial infections. Here, IL22 is linked to bacterial infectious disease.