AnyLearn
All lessons
Scienceintermediate

Immune memory, vaccines, and the limits of tolerance

Why the second encounter with an antigen goes so much better than the first, and how vaccines exploit that. This lesson covers the cells that carry memory, why some memories last decades longer than others, how vaccine platforms and adjuvants work, and the layered tolerance that usually stops the system attacking the body.

Updated · AI-authored, review-gated · how lessons are made

Progress1 / 10

What memory is made of

Immune memory is not one thing. It is a set of cell populations left behind after a response contracts, each with a different job:

PopulationWhere it livesWhat it does
Long-lived plasma cellsmainly bone marrowsecrete antibody continuously, without needing antigen
Memory B cellsblood and lymphoid organswait, then rapidly produce new plasma cells on re-exposure
Central memory T cellslymph nodesproliferate strongly when restimulated, refill the effector pool
Effector memory T cellsblood and tissuesact quickly at sites of re-entry
Tissue-resident memory T cellsstay in one tissue, such as skin or gut liningguard the exact site of the first encounter

The first population is a standing defence, since antibody is already in the blood before any re-exposure. The rest are a fast-reaction reserve.

Gotcha: "Innate cells have no memory" is now an oversimplification. Netea and colleagues (Science, 2016) describe trained immunity, in which innate cells such as monocytes are epigenetically reprogrammed by a first stimulus and respond more strongly to a later one. Unlike adaptive memory, it is not specific to one antigen.

Sign in free to save your progress and earn certificates.

Full lesson text

All 10 steps on one page, for reading, reference, and search.

Show

1. What memory is made of

Immune memory is not one thing. It is a set of cell populations left behind after a response contracts, each with a different job:

PopulationWhere it livesWhat it does
Long-lived plasma cellsmainly bone marrowsecrete antibody continuously, without needing antigen
Memory B cellsblood and lymphoid organswait, then rapidly produce new plasma cells on re-exposure
Central memory T cellslymph nodesproliferate strongly when restimulated, refill the effector pool
Effector memory T cellsblood and tissuesact quickly at sites of re-entry
Tissue-resident memory T cellsstay in one tissue, such as skin or gut liningguard the exact site of the first encounter

The first population is a standing defence, since antibody is already in the blood before any re-exposure. The rest are a fast-reaction reserve.

Gotcha: "Innate cells have no memory" is now an oversimplification. Netea and colleagues (Science, 2016) describe trained immunity, in which innate cells such as monocytes are epigenetically reprogrammed by a first stimulus and respond more strongly to a later one. Unlike adaptive memory, it is not specific to one antigen.

2. Why the second response wins

A secondary response is faster, larger and better targeted than a primary one. Four mechanisms combine:

  • More starting cells. A naive repertoire holds only a few cells per specificity. Moon and colleagues (Immunity, 2007) counted 20 to 200 naive CD4 T cells per peptide-MHC in a mouse, whereas Murali-Krishna and colleagues (Immunity, 1998) found about 1 million virus-specific memory CD8 T cells per mouse spleen, maintained for life.
  • Better antibodies from the start. Memory B cells carry receptors that already went through affinity maturation and class switching, so the first antibodies of the second response are high-affinity IgG or IgA rather than low-affinity IgM.
  • Lower activation threshold. Memory T cells depend less on strong co-stimulation, so they respond to antigen presented by a wider range of cells.
  • Already in position. Tissue-resident and effector memory cells sit at the likely point of re-entry instead of waiting in a lymph node.

Key idea: Memory changes the race. A primary response starts from a handful of cells and spends days finding and expanding them. A secondary response starts with a large, pre-selected, well-placed force, often clearing a threat before it causes noticeable illness.

3. Not all memories last equally

Predict first

Two kinds of antibody memory were followed in the same adults for up to 26 years: antibody against a viral infection, and antibody against a purified protein vaccine antigen such as tetanus toxoid. Which do you expect to fade faster?

Antigen typeExample in the studyEstimated antibody half-life
Non-replicating proteintetanusabout 11 years
Non-replicating proteindiphtheriaabout 19 years
Replicating virusvaricella-zosterabout 50 years
Replicating virusmeasles, mumpsmore than 200 years

The same study found no significant correlation between memory B cell numbers and antibody levels for five of the eight antigens tested. Its authors suggest that memory B cells and antibody-secreting plasma cells are regulated independently.

Gotcha: An antibody level is a measurement of one memory population, not of memory as a whole. Falling antibody does not by itself mean memory B and T cells are gone.

4. The principle of a vaccine

A vaccine is a way to run the primary response in advance, under controlled conditions, so that a real encounter meets a secondary response instead. To do that it has to deliver two things the earlier lessons established are both necessary:

  1. Antigen: the specific shapes and peptides that B and T cells must learn, ideally parts the threat cannot easily change.
  2. A danger signal: enough activation of pattern recognition receptors to mature dendritic cells and provide co-stimulation. Antigen alone, presented without danger, tends toward tolerance.

