While the thymus is known to be essential for the initial production of T cells during early life, its contribution to immune development remains a matter of debate. In fact, during cardiac surgery in newborns, the thymus is completely resected to enable better access to the heart to correct congenital heart defects, suggesting that it may be dispensable during childhood and adulthood. Here, we show that young adults thymectomized during early childhood exhibit an altered T cell compartment. Specifically, absolute CD4+ and CD8+ T cell counts were decreased, and these T cell populations showed substantial loss of naive cells and accumulation of oligoclonal memory cells. A subgroup of these young patients (22 years old) exhibited a particularly altered T cell profile that is usually seen in elderly individuals (more than 75 years old). This condition was directly related to CMV infection and the induction of strong CMV-specific T cell responses, which may exhaust the naive T cell pool in the absence of adequate T cell renewal from the thymus. Together, these marked immunological alterations are reminiscent of the immune risk phenotype, which is defined by a cluster of immune markers predictive of increased mortality in the elderly. Overall, our data highlight the importance of the thymus in maintaining the integrity of T cell immunity during adult life.