The signals that determine the survival/death of the thymic epithelial cells (TECs) component during embryonic development of the thymus are largely unknown. In this study, we combine different in vivo and in vitro experimental approaches to define the role played by the tyrosine kinase receptors EphB2 and EphB3 and their ligands, ephrinsB, in the survival of embryonic and newborn (NB) TECs. Our results conclude that EphB2 and EphB3 are involved in the control of TEC survival and that the absence of these molecules causes increased apoptotic TEC proportions that result in decreased numbers of thymic cells and a smaller-sized gland. Furthermore, in vitro studies using either EphB2-Fc or ephrinB1-Fc fusion proteins demonstrate that the blockade of Eph/ephrinB signalling increases TEC apoptosis, whereas its activation rescues TECs from cell death. In these assays, both heterotypic thymocyte-TEC and homotypic TEC-TEC interactions are important for Eph/ephrinB-mediated TEC survival.