MHC class I (HLA-A, -B and -C) is found on all nucleated cells and presents peptides made inside the cell to CD8+ cytotoxic T cells: cytosolic proteins are cut by the proteasome, pumped into the endoplasmic reticulum (ER) by TAP and loaded onto an α chain paired with β2-microglobulin. MHC class II (HLA-DP, -DQ and -DR) sits mainly on professional antigen-presenting cells (dendritic cells, macrophages, B cells) and presents peptides from material taken up from outside to CD4+ helper T cells, loaded in endosomes once HLA-DM removes the CLIP placeholder. The rule of 8 locks in the pairing (MHC I × CD8 = 8; MHC II × CD4 = 8), and three exceptions finish the topic: cross-presentation, NK cells and "missing self," and viral evasion.
The rule of 8
- MHC I × CD8 = 8. Class I presents to CD8+ T cells, which kill the presenting cell if the peptide is foreign.
- MHC II × CD4 = 8. Class II presents to CD4+ helper T cells, which coordinate the response, including antibody production by B cells.
- Inside vs outside: class I shows what is in the cytosol (viral, tumor and normal self proteins); class II shows what the cell has eaten.
Draw it out: the sketch in 6 steps
Draw one large cell with a nucleus in the middle, the ER and Golgi above it, the cytosol on the left and an endosome on the right. The left half of your page becomes MHC I, the right half MHC II, and the cell surface at the top is where both meet their T cells.
Left side: MHC I, the inside job
- Draw a virus in the cytosol making its proteins. Any protein made inside the cell, self or foreign, can be presented.
- Draw a barrel: the proteasome. It degrades cytosolic proteins into short peptides; the closed ends of the class I groove limit binding to peptides of about 8 to 10 amino acids.
- Draw a doorway into the ER labeled TAP. TAP1 and TAP2 form an ATP-dependent transporter that moves peptides from the cytosol into the ER.
- Inside the ER, draw MHC I: a heavy α chain with three domains (α1 and α2 form the groove) plus β2-microglobulin. Chaperones hold it until a peptide binds: calnexin first, then calreticulin, tapasin (which helps transfer peptides from TAP onto MHC I) and ERp57.
- Arrow through the Golgi to the cell surface.
- Draw a CD8+ T cell docking. Self peptide: ignored. Viral or tumor peptide: the T cell eliminates the cell.
Left-side summary: cytosolic protein → proteasome → TAP → ER (α chain + β2-microglobulin + peptide) → Golgi → surface → CD8.
Right side: MHC II, the outside pickup
- Draw the APC engulfing a bacterium into an endosome, where the protein is digested into peptides.
- Back in the ER, draw MHC II (an α and a β chain) with a plug in its groove: the invariant chain, which stops it from binding peptides inside the ER.
- Arrow from the ER to an endosome. A protease cleaves most of the invariant chain, leaving a small fragment, CLIP (class II–associated invariant chain peptide), in the groove.
- Fuse the two endosomes and draw HLA-DM pulling CLIP out and helping the exogenous peptide take its place.
- Arrow to the cell surface.
- Draw a CD4+ helper T cell recognizing the complex and releasing help, which ends in B-cell antibody production and an organized immune response.
Right-side summary: phagocytosis → endosome → MHC II arrives with invariant chain → CLIP → HLA-DM swaps CLIP for peptide → surface → CD4.
Optional step 7: add a dashed arrow from a dendritic cell's endosome to its MHC I (cross-presentation) and an NK cell beside a cell with no MHC I (missing self). Both are explained below.
MHC I vs MHC II at a glance
| Feature | MHC class I | MHC class II |
|---|---|---|
| Human genes | HLA-A, -B, -C | HLA-DP, -DQ, -DR |
| Structure | α heavy chain (α1, α2, α3) + β2-microglobulin | α chain + β chain |
| Chromosome | Heavy chain on 6; β2-microglobulin on 15 | Both chains on 6 |
| Expressed on | All nucleated cells (and platelets) | Professional APCs: dendritic cells (Langerhans cells in skin), monocytes and macrophages, B cells; also thymic epithelium |
| Peptide source | Endogenous: proteins in the cytosol | Exogenous: proteins taken up into endosomes |
| Processing | Proteasome → TAP → ER | Endosome or lysosome digestion |
| Groove guard | Calnexin, calreticulin, tapasin, ERp57 | Invariant chain → CLIP, removed by HLA-DM |
| Presents to | CD8+ cytotoxic T cells | CD4+ helper T cells |
| Typical outcome | Infected or tumor cell is killed | Help for B cells and other immune cells |
| Inherited deficiency | Bare lymphocyte syndrome type I (usually TAP1, TAP2) | Bare lymphocyte syndrome type II (CIITA, RFX5, RFXANK, RFXAP) |
The class III region encodes inflammatory molecules (complement C2, C4 and factor B, TNF-α and lymphotoxin), not antigen-presenting molecules. All MHC genes are codominant, so every inherited allele is expressed.
Cross-presentation: exogenous antigen on MHC I
Cross-presentation is the process by which exogenous antigens captured by phagocytic antigen-presenting cells are processed and presented on MHC I. Dendritic cells do it (a subset marked by XCR1 is a key player). Why it matters:
- Viruses that do not infect dendritic cells, or that block direct presentation, can still prime CD8+ T cells, because the dendritic cell presents antigen it has eaten.
- Tumors can trigger CD8+ responses the same way.
On the exam, a dendritic cell that ingests virus-infected or tumor material and activates naive CD8+ T cells is cross-presenting; the class II route would activate CD4+ cells instead. The broader signal sequence (MHC plus costimulation) is in the T-cell activation mnemonic.
NK cells and "missing self"
Inhibitory receptors on NK cells recognize MHC class I, and NK cells can kill a target only when there is no strong inhibitory signal. Normal MHC I therefore protects healthy cells. Its absence suggests the cell is infected with a virus that downregulates MHC or has undergone malignant transformation with loss of MHC, and the NK cell kills it. Dropping MHC I to hide from CD8+ T cells therefore makes the cell an NK target. More in the NK cell Q-bank breakdown.
How viruses and tumors dodge MHC I
| Evader | Trick | Step blocked on your sketch |
|---|---|---|
| Herpes simplex virus | Makes a protein that binds and inhibits TAP | Peptides never reach the ER |
| Adenovirus | Makes a protein that binds MHC I and retains it in the ER | MHC I never reaches the surface |
| Cytomegalovirus | Sends MHC I back from the ER into the cytosol, where it is degraded | MHC I destroyed |
| Tumors | Lose MHC expression after malignant transformation | Nothing to show CD8+ cells |
Each trick hides the cell from CD8+ T cells, but low surface MHC I also removes the brake on NK cells.
Bare lymphocyte syndromes
| Type I (MHC class I deficiency) | Type II (MHC class II deficiency) | |
|---|---|---|
| Genes | Usually TAP1 or TAP2 (very rarely TAPBP, tapasin): peptides cannot reach the ER, so MHC I is degraded | CIITA, RFX5, RFXANK, RFXAP: regulators of MHC II gene transcription |
| Inheritance | Autosomal recessive | Autosomal recessive |
| Picture | Recurrent bacterial infections of the lungs and airways from childhood, which can lead to bronchiectasis; skin ulcers on the face, arms and legs in adolescence or young adulthood | Combined immunodeficiency from infancy: persistent respiratory, gastrointestinal and urinary infections, malabsorption, poor growth; without treatment, patients rarely survive early childhood |
Type II is a combined immunodeficiency, so it belongs in your SCID-like differential (see SCID made easy).
HLA associations worth memorizing
| HLA type | Association |
|---|---|
| B27 | Ankylosing spondylitis, reactive arthritis |
| B51 | Behçet syndrome |
| C*06:02 | Psoriasis |
| DQ2 / DQ8 | Celiac disease |
| DR3-DQ2, DR4-DQ8 (haplotypes) | Type 1 diabetes |
| DR2 | Multiple sclerosis; with DQB1*06:02, narcolepsy |
| DR3 | Sjögren syndrome, autoimmune myositis, Graves disease, SLE (Merck pairs SLE with DR3 and DR15) |
| DR4 | Rheumatoid arthritis |
| B*57:01 | Abacavir hypersensitivity: screen every patient before starting |
| B*15:02 | Carbamazepine SJS/TEN: screen patients with ancestry in at-risk populations, mainly Asian |
Disease associations are from Merck's HLA chapter; drug alleles are from FDA labels. Type 1 diabetes: review books say DR3 and DR4, Merck's HLA chapter says DQ2 and DQ8; both are right, because these genes travel together as the DR3-DQ2 and DR4-DQ8 haplotypes, present in more than 90% of patients younger than 30 (Merck). Practice these in the HLA associations breakdown.
How USMLE tests it
- RBCs are anucleate, so they are the classic exception to "MHC I on all nucleated cells"; platelets do carry MHC I.
- β2-microglobulin is encoded on chromosome 15, not 6; both class II chains are on chromosome 6.
- Invariant chain = class II only. It blocks the class II groove in the ER; TAP and tapasin belong to class I.
- Langerhans cells are skin dendritic cells that express MHC II; they pick up haptens in allergic contact dermatitis.
- Transplant HLA typing looks at these same loci (A, B, C, DP, DQ, DR); see the transplant rejection breakdown.
Practice question
A virus encodes a protein that binds and inhibits TAP in the epithelial cells it infects. Which host response is most likely to kill these infected cells?
- A. CD8+ T cells recognizing viral peptides on the infected cells' MHC I
- B. CD4+ T cells recognizing viral peptides on the infected cells' MHC II
- C. NK cells that are no longer inhibited by MHC I on the infected cells
- D. Loading of viral peptides onto MHC I through the invariant chain pathway
- E. No cellular response, because exogenous antigen can never reach MHC I
Answer: C. Without TAP, peptides cannot enter the ER; MHC I chains are still made, but surface MHC I falls to abnormally low levels. Herpes simplex virus uses this exact trick. NK cells lose their inhibitory signal and kill the "missing self" cells.
- A: CD8+ T cells need peptide on MHC I, which is exactly what the virus has removed.
- B: epithelial cells are not professional APCs, and cytosolic viral proteins go to class I, not class II.
- D: the invariant chain is class II machinery; it plugs the class II groove and does nothing for class I.
- E: false twice: NK cells still respond, and dendritic cells can cross-present captured viral antigen on MHC I to prime CD8+ T cells.
Key takeaways
- Rule of 8: MHC I × CD8 = 8; MHC II × CD4 = 8.
- MHC I: HLA-A, -B, -C; all nucleated cells; cytosolic peptides via proteasome → TAP → ER; α chain + β2-microglobulin (chromosome 15).
- MHC II: HLA-DP, -DQ, -DR; professional APCs; endosomal peptides; invariant chain → CLIP → HLA-DM.
- Cross-presentation: dendritic cells put eaten antigen on MHC I to prime CD8+ T cells.
- Missing self: low MHC I (viral evasion, tumors) removes NK inhibition, and NK cells kill.
- Bare lymphocyte syndrome: type I = TAP defect (MHC I); type II = CIITA or RFX defect (MHC II).
- Must-know HLA links: B27 spondyloarthritis, DQ2/DQ8 celiac, B*57:01 abacavir, B*15:02 carbamazepine.
Sources
- Human Leukocyte Antigen (HLA) System — Merck Manual Professional Edition (2026)
- Cellular Components of the Immune System — Merck Manual Professional Edition (2026)
- Physiology, MHC Class I — StatPearls, NCBI Bookshelf (2022)
- Genetics, Histocompatibility Antigen — StatPearls, NCBI Bookshelf (2023)
- The generation of T-cell receptor ligands — Immunobiology, 5th ed., NCBI Bookshelf (2001)
- Cross-Presentation of Cell-Associated Antigens by MHC Class I in Dendritic Cell Subsets — Frontiers in Immunology (2015)
- Bare lymphocyte syndrome type I — MedlinePlus Genetics (2017)
- Bare lymphocyte syndrome type II — MedlinePlus Genetics (2017)
- Diabetes Mellitus (DM) — Merck Manual Professional Edition (2025)
- ZIAGEN (abacavir) prescribing information — DailyMed (2023)
- TEGRETOL (carbamazepine) prescribing information — DailyMed (2026)
Visual explanations from the StepGenie QBank
Infographics StepGenie drew to explain questions in its own QBank, matched to this article's topic. Each caption is the takeaway of the question it explains.

