In the presence of TCR engagement, treatment of Thp cells with IL-6 plus TGFβ1 induces differentiation along the Th17 lineage and the activation of several genes, including IL-21, RORα, RORγt, IL-17, IL-17F, IL-22, and IL23R. Interaction of IL-23 and IL-21 with, respectively, IL23R and IL21R, reinforce Th17 differentiation and ROR expression. RORα and RORγt are required for the induction of IL-17, IL-17F, and IL23R, but not IL-21. A balance between FOXP3, which is induced by treatment with TGFβ alone, determines whether Thp cells differentiate into Th17 or Treg cells. ATRA, through activation of RARα-RXR complexes, leads to increased FOXP3 and reduced ROR expression. FOXP3 inhibits RORα and RORγt transcriptional activity by interacting directly with RORs, thereby promoting differentiation along the Treg lineage and inhibiting Th17 differentiation. Transcriptional regulators IRF4 and RUNX1 have also been implicated in the regulation of Treg and Th17 differentiation.