It is now important to dissect how and why certain infections elicit IL-22 responses that are favoured over IL-17-mediated immunity in humans. This evidence concerns the gene IL22 and infection.