Psoriasis is a common chronic autoimmune skin disease of unknown cause that involves dysregulated interplay between immune cells and keratinocytes. IL-22 is a cytokine produced by the TH1, TH17, and TH22 subsets that are functionally implicated in the psoriatic pathology. We assessed the role of IL-22 in a mouse model where psoriasiform skin inflammation is triggered by topical application of the TLR7/8 agonist imiquimod. At the macroscopic level, scaly skin lesions induced by daily applications of imiquimod in wild-type mice were almost totally absent in IL-22–deficient mice or in mice treated with a blocking anti–IL-22 Ab. At the microscopic level, IL-22–deficient mice showed a dramatic decrease in the development of pustules and a partial decrease in acanthosis. At the molecular level, the absence or inhibition of IL-22 strongly decreased the expression of chemotactic factors such as CCL3 and CXCL3 and of biomarkers such as S100A8, S100A7, and keratin 14, which reflect the antimicrobial and hyperproliferative responses of keratinocytes. IL-22 also played a major role in neutrophil infiltration after imiquimod treatment. IL-23 was required for IL-22 production, and γδ TCR lymphocytes represented the major source of IL-22 in lymph nodes from imiquimod-treated mice. However, T cells were not absolutely required for IL-22 production because imiquimod-induced IL-22 expression in the skin is still preserved in Rag2−/− mice. Taken together, our data show that IL-22 is required for psoriasis-like lesions in the mouse imiquimod model and is produced by both T cells and innate immune cells.