During their intrathymic development, nascent T cells are empowered to protect against pathogens and to be operative for a life-long acceptance of self. While autoreactive effector T (Teff) cell progenitors are eliminated by clonal deletion, the intrathymic mechanisms by which thymic regulatory T cell (tTreg) progenitors maintain specificity for self-antigens but escape deletion to exert their regulatory functions are less well understood. Both tTreg and Teff development and selection result from finely coordinated interactions between their clonotypic T cell receptors (TCR) and peptide/MHC complexes expressed by antigen-presenting cells, such as thymic epithelial cells and thymic dendritic cells. tTreg function is dependent on expression of the FOXP3 transcription factor, and induction of FOXP3 gene expression by tTreg occurs during their thymic development, particularly within the thymic medulla. While initial expression of FOXP3 is downstream of TCR activation, constitutive expression is fixed by interactions with various transcription factors that are regulated by other extracellular signals like TCR and cytokines, leading to epigenetic modification of the FOXP3 gene. Most of the understanding of the molecular events underlying tTreg generation is based on studies of murine models, whereas gaining similar insight in the human system has been very challenging. In this review, we will elucidate how inborn errors of immunity illuminate the critical non-redundant roles of certain molecules during tTreg development, shedding light on how their abnormal development and function cause well-defined diseases that manifest with autoimmunity alone or are associated with states of immune deficiency and autoinflammation.