Multipotent hematopoietic progenitors must acquire thymus-homing capacity to initiate T lymphocyte development. Despite its importance, the transcriptional program underlying this process remains elusive. Cbfβ forms transcription factor complexes with Runx proteins, and here we show that Cbfβ2, encoded by an RNA splice variant of the Cbfb gene, is essential for extrathymic differentiation of T cell progenitors. Furthermore, Cbfβ2 endows extrathymic progenitors with thymus-homing capacity by inducing expression of the principal thymus-homing receptor, Ccr9. This occurs via direct binding of Cbfβ2 to cell type–specific enhancers, as is observed in Rorγt induction during differentiation of lymphoid tissue inducer cells by activation of an intronic enhancer. As in mice, an alternative splicing event in zebrafish generates a Cbfβ2-specific mRNA, important for ccr9 expression. Thus, despite phylogenetically and ontogenetically variable sites of origin of T cell progenitors, their robust thymus-homing capacity is ensured by an evolutionarily conserved mechanism emerging from functional diversification of Runx transcription factor complexes by acquisition of a novel splice variant.