Background: Patients with T-cell immunodeficiencies are generally treated with allogeneic hematopoietic stem cell transplantation, but alternatives are needed for patients without matched donors. An innovative intrathymic gene therapy approach that directly targets the thymus might improve outcomes. Objective: We sought to determine the efficacy of intrathymic adeno-associated virus (AAV) serotypes to transduce thymocyte subsets and correct the T-cell immunodeficiency in a zetaassociated protein of 70 kDa (ZAP-70)-deficient murine model. Methods: AAV serotypes were injected intrathymically into wild-type mice, and gene transfer efficiency was monitored. ZAP-70 2/2 mice were intrathymically injected with an AAV8 vector harboring the ZAP70 gene. Thymus structure, immunophenotyping, T-cell receptor clonotypes, T-cell function, immune responses to transgenes and autoantibodies, vector copy number, and integration were evaluated. Results: AAV8, AAV9, and AAV10 serotypes all transduced thymocyte subsets after in situ gene transfer, with transduction of up to 5% of cells. Intrathymic injection of an AAV8-ZAP-70 vector into ZAP-70 2/2 mice resulted in a rapid thymocyte differentiation associated with the development of a thymic medulla. Strikingly, medullary thymic epithelial cells expressing the autoimmune regulator were detected within 10 days of gene transfer, correlating with the presence of functional effector and regulatory T-cell subsets with diverse T-cell receptor clonotypes in the periphery. Although thymocyte reconstitution was transient, gene-corrected peripheral T cells harboring approximately 1 AAV genome per cell persisted for more than 40 weeks, and AAV vector integration was detected. Conclusions: Intrathymic AAV-transduced progenitors promote a rapid restoration of the thymic architecture, with a single wave of thymopoiesis generating long-term peripheral T-cell function.