MHC and Antigen Presentation

Every nucleated cell in the body constantly broadcasts a molecular inventory of its internal contents. This broadcast goes out to the immune system. This happens through a family of cell-surface proteins called the major histocompatibility complex (MHC). These proteins display short peptide fragments. Patrolling T cells can then inspect them. The question this raises is deceptively simple. How does a T cell "see" a virus hiding inside a cell? This must happen even though the virus itself never leaves the cytoplasm. The answer is a pair of elegant, biochemically distinct assembly lines. They chop up proteins and load the fragments onto MHC molecules. They then ferry the resulting complexes to the cell surface. This system explains why organ transplants are rejected. It explains why some people respond to vaccines better than others. It explains why certain HLA types are linked to autoimmune disease. It also explains why cytotoxic T cells can kill a virus-infected cell without ever seeing the intact virus. It is the molecular basis of "self" versus "non-self" discrimination at the level of individual cells. This is distinct from, but complementary to, antibody recognition of intact antigens. Understanding MHC structure and the two loading pathways is therefore essential. It is a prerequisite for understanding almost everything else in adaptive immunity. This includes T-cell development in the thymus. It includes the split between helper and cytotoxic T-cell function. It also includes the genetics of transplantation and autoimmunity. This article builds the concept from the ground up. It covers the structure of MHC class I and class II molecules. It covers the biochemical logic of the endogenous and exogenous processing pathways. It covers the chaperones and enzymes that make peptide loading possible. It also covers the classic experiments that proved this system works. Most important among these is Zinkernagel and Doherty's 1974 discovery of MHC restriction. This proved T cells recognize antigen only in the context of self-MHC. It closes with worked genetic and clinical examples. It also looks at how MHC biology drives transplant medicine, vaccine design, and cancer immunotherapy today.

Key takeaways
  • MHC class I (on nearly all nucleated cells) presents peptides from the cytosol; MHC class II (on professional antigen-presenting cells) presents peptides from extracellular/endosomal sources.
  • Class I loading uses the proteasome, TAP transporter, and the peptide-loading complex in the ER; class II loading uses the endo-lysosomal pathway and the invariant chain/HLA-DM system.
  • CD8+ T cells recognize peptide–MHC I; CD4+ T cells recognize peptide–MHC II — this pairing is enforced by coreceptor binding to non-polymorphic MHC regions.
  • Zinkernagel and Doherty (1974) proved T cells are MHC-restricted: cytotoxic T cells kill infected targets only if target and T cell share MHC alleles.
  • MHC genes are the most polymorphic in the human genome, which maximizes population-level peptide coverage but complicates organ transplantation.
  • MHC/HLA typing underlies transplant matching, associates with autoimmune disease risk, and guides personalized cancer neoantigen vaccines.
The core insight

T cells never see whole antigens — they see short peptide fragments clamped inside MHC molecules, and each T cell is restricted to recognizing that peptide only atop the particular self-MHC molecule that presented it.

The core idea

The major histocompatibility complex is a cluster of genes — called HLA (human leukocyte antigen) in humans — encoding cell-surface glycoproteins whose job is to bind short peptides and display them for inspection by T-cell receptors (TCRs). This process is called antigen presentation, and it converts intracellular or extracellular protein content into a surface-readable code. Critically, T cells do not recognize free-floating antigen the way antibodies do (see Antigens and Epitopes); a T cell's TCR only binds a composite surface formed by the peptide and the MHC molecule together. This dual requirement is called MHC restriction. There are two structurally and functionally distinct classes. MHC class I molecules are expressed on essentially all nucleated cells and present peptides derived from proteins synthesized inside that very cell — a running report of the cytosolic protein pool, useful for detecting viral infection or malignant transformation from within. MHC class II molecules are expressed mainly on professional antigen-presenting cells (APCs) — dendritic cells, macrophages, and B cells — and present peptides derived from material taken up from outside the cell, such as engulfed bacteria or extracellular debris. Class I peptides are typically 8–10 residues long and bind in a closed-ended groove; class II peptides are typically 13–25 residues and bind in an open-ended groove that allows the ends to hang out. The pairing of MHC class with T-cell type is not incidental but mechanistically enforced: cytotoxic CD8+ T cells recognize peptide–MHC I complexes because the CD8 coreceptor binds a conserved region on the MHC I heavy chain (the α3 domain), while helper CD4+ T cells recognize peptide–MHC II because CD4 binds a conserved region on the MHC II β2 domain. This coreceptor logic, refined during T-Cell Development and Selection in the thymus, guarantees that CD8 cells become killers targeting infected cells directly and CD4 cells become coordinators activating other immune cells — a division of labor elaborated further under Helper and Cytotoxic T Cells.

