Given the different biological functions of the known CD4+ T-cell subsets, an important current area of research is to determine the factors that control T helper (TH)-cell differentiation pathways in different conditions, with a view to understanding how these pathways might be manipulated for therapeutic benefit. This Focus describes the molecular pathways that govern the differentiation of TH1, TH2, TH17 and regulatory T cells.