Toxic shock syndrome from staphylococcal superantigen causes massive T-cell activation by binding MHC II and TCR Vβ region outside the…
USMLE Step 1Frequently Asked Questions
What is the difference between MHC class I and MHC class II?
MHC class I (HLA-A, -B and -C) is on all nucleated cells and presents peptides from proteins made inside the cell, such as viral or tumor proteins, to CD8+ cytotoxic T cells, which kill the cell. MHC class II (HLA-DP, -DQ and -DR) is mainly on professional antigen-presenting cells such as dendritic cells, macrophages and B cells, and presents peptides from material taken up from outside the cell to CD4+ helper T cells.
What is the rule of 8 for MHC and CD4 or CD8?
The rule of 8 is a memory trick for which T cell recognizes which MHC molecule: the MHC class number multiplied by the CD number equals 8. MHC I times CD8 equals 8, so class I presents to CD8+ cytotoxic T cells. MHC II times CD4 equals 8, so class II presents to CD4+ helper T cells. It also reminds you that class I handles inside proteins and class II handles eaten ones.
Which cells express MHC class I and which express MHC class II?
MHC class I is expressed on all nucleated cells and also on platelets. Red blood cells have no nucleus, which makes them the classic exam exception. MHC class II is usually present only on professional antigen-presenting cells: dendritic cells, including Langerhans cells in the skin, monocytes and macrophages, and B cells. That is why any infected cell can be killed by CD8+ T cells, while only professional APCs activate CD4+ helper cells.
What do TAP, the invariant chain and HLA-DM do?
TAP is an ATP-dependent transporter made of TAP1 and TAP2 that moves peptides cut by the proteasome from the cytosol into the endoplasmic reticulum, where they load onto MHC class I. The invariant chain plugs the groove of newly made MHC class II so it cannot bind peptides in the ER; it is cleaved down to a fragment called CLIP. In the endosome, HLA-DM removes CLIP so an exogenous peptide can bind.
What is cross-presentation?
Cross-presentation is the process by which antigen-presenting cells, mainly dendritic cells, take up exogenous antigen and present it on MHC class I instead of class II. It lets dendritic cells prime naive CD8+ T cells against viruses that do not infect dendritic cells, or that block direct presentation, and against tumors. Without it, CD8+ responses would depend on the dendritic cell itself being infected.
Why do NK cells kill cells that lack MHC class I?
NK cells carry inhibitory receptors that recognize MHC class I, and they can kill only when the inhibitory signal is weak or absent. Healthy cells display normal MHC I and are spared. Cells infected by viruses that downregulate MHC I, or tumor cells that have lost MHC expression, remove that brake, so the NK cell kills them. This missing-self response covers the gap left when a cell hides from CD8+ T cells.