Mechanism

MHC molecular architecture. MHC class I is a heterodimer: a polymorphic heavy chain (α1, α2, α3 domains) non-covalently associated with a small invariant protein, β2-microglobulin. The peptide-binding groove is formed by the α1 and α2 domains folded into a floor of β-pleated sheet topped by two α-helices, with the peptide's N- and C-termini anchored by conserved pockets at each end of the groove — hence the fixed 8–10 residue window. MHC class II is also a heterodimer, but here both chains (α and β) are polymorphic and each contributes one domain (α1, β1) to the peptide-binding groove; because the groove is open at both ends, longer peptides can protrude past the binding site.

The class I (endogenous/cytosolic) pathway. 1. Cytosolic proteins — a cell's own proteins, viral proteins made by an infected cell, or tumor proteins — are tagged with ubiquitin and degraded by the proteasome, a large multi-catalytic protease complex, into peptide fragments. 2. These peptides are transported from the cytosol into the endoplasmic reticulum (ER) lumen by TAP (Transporter associated with Antigen Processing), an ATP-dependent heterodimeric transporter (TAP1/TAP2) embedded in the ER membrane. 3. Inside the ER, newly synthesized MHC class I heavy chains are stabilized by the chaperone calnexin, then associate with β2-microglobulin and join the peptide-loading complex, which includes tapasin (bridging MHC I to TAP), calreticulin, and ERp57 (a thiol oxidoreductase). 4. Peptides delivered by TAP are trimmed to final length by ER aminopeptidases (ERAAP/ERAP1) and loaded into the class I groove; a properly loaded, stable MHC I–peptide complex is released from the loading complex. 5. The stable peptide–MHC I complex traffics through the Golgi to the plasma membrane, where it is surveyed by circulating CD8+ T cells. If no peptide loads (e.g., in TAP-deficient cells), MHC I is unstable and largely fails to reach the surface — a fact exploited experimentally and by viruses that inhibit TAP as an immune-evasion strategy.

The class II (exogenous/endosomal) pathway. 1. Extracellular material — bacteria, foreign proteins, cell debris — is internalized by professional APCs via phagocytosis, macropinocytosis, or receptor-mediated endocytosis, and delivered to progressively acidifying endosomal/lysosomal compartments where proteases (cathepsins) degrade it into peptides. 2. Meanwhile, in the ER, newly made MHC class II α/β dimers associate with a chaperone called the invariant chain (Ii, CD74), which occupies the peptide groove (as a fragment called CLIP) to prevent premature binding of ER-resident peptides — this would otherwise let class II poach peptides meant for class I. 3. The MHC II–invariant chain complex traffics to a specialized acidic endosomal compartment, the MIIC (MHC class II compartment), where proteases degrade the invariant chain, leaving only the short CLIP fragment in the groove. 4. HLA-DM (a non-classical, non-peptide-presenting MHC II-like molecule) catalyzes exchange: it destabilizes CLIP and facilitates loading of the antigenic peptides generated in the endosome, then edits toward higher-stability peptide–MHC combinations. 5. The stable peptide–MHC II complex is delivered to the cell surface for inspection by CD4+ T cells.

Cross-presentation — the exception that proves the rule. Some dendritic cells can route exogenous antigens (e.g., from dying infected cells or tumor cells) into the class I pathway, a phenomenon called cross-presentation, allowing CD8+ T-cell priming against antigens the dendritic cell never synthesized itself. This is essential for initiating cytotoxic responses against viruses that don't infect dendritic cells directly, and is a key design principle in cancer vaccine platforms.