And it must do so without causing the disease it protects against.

The approach is old and its strongest test is complete. Edward Jenner's 1796 experiment used material from a mild related infection to protect against smallpox. The World Health Organization declared smallpox eradicated in 1980, the first human disease removed by deliberate vaccination.

Key idea: Every vaccine design is a trade-off between the two ingredients. The more a vaccine resembles a real infection, the stronger its danger signal and the broader its response, but the more care is needed to keep it safe.

5. Vaccine platforms and which arm they train

The platform decides where the antigen ends up inside cells, and that decides which MHC pathway displays it.

PlatformWhat is givenAntigen made inside cells?Typical strength
Live attenuateda weakened, replicating microbeyesbroad antibody and CD8 T cell responses
Inactivateda killed whole microbenoantibody and CD4 help, usually needs boosters
Subunit or recombinant proteinpurified proteinsnofocused antibody responses, needs adjuvant
Toxoidan inactivated toxinnoantibody that neutralises the toxin
Conjugatea sugar antigen linked to a carrier proteinnosugar-specific antibody with T cell help
Viral vector or mRNAgenetic instructions for the antigenyesantibody plus CD8 T cell responses

The column that matters most is the fourth. When the antigen is made inside the recipient's own cells, its peptides enter the MHC class I pathway, which is the most direct way to prime killer T cells. Antigen delivered as protein mostly enters the class II pathway, which favours helpers and antibody, unless dendritic cells cross-present it.

In practice: The mRNA platform's own design problems, such as avoiding unwanted innate activation and delivering fragile RNA into cells, are a separate topic covered in AnyLearn's cursus on mRNA medicines.

6. Adjuvants: supplying the danger signal

Purified proteins are safe precisely because they lack the microbial patterns that alert the innate system, which also makes them weakly immunogenic on their own. An adjuvant puts the danger signal back. The US Centers for Disease Control and Prevention (CDC) describes adjuvants as ingredients that help create a stronger immune response, and lists several in licensed vaccines:

  • Aluminium salts: used in vaccines for more than 70 years, according to the CDC, first with diphtheria and tetanus vaccines between the 1930s and 1950s. They hold antigen at the injection site and promote innate inflammatory signalling.
  • Oil-in-water emulsions: such as MF59, which recruit and activate innate cells at the injection site.
  • Monophosphoryl lipid A (MPL): a detoxified derivative of bacterial lipopolysaccharide that triggers TLR4, combined with an aluminium salt in the adjuvant AS04.
  • CpG 1018: short synthetic DNA rich in unmethylated CpG motifs, the pattern TLR9 detects.

Key idea: Modern adjuvant design is applied pattern recognition. Each defined adjuvant is chosen to trigger particular innate receptors, which in turn shapes the signal 2 and signal 3 that T cells receive and so the kind of response that follows.

7. Conjugates and boosters: engineering the response

Two common vaccine features are direct applications of B cell biology.

Conjugate vaccines. Many bacteria wrap themselves in sugar capsules. B cells can bind the sugar, but sugars cannot be presented on MHC, so no helper T cell can recognise them. The result is a T-independent response: mostly IgM, little affinity maturation, and weak memory, and it is especially poor in young children. Chemically linking the sugar to a carrier protein changes everything:

  1. A sugar-specific B cell binds the conjugate and swallows it whole.
  2. It presents peptides from the carrier protein on MHC class II.
  3. Carrier-specific helper T cells recognise those peptides and help, by linked recognition.
  4. The sugar-specific B cell enters a germinal centre, switches class and forms memory.

Boosters. A second dose re-activates memory B cells, which can re-enter germinal centres for further rounds of mutation and selection, and expands the memory T cell pool. Spacing matters because the first response needs time to contract and mature into memory before the next stimulus.

In practice: Dosing schedules are set by regulators and public health bodies from clinical trial data for each specific vaccine. This lesson explains mechanisms only and is not medical advice.

8. Tolerance is layered, not a single filter

Central tolerance removes the most strongly self-reactive cells during development, but it is incomplete. Cells that escape meet several more checkpoints in the body. Autoimmunity generally requires a self-reactive cell to get through several of these layers, usually with a danger signal present.

flowchart TD
  A["Randomly generated receptor"] --> B["Thymus or bone marrow test"]
  B --> C["Strong self binding: deleted or edited"]
  B --> D["Released into the body"]
  D --> E["Self antigen seen without danger: anergy"]
  D --> F["Suppressed by regulatory T cells"]
  D --> G["Self antigen never encountered: ignorance"]
  E --> H["Layers fail, plus a danger signal"]
  F --> H
  G --> H
  H --> I["Autoimmune response"]

9. Peripheral tolerance: the safeguards after the thymus

