Skip to content
EN - Language: English
BiologyHigh school

T cells and MHC - how the immune system recognises infected cells

· 19 min read

In short

T cells recognise infected cells by what the cells show on their surface - short peptides held in MHC molecules. MHC class I, on almost all cells with a nucleus, shows peptides of proteins made inside the cell to cytotoxic T cells, which kill infected cells. MHC class II, on antigen-presenting cells, shows peptides of engulfed material to helper T cells, which switch on other immune cells.

Words to know

T cell
A white blood cell of the adaptive immune response. It matures in the thymus, and its receptors recognise peptides shown on MHC molecules.
MHC
The major histocompatibility complex - the body's own surface proteins that hold short peptides and show them to T cells. In humans they are called HLA.
Antigen-presenting cell
A dendritic cell, macrophage or B cell. It takes up material from outside, breaks it down and shows the peptides on MHC class II.
Cytotoxic T cell
A T cell with the co-receptor CD8. It recognises peptides on MHC class I and kills infected cells.
Helper T cell
A T cell with the co-receptor CD4. It recognises peptides on MHC class II and releases cytokines that switch on other immune cells.
Clone
A group of identical cells that come from one cell by division - here, T cells that all carry the same receptor.

What do you think?

A T cell meets a flu virus floating in the blood. Its receptor fits a fragment of exactly this virus. Will the T cell recognise the virus?

The idea: cells show what is inside them, and T cells check

Every cell with a nucleus keeps cutting up samples of the proteins it makes. It shows the pieces, short peptides, on its surface, held in MHC molecules. It is a little like a shop window: from outside you can see what is being made inside.

T cells check these windows. Each T cell carries receptors of one kind, and they fit only a few peptides held in MHC. A healthy cell shows only its own peptides, and T cells that would react to those were removed while they matured. But a cell infected by a virus also shows viral peptides, and a T cell whose receptor fits one of them binds and reacts.

There are two classes of MHC. Class I is on almost all cells with a nucleus and is read by cytotoxic T cells, which kill. Class II is on a few kinds of cell that engulf material from outside, and is read by helper T cells, which give orders to other immune cells. The two animations below take you through each of them.

MHC class I: a cytotoxic T cell finds an infected cell

Peptides on MHC class I are grey when they come from the cell’s own proteins and red when they come from a virus. The T cells are blue, and the tip of each receptor has the colour of the peptide it fits. Go through the steps with the buttons or the arrow keys.

MHC ICD8

on the surface: 6 MHC I molecules · all with own peptides

own peptideviral peptide
Step 1 of 6
Steps of the animation. Arrow keys move between steps.

A body cell with a nucleus. MHC class I molecules on its surface hold short pieces of the cell’s own proteins - peptides. A cytotoxic T cell checks them: its receptor fits none of them, so it moves on.

The receptor and CD8 work as two keys at once: the receptor must fit the peptide, and CD8 must fit MHC class I. Each T cell has one kind of receptor because, as it develops, it puts its receptor genes together from pieces of DNA (gene segments) in its own way, so different T cells end up with different receptors.

MHC class II: a helper T cell is switched on

Antigen-presenting cells - dendritic cells, macrophages and B cells - also carry MHC class II. On it they show peptides of what they have engulfed. Here a dendritic cell takes up bacteria.

MHC IICD4

on the surface: 4 MHC II molecules · all with own peptides

own peptidebacterial peptidememory cell
Step 1 of 6
Steps of the animation. Arrow keys move between steps.

A dendritic cell in a tissue, with bacteria nearby. Its MHC class II molecules hold peptides of its own proteins.

Cytotoxic T cells are switched on in a similar way: in a lymph node, by a dendritic cell that shows them a fitting peptide on MHC class I, and with help from the cytokines of helper T cells. Only then do they divide and set off to find infected cells. A dendritic cell can show peptides on MHC class I even from what it has engulfed - for example, pieces of an infected cell - without being infected itself. This is called cross-presentation.

Try it yourself: which T cell binds?

Choose the class of MHC on a cell, the peptide it holds and the T cell that comes along. The receptors of both T cells fit the same foreign peptide. If the T cell binds, it is activated and divides: use the slider to set how many times.