Figure
MHC class I vs class II peptide-loading pathways
MHC Class I pathway MHC Class II pathway Cytosol: viral/self protein protein → Proteasome → peptides 8-10aa TAP transporter pumps peptide into ER lumen (ATP-dependent) ER: peptide-loading complex calnexin → calreticulin + tapasin + ERp57 MHC I heavy chain + β2-microglobulin stable peptide–MHC I complex Cell surface → CD8+ T cell Endosome: engulfed pathogen bacterium → Cathepsins → peptides 13-25aa MHC II + invariant chain (CLIP) traffics from ER to MIIC compartment MIIC: HLA-DM catalyzes CLIP release + peptide exchange editing toward stable complex stable peptide–MHC II complex Cell surface → CD4+ T cell
Figure
Peptide-binding groove: closed-ended MHC I vs open-ended MHC II
MHC class I groove (closed) MHC class II groove (open) peptide (8–10 aa) anchor pocket anchor pocket Ends buried in pockets — fixed length peptide (13–25 aa) Ends protrude past groove — variable length

The evidence

The single most important experiment establishing how T cells "see" antigen is Rolf Zinkernagel and Peter Doherty's 1974 study of virus-specific cytotoxic T lymphocytes (CTLs) in mice, for which they received the 1996 Nobel Prize in Physiology or Medicine.

Setup. Zinkernagel and Doherty infected mice of a given MHC genotype (e.g., H-2^k, using inbred mouse strains that differ only at the MHC locus, called H-2 in mice) with lymphocytic choriomeningitis virus (LCMV). After the mice mounted a cytotoxic T-cell response, they harvested CTLs and tested them in vitro against target cells infected with the same virus — but the target cells came from mice of varying MHC genotypes, some matching the CTL donor's MHC and some not.

Observation. CTLs efficiently killed virus-infected target cells only when the target cells shared the same MHC haplotype as the mouse from which the CTLs originated. If the target cells were infected with the identical virus but expressed a different MHC haplotype, the CTLs failed to kill them — even though the virus (and its antigens) were identical. Killing required both viral antigen and self-MHC to be present together on the same target cell.

Interpretation. This showed T cells do not recognize antigen alone; they recognize antigen in the context of self-MHC. This was named MHC restriction, and it forced a conceptual break from the antibody paradigm (in which antibodies bind free antigen directly, independent of any presenting molecule — see Antigens and Epitopes). It explained why T-cell immunity is intrinsically tied to genetic identity, and it set up the subsequent recognition that CD8 and CD4 coreceptors specify restriction to class I versus class II respectively (established through later work identifying coreceptor-MHC binding, notably using coreceptor-blocking antibodies and gene-knockout mice in the 1980s–90s). A complementary line of evidence came from structural biology: Pamela Bjorkman, Don Wiley, and colleagues solved the first X-ray crystal structure of human MHC class I (HLA-A2) in 1987. The structure revealed the α1/α2 platform-and-groove architecture and, strikingly, showed extra electron density inside the groove in every crystal examined — density that did not belong to the MHC protein itself. This was the direct physical proof that MHC class I molecules are, in their native state, always occupied by a bound peptide, confirming biochemically what Zinkernagel and Doherty had inferred functionally. Later co-crystal structures of the TCR bound simultaneously to peptide and MHC (Garboczi, Garcia et al., mid-1990s) visualized the ternary complex directly, closing the loop between genetics, cell biology, and structure. A third strand of evidence came from genetics of TAP-deficiency and invariant-chain knockouts: mice lacking TAP1/TAP2 show a dramatic reduction in surface MHC class I (because unloaded MHC I is unstable and retained/degraded in the ER), while mice lacking the invariant chain show impaired MHC class II peptide loading and CD4+ T-cell development — confirming that each chaperone/transporter is non-redundantly required for its respective pathway, exactly as the biochemical model predicts.

