Studying medullary thymic epithelial cells in vitro has been largely unsuccessful, as current 2D culture systems do not mimic the in vivo scenario. The 3D culture system described herein - a modified skin organotypic culture model - has proven superior in recapitulating mTEC proliferation, differentiation and maintenance of promiscuous gene expression.