Pham et al. uncover mechanisms by which Batf restructures the chromatin landscape during CD4+ effector T cell differentiation. Batf controls Ctcf recruitment to lineage-specifying gene loci in an Ets1-dependent manner to promote chromatin looping and lineage-specific gene transcription, thereby identifying a heretofore unknown cooperativity of these factors in effector T cell development.