Skip to content

Whole body · Organs

Thymus

The thymus is a two-lobed lymphoid organ behind the manubrium of the sternum, in the superior and anterior mediastinum. It is where T lymphocytes mature and learn not to attack the body's own tissues. It is large in children and is gradually replaced by fat after puberty.

The thymus layer of the 3D whole body is part of Student Pro; the bones and surface muscles are free.

Thymus on the Get3DMed whole body model
From the Get3DMed whole body model. Turn it yourself
Where
Behind the manubrium in the front of the superior mediastinum, extending down over the pericardium.
Function
Trains developing T cells, keeping those that recognise self MHC and removing those that attack self proteins.
Blood
Branches of the internal thoracic and inferior thyroid arteries, draining mainly to the left brachiocephalic vein.
From
Endoderm of the third pharyngeal pouch on each side, which also forms the inferior parathyroid glands.
Age
Relatively largest at birth and heaviest around puberty, then largely replaced by fat.

T-cell maturation in the thymus

Arrival → Cortex → Medulla → Exit

  1. 01

    Arrival

    Precursors come from the bone marrow

    • Bone marrow precursors
    • Enter the gland
  2. 02

    Cortex

    Positive selection

    • Dense developing T cells
    • Epithelial cells test self-MHC recognition
    • Blood-thymus barrier
  3. 03

    Medulla

    Negative selection

    • Strongly self-reactive cells removed
    • Thymic (Hassall) corpuscles
  4. 04

    Exit

    Most cells die; survivors leave

    • Mature T cells
    • Self-tolerant

Explained

Thymus, step by step

In the order it is built and the order you will be asked it. Every structure here is on the 3D whole body.

Position and shape

The thymus has two lobes joined in the midline. It lies behind the manubrium, the top part of the sternum, in the front of the superior mediastinum (the central compartment of the chest above the heart). From there it reaches down over the pericardium, the sac around the heart.

In a child the gland is large and may extend up into the neck towards the thyroid gland. It is relatively largest at birth and reaches its greatest weight around puberty. After that, fat steadily replaces its lymphoid tissue, a process called involution, but some active tissue persists into old age.

Relations

The thymus is sandwiched between the sternum in front and the great vessels and heart behind. Knowing these relations explains why a thymic mass can press on the left brachiocephalic vein or the trachea, and why surgeons approach it through the sternum.

DirectionStructures
In frontManubrium of the sternum; origins of sternohyoid and sternothyroid
BehindPericardium over the heart; ascending aorta and arch with its branches; left brachiocephalic vein; trachea higher up
At the sidesMediastinal pleura; internal thoracic vessels

Blood supply, lymph and nerves

Arteries reach the thymus from the internal thoracic arteries, which run down just lateral to the sternum, and from the inferior thyroid arteries. Its veins drain mainly into the left brachiocephalic vein, which crosses directly behind it, with small tributaries to the internal thoracic and inferior thyroid veins.

Unlike a lymph node, the thymus receives no incoming lymph vessels. Efferent (outgoing) lymph vessels pass to the brachiocephalic, parasternal and tracheobronchial nodes. Its nerves are fine branches of the vagus and the cervical sympathetic trunk, and they mainly supply its blood vessels.

Histology and T-cell selection

Connective tissue septa divide each lobe into lobules. Each lobule has a dark outer cortex packed with developing T cells and a pale inner medulla containing whorled thymic (Hassall) corpuscles, the classic identifying feature on a slide.

In the cortex, epithelial cells allow only those T cells that can recognise the body's own MHC molecules to survive. This is positive selection, and it happens behind a barrier that keeps blood-borne antigens out. In the medulla, T cells that react strongly against the body's own proteins are removed, which is negative selection. Most developing T cells die inside the gland; the survivors leave as mature, self-tolerant cells.

Development

The thymus forms from the endoderm of the third pharyngeal pouch on each side, the same pouch that gives the inferior parathyroid glands. The two primordia descend into the chest and meet in the midline. Precursor cells from the bone marrow then colonise the gland and become T cells.

Because the thymus migrates from the neck, small pieces of thymic tissue can be left along its path of descent and found in the neck.

Clinical anatomy

The two conditions examiners link to the thymus are a tumour of its epithelium and a failure of its development. Both connect anatomy to immunology.

Anterior mediastinal mass

Thymoma and myasthenia gravis

A thymoma is a tumour of the thymic epithelium and one of the commonest masses of the anterior mediastinum. Many patients with a thymoma have myasthenia gravis. Removing the thymus (thymectomy) can improve myasthenia even when no tumour is present.

22q11.2 deletion

DiGeorge syndrome

The third and fourth pharyngeal pouches develop poorly. The thymus is small or absent, causing T-cell deficiency, and parathyroid failure gives low calcium. Heart defects are also part of the picture.

Written from Gray's Anatomy for Students and OpenStax Anatomy and Physiology 2e and Junqueira's Basic Histology and Langman's Medical Embryology and Moore's Clinically Oriented Anatomy, matched to the structures on the Get3DMed whole body. Last changed 27 November 2026.

Test yourself

Three questions before you move on.

Exam-style, with the reason under each answer. Then find the real thing on the model.

  1. 1From which embryological structure does the thymus develop?

    Question 1 options
  2. 2A CT scan of a 45-year-old with fatigable weakness of the eyelids shows a mass behind the manubrium. Which vein lies directly behind the thymus and is most at risk of compression?

    Question 2 options
  3. 3An infant has recurrent infections, low serum calcium and a heart defect. Which finding in the mediastinum is most likely?

    Question 3 options

0 of 3 answered

Questions

Asked about the thymus

Where is the thymus located?
The thymus lies behind the manubrium of the sternum in the front of the superior mediastinum. It extends down over the pericardium and, in children, can reach up into the neck towards the thyroid gland.
What does the thymus do?
The thymus is where T lymphocytes mature. In the cortex, T cells that can recognise the body's own MHC molecules are kept, and in the medulla those that react strongly against the body's own proteins are removed. Most developing T cells die in the gland, leaving a self-tolerant population.
Does the thymus disappear in adults?
It does not disappear completely. The thymus is heaviest around puberty and afterwards fat gradually replaces its lymphoid tissue. Some active thymic tissue remains into old age.
What is the link between the thymus and myasthenia gravis?
Many patients with a thymoma, a tumour of the thymic epithelium, also have myasthenia gravis. Removing the thymus can improve myasthenia even in patients who have no tumour.