MHC ICD8
MHC on the cell
Peptide in it
T cell
10
receptor and peptide
fit
co-receptor and MHC
fit
what happens
it binds and is activated: its clone kills cells that show this peptide
the clone
2¹⁰ = 1,024 T cells

What to notice:

  • only two choices lead to binding: MHC class I with a foreign peptide and a cytotoxic T cell, and MHC class II with a foreign peptide and a helper T cell,
  • an own peptide never leads to binding, because T cells whose receptors fit own peptides strongly were removed in the thymus,
  • a helper T cell ignores MHC class I even when it holds a foreign peptide, because CD4 holds only MHC class II,
  • each division doubles the clone: 10 divisions give 2¹⁰ = 1,024 cells, and 20 give over a million.

The definitions

T cells (T lymphocytes) are white blood cells of the adaptive, or specific, immune response. They come from stem cells in the bone marrow and mature in the thymus - hence the T. In the thymus, two checks take place. Positive selection keeps only T cells whose receptors can bind the body’s own MHC. Negative selection removes those whose receptors bind the body’s own peptides strongly. This is how the immune system learns to tolerate its own cells; when this tolerance fails, autoimmune diseases can follow.

The T-cell receptor recognises an antigen only as a short peptide held in an MHC molecule on the surface of a cell. This is called MHC restriction. Peter Doherty and Rolf Zinkernagel shared the 1996 Nobel Prize in Physiology or Medicine for discovering that T cells recognise infected cells only together with MHC. Antibodies and the receptors of B cells, by contrast, bind antigens directly.

MHC molecules - the major histocompatibility complex - are the body’s own proteins. They come in two classes.

  • MHC class I is found on almost all cells with a nucleus. It shows peptides of proteins made inside the cell: the proteasome cuts them up, and in the endoplasmic reticulum some of the peptides are loaded into MHC class I, which carries them to the surface. In an infected cell, some of them come from the virus. Its groove is closed at both ends, so it holds only short peptides, usually 8-10 amino acids long. Mature red blood cells have no nucleus and practically no MHC class I.
  • MHC class II is found mainly on antigen-presenting cells: dendritic cells, macrophages and B cells. It shows peptides of material the cell has taken up from outside and broken down in vesicles. Its groove is open at both ends, so it holds longer peptides, usually 13-25 amino acids long.
MHC class I MHC class II
Found on almost all cells with a nucleus dendritic cells, macrophages, B cells
Peptides from proteins made inside the cell material taken up from outside
Peptide length usually 8-10 amino acids usually 13-25 amino acids
Read by cytotoxic T cells (CD8) helper T cells (CD4)
Result the infected cell is killed cytokines switch on other cells

Cytotoxic T cells carry the co-receptor CD8, which binds MHC class I. They kill infected cells, and some cancer cells, with perforin and granzymes. Helper T cells carry CD4, which binds MHC class II. They release cytokines that activate B cells, cytotoxic T cells and macrophages. T cells are the cell-mediated, or cellular, part of the specific response; antibodies made by B cells are the humoral part.

Clonal selection. Only the few T cells whose receptors fit the antigen are activated. Each of them divides many times into a clone of identical cells. Many become effector cells that fight the infection now; some become memory cells that stay for years. On a second meeting with the same antigen, memory cells give a faster and stronger response - and vaccines work by creating them without the disease.

HLA. In humans, MHC molecules are called HLA (human leukocyte antigens). Their genes lie close together on chromosome 6: HLA-A, HLA-B and HLA-C for class I, and HLA-DP, HLA-DQ and HLA-DR for class II. Thousands of alleles of each gene are known, and both alleles of a gene are expressed - they are codominant. The genes are usually inherited together, as a block called a haplotype: one haplotype from each parent.

Transplants. Cells of another person show different MHC molecules, and the recipient’s T cells recognise them as foreign. This is why transplants are rejected. The closer the HLA match between donor and recipient, the fewer rejection episodes there are; recipients also take immunosuppressive drugs.

HIV binds CD4 and infects helper T cells. As their number falls, the immune system loses the cells that switch on both B cells and cytotoxic T cells, and the infection can progress to AIDS.

Example 1: how many kinds of MHC class I can a cell show?

