Articles & Guides › Articles › Immunology
T-cell development, activation and helper subsets
How the thymus keeps T cells that can recognize self MHC and removes those that attack self, the two signals a naive T cell needs and how superantigens bypass them, and what the helper subsets, cytotoxic T cells and natural killer cells each do.
Immunology · 6 min read · Reviewed 2026-11-09
T cells run adaptive immunity. Helper T cells decide what kind of response the body mounts, and cytotoxic T cells kill infected and cancerous cells. Each T-cell receptor is made by randomly joining gene segments, so most new receptors are useless and some are dangerous; the body tests every one before releasing it[1]. This article follows a T cell from its selection in the thymus, through activation in a lymph node, to the specialized jobs of its descendants.
Key points
- In the thymic cortex, positive selection keeps T cells that can bind self MHC. In the medulla, negative selection deletes those that bind self too strongly.
- A naive T cell needs signal 1 (its receptor binding peptide on MHC) and signal 2 (CD28 binding B7). Signal 1 alone makes it unresponsive (anergy).
- CTLA-4 and PD-1 are brakes. Blocking them treats cancer but causes autoimmune side effects.
- Superantigens bind MHC class II and the T-cell receptor outside the groove, switching on up to a fifth of all T cells and causing toxic shock.
- Th1 cells (IL-12, T-bet, interferon-gamma) fight intracellular microbes; Th2 cells (IL-4, GATA3) fight helminths and drive allergy; Th17 cells (IL-17) recruit neutrophils; regulatory T cells (FOXP3) suppress.
T-cell development and thymic selection
Building a receptor
T-cell precursors leave the bone marrow for the thymus. There they build their T-cell receptor by V(D)J recombination: the enzymes RAG1 and RAG2 cut and join randomly chosen gene segments, creating millions of different receptors[2]. B cells use the same enzymes to build antibodies.
Two tests
Each new T cell must pass two tests before it leaves[1].
| Stage | Where | What happens |
|---|---|---|
| Double-negative (no CD4 or CD8) | Cortex | The beta chain rearranges |
| Double-positive (both CD4 and CD8) | Cortex | The alpha chain rearranges |
| Positive selection | Cortex, on cortical epithelial cells | Cells whose receptor binds self MHC at least weakly survive; about 90% fail and die by neglect. Binding class I keeps CD8; binding class II keeps CD4 |
| Negative selection | Medulla, on medullary epithelial cells and dendritic cells | Cells that bind self peptide on self MHC too strongly die by apoptosis; some become regulatory T cells instead |
| Single-positive (CD4 or CD8) | Medulla, then the blood | Mature naive T cells leave for lymph nodes and spleen |
Positive selection asks, "Can you see self MHC at all?" It produces MHC restriction: every mature T cell recognizes antigen only on the MHC type it was selected on. Negative selection asks, "Do you react too strongly to self?" It produces central tolerance[1].
The medulla can test T cells against proteins from distant organs because of AIRE (autoimmune regulator). This protein lets medullary epithelial cells make small amounts of insulin, thyroid proteins and thousands of others, so T cells that attack them can be removed. Loss of AIRE causes autoimmune polyendocrine syndrome type 1[3].
T-cell activation and costimulation
Two signals
A naive T cell is activated in a lymph node by a professional antigen-presenting cell, usually a dendritic cell, and it needs two signals[4].
- Signal 1, antigen. The T-cell receptor binds peptide on MHC. CD4 binds MHC class II, or CD8 binds class I, and CD3 carries the signal into the cell.
- Signal 2, costimulation. CD28 on the T cell binds B7 (CD80 and CD86) on the antigen-presenting cell. Microbial products switch on B7, so costimulation tells the T cell that its antigen arrived with danger.
With both signals, the T cell makes IL-2 and the high-affinity IL-2 receptor (CD25), multiplies and specializes. Activated helper cells display CD40 ligand, which binds CD40 on B cells (driving class switching) and on macrophages (activating them).
Signal 1 without signal 2 causes anergy, a lasting unresponsive state. Ordinary tissue cells display self peptides but lack B7, so this protects against autoimmunity.
The brakes
After activation, T cells make CTLA-4, which binds B7 more tightly than CD28 does and shuts the response down, and PD-1, which binds PD-L1 on tissue and tumor cells[4]. Checkpoint inhibitors (ipilimumab against CTLA-4; nivolumab and pembrolizumab against PD-1) release these brakes to treat cancer, at the cost of autoimmune side effects. Abatacept, a CTLA-4 fusion protein, does the opposite: it blocks B7, preventing signal 2, and treats rheumatoid arthritis.
Superantigens
Normally, fewer than 1 in 10,000 T cells respond to a given antigen. Superantigens, such as staphylococcal toxic shock syndrome toxin-1 and enterotoxins and streptococcal pyrogenic exotoxins, clamp MHC class II to the variable part of the T-cell receptor beta chain, outside the peptide groove. Up to 20% of all T cells switch on at once and release floods of IL-2, interferon-gamma and TNF. The result is fever, a diffuse red rash that later peels, low blood pressure and multiorgan failure[5].
Helper T-cell subsets, cytotoxic T cells and NK cells
Helper subsets
The cytokines present when a naive CD4 cell is activated steer it into a subset, each defined by a master transcription factor[6].
| Subset | Induced by | Transcription factor | Makes | Job |
|---|---|---|---|---|
| Th1 | IL-12 from macrophages and dendritic cells | T-bet | Interferon-gamma, IL-2 | Activates macrophages to kill intracellular microbes (mycobacteria, Listeria, Leishmania); granulomas |
| Th2 | IL-4 | GATA3 | IL-4, IL-5, IL-13 | Helminth defense; IgE switching, eosinophils and allergy |
| Th17 | TGF-beta plus IL-6; IL-23 maintains them | ROR-gamma-t | IL-17, IL-22 | Recruits neutrophils; defends skin and mucosa against bacteria and Candida |
| Regulatory T cell | TGF-beta, IL-2 | FOXP3 | IL-10, TGF-beta | Suppresses responses |
| Follicular helper T cell | IL-6, IL-21 | Bcl-6 | IL-21, IL-4 | Helps B cells in germinal centers |
The subsets hold each other back: interferon-gamma blocks Th2 cells, and IL-4 and IL-10 block Th1 cells[6]. Leprosy shows why this matters. A Th1-dominant response contains Mycobacterium leprae in a few skin patches (tuberculoid leprosy), while a Th2-dominant response lets it spread (lepromatous leprosy)[2]. Defects in IL-12 or interferon-gamma signaling cause disseminated mycobacterial infection, and the STAT3 defect of hyper-IgE syndrome leaves too few Th17 cells, causing Candida and staphylococcal infections. Mutation of FOXP3 removes regulatory T cells and causes IPEX syndrome.
Cytotoxic T cells
CD8 T cells recognize peptide on MHC class I and kill in two ways: perforin makes pores and granzymes pass through them to activate caspases, and Fas ligand binds Fas (CD95) on the target. Both trigger apoptosis[2]. In viral hepatitis, much of the liver damage comes from CD8 T cells killing infected liver cells, not from the virus itself.
Natural killer cells
NK cells are innate lymphocytes with CD16 and CD56 but no T-cell receptor. They kill cells that have lost MHC class I or carry stress signals, and they kill antibody-coated cells through CD16, an Fc receptor for IgG (antibody-dependent cellular cytotoxicity). IL-12, IL-15 and type I interferons boost them, and they make interferon-gamma early in infection[7].
Common confusions
- Positive versus negative selection: positive selection (cortex) checks that a T cell can see self MHC; negative selection (medulla) removes those that react too strongly to self.
- IL-12 versus IL-2: IL-12 comes from macrophages and makes Th1 cells; IL-2 comes from T cells and makes T cells multiply. IL-23 shares a subunit with IL-12, which is why ustekinumab blocks both.
- Superantigen versus endotoxin: both cause shock, but superantigens activate T cells through MHC class II, while endotoxin activates macrophages through TLR4.
- CTLA-4 drugs versus abatacept: ipilimumab blocks the brake to boost T cells; abatacept mimics the brake to suppress them.
References
- Klein L, Kyewski B, Allen PM, Hogquist KA. Positive and negative selection of the T cell repertoire: what thymocytes see (and don't see). Nat Rev Immunol. 2014;14(6):377-391. doi:10.1038/nri3667 Link ↩
- Abbas AK, Lichtman AH, Pillai S. Cellular and Molecular Immunology. 10th ed. Elsevier; 2022. ↩
- Anderson MS, Venanzi ES, Klein L, et al. Projection of an immunological self shadow within the thymus by the aire protein. Science. 2002;298(5597):1395-1401. doi:10.1126/science.1075958 Link ↩
- Chen L, Flies DB. Molecular mechanisms of T cell co-stimulation and co-inhibition. Nat Rev Immunol. 2013;13(4):227-242. doi:10.1038/nri3405 Link ↩
- Fraser JD, Proft T. The bacterial superantigen and superantigen-like proteins. Immunol Rev. 2008;225(1):226-243. doi:10.1111/j.1600-065X.2008.00681.x Link ↩
- Zhu J, Yamane H, Paul WE. Differentiation of effector CD4 T cell populations. Annu Rev Immunol. 2010;28:445-489. doi:10.1146/annurev-immunol-030409-101212 Link ↩
- Vivier E, Tomasello E, Baratin M, Walzer T, Ugolini S. Functions of natural killer cells. Nat Immunol. 2008;9(5):503-510. doi:10.1038/ni1582 Link ↩