[Durgical](https://durgical.com/en/) › [DurgiPedia](https://durgical.com/en/durgipedia/) › [Histology](https://durgical.com/en/histology/) › [Lymphoid organs](https://durgical.com/en/histology/areas/lymphoid/) › Thymic epithelial cells, the blood–thymus barrier and selection

# Thymic epithelial cells, the blood–thymus barrier and selection

- Cell

The [thymus](https://durgical.com/en/anatomy/thymus/) is where T cells learn not to attack you. Its epithelial cells run the test, and when they fail you get immune deficiency or autoimmunity.

Updated Nov 15, 2026

**See it in 3D:** [Thymus](https://durgical.com/en/anatomy/thymus/)

## Key points

- Thymic stroma = epithelial reticular cells from the third [pharyngeal pouch](https://durgical.com/en/conditions/zenker-diverticulum/) (endoderm), with keratin and desmosomes.
- Cortex: positive selection on cortical epithelium; medulla: negative selection (AIRE) and Tregs.
- Blood–thymus barrier exists only in the cortex.
- Hassall corpuscles identify the thymus; thymoma is linked to [myasthenia gravis](https://durgical.com/en/conditions/myasthenia-gravis/).
- [DiGeorge](https://durgical.com/en/conditions/digeorge-syndrome/): absent thymus → few T cells, small paracortex in nodes.

On this page

- The basics Key points
- What it is
- How to think about it
- Structure
- Step by step
- Cortex versus medulla
- Markers
- Common traps
- Elsewhere in DurgiPedia

- Clinical Clinical notes

- Study Test yourself

- Connections Connections

## What it is

The stroma of the thymus is a network of epithelial reticular cells derived from third pharyngeal pouch endoderm, joined by desmosomes and filled with keratin. In the cortex these cells wrap the capillaries (the blood–thymus barrier) and present self MHC to developing thymocytes (positive selection). In the medulla they display tissue-specific self antigens, partly under the AIRE gene, so that medullary epithelium and dendritic cells can delete self-reactive T cells (negative selection) and help form regulatory T cells.

## How to think about it

The thymus is a two-room exam run by epithelium, not by fibres. Room one (cortex, sealed off from blood) asks «Can you see self MHC at all?» and lets those who cannot die of neglect; room two (medulla) shows samples of every tissue and deletes those who react too strongly to self. Most candidates fail, so the cortex is full of dying cells.

## Structure

- Blood–thymus barrier (cortex only): continuous endothelium with [tight junctions](https://durgical.com/en/physiology/transport-across-epithelial-sheets/), thick basal lamina, perivascular macrophages and an outer sheath of epithelial cells.
- Hassall corpuscles: concentric whorls of flattened, keratinizing medullary epithelial cells; their signals help form regulatory T cells.
- Most thymocytes die by apoptosis in the cortex and are removed by macrophages.
- With age the thymus involutes and fat replaces much of it, but it keeps producing some T cells.

## Step by step

- T-cell precursors from the marrow enter at the corticomedullary junction and move to the outer cortex.
- They rearrange their T-cell receptor genes and become double positive (CD4+ CD8+).
- Cortical epithelial cells present self MHC: cells that bind it weakly survive (positive selection) and commit to CD4 or CD8.
- In the medulla, AIRE-driven epithelium and dendritic cells show tissue antigens; strongly self-reactive cells are deleted or become regulatory T cells.
- Single-positive naive T cells leave through postcapillary venules at the corticomedullary junction.

## Cortex versus medulla

| Feature | Cortex | Medulla |
| --- | --- | --- |
| Look on H&E | Dark: packed thymocytes | Pale: fewer lymphocytes, more epithelium |
| Epithelial cells | Cortical cells, sheath around capillaries | Medullary cells and Hassall corpuscles |
| Main event | Positive selection (self MHC) | Negative selection (AIRE) and regulatory T cells |
| Vessels | Capillaries sealed by the blood–thymus barrier | Postcapillary venules where mature T cells leave |

## Markers

- Cytokeratin (epithelial cells)
- CD1a, TdT (cortical thymocytes)
- CD4/CD8

## Clinical notes

- DiGeorge syndrome (22q11.2 deletion): third and fourth pouches fail, so the thymus and parathyroids are small or absent; few T cells, [hypocalcaemia](https://durgical.com/en/conditions/hypocalcaemia/) and heart defects.
- AIRE mutations cause autoimmune polyendocrine syndrome type 1, from failed negative selection.
- Thymoma, a tumour of thymic epithelial cells, is associated with myasthenia gravis; thymic hyperplasia with germinal centres is also common in myasthenia.

## Common traps

- **The thymic framework is reticular fibres like a lymph node**: it is a network of keratin-filled epithelial cells joined by desmosomes.
- **Negative selection happens in the cortex**: positive selection is cortical; negative selection is mainly medullary.
- **The blood–thymus barrier covers the whole gland**: it exists only in the cortex, where immature thymocytes are selected.
- **Thymoma is a tumour of thymic lymphocytes**: it arises from thymic epithelial cells (thymic lymphoma is a different disease).
- **The adult thymus is completely dead fat**: it involutes but keeps a small output of new T cells.

## Test yourself

Think of the answer, then tap the question to see it.

## From which embryonic structure do thymic epithelial cells arise, and what happens if it fails?

From third pharyngeal pouch endoderm; its failure (DiGeorge syndrome) leaves a small or absent thymus and few T cells.

## A patient has autoimmunity against several endocrine glands from childhood, with an AIRE mutation. Which thymic step failed?

Negative selection in the medulla: without AIRE, medullary epithelium cannot show tissue-specific antigens, so self-reactive T cells escape.

## Why is the blood–thymus barrier needed in the cortex?

It keeps circulating antigens away from immature thymocytes during selection, so they are not deleted or trained against foreign antigens by mistake.

## Which tumour of the thymus is associated with myasthenia gravis?

Thymoma, a neoplasm of thymic epithelial cells.

[Add to my cards (4)](https://durgical.app/estudiar/?add=/en/histology/thymic-epithelial-cells-the-blood-thymus-barrier-and-selection/)

## Elsewhere in DurgiPedia

- [T-cell development: positive and negative selection](https://durgical.com/en/immunology/t-cell-development-positive-and-negative-selection/)
- [Immune tolerance and how autoimmunity begins](https://durgical.com/en/immunology/immune-tolerance-and-how-autoimmunity-begins/)
- [Thymus: where T cells learn](https://durgical.com/en/immunology/thymus-where-t-cells-learn/)
- [22q11.2 deletion (DiGeorge): the third and fourth pouches](https://durgical.com/en/embryology/22q11-2-deletion-the-third-and-fourth-pouches/)
- [Diseases of the thymus](https://durgical.com/en/general-pathology/diseases-of-the-thymus/)

## Connections

## See it in 3D 1

The structures of Durgical's 3D anatomy where it is found.

- [Thymus](https://durgical.com/en/anatomy/thymus/)

## Related 3

- [Thymus and tonsils under the microscope](https://durgical.com/en/histology/thymus-and-tonsils-under-the-microscope/)
- [Maturation of monocytes and lymphocytes](https://durgical.com/en/histology/maturation-of-monocytes-and-lymphocytes/)
- [Lymph node and spleen under the microscope](https://durgical.com/en/histology/lymph-node-and-spleen-under-the-microscope/)

## Related conditions 2

- [DiGeorge syndrome (22q11.2 deletion syndrome)](https://durgical.com/en/conditions/digeorge-syndrome/)
- [Myasthenia gravis](https://durgical.com/en/conditions/myasthenia-gravis/)

[← All of histology](https://durgical.com/en/histology/)

Educational content on normal microscopic structure and its clinical relevance; no substitute for studying slides or for a health professional's advice.

Sources: [Thymus](https://training.seer.cancer.gov/anatomy/lymphatic/components/thymus.html) (National Cancer Institute, SEER Training Modules, 2024); [22q11.2 deletion syndrome: MedlinePlus Genetics](https://medlineplus.gov/genetics/condition/22q112-deletion-syndrome/) (MedlinePlus, US National Library of Medicine, 2025); [Myasthenia gravis: MedlinePlus Medical Encyclopedia](https://medlineplus.gov/ency/article/000712.htm) (MedlinePlus, US National Library of Medicine, 2025).

## **Spotted a mistake?** We are always improving for the community. Tell us what is wrong and our team will review it. Report a mistake

Representative model, for educational purposes only.

---
Source: https://durgical.com/en/histology/thymic-epithelial-cells-the-blood-thymus-barrier-and-selection/
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite as: DurgiPedia (durgical.com), https://durgical.com/en/histology/thymic-epithelial-cells-the-blood-thymus-barrier-and-selection/