A person has these alleles of the three class I genes: HLA-A A*01 and A*02, HLA-B B*08 and B*08, HLA-C C*03 and C*07. How many different class I molecules do their cells carry?

Step 1. Use codominance

Both alleles of a gene are expressed, so each gene gives one kind of molecule for each different allele. For alleles x and y of one gene:

x≠y⇒2x=y⇒1\begin{aligned} x \ne y &\Rightarrow 2 \\ x = y &\Rightarrow 1 \end{aligned}

Step 2. Count HLA-A

The two HLA-A alleles are different.

A∗01≠A∗02  ⇒  2A^{*}01 \ne A^{*}02 \;\Rightarrow\; 2

Step 3. Count HLA-B

The two HLA-B alleles are the same, so this person is homozygous for HLA-B.

B∗08=B∗08  ⇒  1B^{*}08 = B^{*}08 \;\Rightarrow\; 1

Step 4. Count HLA-C

The two HLA-C alleles are different.

C∗03≠C∗07  ⇒  2C^{*}03 \ne C^{*}07 \;\Rightarrow\; 2

Step 5. Add up the three genes

We add the kinds of molecule from the three genes.

2+1+2=52 + 1 + 2 = \boxed{5}

Answer

The cells carry 5\boxed{5} different kinds of classical MHC class I molecule. Each of them can hold its own set of peptides, so the cells can show more fragments of a virus to T cells.

Example 2: why brothers and sisters are tested first

A child needs a stem-cell transplant, and the donor’s HLA should match the child’s. The father has the haplotypes a and b, the mother c and d, and the child has a and c. What is the chance that a brother or sister has both haplotypes in common with the child, one, or none? Assume that the haplotypes are inherited as whole blocks.

Step 1. List the children the parents can have

Each child gets one haplotype from the father and one from the mother, so there are four combinations.

{a,b}×{c,d}=ac, ad, bc, bd\begin{aligned} &\lbrace a, b\rbrace \times \lbrace c, d\rbrace \\ &= ac,\ ad,\ bc,\ bd \end{aligned}

Step 2. Give each combination its chance

Each parent passes on either haplotype with the same chance, so the four combinations are equally likely.

P=12⋅12=14P = \frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}

Step 3. Find the sibling with both haplotypes in common

Only the combination ac is the same as the child’s. We write P(2) for the chance of two haplotypes in common.

P(2)=14=25%P(2) = \frac{1}{4} = \boxed{25\%}

Step 4. Find the siblings with one haplotype in common

The combinations ad and bc share one haplotype with ac.

P(1)=24=50%P(1) = \frac{2}{4} = \boxed{50\%}

Step 5. Find the sibling with none in common

The combination bd shares nothing with ac.

P(0)=14=25%P(0) = \frac{1}{4} = \boxed{25\%}

Step 6. Compare with a parent

The child has a from the father and c from the mother, so each parent shares exactly one haplotype with the child.

{a,b}∩{a,c}={a}\lbrace a, b\rbrace \cap \lbrace a, c\rbrace = \lbrace a\rbrace

Answer

A brother or sister has both haplotypes in common with the child with a chance of 25%\boxed{25\%}, one with 50%50\% and none with 25%25\%. A parent always matches in exactly one haplotype - a half match.

Your turn

Assume that an activated T cell divides once every 8 hours, and so does every cell of its clone.

  1. How many cells does the clone have after 3 days?
  2. After how many divisions does it pass one million cells, and about how many days does that take?
Hintshow

Each division doubles the number of cells, so after n divisions there are 2ⁿ cells. Turn the days into hours first.

Solutiontry it on your own first

Step 1. Turn the days into hours

A day has 24 hours.

3⋅24=72 h3 \cdot 24 = 72\ \text{h}

Step 2. Count the divisions in 3 days

One division takes 8 hours.

72÷8=972 \div 8 = 9

Step 3. Count the cells after 9 divisions

Each division doubles the clone, starting from one cell.

29=5122^{9} = \boxed{512}

Step 4. Find the first power of two above a million

We compare the powers of two around one million.

219=524,288220=1,048,576\begin{aligned} 2^{19} &= 524{,}288 \\ 2^{20} &= 1{,}048{,}576 \end{aligned}

