The thymus belongs to two body systems: the lymphatic system (part of your immune system) and the endocrine system. This dual classification reflects the organ’s two distinct jobs. It trains immune cells called T-cells, and it produces hormones that regulate immune function and communicate with other glands.
The Lymphatic System Role
The thymus is primarily classified as a lymphatic organ, sitting alongside your tonsils, spleen, and appendix in a network of tissues and vessels that support immune defense. Its main job within this system is producing and training T-lymphocytes, commonly called T-cells. These are the white blood cells responsible for identifying and destroying infected or abnormal cells throughout your body.
Immature immune cells travel from bone marrow to the thymus, where they go through a rigorous training process. The thymus has two distinct zones that handle different stages of this education. In the outer layer, called the cortex, developing T-cells are tested to make sure they can actually recognize threats presented by the body’s own signaling system. This step is called positive selection, and cells that fail it die off. The ones that pass move inward to the medulla, where they undergo a second round of screening. Here, T-cells that react too strongly to the body’s own healthy tissues are eliminated. This prevents autoimmune attacks later in life.
The strength of the signal a developing T-cell receives during this process determines what type it becomes. Stronger signals push cells toward becoming CD4 T-cells (which coordinate immune responses), while weaker signals favor CD8 T-cells (which directly kill infected cells). Only T-cells that pass both rounds of selection are released into the bloodstream as mature, functional immune cells.
The Endocrine System Role
The thymus also functions as an endocrine gland, producing several hormones that influence immune cell development and communicate with other parts of the body. Four key hormones come from the thymus:
- Thymopoietin drives T-cell production and signals the pituitary gland in the brain to release its own hormones, creating a link between the immune and endocrine systems.
- Thymosin and thymulin help produce specialized subtypes of T-cells, fine-tuning the immune response.
- Thymic humoral factor supports overall immune system function.
This hormone production is what earns the thymus its place in the endocrine system alongside glands like the thyroid, adrenals, and pituitary. It’s one of the few organs in the body that bridges two major systems so directly.
Where the Thymus Sits in the Body
The thymus is a small, flat gland located in the upper chest, just behind the breastbone and in front of the heart and major blood vessels. This area is called the anterior mediastinum. In children, the thymus is relatively large and easy to spot on imaging. In adults, it gradually shrinks and becomes harder to distinguish from the surrounding fatty tissue.
How the Thymus Changes With Age
Unlike most organs, the thymus is most active early in life and steadily declines from childhood onward. This process, called involution, begins within the first few weeks after birth and continues throughout your life. From childhood through middle age, roughly 3% of thymic tissue is lost per year. After middle age, that rate slows to about 1% per year. By age 85, the thymus produces barely detectable levels of new T-cells.
This doesn’t mean your immune system shuts down. The T-cells trained earlier in life are long-lived and continue circulating for decades. But the declining output of fresh T-cells is one reason older adults tend to have weaker immune responses and are more vulnerable to new infections.
What Happens When the Thymus Doesn’t Work
The clearest example of thymus dysfunction is a genetic condition called 22q11.2 deletion syndrome (also known as DiGeorge syndrome). Children born with this condition may have a thymus that is abnormally small or entirely absent, which leads to poor immune function and frequent, severe infections. Without a functional thymus, T-cells can’t mature properly, leaving a major gap in the body’s defenses.
The effects of this condition extend well beyond immunity. Because the same genetic deletion affects nearby structures during fetal development, children with DiGeorge syndrome commonly have heart defects, low calcium levels from underactive parathyroid glands, cleft palate, and developmental or behavioral challenges including speech delays and a higher risk of ADHD, autism spectrum disorder, and later-life depression or anxiety. Autoimmune conditions like rheumatoid arthritis and Graves’ disease are also more common, reflecting the thymus’s central role in teaching the immune system to distinguish the body’s own tissues from genuine threats.
Thymic tumors, called thymomas, are another category of thymus-related disease. These growths develop in the tissue of the thymus itself and are typically identified through CT or MRI imaging of the chest. Distinguishing a normal or enlarged thymus from a tumor can require specialized imaging techniques, since the thymus naturally contains a mix of glandular tissue and fat that changes in proportion as you age.

