The molecular mechanism of IL-22 production in γδ T cells during viral infection remains elusive. This evidence concerns the gene IL22 and viral infectious disease.