Step 5. Work out how long 20 divisions take

We multiply 20 divisions by 8 hours each, then turn the hours back into days.

20⋅8=160 h160÷24≈6.7\begin{aligned} 20 \cdot 8 &= 160\ \text{h} \\ 160 \div 24 &\approx 6.7 \end{aligned}

Answer

After 3 days the clone has 512\boxed{512} cells. It passes a million after 2020 divisions, that is after 160160 hours - about 6.7 days, or nearly a week.

Common mistakes

  • “T cells recognise whole viruses and bacteria.” A T-cell receptor recognises only a short peptide held in an MHC molecule on a cell. Antibodies are the ones that bind whole pathogens.
  • “Every cell has MHC class II.” Class II is mainly on antigen-presenting cells; class I is on almost all cells with a nucleus.
  • “Helper T cells kill infected cells.” Killing is the job of cytotoxic T cells. Helper T cells switch other cells on with cytokines.
  • “Cytotoxic T cells destroy viruses.” They kill the infected cell, together with the virus inside it.
  • “T cells make antibodies.” Antibodies are made by plasma cells, which develop from B cells - often with the help of helper T cells.
  • “MHC belongs to the pathogen.” MHC molecules are the body’s own proteins; only the peptide they hold can be foreign. In a transplant, though, the donor’s MHC is itself foreign to the recipient.
  • “One T cell can recognise any virus.” Each T cell has receptors of one kind and responds only to the few peptides they fit.

In exams and at university

In England, A-level Biology covers the cellular response of T cells: the role of antigen-presenting cells, and how helper T cells stimulate cytotoxic T cells, B cells and phagocytes. It also covers how HIV replicates in helper T cells and causes AIDS. The markers that identify a cell - including cells from other people, as in a transplant - are described simply as specific molecules on the cell surface; the names MHC and HLA are extra detail.

At university, introductory biology and immunology go further: the two classes of MHC, HLA, and how T cells are selected in the thymus. In the open textbook Boundless General Biology, for example, a section on antigen-presenting cells and MHC comes before those on cell-mediated immunity and immunological memory.

Check yourself

Test yourself

Which cells carry MHC class II?

How does a cytotoxic T cell recognise a cell infected by a virus?

A person is heterozygous for HLA-A and HLA-B and homozygous for HLA-C. How many different classical MHC class I molecules do their cells carry?

An activated T cell divides 6 times, and every daughter cell divides as well. How many cells does the clone have?

Which cells does HIV infect, so that both antibodies and cytotoxic T cells are weakened?

Flashcards for review

Flip a card and say whether you knew the answer. The ones you did not know come back at the end of the deck. Why it pays to come back to them in a few days is explained in the guide Spaced repetition.

Flashcards

  1. What does a T-cell receptor recognise?

    A short peptide held in an MHC molecule on the surface of a cell - not a free antigen.
  2. Where is MHC class I found, and what does it show?

    On almost all cells with a nucleus; it shows peptides of proteins made inside the cell, including viral ones in an infected cell.
  3. Where is MHC class II found, and what does it show?

    Mainly on antigen-presenting cells - dendritic cells, macrophages and B cells; it shows peptides of material taken up from outside.
  4. Which T cells read MHC class I, and which read MHC class II?

    Cytotoxic T cells (CD8) read class I; helper T cells (CD4) read class II.
  5. How does a cytotoxic T cell kill an infected cell?

    It releases perforin, which makes pores in the membrane, and granzymes, which make the cell destroy itself (apoptosis).
  6. What do helper T cells do?

    They release cytokines that activate B cells (which become plasma cells and make antibodies), cytotoxic T cells and macrophages.
  7. What happens to T cells in the thymus?

    They mature. Positive selection keeps those that bind the body’s own MHC; negative selection removes those that bind its own peptides strongly.
  8. What is clonal selection?

    Only T cells whose receptors fit the antigen are activated; each divides into a clone of identical cells - effector cells and memory cells.
  9. What is HLA?

    The human MHC. Its genes lie on chromosome 6, are codominant and are usually inherited as a block (haplotype), one from each parent.
  10. What is the chance that a brother or sister has the same HLA haplotypes?

    1 in 4 (25%); one haplotype in common 50%, none 25%. A parent always shares exactly one haplotype.