Worked examples

Example 1 — Reasoning through MHC restriction in a mixed-infection experiment. Suppose you have two inbred mouse strains: strain A (H-2^b) and strain B (H-2^d). You infect strain A mice with influenza virus, harvest their CD8+ CTLs, and test killing against four target-cell populations:

Target cellMHC haplotypeInfected with flu?Predicted killing
1H-2^b (strain A)YesStrong killing
2H-2^b (strain A)NoNo killing (no viral peptide)
3H-2^d (strain B)YesNo killing (MHC mismatch)
4H-2^d (strain B)NoNo killing

Only target 1 satisfies both requirements simultaneously — viral peptide and matching self-MHC — reproducing the Zinkernagel–Doherty logic. If you instead used CTLs from an (A×B)F1 mouse (H-2^b/d heterozygote), which co-expresses both haplotypes, those CTLs would kill both target 1 and a version of target 3 infected with flu, because the F1 CTL repertoire was educated on both MHC haplotypes during thymic selection — foreshadowing the logic of T-Cell Development and Selection.

Example 2 — HLA polymorphism and population peptide coverage. The human MHC (HLA) locus is the most polymorphic region of the genome: HLA-B alone has several thousand known alleles. Consider a simplified calculation of why this matters. Suppose a given viral peptide binds well to HLA-A02:01 (carried by roughly 40–50% of some populations) but binds poorly to HLA-A01:01. An individual homozygous for HLA-A*01:01 might fail to present this particular peptide on MHC I at all — creating a "hole" in that person's antigen coverage for this pathogen, even though their immune system is otherwise fully competent. Now scale this to a population: if each person expresses up to 6 different classical MHC class I alleles (2 each of HLA-A, -B, -C, assuming heterozygosity) and up to 6–8 classical class II alleles, and there are thousands of alleles segregating in the population, then across a population of unrelated individuals, a huge diversity of peptide-binding specificities exists. This is precisely why a pathogen that mutates to escape presentation by one common HLA allele may still be presented efficiently in hosts carrying a different allele — MHC polymorphism is a population-level bet-hedging strategy against pathogen evolution, distinct from any single individual's advantage. It's also the direct reason transplant matching is difficult: the more polymorphic the locus, the lower the a priori chance that an unrelated donor and recipient share all relevant HLA alleles, which is why sibling-matched or registry-based searches (matching HLA-A, -B, -C, -DR, -DQ) are central to transplant medicine.

Common misconceptions & traps

MisconceptionCorrection
"T cells recognize whole antigens like antibodies do."T cells recognize only short linear peptide fragments bound in an MHC groove; conformational/whole-protein epitopes are the domain of B cells/antibodies.
"MHC class I is only for viruses."Class I presents any cytosolically synthesized protein, including self-proteins, mutated tumor proteins (neoantigens), and viral proteins — surveillance is constant, not infection-triggered.
"MHC class II is only on B cells."Dendritic cells and macrophages are also professional APCs expressing MHC II; some other cell types can be induced to express MHC II under inflammatory cytokines (e.g., IFN-γ).
"CD4/CD8 determine what a T cell can recognize by binding the peptide."CD4 and CD8 bind non-polymorphic regions of MHC II/I respectively — they do not contact the antigenic peptide, they stabilize the TCR–MHC interaction and assist signaling.
"More MHC diversity in a person is always better."Excess allelic diversity in one person doesn't scale — each person has a fixed, small number of MHC alleles (2 each of a few genes); the polymorphism advantage operates mainly at the population level.
"HLA matching for transplants means matching blood type."HLA and ABO blood group are separate systems; transplant matching requires HLA typing independent of blood type compatibility.

The scientist behind it

