QuestionThymus
What Does the Thymus Do? How It Trains T Cells
For general education about how the body works, not medical advice. Medical disclaimer.

The thymus trains immature T cells so that they can recognize foreign invaders and leave the body’s own tissues alone. Developing T cells must pass a series of tests inside the organ. Most of them fail and die, and only the survivors are released into the blood and lymph.
Contents
The full answer
T cells are a type of white blood cell that coordinates immune responses and attacks infected or abnormal cells. Each T cell carries a receptor on its surface that can bind to a particular molecular shape. A newly made T cell has a receptor that is generated more or less at random, so it could bind to the body’s own proteins as easily as to foreign ones.
The thymus solves this problem by testing each developing T cell. Immature cells, called thymocytes, arrive from the bone marrow and move through the thymus over a period of several weeks. They travel from the outer cortex toward the inner medulla. At each stage, the cell is checked against the proteins displayed by the thymus’s own epithelial cells.
Cells that are not useful are removed, and cells that react too strongly to the body’s own proteins are also removed. The cells that remain are called naive T cells. They leave the thymus through the blood and settle in the lymph nodes, the spleen and other tissues, ready to respond when they meet a foreign antigen. Because the thymus is needed to produce this population, its work is essential to a healthy immune system.
How the selection works
The first test is positive selection, which takes place in the cortex. Thymic epithelial cells display molecules called MHC proteins, and the T cell receptor must be able to bind them. A cell that cannot bind these molecules gets no survival signal and dies by neglect. This ensures that the surviving T cells can work with the body’s own cell-surface molecules.
The second test is negative selection, which takes place mainly in the medulla. Medullary epithelial cells express a gene called AIRE, which causes them to display proteins that are normally found in other organs, such as the pancreas. A T cell that binds one of these self proteins too strongly is deleted. A small share of these cells is instead converted into regulatory T cells, which help suppress reactions against the body’s own tissues.
This training process is the main reason the immune system can separate the body from foreign material. Scientists describe the outcome as self-tolerance. The thymus does not provide the immune response itself. It provides a population of T cells that have been checked against the body’s own proteins.
How many T cells survive?
Most developing T cells do not survive the thymus. Estimates vary between sources, but more than 90 percent of thymocytes are thought to die inside the organ, usually through a form of programmed cell death called apoptosis. Dead cells are cleared by macrophages in the thymus, so the organ can be seen as a filter.
Adults and children are compared on this point. A child’s thymus is larger and makes a greater share of new T cells, so the early years are a period of rapid output. Later in life the thymus makes fewer cells, and a larger part of the T-cell population comes from the division of existing T cells that were already trained.
The numbers also vary by body part and by the type of T cell. Regulatory T cells and different subsets of T cells follow somewhat different paths through the thymus. Overall, the thymus is a selective gate rather than a factory that releases every cell it makes.
Who discovered the role of the thymus?
Before the 1960s the function of the thymus was unclear. Physicians and anatomists knew it was a lymphoid organ, but its purpose in the body was debated. In 1961 the immunologist Jacques Miller reported that removing the thymus from newborn mice reduced the number of lymphocytes and weakened their immune responses.
Later work showed that T cells develop in the thymus and that other immune cells, called B cells, develop in the bone marrow. These findings explained why the thymus is a primary lymphoid organ, a place where immune cells first mature. Other organs, such as the lymph nodes and spleen, are secondary lymphoid organs where mature cells meet antigens.
Modern research continues to study how the thymus controls T-cell development. Scientists are still working out the details of how the epithelial cells present proteins and which signals decide whether a cell lives or dies.
Common myths
Myth: the thymus is a useless organ. The thymus does shrink, but it is essential in childhood, when it trains the T cells that the immune system will use for life. Its output falls with age, but it does not disappear entirely.
Myth: T cells are made in the thymus. T cells start as precursors in the bone marrow. They travel to the thymus through the blood and mature there, so the organ is a training site rather than the place where the cells originate.
Myth: the thymus attacks foreign cells. The thymus does not attack anything. It helps set up the T cells that later recognize and respond to foreign molecules in the rest of the body.
Frequently asked questions
What does the thymus do?
The thymus trains immature T cells so that they can recognize foreign invaders and leave the body's own tissues alone. T cells that fail the training die inside the organ, and the survivors enter the blood and lymph.
Do T cells mature anywhere else?
T cells start as precursor cells in the bone marrow and mature in the thymus. The thymus is the only site where this training takes place in the adult body.
How many T cells survive in the thymus?
Most developing T cells do not survive. Estimates suggest that more than 90 percent die inside the thymus during selection, and the rest leave the organ.
Who discovered the role of the thymus?
The immunologist Jacques Miller reported in 1961 that removing the thymus from newborn mice weakened their immune responses. This work showed that the thymus is needed for the normal development of the immune system.
Does the thymus still work in adults?
The thymus shrinks after puberty and its output of new T cells falls, but it does not stop completely. T cells made earlier in life can continue to circulate and protect the body for many years.
Sources and further reading
- OpenStax, "Anatomy and Physiology 2e"
- Gray's Anatomy (Susan Standring, ed.)
- Kenhub, "Thymus"
Cite this page
“What Does the Thymus Do? How It Trains T Cells.” Body Atlas, https://body.bigworldlist.com/questions/what-does-the-thymus-do/.
Thymus: more questions and guides
- ProfileThymus: Location, Function and How the Thymus Shrinks With Age
- Evolution and life stagesHow the Thymus Shrinks With Age: Thymic Involution Explained
- ListOrgans of the Lymphatic System: Nodes, Spleen, Thymus and More
- ComparisonPrimary vs Secondary Lymphoid Organs: Where Immune Cells Grow
- QuestionWhere Are White Blood Cells Made? Bone Marrow and Lymph Organs