Accumulating evidence suggests that the regulation of gene expression by histone lysine methylation is crucial for several biological processes. The histone lysine methyltransferase G9a is responsible for the majority of dimethylation of histone H3 at lysine 9 (H3K9me2) and is required for the efficient repression of developmentally regulated genes during embryonic stem cell differentiation. However, whether G9a plays a similar role in adult cells is still unclear. We identify a critical role for G9a in CD4+ T helper (Th) cell differentiation and function. G9a-deficient Th cells are specifically impaired in their induction of Th2 lineage-specific cytokines IL-4, IL-5, and IL-13 and fail to protect against infection with the intestinal helminth Trichuris muris. Furthermore, G9a-deficient Th cells are characterised by the increased expression of IL-17A, which is associated with a loss of H3K9me2 at the Il17a locus. Collectively, our results establish unpredicted and complex roles for G9a in regulating gene expression during lineage commitment in adult CD4+ T cells.