Rolf Zinkernagel (Swiss immunologist, University of Zurich) and Peter Doherty (Australian immunologist/veterinary pathologist) worked together at the John Curtin School of Medical Research in Canberra in the early 1970s, studying how mice cleared LCMV infection. Neither set out to discover a new immunological principle — they were trying to understand why some inbred mouse strains cleared LCMV while others developed fatal choriomeningitis, a question rooted in classical virology and mouse genetics. Their systematic testing of CTL killing across mismatched MHC combinations turned an incidental technical observation (killing sometimes "just didn't work" with certain target cells) into one of immunology's foundational laws. Doherty has written that the finding was almost accidental — a control experiment that "shouldn't" have failed, and did.

Origins · 1 minRolf M. Zinkernagel and Peter C. Doherty and how this was discovered
RM
Rolf M. Zinkernagel and Peter C. Doherty
Zinkernagel b. 1944; Doherty b. 1940 · John Curtin School of Medical Research, Canberra, Australia, early 1970s

History
- 1973–74: Zinkernagel and Doherty perform LCMV cytotoxicity assays revealing MHC-restricted killing in mice.
- 1974: Publication of the MHC restriction findings in Nature.
- 1987: Bjorkman, Wiley, and colleagues solve the HLA-A2 crystal structure, visualizing bound peptide in the groove.
- 1990s: Structures of TCR–peptide–MHC ternary complexes solved (Garcia, Garboczi et al.), and coreceptor/TAP/invariant-chain mechanisms defined by gene-knockout studies.
- 1996: Zinkernagel and Doherty awarded the Nobel Prize in Physiology or Medicine for MHC restriction.

Where this matters today

Transplant medicine. HLA typing (matching HLA-A, -B, -C, -DR, -DQ between donor and recipient) is the single strongest predictor of organ and bone-marrow graft survival apart from ABO compatibility; mismatched MHC molecules are themselves recognized as foreign, driving allograft rejection and graft-versus-host disease.

Autoimmune disease risk. Specific HLA alleles are strongly associated with autoimmune conditions — HLA-B27 with ankylosing spondylitis, HLA-DQ2/DQ8 with celiac disease, certain HLA-DR alleles with type 1 diabetes and rheumatoid arthritis — reflecting how particular peptide-binding grooves shape which self- or dietary peptides get presented and potentially trigger autoreactive T cells.

Vaccine design. Effective vaccines must generate peptides that are efficiently processed and loaded onto common MHC alleles in the target population; epitope prediction algorithms model proteasomal cleavage, TAP transport efficiency, and MHC-binding affinity to select vaccine antigens likely to be well presented across diverse HLA genotypes.

Cancer immunotherapy. Tumor cells that accumulate somatic mutations generate "neoantigens" — peptides absent from normal self-protein but presented on MHC I because they arise from mutant cytosolic proteins. Personalized cancer vaccines and some checkpoint-inhibitor therapies work by boosting cytotoxic T-cell responses against these neoantigen–MHC I complexes; tumors that downregulate MHC I or TAP are a recognized mechanism of immune evasion and a target of ongoing therapeutic strategies (e.g., combining checkpoint blockade with agents that restore antigen-processing machinery expression).

Infectious disease and pathogen evolution. Viruses such as HIV, herpesviruses, and adenoviruses encode proteins that specifically block TAP, degrade MHC I, or interfere with the peptide-loading complex, directly targeting this pathway to escape cytotoxic T-cell surveillance — a direct, ongoing evolutionary arms race built on the mechanism described above.

Ask the tutor: How does thymic selection use these same peptide–MHC complexes to decide which T cells survive and become CD4 versus CD8 cells?

Why do we need two separate MHC classes instead of one universal system?

Because the two classes solve different surveillance problems. Class I asks "what is being made inside this cell right now?" — essential for catching viruses or cancer-driving mutations that never leave the cytosol. Class II asks "what has this specialized sentinel cell recently engulfed from the outside world?" — essential for detecting extracellular bacteria and initiating a coordinated helper response. Using one universal pathway would blur this division: cells would either be unable to report internal infection (if only extracellular material were sampled) or nearly every cell would need the machinery to phagocytose, process, and coordinate helper responses, which is metabolically wasteful and unnecessary outside specialized APCs. The two-pathway system lets CD8+ killer cells and CD4+ helper cells specialize efficiently.