Sources

We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.

  1. LibreTexts - Boundless, General Biology, 42.6 Antigen-presenting Cells, B and T cells (T cells mature in the thymus; unlike B cells, they do not recognise antigens directly, but antigens presented on MHC; an infected cell presents parts of the pathogen on its MHC) · CC BY-SA 4.0
  2. LibreTexts - Boundless, General Biology, 42.8 Cell-Mediated Immunity (helper T cells secrete cytokines; cytotoxic T cells recognise antigens on MHC I; an activated T cell makes a large clone with one set of receptors) · CC BY-SA 4.0
  3. LibreTexts - Boundless, General Biology, 42.10 Immunological Memory (the first response is slow because the right cells must be found, activated and multiplied; memory cells make the second response faster; vaccines) · CC BY-SA 4.0
  4. Frontiers in Immunology - M. Wieczorek et al., MHC class I and MHC class II proteins: conformational plasticity in antigen presentation (class I on nucleated cells, peptides from the proteasome; class II on dendritic cells, B cells and macrophages, peptides from material taken up from outside) · CC BY 4.0
  5. F1000Research - A step-by-step overview of epitope selection by MHC class II for presentation to helper T cells (professional antigen-presenting cells, material taken up and broken down in vesicles, CD4 helper T cells) · CC BY 4.0
  6. PLoS Biology - V(D)J recombination and the evolution of the adaptive immune system (receptor genes put together from V, D and J gene segments) · CC BY 4.0
  7. Frontiers in Immunology - The thymus road to a T cell: migration, selection, and atrophy (progenitors from the bone marrow; positive and negative selection in the thymus; avoiding self-reactivity and autoimmune disease) · CC BY 4.0
  8. Frontiers in Immunology - Perforinopathy (cytotoxic T cells release perforin and granzymes; perforin makes pores that let granzymes in; apoptosis of the target cell) · CC BY 3.0
  9. Medical Microbiology and Immunology - Molecular mechanisms of dendritic cell migration in immunity and cancer (dendritic cells take up antigens in tissues and travel to the lymph nodes to activate T cells) · CC BY 4.0
  10. Journal of Immunology Research - Human leukocyte antigen (HLA) system: genetics and association with infections (chromosome 6; class I HLA-A, -B, -C; class II HLA-DP, -DQ, -DR; thousands of alleles of each gene) · CC BY 4.0
  11. Frontiers in Immunology - HLA mismatching strategies for solid organ transplantation (HLA matching means fewer rejection episodes; mismatches need more immunosuppression) · CC BY 4.0
  12. Frontiers in Immunology - Pathophysiology of CD4+ T-cell depletion in HIV-1 and HIV-2 infections (HIV binds CD4 on helper T cells and destroys them; their loss is the hallmark of the disease) · CC BY 4.0
  13. Wikipedia - T cell (thymus, T-cell receptor, CD4 helper and CD8 cytotoxic T cells, memory T cells) · CC BY-SA 4.0
  14. Wikipedia - Major histocompatibility complex (MHC class I and II, where they are found, what they present) · CC BY-SA 4.0
  15. Wikipedia - Human leukocyte antigen (HLA genes, codominant expression, one haplotype from each parent, transplant rejection) · CC BY-SA 4.0
  16. Wikipedia - MHC restriction (T cells recognise an antigen only together with an MHC molecule) · CC BY-SA 4.0
  17. Wikipedia - Peter C. Doherty (Nobel Prize in Physiology or Medicine 1996, with Rolf Zinkernagel) · CC BY-SA 4.0
  18. Wikipedia - MHC class I (on all nucleated cells and platelets, not on red blood cells; peptides mostly 8-10 amino acids) · CC BY-SA 4.0
  19. Scientific Reports - Hidden genomic MHC disparity between HLA-matched sibling pairs in hematopoietic stem cell transplantation (recombination inside the MHC is rare; a sibling has a 25% chance of being HLA identical) · CC BY 4.0
  20. Wikipedia - Cross-presentation (dendritic cells show engulfed antigens on MHC class I to CD8 T cells, also when the virus does not infect them) · CC BY-SA 4.0

More explainers