T helper cell differentiation requires lineage-defining transcription factors and factors that have shared expression among multiple subsets. BATF is required for development of multiple Th subsets but functions in a lineage-specific manner. BATF is required for IL-9 production in Th9 cells but in contrast to its function as a pioneer factor in Th17 cells, BATF is neither sufficient nor required for accessibility at the Il9 locus. Here we show that STAT5 is the earliest factor binding and remodeling the Il9 locus to allow BATF binding in both mouse and human Th9 cultures. The ability of STAT5 to mediate accessibility for BATF is observed in other Th lineages and allows acquisition of the IL-9-secreting phenotype. STAT5 and BATF convert Th17 cells into cells that mediate IL-9-dependent effects in allergic airway inflammation and anti-tumor immunity. Thus, BATF requires the STAT5 signal to mediate plasticity at the Il9 locus.