What happens if a cell simply stops expressing MHC class I altogether?

Such a cell becomes invisible to CD8+ cytotoxic T cells, since there is no peptide–MHC I complex to recognize — a strategy some viruses and tumors actively exploit by shutting down TAP or MHC I transcription. But this "invisibility" carries a cost recognized by a different arm of innate immunity: natural killer (NK) cells use inhibitory receptors that normally sense MHC I as a "don't kill me" signal. When MHC I is absent, that inhibitory signal disappears, and NK cells preferentially kill the MHC I-low cell — a principle called the "missing-self" hypothesis. So evading CD8+ T cells by losing MHC I can trade that risk for increased vulnerability to NK-mediated killing.

Why are MHC/HLA genes the most polymorphic genes in the human genome?

Because balancing selection favors diversity rather than any single "best" allele. A pathogen that mutates to evade presentation by one common HLA allele will still be readily presented in hosts carrying a different allele, so populations with more HLA diversity are collectively harder for any single pathogen strain to fully evade. Heterozygote advantage (an individual with two different alleles at each locus can present a broader peptide repertoire than a homozygote) and frequency-dependent selection (rare alleles are favored because pathogens haven't adapted to evade them yet) both contribute. This is an example of selection maintaining variation rather than driving fixation of one "fittest" variant.

How does HLA typing actually work in a hospital or transplant lab?

Modern HLA typing uses PCR-based sequencing (sequence-based typing or next-generation sequencing) to determine which alleles a person carries at the classical HLA loci (HLA-A, -B, -C, -DR, -DQ, and sometimes -DP). Donor and recipient alleles are compared locus by locus; a "6/6" or higher match (depending on how many loci are counted) predicts lower rejection risk. Additional cross-matching tests check whether the recipient's serum contains pre-formed antibodies against donor HLA molecules (from prior transplants, transfusions, or pregnancy), since these can cause hyperacute rejection independent of T-cell-mediated MHC restriction.

Can a peptide bind MHC but still fail to trigger a T-cell response?

Yes. Binding to the MHC groove is necessary but not sufficient. The peptide–MHC complex must also be recognized by a TCR present in that individual's T-cell repertoire, and that T cell must not have been deleted during negative selection in the thymus (see T-Cell Development and Selection) if the peptide resembles a self-peptide too closely. Additionally, the presenting cell must provide adequate costimulation (e.g., CD28–B7 signaling) alongside the peptide–MHC signal, or the T cell may become anergic rather than activated. So "MHC binding" is one filter among several that determine whether a given peptide actually provokes an immune response.

Why don't CD4 and CD8 T cells get confused and try to recognize the wrong MHC class?

This is enforced during thymic development, not just by simple coreceptor binding preference. As T cells mature, those whose TCRs happen to engage self-peptide–MHC I get instructed to retain CD8 and lose CD4, while those engaging self-peptide–MHC II retain CD4 and lose CD8 — a coreceptor-reinforced signaling process. The coreceptors themselves also physically prefer their matching MHC class (CD8 binds the MHC I α3 domain, CD4 binds the MHC II β2 domain), reinforcing correct pairing at the point of antigen recognition in the periphery. Together, developmental selection and structural specificity make CD4/CD8-MHC class mismatches rare, though not biologically impossible in edge cases.

What is the practical difference between a "processing" defect and a "presentation" defect?

A processing defect disrupts generating or delivering the peptide — for example, a proteasome subunit mutation, or a TAP deficiency that prevents peptide entry into the ER (seen clinically in "bare lymphocyte syndrome type I," causing low surface MHC I and recurrent respiratory infections). A presentation defect disrupts the MHC molecule itself or its trafficking, even if peptides are generated normally — for example, mutations affecting β2-microglobulin assembly, or invariant chain/HLA-DM defects impairing class II loading (as in bare lymphocyte syndrome type II, causing severe combined immunodeficiency-like disease from absent MHC II and few CD4+ T cells). Distinguishing the two matters clinically because they point to different molecular lesions and different immunodeficiency phenotypes.

Before this

Where this leads