A tightly regulated IL-22 response maintains immune functions and homeostasis in systemic viral infection. Here, IL22 is linked to viral infectious disease.