The thymus cannot be perfect, so self-reactive cells circulate in every healthy person. They are held in check after release by several mechanisms working together:

  • Anergy: antigen recognition without co-stimulation switches the cell off, as covered in the previous lesson.
  • Inhibitory receptors: activated T cells raise CTLA-4, which competes with CD28 for CD80 and CD86, and PD-1, which dampens signalling when it meets its ligands in tissues. Both act as brakes that end or limit a response.
  • Regulatory T cells (Tregs): CD4 cells defined by the transcription factor FOXP3 that suppress other lymphocytes through cytokines such as IL-10 and by removing activating signals. Sakaguchi and colleagues (Cell, 2008) describe them as indispensable for unresponsiveness to self.
  • Deletion: repeated strong stimulation can drive a T cell into apoptosis.
  • Ignorance: some self antigens sit behind barriers or at levels too low to activate anything.

Definition: Peripheral tolerance is the set of mechanisms that control self-reactive lymphocytes after they leave the thymus or bone marrow. Its importance is shown by human genetics: Bennett and colleagues (Nature Genetics, 2001) traced IPEX, a fatal multi-organ autoimmune syndrome, to mutations in FOXP3.

10. When tolerance fails: autoimmunity

Autoimmune disease is the adaptive system doing exactly what it was built to do, against the wrong target. The US National Institute of Environmental Health Sciences (NIEHS) notes that scientists know of more than 80 autoimmune diseases, and cites the NIH director's observation that as many as four in five people affected are women.

No single cause explains them. Several recognised mechanisms tend to combine:

MechanismHow it breaks tolerance
Genetic susceptibilitycertain HLA variants present particular self peptides well, and defects in genes such as AIRE or FOXP3 weaken central or peripheral tolerance
Molecular mimicrya microbial antigen resembles a self protein, so a response raised against the microbe cross-reacts with tissue
Bystander activationinflammation from an infection provides the danger signals that turn an ignored self-reactive cell into an active one
Epitope spreadingtissue damage exposes new self antigens, so the response broadens beyond its first target

Key idea: Protection, tolerance and autoimmunity are produced by the same machinery. Random receptors, presentation on MHC, a requirement for danger signals, and memory explain all three. Understanding the mechanism is the basis of immunology, but diagnosis and treatment of any individual condition belong with a clinician.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. Which memory population provides protection that is already active before any re-exposure?
    • Long-lived plasma cells secreting antibody
    • Central memory T cells in lymph nodes
    • Naive B cells in the spleen
    • Immature dendritic cells in the skin
  2. In Amanna, Carlson and Slifka's 2007 study, how did antibody to tetanus compare with antibody to measles?
    • Tetanus antibody lasted longer, with a half-life over 200 years
    • Both had a half-life of about 50 years
    • Tetanus antibody waned faster, with a half-life of about 11 years versus more than 200 years for measles
    • Neither could be measured after 5 years
  3. Why does a purified protein subunit vaccine usually need an adjuvant?
    • Proteins cannot be presented on MHC class II
    • Without microbial patterns, the protein provides little danger signal to mature dendritic cells
    • Adjuvants are needed to make the protein soluble in blood
    • The adjuvant is the part that B cells recognise
  4. How does a conjugate vaccine produce strong memory against a bacterial sugar capsule?
    • It converts the sugar into a peptide that MHC can present
    • It stimulates natural killer cells to remember the sugar
    • It replaces B cells with T cells for the sugar response
    • Sugar-specific B cells present peptides from the linked carrier protein, recruiting T cell help by linked recognition
  5. Mutations in FOXP3 cause IPEX, a severe multi-organ autoimmune syndrome. Which tolerance layer does this reveal as essential?
    • Positive selection on MHC in the thymus
    • Regulatory T cell suppression in peripheral tolerance
    • V(D)J recombination by RAG enzymes
    • Complement regulation by CD59

Related lessons

Science
intermediate

Antigen recognition: receptor diversity, MHC, and clonal selection

How can a finite genome recognise shapes it has never met? This lesson covers how B and T cells build random receptors by gene recombination, how MHC molecules show T cells what is inside other cells, why one rare matching cell gets selected and copied, and how the thymus removes the receptors that would attack the body.

9 steps·~14 min
Science
intermediate

mRNA as a Programmable Drug

Instead of manufacturing a protein, an mRNA medicine delivers the instructions and lets your own cells build it. This lesson covers the anatomy of a therapeutic mRNA, the immune problem that stalled the field for decades, and the modified-nucleoside breakthrough by Kariko and Weissman that made it work, the reason mRNA is a programmable platform.

8 steps·~12 min
Science
intermediate

Innate immunity: how the body detects danger in the first hours

Before any antibody exists, a germline-encoded system spots invaders by the molecules they cannot do without. This lesson covers barriers, pattern recognition receptors, phagocytes, complement, inflammation and natural killer cells, and why dendritic cells decide whether adaptive immunity starts at all.

10 steps·~15 min
Science
intermediate

The adaptive response: T cell help, killer cells, and antibodies

What happens after a rare T or B cell finds its antigen. This lesson covers the three signals that activate a T cell, helper subsets and killer cells, how B cells get T cell help, how germinal centres evolve better antibodies by mutation and selection, and what each antibody class actually does.

9 steps·~14 min